Documentation ¶
Index ¶
- type AFDCustomDomainsBeginCreateOptions
- type AFDCustomDomainsBeginDeleteOptions
- type AFDCustomDomainsBeginRefreshValidationTokenOptions
- type AFDCustomDomainsBeginUpdateOptions
- type AFDCustomDomainsClient
- func (client *AFDCustomDomainsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDCustomDomainsCreatePollerResponse, error)
- func (client *AFDCustomDomainsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDCustomDomainsDeletePollerResponse, error)
- func (client *AFDCustomDomainsClient) BeginRefreshValidationToken(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDCustomDomainsRefreshValidationTokenPollerResponse, error)
- func (client *AFDCustomDomainsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDCustomDomainsUpdatePollerResponse, error)
- func (client *AFDCustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDCustomDomainsGetResponse, error)
- func (client *AFDCustomDomainsClient) ListByProfile(resourceGroupName string, profileName string, ...) *AFDCustomDomainsListByProfilePager
- type AFDCustomDomainsCreatePoller
- func (p *AFDCustomDomainsCreatePoller) Done() bool
- func (p *AFDCustomDomainsCreatePoller) FinalResponse(ctx context.Context) (AFDCustomDomainsCreateResponse, error)
- func (p *AFDCustomDomainsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDCustomDomainsCreatePoller) ResumeToken() (string, error)
- type AFDCustomDomainsCreatePollerResponse
- type AFDCustomDomainsCreateResponse
- type AFDCustomDomainsCreateResult
- type AFDCustomDomainsDeletePoller
- func (p *AFDCustomDomainsDeletePoller) Done() bool
- func (p *AFDCustomDomainsDeletePoller) FinalResponse(ctx context.Context) (AFDCustomDomainsDeleteResponse, error)
- func (p *AFDCustomDomainsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDCustomDomainsDeletePoller) ResumeToken() (string, error)
- type AFDCustomDomainsDeletePollerResponse
- type AFDCustomDomainsDeleteResponse
- type AFDCustomDomainsGetOptions
- type AFDCustomDomainsGetResponse
- type AFDCustomDomainsGetResult
- type AFDCustomDomainsListByProfileOptions
- type AFDCustomDomainsListByProfilePager
- type AFDCustomDomainsListByProfileResponse
- type AFDCustomDomainsListByProfileResult
- type AFDCustomDomainsRefreshValidationTokenPoller
- func (p *AFDCustomDomainsRefreshValidationTokenPoller) Done() bool
- func (p *AFDCustomDomainsRefreshValidationTokenPoller) FinalResponse(ctx context.Context) (AFDCustomDomainsRefreshValidationTokenResponse, error)
- func (p *AFDCustomDomainsRefreshValidationTokenPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDCustomDomainsRefreshValidationTokenPoller) ResumeToken() (string, error)
- type AFDCustomDomainsRefreshValidationTokenPollerResponse
- func (l AFDCustomDomainsRefreshValidationTokenPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDCustomDomainsRefreshValidationTokenResponse, error)
- func (l *AFDCustomDomainsRefreshValidationTokenPollerResponse) Resume(ctx context.Context, client *AFDCustomDomainsClient, token string) error
- type AFDCustomDomainsRefreshValidationTokenResponse
- type AFDCustomDomainsRefreshValidationTokenResult
- type AFDCustomDomainsUpdatePoller
- func (p *AFDCustomDomainsUpdatePoller) Done() bool
- func (p *AFDCustomDomainsUpdatePoller) FinalResponse(ctx context.Context) (AFDCustomDomainsUpdateResponse, error)
- func (p *AFDCustomDomainsUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDCustomDomainsUpdatePoller) ResumeToken() (string, error)
- type AFDCustomDomainsUpdatePollerResponse
- type AFDCustomDomainsUpdateResponse
- type AFDCustomDomainsUpdateResult
- type AFDDomain
- type AFDDomainHTTPSParameters
- type AFDDomainListResult
- type AFDDomainProperties
- type AFDDomainUpdateParameters
- type AFDDomainUpdatePropertiesParameters
- type AFDEndpoint
- type AFDEndpointListResult
- type AFDEndpointProperties
- type AFDEndpointPropertiesUpdateParameters
- type AFDEndpointProtocols
- type AFDEndpointUpdateParameters
- type AFDEndpointsBeginCreateOptions
- type AFDEndpointsBeginDeleteOptions
- type AFDEndpointsBeginPurgeContentOptions
- type AFDEndpointsBeginUpdateOptions
- type AFDEndpointsClient
- func (client *AFDEndpointsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDEndpointsCreatePollerResponse, error)
- func (client *AFDEndpointsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDEndpointsDeletePollerResponse, error)
- func (client *AFDEndpointsClient) BeginPurgeContent(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDEndpointsPurgeContentPollerResponse, error)
- func (client *AFDEndpointsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDEndpointsUpdatePollerResponse, error)
- func (client *AFDEndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDEndpointsGetResponse, error)
- func (client *AFDEndpointsClient) ListByProfile(resourceGroupName string, profileName string, ...) *AFDEndpointsListByProfilePager
- func (client *AFDEndpointsClient) ListResourceUsage(resourceGroupName string, profileName string, endpointName string, ...) *AFDEndpointsListResourceUsagePager
- func (client *AFDEndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDEndpointsValidateCustomDomainResponse, error)
- type AFDEndpointsCreatePoller
- func (p *AFDEndpointsCreatePoller) Done() bool
- func (p *AFDEndpointsCreatePoller) FinalResponse(ctx context.Context) (AFDEndpointsCreateResponse, error)
- func (p *AFDEndpointsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDEndpointsCreatePoller) ResumeToken() (string, error)
- type AFDEndpointsCreatePollerResponse
- type AFDEndpointsCreateResponse
- type AFDEndpointsCreateResult
- type AFDEndpointsDeletePoller
- func (p *AFDEndpointsDeletePoller) Done() bool
- func (p *AFDEndpointsDeletePoller) FinalResponse(ctx context.Context) (AFDEndpointsDeleteResponse, error)
- func (p *AFDEndpointsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDEndpointsDeletePoller) ResumeToken() (string, error)
- type AFDEndpointsDeletePollerResponse
- type AFDEndpointsDeleteResponse
- type AFDEndpointsGetOptions
- type AFDEndpointsGetResponse
- type AFDEndpointsGetResult
- type AFDEndpointsListByProfileOptions
- type AFDEndpointsListByProfilePager
- type AFDEndpointsListByProfileResponse
- type AFDEndpointsListByProfileResult
- type AFDEndpointsListResourceUsageOptions
- type AFDEndpointsListResourceUsagePager
- type AFDEndpointsListResourceUsageResponse
- type AFDEndpointsListResourceUsageResult
- type AFDEndpointsPurgeContentPoller
- func (p *AFDEndpointsPurgeContentPoller) Done() bool
- func (p *AFDEndpointsPurgeContentPoller) FinalResponse(ctx context.Context) (AFDEndpointsPurgeContentResponse, error)
- func (p *AFDEndpointsPurgeContentPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDEndpointsPurgeContentPoller) ResumeToken() (string, error)
- type AFDEndpointsPurgeContentPollerResponse
- type AFDEndpointsPurgeContentResponse
- type AFDEndpointsUpdatePoller
- func (p *AFDEndpointsUpdatePoller) Done() bool
- func (p *AFDEndpointsUpdatePoller) FinalResponse(ctx context.Context) (AFDEndpointsUpdateResponse, error)
- func (p *AFDEndpointsUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDEndpointsUpdatePoller) ResumeToken() (string, error)
- type AFDEndpointsUpdatePollerResponse
- type AFDEndpointsUpdateResponse
- type AFDEndpointsUpdateResult
- type AFDEndpointsValidateCustomDomainOptions
- type AFDEndpointsValidateCustomDomainResponse
- type AFDEndpointsValidateCustomDomainResult
- type AFDOrigin
- type AFDOriginGroup
- type AFDOriginGroupListResult
- type AFDOriginGroupProperties
- type AFDOriginGroupUpdateParameters
- type AFDOriginGroupUpdatePropertiesParameters
- type AFDOriginGroupsBeginCreateOptions
- type AFDOriginGroupsBeginDeleteOptions
- type AFDOriginGroupsBeginUpdateOptions
- type AFDOriginGroupsClient
- func (client *AFDOriginGroupsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginGroupsCreatePollerResponse, error)
- func (client *AFDOriginGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginGroupsDeletePollerResponse, error)
- func (client *AFDOriginGroupsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginGroupsUpdatePollerResponse, error)
- func (client *AFDOriginGroupsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginGroupsGetResponse, error)
- func (client *AFDOriginGroupsClient) ListByProfile(resourceGroupName string, profileName string, ...) *AFDOriginGroupsListByProfilePager
- func (client *AFDOriginGroupsClient) ListResourceUsage(resourceGroupName string, profileName string, originGroupName string, ...) *AFDOriginGroupsListResourceUsagePager
- type AFDOriginGroupsCreatePoller
- func (p *AFDOriginGroupsCreatePoller) Done() bool
- func (p *AFDOriginGroupsCreatePoller) FinalResponse(ctx context.Context) (AFDOriginGroupsCreateResponse, error)
- func (p *AFDOriginGroupsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDOriginGroupsCreatePoller) ResumeToken() (string, error)
- type AFDOriginGroupsCreatePollerResponse
- type AFDOriginGroupsCreateResponse
- type AFDOriginGroupsCreateResult
- type AFDOriginGroupsDeletePoller
- func (p *AFDOriginGroupsDeletePoller) Done() bool
- func (p *AFDOriginGroupsDeletePoller) FinalResponse(ctx context.Context) (AFDOriginGroupsDeleteResponse, error)
- func (p *AFDOriginGroupsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDOriginGroupsDeletePoller) ResumeToken() (string, error)
- type AFDOriginGroupsDeletePollerResponse
- type AFDOriginGroupsDeleteResponse
- type AFDOriginGroupsGetOptions
- type AFDOriginGroupsGetResponse
- type AFDOriginGroupsGetResult
- type AFDOriginGroupsListByProfileOptions
- type AFDOriginGroupsListByProfilePager
- type AFDOriginGroupsListByProfileResponse
- type AFDOriginGroupsListByProfileResult
- type AFDOriginGroupsListResourceUsageOptions
- type AFDOriginGroupsListResourceUsagePager
- type AFDOriginGroupsListResourceUsageResponse
- type AFDOriginGroupsListResourceUsageResult
- type AFDOriginGroupsUpdatePoller
- func (p *AFDOriginGroupsUpdatePoller) Done() bool
- func (p *AFDOriginGroupsUpdatePoller) FinalResponse(ctx context.Context) (AFDOriginGroupsUpdateResponse, error)
- func (p *AFDOriginGroupsUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AFDOriginGroupsUpdatePoller) ResumeToken() (string, error)
- type AFDOriginGroupsUpdatePollerResponse
- type AFDOriginGroupsUpdateResponse
- type AFDOriginGroupsUpdateResult
- type AFDOriginListResult
- type AFDOriginProperties
- type AFDOriginUpdateParameters
- type AFDOriginUpdatePropertiesParameters
- type AFDOriginsBeginCreateOptions
- type AFDOriginsBeginDeleteOptions
- type AFDOriginsBeginUpdateOptions
- type AFDOriginsClient
- func (client *AFDOriginsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginsCreatePollerResponse, error)
- func (client *AFDOriginsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginsDeletePollerResponse, error)
- func (client *AFDOriginsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginsUpdatePollerResponse, error)
- func (client *AFDOriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDOriginsGetResponse, error)
- func (client *AFDOriginsClient) ListByOriginGroup(resourceGroupName string, profileName string, originGroupName string, ...) *AFDOriginsListByOriginGroupPager
- type AFDOriginsCreatePoller
- type AFDOriginsCreatePollerResponse
- type AFDOriginsCreateResponse
- type AFDOriginsCreateResult
- type AFDOriginsDeletePoller
- type AFDOriginsDeletePollerResponse
- type AFDOriginsDeleteResponse
- type AFDOriginsGetOptions
- type AFDOriginsGetResponse
- type AFDOriginsGetResult
- type AFDOriginsListByOriginGroupOptions
- type AFDOriginsListByOriginGroupPager
- type AFDOriginsListByOriginGroupResponse
- type AFDOriginsListByOriginGroupResult
- type AFDOriginsUpdatePoller
- type AFDOriginsUpdatePollerResponse
- type AFDOriginsUpdateResponse
- type AFDOriginsUpdateResult
- type AFDProfilesCheckHostNameAvailabilityOptions
- type AFDProfilesCheckHostNameAvailabilityResponse
- type AFDProfilesCheckHostNameAvailabilityResult
- type AFDProfilesClient
- func (client *AFDProfilesClient) CheckHostNameAvailability(ctx context.Context, resourceGroupName string, profileName string, ...) (AFDProfilesCheckHostNameAvailabilityResponse, error)
- func (client *AFDProfilesClient) ListResourceUsage(resourceGroupName string, profileName string, ...) *AFDProfilesListResourceUsagePager
- type AFDProfilesListResourceUsageOptions
- type AFDProfilesListResourceUsagePager
- type AFDProfilesListResourceUsageResponse
- type AFDProfilesListResourceUsageResult
- type AFDStateProperties
- type ActionType
- type AfdCertificateType
- type AfdErrorResponse
- type AfdMinimumTLSVersion
- type AfdProvisioningState
- type AfdPurgeParameters
- type AfdQueryStringCachingBehavior
- type Algorithm
- type CacheBehavior
- type CacheExpirationActionParameters
- type CacheExpirationActionParametersODataType
- type CacheKeyQueryStringActionParameters
- type CacheKeyQueryStringActionParametersODataType
- type CacheType
- type CdnCertificateSourceParameters
- type CdnCertificateSourceParametersODataType
- type CdnEndpoint
- type CdnManagedHTTPSParameters
- type CdnManagementClient
- func (client *CdnManagementClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput, ...) (CdnManagementClientCheckNameAvailabilityResponse, error)
- func (client *CdnManagementClient) CheckNameAvailabilityWithSubscription(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput, ...) (CdnManagementClientCheckNameAvailabilityWithSubscriptionResponse, error)
- func (client *CdnManagementClient) ValidateProbe(ctx context.Context, validateProbeInput ValidateProbeInput, ...) (CdnManagementClientValidateProbeResponse, error)
- type CdnManagementClientCheckNameAvailabilityOptions
- type CdnManagementClientCheckNameAvailabilityResponse
- type CdnManagementClientCheckNameAvailabilityResult
- type CdnManagementClientCheckNameAvailabilityWithSubscriptionOptions
- type CdnManagementClientCheckNameAvailabilityWithSubscriptionResponse
- type CdnManagementClientCheckNameAvailabilityWithSubscriptionResult
- type CdnManagementClientValidateProbeOptions
- type CdnManagementClientValidateProbeResponse
- type CdnManagementClientValidateProbeResult
- type CdnWebApplicationFirewallPolicy
- type CdnWebApplicationFirewallPolicyList
- type CdnWebApplicationFirewallPolicyPatchParameters
- type CdnWebApplicationFirewallPolicyProperties
- type Certificate
- type CertificateSource
- type CertificateType
- type CheckNameAvailabilityInput
- type CheckNameAvailabilityOutput
- type CidrIPAddress
- type Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems
- type Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems
- type ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems
- type CompressionSettings
- type ContinentsResponse
- type ContinentsResponseContinentsItem
- type ContinentsResponseCountryOrRegionsItem
- type CookiesMatchConditionParameters
- type CookiesMatchConditionParametersODataType
- type CookiesOperator
- type CustomDomain
- type CustomDomainHTTPSParameters
- type CustomDomainHTTPSParametersClassification
- type CustomDomainListResult
- type CustomDomainParameters
- type CustomDomainProperties
- type CustomDomainPropertiesParameters
- type CustomDomainResourceState
- type CustomDomainsBeginCreateOptions
- type CustomDomainsBeginDeleteOptions
- type CustomDomainsBeginDisableCustomHTTPSOptions
- type CustomDomainsBeginEnableCustomHTTPSOptions
- type CustomDomainsClient
- func (client *CustomDomainsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (CustomDomainsCreatePollerResponse, error)
- func (client *CustomDomainsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (CustomDomainsDeletePollerResponse, error)
- func (client *CustomDomainsClient) BeginDisableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, ...) (CustomDomainsDisableCustomHTTPSPollerResponse, error)
- func (client *CustomDomainsClient) BeginEnableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, ...) (CustomDomainsEnableCustomHTTPSPollerResponse, error)
- func (client *CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (CustomDomainsGetResponse, error)
- func (client *CustomDomainsClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, ...) *CustomDomainsListByEndpointPager
- type CustomDomainsCreatePoller
- func (p *CustomDomainsCreatePoller) Done() bool
- func (p *CustomDomainsCreatePoller) FinalResponse(ctx context.Context) (CustomDomainsCreateResponse, error)
- func (p *CustomDomainsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsCreatePoller) ResumeToken() (string, error)
- type CustomDomainsCreatePollerResponse
- type CustomDomainsCreateResponse
- type CustomDomainsCreateResult
- type CustomDomainsDeletePoller
- func (p *CustomDomainsDeletePoller) Done() bool
- func (p *CustomDomainsDeletePoller) FinalResponse(ctx context.Context) (CustomDomainsDeleteResponse, error)
- func (p *CustomDomainsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsDeletePoller) ResumeToken() (string, error)
- type CustomDomainsDeletePollerResponse
- type CustomDomainsDeleteResponse
- type CustomDomainsDeleteResult
- type CustomDomainsDisableCustomHTTPSPoller
- func (p *CustomDomainsDisableCustomHTTPSPoller) Done() bool
- func (p *CustomDomainsDisableCustomHTTPSPoller) FinalResponse(ctx context.Context) (CustomDomainsDisableCustomHTTPSResponse, error)
- func (p *CustomDomainsDisableCustomHTTPSPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsDisableCustomHTTPSPoller) ResumeToken() (string, error)
- type CustomDomainsDisableCustomHTTPSPollerResponse
- type CustomDomainsDisableCustomHTTPSResponse
- type CustomDomainsDisableCustomHTTPSResult
- type CustomDomainsEnableCustomHTTPSPoller
- func (p *CustomDomainsEnableCustomHTTPSPoller) Done() bool
- func (p *CustomDomainsEnableCustomHTTPSPoller) FinalResponse(ctx context.Context) (CustomDomainsEnableCustomHTTPSResponse, error)
- func (p *CustomDomainsEnableCustomHTTPSPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsEnableCustomHTTPSPoller) ResumeToken() (string, error)
- type CustomDomainsEnableCustomHTTPSPollerResponse
- type CustomDomainsEnableCustomHTTPSResponse
- type CustomDomainsEnableCustomHTTPSResult
- type CustomDomainsGetOptions
- type CustomDomainsGetResponse
- type CustomDomainsGetResult
- type CustomDomainsListByEndpointOptions
- type CustomDomainsListByEndpointPager
- type CustomDomainsListByEndpointResponse
- type CustomDomainsListByEndpointResult
- type CustomHTTPSProvisioningState
- type CustomHTTPSProvisioningSubstate
- type CustomRule
- type CustomRuleEnabledState
- type CustomRuleList
- type CustomerCertificate
- type CustomerCertificateParameters
- type DeepCreatedOrigin
- type DeepCreatedOriginGroup
- type DeepCreatedOriginGroupProperties
- type DeepCreatedOriginProperties
- type DeleteRule
- type DeliveryRule
- type DeliveryRuleAction
- type DeliveryRuleActionAutoGenerated
- type DeliveryRuleActionAutoGeneratedClassification
- type DeliveryRuleCacheExpirationAction
- type DeliveryRuleCacheKeyQueryStringAction
- type DeliveryRuleCondition
- type DeliveryRuleConditionClassification
- type DeliveryRuleCookiesCondition
- type DeliveryRuleHTTPVersionCondition
- type DeliveryRuleIsDeviceCondition
- type DeliveryRulePostArgsCondition
- type DeliveryRuleQueryStringCondition
- type DeliveryRuleRemoteAddressCondition
- type DeliveryRuleRequestBodyCondition
- type DeliveryRuleRequestHeaderAction
- type DeliveryRuleRequestHeaderCondition
- type DeliveryRuleRequestMethodCondition
- type DeliveryRuleRequestSchemeCondition
- type DeliveryRuleRequestURICondition
- type DeliveryRuleResponseHeaderAction
- type DeliveryRuleURLFileExtensionCondition
- type DeliveryRuleURLFileNameCondition
- type DeliveryRuleURLPathCondition
- type DeploymentStatus
- type DestinationProtocol
- type DomainValidationProperties
- type DomainValidationState
- type EdgeNode
- type EdgeNodeProperties
- type EdgeNodesClient
- type EdgeNodesListOptions
- type EdgeNodesListPager
- type EdgeNodesListResponse
- type EdgeNodesListResult
- type EdgenodeResult
- type EnabledState
- type Endpoint
- type EndpointListResult
- type EndpointProperties
- type EndpointPropertiesUpdateParameters
- type EndpointPropertiesUpdateParametersDeliveryPolicy
- type EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink
- type EndpointResourceState
- type EndpointUpdateParameters
- type EndpointsBeginCreateOptions
- type EndpointsBeginDeleteOptions
- type EndpointsBeginLoadContentOptions
- type EndpointsBeginPurgeContentOptions
- type EndpointsBeginStartOptions
- type EndpointsBeginStopOptions
- type EndpointsBeginUpdateOptions
- type EndpointsClient
- func (client *EndpointsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsCreatePollerResponse, error)
- func (client *EndpointsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsDeletePollerResponse, error)
- func (client *EndpointsClient) BeginLoadContent(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsLoadContentPollerResponse, error)
- func (client *EndpointsClient) BeginPurgeContent(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsPurgeContentPollerResponse, error)
- func (client *EndpointsClient) BeginStart(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsStartPollerResponse, error)
- func (client *EndpointsClient) BeginStop(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsStopPollerResponse, error)
- func (client *EndpointsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsUpdatePollerResponse, error)
- func (client *EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsGetResponse, error)
- func (client *EndpointsClient) ListByProfile(resourceGroupName string, profileName string, ...) *EndpointsListByProfilePager
- func (client *EndpointsClient) ListResourceUsage(resourceGroupName string, profileName string, endpointName string, ...) *EndpointsListResourceUsagePager
- func (client *EndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, ...) (EndpointsValidateCustomDomainResponse, error)
- type EndpointsCreatePoller
- type EndpointsCreatePollerResponse
- type EndpointsCreateResponse
- type EndpointsCreateResult
- type EndpointsDeletePoller
- type EndpointsDeletePollerResponse
- type EndpointsDeleteResponse
- type EndpointsGetOptions
- type EndpointsGetResponse
- type EndpointsGetResult
- type EndpointsListByProfileOptions
- type EndpointsListByProfilePager
- type EndpointsListByProfileResponse
- type EndpointsListByProfileResult
- type EndpointsListResourceUsageOptions
- type EndpointsListResourceUsagePager
- type EndpointsListResourceUsageResponse
- type EndpointsListResourceUsageResult
- type EndpointsLoadContentPoller
- func (p *EndpointsLoadContentPoller) Done() bool
- func (p *EndpointsLoadContentPoller) FinalResponse(ctx context.Context) (EndpointsLoadContentResponse, error)
- func (p *EndpointsLoadContentPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *EndpointsLoadContentPoller) ResumeToken() (string, error)
- type EndpointsLoadContentPollerResponse
- type EndpointsLoadContentResponse
- type EndpointsPurgeContentPoller
- func (p *EndpointsPurgeContentPoller) Done() bool
- func (p *EndpointsPurgeContentPoller) FinalResponse(ctx context.Context) (EndpointsPurgeContentResponse, error)
- func (p *EndpointsPurgeContentPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *EndpointsPurgeContentPoller) ResumeToken() (string, error)
- type EndpointsPurgeContentPollerResponse
- type EndpointsPurgeContentResponse
- type EndpointsStartPoller
- type EndpointsStartPollerResponse
- type EndpointsStartResponse
- type EndpointsStartResult
- type EndpointsStopPoller
- type EndpointsStopPollerResponse
- type EndpointsStopResponse
- type EndpointsStopResult
- type EndpointsUpdatePoller
- type EndpointsUpdatePollerResponse
- type EndpointsUpdateResponse
- type EndpointsUpdateResult
- type EndpointsValidateCustomDomainOptions
- type EndpointsValidateCustomDomainResponse
- type EndpointsValidateCustomDomainResult
- type ErrorResponse
- type ForwardingProtocol
- type GeoFilter
- type GeoFilterActions
- type HTTPErrorRangeParameters
- type HTTPSRedirect
- type HTTPVersionMatchConditionParameters
- type HTTPVersionMatchConditionParametersODataType
- type HTTPVersionOperator
- type HeaderAction
- type HeaderActionParameters
- type HeaderActionParametersODataType
- type HealthProbeParameters
- type HealthProbeRequestType
- type IPAddressGroup
- type IdentityType
- type IsDeviceMatchConditionParameters
- type IsDeviceMatchConditionParametersMatchValuesItem
- type IsDeviceMatchConditionParametersODataType
- type IsDeviceOperator
- type KeyVaultCertificateSourceParameters
- type KeyVaultCertificateSourceParametersODataType
- type KeyVaultSigningKeyParameters
- type KeyVaultSigningKeyParametersODataType
- type LinkToDefaultDomain
- type LoadBalancingSettingsParameters
- type LoadParameters
- type LogAnalyticsClient
- func (client *LogAnalyticsClient) GetLogAnalyticsLocations(ctx context.Context, resourceGroupName string, profileName string, ...) (LogAnalyticsGetLogAnalyticsLocationsResponse, error)
- func (client *LogAnalyticsClient) GetLogAnalyticsMetrics(ctx context.Context, resourceGroupName string, profileName string, ...) (LogAnalyticsGetLogAnalyticsMetricsResponse, error)
- func (client *LogAnalyticsClient) GetLogAnalyticsRankings(ctx context.Context, resourceGroupName string, profileName string, ...) (LogAnalyticsGetLogAnalyticsRankingsResponse, error)
- func (client *LogAnalyticsClient) GetLogAnalyticsResources(ctx context.Context, resourceGroupName string, profileName string, ...) (LogAnalyticsGetLogAnalyticsResourcesResponse, error)
- func (client *LogAnalyticsClient) GetWafLogAnalyticsMetrics(ctx context.Context, resourceGroupName string, profileName string, ...) (LogAnalyticsGetWafLogAnalyticsMetricsResponse, error)
- func (client *LogAnalyticsClient) GetWafLogAnalyticsRankings(ctx context.Context, resourceGroupName string, profileName string, ...) (LogAnalyticsGetWafLogAnalyticsRankingsResponse, error)
- type LogAnalyticsGetLogAnalyticsLocationsOptions
- type LogAnalyticsGetLogAnalyticsLocationsResponse
- type LogAnalyticsGetLogAnalyticsLocationsResult
- type LogAnalyticsGetLogAnalyticsMetricsOptions
- type LogAnalyticsGetLogAnalyticsMetricsResponse
- type LogAnalyticsGetLogAnalyticsMetricsResult
- type LogAnalyticsGetLogAnalyticsRankingsOptions
- type LogAnalyticsGetLogAnalyticsRankingsResponse
- type LogAnalyticsGetLogAnalyticsRankingsResult
- type LogAnalyticsGetLogAnalyticsResourcesOptions
- type LogAnalyticsGetLogAnalyticsResourcesResponse
- type LogAnalyticsGetLogAnalyticsResourcesResult
- type LogAnalyticsGetWafLogAnalyticsMetricsOptions
- type LogAnalyticsGetWafLogAnalyticsMetricsResponse
- type LogAnalyticsGetWafLogAnalyticsMetricsResult
- type LogAnalyticsGetWafLogAnalyticsRankingsOptions
- type LogAnalyticsGetWafLogAnalyticsRankingsResponse
- type LogAnalyticsGetWafLogAnalyticsRankingsResult
- type LogMetric
- type LogMetricsGranularity
- type LogMetricsGroupBy
- type LogRanking
- type LogRankingMetric
- type ManagedCertificate
- type ManagedCertificateParameters
- type ManagedRuleDefinition
- type ManagedRuleEnabledState
- type ManagedRuleGroupDefinition
- type ManagedRuleGroupOverride
- type ManagedRuleOverride
- type ManagedRuleSet
- type ManagedRuleSetDefinition
- type ManagedRuleSetDefinitionList
- type ManagedRuleSetDefinitionProperties
- type ManagedRuleSetList
- type ManagedRuleSetsClient
- type ManagedRuleSetsListOptions
- type ManagedRuleSetsListPager
- type ManagedRuleSetsListResponse
- type ManagedRuleSetsListResult
- type MatchCondition
- type MatchProcessingBehavior
- type MatchVariable
- type MetricsResponse
- type MetricsResponseGranularity
- type MetricsResponseSeriesItem
- type MetricsResponseSeriesItemUnit
- type MetricsResponseSeriesPropertiesItemsItem
- type MinimumTLSVersion
- type Operation
- type OperationDisplay
- type OperationsClient
- type OperationsListOptions
- type OperationsListPager
- type OperationsListResponse
- type OperationsListResult
- type OperationsListResultEnvelope
- type Operator
- type OptimizationType
- type Origin
- type OriginGroup
- type OriginGroupListResult
- type OriginGroupOverrideAction
- type OriginGroupOverrideActionParameters
- type OriginGroupOverrideActionParametersODataType
- type OriginGroupProperties
- type OriginGroupResourceState
- type OriginGroupUpdateParameters
- type OriginGroupUpdatePropertiesParameters
- type OriginGroupsBeginCreateOptions
- type OriginGroupsBeginDeleteOptions
- type OriginGroupsBeginUpdateOptions
- type OriginGroupsClient
- func (client *OriginGroupsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginGroupsCreatePollerResponse, error)
- func (client *OriginGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginGroupsDeletePollerResponse, error)
- func (client *OriginGroupsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginGroupsUpdatePollerResponse, error)
- func (client *OriginGroupsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginGroupsGetResponse, error)
- func (client *OriginGroupsClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, ...) *OriginGroupsListByEndpointPager
- type OriginGroupsCreatePoller
- func (p *OriginGroupsCreatePoller) Done() bool
- func (p *OriginGroupsCreatePoller) FinalResponse(ctx context.Context) (OriginGroupsCreateResponse, error)
- func (p *OriginGroupsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *OriginGroupsCreatePoller) ResumeToken() (string, error)
- type OriginGroupsCreatePollerResponse
- type OriginGroupsCreateResponse
- type OriginGroupsCreateResult
- type OriginGroupsDeletePoller
- func (p *OriginGroupsDeletePoller) Done() bool
- func (p *OriginGroupsDeletePoller) FinalResponse(ctx context.Context) (OriginGroupsDeleteResponse, error)
- func (p *OriginGroupsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *OriginGroupsDeletePoller) ResumeToken() (string, error)
- type OriginGroupsDeletePollerResponse
- type OriginGroupsDeleteResponse
- type OriginGroupsGetOptions
- type OriginGroupsGetResponse
- type OriginGroupsGetResult
- type OriginGroupsListByEndpointOptions
- type OriginGroupsListByEndpointPager
- type OriginGroupsListByEndpointResponse
- type OriginGroupsListByEndpointResult
- type OriginGroupsUpdatePoller
- func (p *OriginGroupsUpdatePoller) Done() bool
- func (p *OriginGroupsUpdatePoller) FinalResponse(ctx context.Context) (OriginGroupsUpdateResponse, error)
- func (p *OriginGroupsUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *OriginGroupsUpdatePoller) ResumeToken() (string, error)
- type OriginGroupsUpdatePollerResponse
- type OriginGroupsUpdateResponse
- type OriginGroupsUpdateResult
- type OriginListResult
- type OriginProperties
- type OriginResourceState
- type OriginUpdateParameters
- type OriginUpdatePropertiesParameters
- type OriginsBeginCreateOptions
- type OriginsBeginDeleteOptions
- type OriginsBeginUpdateOptions
- type OriginsClient
- func (client *OriginsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginsCreatePollerResponse, error)
- func (client *OriginsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginsDeletePollerResponse, error)
- func (client *OriginsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginsUpdatePollerResponse, error)
- func (client *OriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (OriginsGetResponse, error)
- func (client *OriginsClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, ...) *OriginsListByEndpointPager
- type OriginsCreatePoller
- type OriginsCreatePollerResponse
- type OriginsCreateResponse
- type OriginsCreateResult
- type OriginsDeletePoller
- type OriginsDeletePollerResponse
- type OriginsDeleteResponse
- type OriginsGetOptions
- type OriginsGetResponse
- type OriginsGetResult
- type OriginsListByEndpointOptions
- type OriginsListByEndpointPager
- type OriginsListByEndpointResponse
- type OriginsListByEndpointResult
- type OriginsUpdatePoller
- type OriginsUpdatePollerResponse
- type OriginsUpdateResponse
- type OriginsUpdateResult
- type ParamIndicator
- type PoliciesBeginCreateOrUpdateOptions
- type PoliciesBeginUpdateOptions
- type PoliciesClient
- func (client *PoliciesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, ...) (PoliciesCreateOrUpdatePollerResponse, error)
- func (client *PoliciesClient) BeginUpdate(ctx context.Context, resourceGroupName string, policyName string, ...) (PoliciesUpdatePollerResponse, error)
- func (client *PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string, ...) (PoliciesDeleteResponse, error)
- func (client *PoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string, ...) (PoliciesGetResponse, error)
- func (client *PoliciesClient) List(resourceGroupName string, options *PoliciesListOptions) *PoliciesListPager
- type PoliciesCreateOrUpdatePoller
- func (p *PoliciesCreateOrUpdatePoller) Done() bool
- func (p *PoliciesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (PoliciesCreateOrUpdateResponse, error)
- func (p *PoliciesCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *PoliciesCreateOrUpdatePoller) ResumeToken() (string, error)
- type PoliciesCreateOrUpdatePollerResponse
- type PoliciesCreateOrUpdateResponse
- type PoliciesCreateOrUpdateResult
- type PoliciesDeleteOptions
- type PoliciesDeleteResponse
- type PoliciesGetOptions
- type PoliciesGetResponse
- type PoliciesGetResult
- type PoliciesListOptions
- type PoliciesListPager
- type PoliciesListResponse
- type PoliciesListResult
- type PoliciesUpdatePoller
- type PoliciesUpdatePollerResponse
- type PoliciesUpdateResponse
- type PoliciesUpdateResult
- type PolicyEnabledState
- type PolicyMode
- type PolicyResourceState
- type PolicySettings
- type PolicySettingsDefaultCustomBlockResponseStatusCode
- type PostArgsMatchConditionParameters
- type PostArgsMatchConditionParametersODataType
- type PostArgsOperator
- type PrivateEndpointStatus
- type ProbeProtocol
- type Profile
- type ProfileListResult
- type ProfileProperties
- type ProfileResourceState
- type ProfileUpdateParameters
- type ProfilesBeginCreateOptions
- type ProfilesBeginDeleteOptions
- type ProfilesBeginUpdateOptions
- type ProfilesClient
- func (client *ProfilesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (ProfilesCreatePollerResponse, error)
- func (client *ProfilesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (ProfilesDeletePollerResponse, error)
- func (client *ProfilesClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (ProfilesUpdatePollerResponse, error)
- func (client *ProfilesClient) GenerateSsoURI(ctx context.Context, resourceGroupName string, profileName string, ...) (ProfilesGenerateSsoURIResponse, error)
- func (client *ProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (ProfilesGetResponse, error)
- func (client *ProfilesClient) List(options *ProfilesListOptions) *ProfilesListPager
- func (client *ProfilesClient) ListByResourceGroup(resourceGroupName string, options *ProfilesListByResourceGroupOptions) *ProfilesListByResourceGroupPager
- func (client *ProfilesClient) ListResourceUsage(resourceGroupName string, profileName string, ...) *ProfilesListResourceUsagePager
- func (client *ProfilesClient) ListSupportedOptimizationTypes(ctx context.Context, resourceGroupName string, profileName string, ...) (ProfilesListSupportedOptimizationTypesResponse, error)
- type ProfilesCreatePoller
- type ProfilesCreatePollerResponse
- type ProfilesCreateResponse
- type ProfilesCreateResult
- type ProfilesDeletePoller
- type ProfilesDeletePollerResponse
- type ProfilesDeleteResponse
- type ProfilesGenerateSsoURIOptions
- type ProfilesGenerateSsoURIResponse
- type ProfilesGenerateSsoURIResult
- type ProfilesGetOptions
- type ProfilesGetResponse
- type ProfilesGetResult
- type ProfilesListByResourceGroupOptions
- type ProfilesListByResourceGroupPager
- type ProfilesListByResourceGroupResponse
- type ProfilesListByResourceGroupResult
- type ProfilesListOptions
- type ProfilesListPager
- type ProfilesListResourceUsageOptions
- type ProfilesListResourceUsagePager
- type ProfilesListResourceUsageResponse
- type ProfilesListResourceUsageResult
- type ProfilesListResponse
- type ProfilesListResult
- type ProfilesListSupportedOptimizationTypesOptions
- type ProfilesListSupportedOptimizationTypesResponse
- type ProfilesListSupportedOptimizationTypesResult
- type ProfilesUpdatePoller
- type ProfilesUpdatePollerResponse
- type ProfilesUpdateResponse
- type ProfilesUpdateResult
- type ProtocolType
- type ProvisioningState
- type ProxyResource
- type PurgeParameters
- type QueryStringBehavior
- type QueryStringCachingBehavior
- type QueryStringMatchConditionParameters
- type QueryStringMatchConditionParametersODataType
- type QueryStringOperator
- type RankingsResponse
- type RankingsResponseTablesItem
- type RankingsResponseTablesPropertiesItemsItem
- type RankingsResponseTablesPropertiesItemsMetricsItem
- type RateLimitRule
- type RateLimitRuleList
- type RedirectType
- type RemoteAddressMatchConditionParameters
- type RemoteAddressMatchConditionParametersODataType
- type RemoteAddressOperator
- type RequestBodyMatchConditionParameters
- type RequestBodyMatchConditionParametersODataType
- type RequestBodyOperator
- type RequestHeaderMatchConditionParameters
- type RequestHeaderMatchConditionParametersODataType
- type RequestHeaderOperator
- type RequestMethodMatchConditionParameters
- type RequestMethodMatchConditionParametersMatchValuesItem
- type RequestMethodMatchConditionParametersODataType
- type RequestMethodOperator
- type RequestSchemeMatchConditionParameters
- type RequestSchemeMatchConditionParametersMatchValuesItem
- type RequestSchemeMatchConditionParametersODataType
- type RequestSchemeMatchConditionParametersOperator
- type RequestURIMatchConditionParameters
- type RequestURIMatchConditionParametersODataType
- type RequestURIOperator
- type Resource
- type ResourceReference
- type ResourceUsage
- type ResourceUsageClient
- type ResourceUsageListOptions
- type ResourceUsageListPager
- type ResourceUsageListResponse
- type ResourceUsageListResult
- type ResourceUsageListResultEnvelope
- type ResourcesResponse
- type ResourcesResponseCustomDomainsItem
- type ResourcesResponseEndpointsItem
- type ResourcesResponseEndpointsPropertiesItemsItem
- type ResponseBasedDetectedErrorTypes
- type ResponseBasedOriginErrorDetectionParameters
- type Route
- type RouteListResult
- type RouteProperties
- type RouteUpdateParameters
- type RouteUpdatePropertiesParameters
- type RoutesBeginCreateOptions
- type RoutesBeginDeleteOptions
- type RoutesBeginUpdateOptions
- type RoutesClient
- func (client *RoutesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (RoutesCreatePollerResponse, error)
- func (client *RoutesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (RoutesDeletePollerResponse, error)
- func (client *RoutesClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (RoutesUpdatePollerResponse, error)
- func (client *RoutesClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (RoutesGetResponse, error)
- func (client *RoutesClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, ...) *RoutesListByEndpointPager
- type RoutesCreatePoller
- type RoutesCreatePollerResponse
- type RoutesCreateResponse
- type RoutesCreateResult
- type RoutesDeletePoller
- type RoutesDeletePollerResponse
- type RoutesDeleteResponse
- type RoutesGetOptions
- type RoutesGetResponse
- type RoutesGetResult
- type RoutesListByEndpointOptions
- type RoutesListByEndpointPager
- type RoutesListByEndpointResponse
- type RoutesListByEndpointResult
- type RoutesUpdatePoller
- type RoutesUpdatePollerResponse
- type RoutesUpdateResponse
- type RoutesUpdateResult
- type Rule
- type RuleListResult
- type RuleProperties
- type RuleSet
- type RuleSetListResult
- type RuleSetProperties
- type RuleSetsBeginCreateOptions
- type RuleSetsBeginDeleteOptions
- type RuleSetsClient
- func (client *RuleSetsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (RuleSetsCreatePollerResponse, error)
- func (client *RuleSetsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (RuleSetsDeletePollerResponse, error)
- func (client *RuleSetsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (RuleSetsGetResponse, error)
- func (client *RuleSetsClient) ListByProfile(resourceGroupName string, profileName string, ...) *RuleSetsListByProfilePager
- func (client *RuleSetsClient) ListResourceUsage(resourceGroupName string, profileName string, ruleSetName string, ...) *RuleSetsListResourceUsagePager
- type RuleSetsCreatePoller
- type RuleSetsCreatePollerResponse
- type RuleSetsCreateResponse
- type RuleSetsCreateResult
- type RuleSetsDeletePoller
- type RuleSetsDeletePollerResponse
- type RuleSetsDeleteResponse
- type RuleSetsGetOptions
- type RuleSetsGetResponse
- type RuleSetsGetResult
- type RuleSetsListByProfileOptions
- type RuleSetsListByProfilePager
- type RuleSetsListByProfileResponse
- type RuleSetsListByProfileResult
- type RuleSetsListResourceUsageOptions
- type RuleSetsListResourceUsagePager
- type RuleSetsListResourceUsageResponse
- type RuleSetsListResourceUsageResult
- type RuleUpdateParameters
- type RuleUpdatePropertiesParameters
- type RulesBeginCreateOptions
- type RulesBeginDeleteOptions
- type RulesBeginUpdateOptions
- type RulesClient
- func (client *RulesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (RulesCreatePollerResponse, error)
- func (client *RulesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (RulesDeletePollerResponse, error)
- func (client *RulesClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (RulesUpdatePollerResponse, error)
- func (client *RulesClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (RulesGetResponse, error)
- func (client *RulesClient) ListByRuleSet(resourceGroupName string, profileName string, ruleSetName string, ...) *RulesListByRuleSetPager
- type RulesCreatePoller
- type RulesCreatePollerResponse
- type RulesCreateResponse
- type RulesCreateResult
- type RulesDeletePoller
- type RulesDeletePollerResponse
- type RulesDeleteResponse
- type RulesGetOptions
- type RulesGetResponse
- type RulesGetResult
- type RulesListByRuleSetOptions
- type RulesListByRuleSetPager
- type RulesListByRuleSetResponse
- type RulesListByRuleSetResult
- type RulesUpdatePoller
- type RulesUpdatePollerResponse
- type RulesUpdateResponse
- type RulesUpdateResult
- type SKU
- type SKUName
- type Secret
- type SecretListResult
- type SecretParameters
- type SecretParametersClassification
- type SecretProperties
- type SecretType
- type SecretsBeginCreateOptions
- type SecretsBeginDeleteOptions
- type SecretsBeginUpdateOptions
- type SecretsClient
- func (client *SecretsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (SecretsCreatePollerResponse, error)
- func (client *SecretsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (SecretsDeletePollerResponse, error)
- func (client *SecretsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ...) (SecretsUpdatePollerResponse, error)
- func (client *SecretsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (SecretsGetResponse, error)
- func (client *SecretsClient) ListByProfile(resourceGroupName string, profileName string, ...) *SecretsListByProfilePager
- type SecretsCreatePoller
- type SecretsCreatePollerResponse
- type SecretsCreateResponse
- type SecretsCreateResult
- type SecretsDeletePoller
- type SecretsDeletePollerResponse
- type SecretsDeleteResponse
- type SecretsGetOptions
- type SecretsGetResponse
- type SecretsGetResult
- type SecretsListByProfileOptions
- type SecretsListByProfilePager
- type SecretsListByProfileResponse
- type SecretsListByProfileResult
- type SecretsUpdatePoller
- type SecretsUpdatePollerResponse
- type SecretsUpdateResponse
- type SecretsUpdateResult
- type SecurityPoliciesBeginCreateOptions
- type SecurityPoliciesBeginDeleteOptions
- type SecurityPoliciesBeginPatchOptions
- type SecurityPoliciesClient
- func (client *SecurityPoliciesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ...) (SecurityPoliciesCreatePollerResponse, error)
- func (client *SecurityPoliciesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ...) (SecurityPoliciesDeletePollerResponse, error)
- func (client *SecurityPoliciesClient) BeginPatch(ctx context.Context, resourceGroupName string, profileName string, ...) (SecurityPoliciesPatchPollerResponse, error)
- func (client *SecurityPoliciesClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (SecurityPoliciesGetResponse, error)
- func (client *SecurityPoliciesClient) ListByProfile(resourceGroupName string, profileName string, ...) *SecurityPoliciesListByProfilePager
- type SecurityPoliciesCreatePoller
- func (p *SecurityPoliciesCreatePoller) Done() bool
- func (p *SecurityPoliciesCreatePoller) FinalResponse(ctx context.Context) (SecurityPoliciesCreateResponse, error)
- func (p *SecurityPoliciesCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *SecurityPoliciesCreatePoller) ResumeToken() (string, error)
- type SecurityPoliciesCreatePollerResponse
- type SecurityPoliciesCreateResponse
- type SecurityPoliciesCreateResult
- type SecurityPoliciesDeletePoller
- func (p *SecurityPoliciesDeletePoller) Done() bool
- func (p *SecurityPoliciesDeletePoller) FinalResponse(ctx context.Context) (SecurityPoliciesDeleteResponse, error)
- func (p *SecurityPoliciesDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *SecurityPoliciesDeletePoller) ResumeToken() (string, error)
- type SecurityPoliciesDeletePollerResponse
- type SecurityPoliciesDeleteResponse
- type SecurityPoliciesGetOptions
- type SecurityPoliciesGetResponse
- type SecurityPoliciesGetResult
- type SecurityPoliciesListByProfileOptions
- type SecurityPoliciesListByProfilePager
- type SecurityPoliciesListByProfileResponse
- type SecurityPoliciesListByProfileResult
- type SecurityPoliciesPatchPoller
- func (p *SecurityPoliciesPatchPoller) Done() bool
- func (p *SecurityPoliciesPatchPoller) FinalResponse(ctx context.Context) (SecurityPoliciesPatchResponse, error)
- func (p *SecurityPoliciesPatchPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *SecurityPoliciesPatchPoller) ResumeToken() (string, error)
- type SecurityPoliciesPatchPollerResponse
- type SecurityPoliciesPatchResponse
- type SecurityPoliciesPatchResult
- type SecurityPolicy
- type SecurityPolicyListResult
- type SecurityPolicyParameters
- type SecurityPolicyParametersClassification
- type SecurityPolicyProperties
- type SecurityPolicyType
- type SecurityPolicyWebApplicationFirewallAssociation
- type SecurityPolicyWebApplicationFirewallParameters
- type SharedPrivateLinkResourceProperties
- type SharedPrivateLinkResourceStatus
- type SsoURI
- type Status
- type SupportedOptimizationTypesListResult
- type SystemData
- type TrackedResource
- type Transform
- type TransformType
- type URLFileExtensionMatchConditionParameters
- type URLFileExtensionMatchConditionParametersODataType
- type URLFileExtensionOperator
- type URLFileNameMatchConditionParameters
- type URLFileNameMatchConditionParametersODataType
- type URLFileNameOperator
- type URLPathMatchConditionParameters
- type URLPathMatchConditionParametersODataType
- type URLPathOperator
- type URLRedirectAction
- type URLRedirectActionParameters
- type URLRedirectActionParametersODataType
- type URLRewriteAction
- type URLRewriteActionParameters
- type URLRewriteActionParametersODataType
- type URLSigningAction
- type URLSigningActionParameters
- type URLSigningActionParametersODataType
- type URLSigningKey
- type URLSigningKeyParameters
- type URLSigningParamIdentifier
- type UpdateRule
- type Usage
- type UsageName
- type UsageUnit
- type UsagesListResult
- type UserManagedHTTPSParameters
- type ValidateClient
- type ValidateCustomDomainInput
- type ValidateCustomDomainOutput
- type ValidateProbeInput
- type ValidateProbeOutput
- type ValidateSecretInput
- type ValidateSecretOptions
- type ValidateSecretOutput
- type ValidateSecretResponse
- type ValidateSecretResult
- type ValidateSecretType
- type ValidationToken
- type WafAction
- type WafGranularity
- type WafMetric
- type WafMetricsResponse
- type WafMetricsResponseGranularity
- type WafMetricsResponseSeriesItem
- type WafMetricsResponseSeriesItemUnit
- type WafMetricsResponseSeriesPropertiesItemsItem
- type WafRankingGroupBy
- type WafRankingType
- type WafRankingsResponse
- type WafRankingsResponseDataItem
- type WafRuleType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AFDCustomDomainsBeginCreateOptions ¶
type AFDCustomDomainsBeginCreateOptions struct { }
AFDCustomDomainsBeginCreateOptions contains the optional parameters for the AFDCustomDomains.BeginCreate method.
type AFDCustomDomainsBeginDeleteOptions ¶
type AFDCustomDomainsBeginDeleteOptions struct { }
AFDCustomDomainsBeginDeleteOptions contains the optional parameters for the AFDCustomDomains.BeginDelete method.
type AFDCustomDomainsBeginRefreshValidationTokenOptions ¶
type AFDCustomDomainsBeginRefreshValidationTokenOptions struct { }
AFDCustomDomainsBeginRefreshValidationTokenOptions contains the optional parameters for the AFDCustomDomains.BeginRefreshValidationToken method.
type AFDCustomDomainsBeginUpdateOptions ¶
type AFDCustomDomainsBeginUpdateOptions struct { }
AFDCustomDomainsBeginUpdateOptions contains the optional parameters for the AFDCustomDomains.BeginUpdate method.
type AFDCustomDomainsClient ¶
type AFDCustomDomainsClient struct {
// contains filtered or unexported fields
}
AFDCustomDomainsClient contains the methods for the AFDCustomDomains group. Don't use this type directly, use NewAFDCustomDomainsClient() instead.
func NewAFDCustomDomainsClient ¶
func NewAFDCustomDomainsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AFDCustomDomainsClient
NewAFDCustomDomainsClient creates a new instance of AFDCustomDomainsClient with the specified values.
func (*AFDCustomDomainsClient) BeginCreate ¶
func (client *AFDCustomDomainsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomain AFDDomain, options *AFDCustomDomainsBeginCreateOptions) (AFDCustomDomainsCreatePollerResponse, error)
BeginCreate - Creates a new domain within the specified profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDCustomDomainsClient) BeginDelete ¶
func (client *AFDCustomDomainsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, options *AFDCustomDomainsBeginDeleteOptions) (AFDCustomDomainsDeletePollerResponse, error)
BeginDelete - Deletes an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDCustomDomainsClient) BeginRefreshValidationToken ¶
func (client *AFDCustomDomainsClient) BeginRefreshValidationToken(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, options *AFDCustomDomainsBeginRefreshValidationTokenOptions) (AFDCustomDomainsRefreshValidationTokenPollerResponse, error)
BeginRefreshValidationToken - Updates the domain validation token. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDCustomDomainsClient) BeginUpdate ¶
func (client *AFDCustomDomainsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomainUpdateProperties AFDDomainUpdateParameters, options *AFDCustomDomainsBeginUpdateOptions) (AFDCustomDomainsUpdatePollerResponse, error)
BeginUpdate - Updates an existing domain within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDCustomDomainsClient) Get ¶
func (client *AFDCustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, options *AFDCustomDomainsGetOptions) (AFDCustomDomainsGetResponse, error)
Get - Gets an existing AzureFrontDoor domain with the specified domain name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDCustomDomainsClient) ListByProfile ¶
func (client *AFDCustomDomainsClient) ListByProfile(resourceGroupName string, profileName string, options *AFDCustomDomainsListByProfileOptions) *AFDCustomDomainsListByProfilePager
ListByProfile - Lists existing AzureFrontDoor domains. If the operation fails it returns the *AfdErrorResponse error type.
type AFDCustomDomainsCreatePoller ¶
type AFDCustomDomainsCreatePoller struct {
// contains filtered or unexported fields
}
AFDCustomDomainsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDCustomDomainsCreatePoller) Done ¶
func (p *AFDCustomDomainsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDCustomDomainsCreatePoller) FinalResponse ¶
func (p *AFDCustomDomainsCreatePoller) FinalResponse(ctx context.Context) (AFDCustomDomainsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDCustomDomainsCreateResponse will be returned.
func (*AFDCustomDomainsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDCustomDomainsCreatePoller) ResumeToken ¶
func (p *AFDCustomDomainsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDCustomDomainsCreatePollerResponse ¶
type AFDCustomDomainsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDCustomDomainsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsCreatePollerResponse contains the response from method AFDCustomDomains.Create.
func (AFDCustomDomainsCreatePollerResponse) PollUntilDone ¶
func (l AFDCustomDomainsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDCustomDomainsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDCustomDomainsCreatePollerResponse) Resume ¶
func (l *AFDCustomDomainsCreatePollerResponse) Resume(ctx context.Context, client *AFDCustomDomainsClient, token string) error
Resume rehydrates a AFDCustomDomainsCreatePollerResponse from the provided client and resume token.
type AFDCustomDomainsCreateResponse ¶
type AFDCustomDomainsCreateResponse struct { AFDCustomDomainsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsCreateResponse contains the response from method AFDCustomDomains.Create.
type AFDCustomDomainsCreateResult ¶
type AFDCustomDomainsCreateResult struct {
AFDDomain
}
AFDCustomDomainsCreateResult contains the result from method AFDCustomDomains.Create.
type AFDCustomDomainsDeletePoller ¶
type AFDCustomDomainsDeletePoller struct {
// contains filtered or unexported fields
}
AFDCustomDomainsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDCustomDomainsDeletePoller) Done ¶
func (p *AFDCustomDomainsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDCustomDomainsDeletePoller) FinalResponse ¶
func (p *AFDCustomDomainsDeletePoller) FinalResponse(ctx context.Context) (AFDCustomDomainsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDCustomDomainsDeleteResponse will be returned.
func (*AFDCustomDomainsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDCustomDomainsDeletePoller) ResumeToken ¶
func (p *AFDCustomDomainsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDCustomDomainsDeletePollerResponse ¶
type AFDCustomDomainsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *AFDCustomDomainsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsDeletePollerResponse contains the response from method AFDCustomDomains.Delete.
func (AFDCustomDomainsDeletePollerResponse) PollUntilDone ¶
func (l AFDCustomDomainsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDCustomDomainsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDCustomDomainsDeletePollerResponse) Resume ¶
func (l *AFDCustomDomainsDeletePollerResponse) Resume(ctx context.Context, client *AFDCustomDomainsClient, token string) error
Resume rehydrates a AFDCustomDomainsDeletePollerResponse from the provided client and resume token.
type AFDCustomDomainsDeleteResponse ¶
type AFDCustomDomainsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsDeleteResponse contains the response from method AFDCustomDomains.Delete.
type AFDCustomDomainsGetOptions ¶
type AFDCustomDomainsGetOptions struct { }
AFDCustomDomainsGetOptions contains the optional parameters for the AFDCustomDomains.Get method.
type AFDCustomDomainsGetResponse ¶
type AFDCustomDomainsGetResponse struct { AFDCustomDomainsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsGetResponse contains the response from method AFDCustomDomains.Get.
type AFDCustomDomainsGetResult ¶
type AFDCustomDomainsGetResult struct {
AFDDomain
}
AFDCustomDomainsGetResult contains the result from method AFDCustomDomains.Get.
type AFDCustomDomainsListByProfileOptions ¶
type AFDCustomDomainsListByProfileOptions struct { }
AFDCustomDomainsListByProfileOptions contains the optional parameters for the AFDCustomDomains.ListByProfile method.
type AFDCustomDomainsListByProfilePager ¶
type AFDCustomDomainsListByProfilePager struct {
// contains filtered or unexported fields
}
AFDCustomDomainsListByProfilePager provides operations for iterating over paged responses.
func (*AFDCustomDomainsListByProfilePager) Err ¶
func (p *AFDCustomDomainsListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*AFDCustomDomainsListByProfilePager) NextPage ¶
func (p *AFDCustomDomainsListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDCustomDomainsListByProfilePager) PageResponse ¶
func (p *AFDCustomDomainsListByProfilePager) PageResponse() AFDCustomDomainsListByProfileResponse
PageResponse returns the current AFDCustomDomainsListByProfileResponse page.
type AFDCustomDomainsListByProfileResponse ¶
type AFDCustomDomainsListByProfileResponse struct { AFDCustomDomainsListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsListByProfileResponse contains the response from method AFDCustomDomains.ListByProfile.
type AFDCustomDomainsListByProfileResult ¶
type AFDCustomDomainsListByProfileResult struct {
AFDDomainListResult
}
AFDCustomDomainsListByProfileResult contains the result from method AFDCustomDomains.ListByProfile.
type AFDCustomDomainsRefreshValidationTokenPoller ¶
type AFDCustomDomainsRefreshValidationTokenPoller struct {
// contains filtered or unexported fields
}
AFDCustomDomainsRefreshValidationTokenPoller provides polling facilities until the operation reaches a terminal state.
func (*AFDCustomDomainsRefreshValidationTokenPoller) Done ¶
func (p *AFDCustomDomainsRefreshValidationTokenPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDCustomDomainsRefreshValidationTokenPoller) FinalResponse ¶
func (p *AFDCustomDomainsRefreshValidationTokenPoller) FinalResponse(ctx context.Context) (AFDCustomDomainsRefreshValidationTokenResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDCustomDomainsRefreshValidationTokenResponse will be returned.
func (*AFDCustomDomainsRefreshValidationTokenPoller) Poll ¶
func (p *AFDCustomDomainsRefreshValidationTokenPoller) Poll(ctx context.Context) (*http.Response, error)
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDCustomDomainsRefreshValidationTokenPoller) ResumeToken ¶
func (p *AFDCustomDomainsRefreshValidationTokenPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDCustomDomainsRefreshValidationTokenPollerResponse ¶
type AFDCustomDomainsRefreshValidationTokenPollerResponse struct { // Poller contains an initialized poller. Poller *AFDCustomDomainsRefreshValidationTokenPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsRefreshValidationTokenPollerResponse contains the response from method AFDCustomDomains.RefreshValidationToken.
func (AFDCustomDomainsRefreshValidationTokenPollerResponse) PollUntilDone ¶
func (l AFDCustomDomainsRefreshValidationTokenPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDCustomDomainsRefreshValidationTokenResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDCustomDomainsRefreshValidationTokenPollerResponse) Resume ¶
func (l *AFDCustomDomainsRefreshValidationTokenPollerResponse) Resume(ctx context.Context, client *AFDCustomDomainsClient, token string) error
Resume rehydrates a AFDCustomDomainsRefreshValidationTokenPollerResponse from the provided client and resume token.
type AFDCustomDomainsRefreshValidationTokenResponse ¶
type AFDCustomDomainsRefreshValidationTokenResponse struct { AFDCustomDomainsRefreshValidationTokenResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsRefreshValidationTokenResponse contains the response from method AFDCustomDomains.RefreshValidationToken.
type AFDCustomDomainsRefreshValidationTokenResult ¶
type AFDCustomDomainsRefreshValidationTokenResult struct {
ValidationToken
}
AFDCustomDomainsRefreshValidationTokenResult contains the result from method AFDCustomDomains.RefreshValidationToken.
type AFDCustomDomainsUpdatePoller ¶
type AFDCustomDomainsUpdatePoller struct {
// contains filtered or unexported fields
}
AFDCustomDomainsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDCustomDomainsUpdatePoller) Done ¶
func (p *AFDCustomDomainsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDCustomDomainsUpdatePoller) FinalResponse ¶
func (p *AFDCustomDomainsUpdatePoller) FinalResponse(ctx context.Context) (AFDCustomDomainsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDCustomDomainsUpdateResponse will be returned.
func (*AFDCustomDomainsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDCustomDomainsUpdatePoller) ResumeToken ¶
func (p *AFDCustomDomainsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDCustomDomainsUpdatePollerResponse ¶
type AFDCustomDomainsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDCustomDomainsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsUpdatePollerResponse contains the response from method AFDCustomDomains.Update.
func (AFDCustomDomainsUpdatePollerResponse) PollUntilDone ¶
func (l AFDCustomDomainsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDCustomDomainsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDCustomDomainsUpdatePollerResponse) Resume ¶
func (l *AFDCustomDomainsUpdatePollerResponse) Resume(ctx context.Context, client *AFDCustomDomainsClient, token string) error
Resume rehydrates a AFDCustomDomainsUpdatePollerResponse from the provided client and resume token.
type AFDCustomDomainsUpdateResponse ¶
type AFDCustomDomainsUpdateResponse struct { AFDCustomDomainsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDCustomDomainsUpdateResponse contains the response from method AFDCustomDomains.Update.
type AFDCustomDomainsUpdateResult ¶
type AFDCustomDomainsUpdateResult struct {
AFDDomain
}
AFDCustomDomainsUpdateResult contains the result from method AFDCustomDomains.Update.
type AFDDomain ¶
type AFDDomain struct { ProxyResource // The JSON object that contains the properties of the domain to create. Properties *AFDDomainProperties `json:"properties,omitempty"` }
AFDDomain - Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.
func (AFDDomain) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type AFDDomain.
type AFDDomainHTTPSParameters ¶
type AFDDomainHTTPSParameters struct { // REQUIRED; Defines the source of the SSL certificate. CertificateType *AfdCertificateType `json:"certificateType,omitempty"` // TLS protocol version that will be used for Https MinimumTLSVersion *AfdMinimumTLSVersion `json:"minimumTlsVersion,omitempty"` // Resource reference to the secret. ie. subs/rg/profile/secret Secret *ResourceReference `json:"secret,omitempty"` }
AFDDomainHTTPSParameters - The JSON object that contains the properties to secure a domain.
type AFDDomainListResult ¶
type AFDDomainListResult struct { // URL to get the next set of domain objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of AzureFrontDoor domains within a profile. Value []*AFDDomain `json:"value,omitempty" azure:"ro"` }
AFDDomainListResult - Result of the request to list domains. It contains a list of domain objects and a URL link to get the next set of results.
func (AFDDomainListResult) MarshalJSON ¶
func (a AFDDomainListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDDomainListResult.
type AFDDomainProperties ¶
type AFDDomainProperties struct { AFDDomainUpdatePropertiesParameters AFDStateProperties // REQUIRED; The host name of the domain. Must be a domain name. HostName *string `json:"hostName,omitempty"` // READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. DomainValidationState *DomainValidationState `json:"domainValidationState,omitempty" azure:"ro"` // READ-ONLY; Values the customer needs to validate domain ownership ValidationProperties *DomainValidationProperties `json:"validationProperties,omitempty" azure:"ro"` }
AFDDomainProperties - The JSON object that contains the properties of the domain to create.
func (AFDDomainProperties) MarshalJSON ¶
func (a AFDDomainProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDDomainProperties.
func (*AFDDomainProperties) UnmarshalJSON ¶
func (a *AFDDomainProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDDomainProperties.
type AFDDomainUpdateParameters ¶
type AFDDomainUpdateParameters struct { // The JSON object that contains the properties of the domain to create. Properties *AFDDomainUpdatePropertiesParameters `json:"properties,omitempty"` }
AFDDomainUpdateParameters - The domain JSON object required for domain creation or update.
func (AFDDomainUpdateParameters) MarshalJSON ¶
func (a AFDDomainUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDDomainUpdateParameters.
type AFDDomainUpdatePropertiesParameters ¶
type AFDDomainUpdatePropertiesParameters struct { // Resource reference to the Azure DNS zone AzureDNSZone *ResourceReference `json:"azureDnsZone,omitempty"` // The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, // enabling ssl uses AzureFrontDoor managed // certificate by default. TLSSettings *AFDDomainHTTPSParameters `json:"tlsSettings,omitempty"` }
AFDDomainUpdatePropertiesParameters - The JSON object that contains the properties of the domain to create.
func (AFDDomainUpdatePropertiesParameters) MarshalJSON ¶
func (a AFDDomainUpdatePropertiesParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDDomainUpdatePropertiesParameters.
func (*AFDDomainUpdatePropertiesParameters) UnmarshalJSON ¶
func (a *AFDDomainUpdatePropertiesParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDDomainUpdatePropertiesParameters.
type AFDEndpoint ¶
type AFDEndpoint struct { TrackedResource // The JSON object that contains the properties required to create an endpoint. Properties *AFDEndpointProperties `json:"properties,omitempty"` }
AFDEndpoint - CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net.
func (AFDEndpoint) MarshalJSON ¶
func (a AFDEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDEndpoint.
type AFDEndpointListResult ¶
type AFDEndpointListResult struct { // URL to get the next set of endpoint objects if there is any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of AzureFrontDoor endpoints within a profile Value []*AFDEndpoint `json:"value,omitempty" azure:"ro"` }
AFDEndpointListResult - Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results.
func (AFDEndpointListResult) MarshalJSON ¶
func (a AFDEndpointListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDEndpointListResult.
type AFDEndpointProperties ¶
type AFDEndpointProperties struct { AFDEndpointPropertiesUpdateParameters AFDStateProperties // READ-ONLY; The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net HostName *string `json:"hostName,omitempty" azure:"ro"` }
AFDEndpointProperties - The JSON object that contains the properties required to create an endpoint.
func (AFDEndpointProperties) MarshalJSON ¶
func (a AFDEndpointProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDEndpointProperties.
func (*AFDEndpointProperties) UnmarshalJSON ¶
func (a *AFDEndpointProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDEndpointProperties.
type AFDEndpointPropertiesUpdateParameters ¶
type AFDEndpointPropertiesUpdateParameters struct { // Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' EnabledState *EnabledState `json:"enabledState,omitempty"` // Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. OriginResponseTimeoutSeconds *int32 `json:"originResponseTimeoutSeconds,omitempty"` }
AFDEndpointPropertiesUpdateParameters - The JSON object containing endpoint update parameters.
func (AFDEndpointPropertiesUpdateParameters) MarshalJSON ¶
func (a AFDEndpointPropertiesUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDEndpointPropertiesUpdateParameters.
func (*AFDEndpointPropertiesUpdateParameters) UnmarshalJSON ¶
func (a *AFDEndpointPropertiesUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDEndpointPropertiesUpdateParameters.
type AFDEndpointProtocols ¶
type AFDEndpointProtocols string
AFDEndpointProtocols - Supported protocols for the customer's endpoint.
const ( AFDEndpointProtocolsHTTP AFDEndpointProtocols = "Http" AFDEndpointProtocolsHTTPS AFDEndpointProtocols = "Https" )
func PossibleAFDEndpointProtocolsValues ¶
func PossibleAFDEndpointProtocolsValues() []AFDEndpointProtocols
PossibleAFDEndpointProtocolsValues returns the possible values for the AFDEndpointProtocols const type.
func (AFDEndpointProtocols) ToPtr ¶
func (c AFDEndpointProtocols) ToPtr() *AFDEndpointProtocols
ToPtr returns a *AFDEndpointProtocols pointing to the current value.
type AFDEndpointUpdateParameters ¶
type AFDEndpointUpdateParameters struct { // The JSON object containing endpoint update parameters. Properties *AFDEndpointPropertiesUpdateParameters `json:"properties,omitempty"` // Endpoint tags. Tags map[string]*string `json:"tags,omitempty"` }
AFDEndpointUpdateParameters - Properties required to create or update an endpoint.
func (AFDEndpointUpdateParameters) MarshalJSON ¶
func (a AFDEndpointUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDEndpointUpdateParameters.
type AFDEndpointsBeginCreateOptions ¶
type AFDEndpointsBeginCreateOptions struct { }
AFDEndpointsBeginCreateOptions contains the optional parameters for the AFDEndpoints.BeginCreate method.
type AFDEndpointsBeginDeleteOptions ¶
type AFDEndpointsBeginDeleteOptions struct { }
AFDEndpointsBeginDeleteOptions contains the optional parameters for the AFDEndpoints.BeginDelete method.
type AFDEndpointsBeginPurgeContentOptions ¶
type AFDEndpointsBeginPurgeContentOptions struct { }
AFDEndpointsBeginPurgeContentOptions contains the optional parameters for the AFDEndpoints.BeginPurgeContent method.
type AFDEndpointsBeginUpdateOptions ¶
type AFDEndpointsBeginUpdateOptions struct { }
AFDEndpointsBeginUpdateOptions contains the optional parameters for the AFDEndpoints.BeginUpdate method.
type AFDEndpointsClient ¶
type AFDEndpointsClient struct {
// contains filtered or unexported fields
}
AFDEndpointsClient contains the methods for the AFDEndpoints group. Don't use this type directly, use NewAFDEndpointsClient() instead.
func NewAFDEndpointsClient ¶
func NewAFDEndpointsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AFDEndpointsClient
NewAFDEndpointsClient creates a new instance of AFDEndpointsClient with the specified values.
func (*AFDEndpointsClient) BeginCreate ¶
func (client *AFDEndpointsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint AFDEndpoint, options *AFDEndpointsBeginCreateOptions) (AFDEndpointsCreatePollerResponse, error)
BeginCreate - Creates a new AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) BeginDelete ¶
func (client *AFDEndpointsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *AFDEndpointsBeginDeleteOptions) (AFDEndpointsDeletePollerResponse, error)
BeginDelete - Deletes an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) BeginPurgeContent ¶
func (client *AFDEndpointsClient) BeginPurgeContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contents AfdPurgeParameters, options *AFDEndpointsBeginPurgeContentOptions) (AFDEndpointsPurgeContentPollerResponse, error)
BeginPurgeContent - Removes a content from AzureFrontDoor. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) BeginUpdate ¶
func (client *AFDEndpointsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties AFDEndpointUpdateParameters, options *AFDEndpointsBeginUpdateOptions) (AFDEndpointsUpdatePollerResponse, error)
BeginUpdate - Updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update domains, use the Update Custom Domain operation. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) Get ¶
func (client *AFDEndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *AFDEndpointsGetOptions) (AFDEndpointsGetResponse, error)
Get - Gets an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) ListByProfile ¶
func (client *AFDEndpointsClient) ListByProfile(resourceGroupName string, profileName string, options *AFDEndpointsListByProfileOptions) *AFDEndpointsListByProfilePager
ListByProfile - Lists existing AzureFrontDoor endpoints. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) ListResourceUsage ¶
func (client *AFDEndpointsClient) ListResourceUsage(resourceGroupName string, profileName string, endpointName string, options *AFDEndpointsListResourceUsageOptions) *AFDEndpointsListResourceUsagePager
ListResourceUsage - Checks the quota and actual usage of endpoints under the given CDN profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDEndpointsClient) ValidateCustomDomain ¶
func (client *AFDEndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties ValidateCustomDomainInput, options *AFDEndpointsValidateCustomDomainOptions) (AFDEndpointsValidateCustomDomainResponse, error)
ValidateCustomDomain - Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. If the operation fails it returns the *AfdErrorResponse error type.
type AFDEndpointsCreatePoller ¶
type AFDEndpointsCreatePoller struct {
// contains filtered or unexported fields
}
AFDEndpointsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDEndpointsCreatePoller) Done ¶
func (p *AFDEndpointsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDEndpointsCreatePoller) FinalResponse ¶
func (p *AFDEndpointsCreatePoller) FinalResponse(ctx context.Context) (AFDEndpointsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDEndpointsCreateResponse will be returned.
func (*AFDEndpointsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDEndpointsCreatePoller) ResumeToken ¶
func (p *AFDEndpointsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDEndpointsCreatePollerResponse ¶
type AFDEndpointsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDEndpointsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsCreatePollerResponse contains the response from method AFDEndpoints.Create.
func (AFDEndpointsCreatePollerResponse) PollUntilDone ¶
func (l AFDEndpointsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDEndpointsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDEndpointsCreatePollerResponse) Resume ¶
func (l *AFDEndpointsCreatePollerResponse) Resume(ctx context.Context, client *AFDEndpointsClient, token string) error
Resume rehydrates a AFDEndpointsCreatePollerResponse from the provided client and resume token.
type AFDEndpointsCreateResponse ¶
type AFDEndpointsCreateResponse struct { AFDEndpointsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsCreateResponse contains the response from method AFDEndpoints.Create.
type AFDEndpointsCreateResult ¶
type AFDEndpointsCreateResult struct {
AFDEndpoint
}
AFDEndpointsCreateResult contains the result from method AFDEndpoints.Create.
type AFDEndpointsDeletePoller ¶
type AFDEndpointsDeletePoller struct {
// contains filtered or unexported fields
}
AFDEndpointsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDEndpointsDeletePoller) Done ¶
func (p *AFDEndpointsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDEndpointsDeletePoller) FinalResponse ¶
func (p *AFDEndpointsDeletePoller) FinalResponse(ctx context.Context) (AFDEndpointsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDEndpointsDeleteResponse will be returned.
func (*AFDEndpointsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDEndpointsDeletePoller) ResumeToken ¶
func (p *AFDEndpointsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDEndpointsDeletePollerResponse ¶
type AFDEndpointsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *AFDEndpointsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsDeletePollerResponse contains the response from method AFDEndpoints.Delete.
func (AFDEndpointsDeletePollerResponse) PollUntilDone ¶
func (l AFDEndpointsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDEndpointsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDEndpointsDeletePollerResponse) Resume ¶
func (l *AFDEndpointsDeletePollerResponse) Resume(ctx context.Context, client *AFDEndpointsClient, token string) error
Resume rehydrates a AFDEndpointsDeletePollerResponse from the provided client and resume token.
type AFDEndpointsDeleteResponse ¶
type AFDEndpointsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsDeleteResponse contains the response from method AFDEndpoints.Delete.
type AFDEndpointsGetOptions ¶
type AFDEndpointsGetOptions struct { }
AFDEndpointsGetOptions contains the optional parameters for the AFDEndpoints.Get method.
type AFDEndpointsGetResponse ¶
type AFDEndpointsGetResponse struct { AFDEndpointsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsGetResponse contains the response from method AFDEndpoints.Get.
type AFDEndpointsGetResult ¶
type AFDEndpointsGetResult struct {
AFDEndpoint
}
AFDEndpointsGetResult contains the result from method AFDEndpoints.Get.
type AFDEndpointsListByProfileOptions ¶
type AFDEndpointsListByProfileOptions struct { }
AFDEndpointsListByProfileOptions contains the optional parameters for the AFDEndpoints.ListByProfile method.
type AFDEndpointsListByProfilePager ¶
type AFDEndpointsListByProfilePager struct {
// contains filtered or unexported fields
}
AFDEndpointsListByProfilePager provides operations for iterating over paged responses.
func (*AFDEndpointsListByProfilePager) Err ¶
func (p *AFDEndpointsListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*AFDEndpointsListByProfilePager) NextPage ¶
func (p *AFDEndpointsListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDEndpointsListByProfilePager) PageResponse ¶
func (p *AFDEndpointsListByProfilePager) PageResponse() AFDEndpointsListByProfileResponse
PageResponse returns the current AFDEndpointsListByProfileResponse page.
type AFDEndpointsListByProfileResponse ¶
type AFDEndpointsListByProfileResponse struct { AFDEndpointsListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsListByProfileResponse contains the response from method AFDEndpoints.ListByProfile.
type AFDEndpointsListByProfileResult ¶
type AFDEndpointsListByProfileResult struct {
AFDEndpointListResult
}
AFDEndpointsListByProfileResult contains the result from method AFDEndpoints.ListByProfile.
type AFDEndpointsListResourceUsageOptions ¶
type AFDEndpointsListResourceUsageOptions struct { }
AFDEndpointsListResourceUsageOptions contains the optional parameters for the AFDEndpoints.ListResourceUsage method.
type AFDEndpointsListResourceUsagePager ¶
type AFDEndpointsListResourceUsagePager struct {
// contains filtered or unexported fields
}
AFDEndpointsListResourceUsagePager provides operations for iterating over paged responses.
func (*AFDEndpointsListResourceUsagePager) Err ¶
func (p *AFDEndpointsListResourceUsagePager) Err() error
Err returns the last error encountered while paging.
func (*AFDEndpointsListResourceUsagePager) NextPage ¶
func (p *AFDEndpointsListResourceUsagePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDEndpointsListResourceUsagePager) PageResponse ¶
func (p *AFDEndpointsListResourceUsagePager) PageResponse() AFDEndpointsListResourceUsageResponse
PageResponse returns the current AFDEndpointsListResourceUsageResponse page.
type AFDEndpointsListResourceUsageResponse ¶
type AFDEndpointsListResourceUsageResponse struct { AFDEndpointsListResourceUsageResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsListResourceUsageResponse contains the response from method AFDEndpoints.ListResourceUsage.
type AFDEndpointsListResourceUsageResult ¶
type AFDEndpointsListResourceUsageResult struct {
UsagesListResult
}
AFDEndpointsListResourceUsageResult contains the result from method AFDEndpoints.ListResourceUsage.
type AFDEndpointsPurgeContentPoller ¶
type AFDEndpointsPurgeContentPoller struct {
// contains filtered or unexported fields
}
AFDEndpointsPurgeContentPoller provides polling facilities until the operation reaches a terminal state.
func (*AFDEndpointsPurgeContentPoller) Done ¶
func (p *AFDEndpointsPurgeContentPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDEndpointsPurgeContentPoller) FinalResponse ¶
func (p *AFDEndpointsPurgeContentPoller) FinalResponse(ctx context.Context) (AFDEndpointsPurgeContentResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDEndpointsPurgeContentResponse will be returned.
func (*AFDEndpointsPurgeContentPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDEndpointsPurgeContentPoller) ResumeToken ¶
func (p *AFDEndpointsPurgeContentPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDEndpointsPurgeContentPollerResponse ¶
type AFDEndpointsPurgeContentPollerResponse struct { // Poller contains an initialized poller. Poller *AFDEndpointsPurgeContentPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsPurgeContentPollerResponse contains the response from method AFDEndpoints.PurgeContent.
func (AFDEndpointsPurgeContentPollerResponse) PollUntilDone ¶
func (l AFDEndpointsPurgeContentPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDEndpointsPurgeContentResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDEndpointsPurgeContentPollerResponse) Resume ¶
func (l *AFDEndpointsPurgeContentPollerResponse) Resume(ctx context.Context, client *AFDEndpointsClient, token string) error
Resume rehydrates a AFDEndpointsPurgeContentPollerResponse from the provided client and resume token.
type AFDEndpointsPurgeContentResponse ¶
type AFDEndpointsPurgeContentResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsPurgeContentResponse contains the response from method AFDEndpoints.PurgeContent.
type AFDEndpointsUpdatePoller ¶
type AFDEndpointsUpdatePoller struct {
// contains filtered or unexported fields
}
AFDEndpointsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDEndpointsUpdatePoller) Done ¶
func (p *AFDEndpointsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDEndpointsUpdatePoller) FinalResponse ¶
func (p *AFDEndpointsUpdatePoller) FinalResponse(ctx context.Context) (AFDEndpointsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDEndpointsUpdateResponse will be returned.
func (*AFDEndpointsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDEndpointsUpdatePoller) ResumeToken ¶
func (p *AFDEndpointsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDEndpointsUpdatePollerResponse ¶
type AFDEndpointsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDEndpointsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsUpdatePollerResponse contains the response from method AFDEndpoints.Update.
func (AFDEndpointsUpdatePollerResponse) PollUntilDone ¶
func (l AFDEndpointsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDEndpointsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDEndpointsUpdatePollerResponse) Resume ¶
func (l *AFDEndpointsUpdatePollerResponse) Resume(ctx context.Context, client *AFDEndpointsClient, token string) error
Resume rehydrates a AFDEndpointsUpdatePollerResponse from the provided client and resume token.
type AFDEndpointsUpdateResponse ¶
type AFDEndpointsUpdateResponse struct { AFDEndpointsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsUpdateResponse contains the response from method AFDEndpoints.Update.
type AFDEndpointsUpdateResult ¶
type AFDEndpointsUpdateResult struct {
AFDEndpoint
}
AFDEndpointsUpdateResult contains the result from method AFDEndpoints.Update.
type AFDEndpointsValidateCustomDomainOptions ¶
type AFDEndpointsValidateCustomDomainOptions struct { }
AFDEndpointsValidateCustomDomainOptions contains the optional parameters for the AFDEndpoints.ValidateCustomDomain method.
type AFDEndpointsValidateCustomDomainResponse ¶
type AFDEndpointsValidateCustomDomainResponse struct { AFDEndpointsValidateCustomDomainResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDEndpointsValidateCustomDomainResponse contains the response from method AFDEndpoints.ValidateCustomDomain.
type AFDEndpointsValidateCustomDomainResult ¶
type AFDEndpointsValidateCustomDomainResult struct {
ValidateCustomDomainOutput
}
AFDEndpointsValidateCustomDomainResult contains the result from method AFDEndpoints.ValidateCustomDomain.
type AFDOrigin ¶
type AFDOrigin struct { ProxyResource // The JSON object that contains the properties of the origin. Properties *AFDOriginProperties `json:"properties,omitempty"` }
AFDOrigin - CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.
func (AFDOrigin) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type AFDOrigin.
type AFDOriginGroup ¶
type AFDOriginGroup struct { ProxyResource // The JSON object that contains the properties of the origin group. Properties *AFDOriginGroupProperties `json:"properties,omitempty"` }
AFDOriginGroup - AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
func (AFDOriginGroup) MarshalJSON ¶
func (a AFDOriginGroup) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginGroup.
type AFDOriginGroupListResult ¶
type AFDOriginGroupListResult struct { // URL to get the next set of origin objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN origin groups within an endpoint Value []*AFDOriginGroup `json:"value,omitempty" azure:"ro"` }
AFDOriginGroupListResult - Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results.
func (AFDOriginGroupListResult) MarshalJSON ¶
func (a AFDOriginGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginGroupListResult.
type AFDOriginGroupProperties ¶
type AFDOriginGroupProperties struct { AFDOriginGroupUpdatePropertiesParameters AFDStateProperties }
AFDOriginGroupProperties - The JSON object that contains the properties of the origin group.
type AFDOriginGroupUpdateParameters ¶
type AFDOriginGroupUpdateParameters struct { // The JSON object that contains the properties of the origin group. Properties *AFDOriginGroupUpdatePropertiesParameters `json:"properties,omitempty"` }
AFDOriginGroupUpdateParameters - AFDOrigin group properties needed for origin group creation or update.
func (AFDOriginGroupUpdateParameters) MarshalJSON ¶
func (a AFDOriginGroupUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginGroupUpdateParameters.
type AFDOriginGroupUpdatePropertiesParameters ¶
type AFDOriginGroupUpdatePropertiesParameters struct { // Health probe settings to the origin that is used to determine the health of the origin. HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` // Load balancing settings for a backend pool LoadBalancingSettings *LoadBalancingSettingsParameters `json:"loadBalancingSettings,omitempty"` // The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. ResponseBasedAfdOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedAfdOriginErrorDetectionSettings,omitempty"` // Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled' SessionAffinityState *EnabledState `json:"sessionAffinityState,omitempty"` // Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. // This property is currently not supported. TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
AFDOriginGroupUpdatePropertiesParameters - The JSON object that contains the properties of the origin group.
func (AFDOriginGroupUpdatePropertiesParameters) MarshalJSON ¶
func (a AFDOriginGroupUpdatePropertiesParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginGroupUpdatePropertiesParameters.
func (*AFDOriginGroupUpdatePropertiesParameters) UnmarshalJSON ¶
func (a *AFDOriginGroupUpdatePropertiesParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDOriginGroupUpdatePropertiesParameters.
type AFDOriginGroupsBeginCreateOptions ¶
type AFDOriginGroupsBeginCreateOptions struct { }
AFDOriginGroupsBeginCreateOptions contains the optional parameters for the AFDOriginGroups.BeginCreate method.
type AFDOriginGroupsBeginDeleteOptions ¶
type AFDOriginGroupsBeginDeleteOptions struct { }
AFDOriginGroupsBeginDeleteOptions contains the optional parameters for the AFDOriginGroups.BeginDelete method.
type AFDOriginGroupsBeginUpdateOptions ¶
type AFDOriginGroupsBeginUpdateOptions struct { }
AFDOriginGroupsBeginUpdateOptions contains the optional parameters for the AFDOriginGroups.BeginUpdate method.
type AFDOriginGroupsClient ¶
type AFDOriginGroupsClient struct {
// contains filtered or unexported fields
}
AFDOriginGroupsClient contains the methods for the AFDOriginGroups group. Don't use this type directly, use NewAFDOriginGroupsClient() instead.
func NewAFDOriginGroupsClient ¶
func NewAFDOriginGroupsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AFDOriginGroupsClient
NewAFDOriginGroupsClient creates a new instance of AFDOriginGroupsClient with the specified values.
func (*AFDOriginGroupsClient) BeginCreate ¶
func (client *AFDOriginGroupsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroup AFDOriginGroup, options *AFDOriginGroupsBeginCreateOptions) (AFDOriginGroupsCreatePollerResponse, error)
BeginCreate - Creates a new origin group within the specified profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginGroupsClient) BeginDelete ¶
func (client *AFDOriginGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, options *AFDOriginGroupsBeginDeleteOptions) (AFDOriginGroupsDeletePollerResponse, error)
BeginDelete - Deletes an existing origin group within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginGroupsClient) BeginUpdate ¶
func (client *AFDOriginGroupsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroupUpdateProperties AFDOriginGroupUpdateParameters, options *AFDOriginGroupsBeginUpdateOptions) (AFDOriginGroupsUpdatePollerResponse, error)
BeginUpdate - Updates an existing origin group within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginGroupsClient) Get ¶
func (client *AFDOriginGroupsClient) Get(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, options *AFDOriginGroupsGetOptions) (AFDOriginGroupsGetResponse, error)
Get - Gets an existing origin group within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginGroupsClient) ListByProfile ¶
func (client *AFDOriginGroupsClient) ListByProfile(resourceGroupName string, profileName string, options *AFDOriginGroupsListByProfileOptions) *AFDOriginGroupsListByProfilePager
ListByProfile - Lists all of the existing origin groups within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginGroupsClient) ListResourceUsage ¶
func (client *AFDOriginGroupsClient) ListResourceUsage(resourceGroupName string, profileName string, originGroupName string, options *AFDOriginGroupsListResourceUsageOptions) *AFDOriginGroupsListResourceUsagePager
ListResourceUsage - Checks the quota and actual usage of endpoints under the given CDN profile. If the operation fails it returns the *AfdErrorResponse error type.
type AFDOriginGroupsCreatePoller ¶
type AFDOriginGroupsCreatePoller struct {
// contains filtered or unexported fields
}
AFDOriginGroupsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDOriginGroupsCreatePoller) Done ¶
func (p *AFDOriginGroupsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDOriginGroupsCreatePoller) FinalResponse ¶
func (p *AFDOriginGroupsCreatePoller) FinalResponse(ctx context.Context) (AFDOriginGroupsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDOriginGroupsCreateResponse will be returned.
func (*AFDOriginGroupsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDOriginGroupsCreatePoller) ResumeToken ¶
func (p *AFDOriginGroupsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDOriginGroupsCreatePollerResponse ¶
type AFDOriginGroupsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDOriginGroupsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsCreatePollerResponse contains the response from method AFDOriginGroups.Create.
func (AFDOriginGroupsCreatePollerResponse) PollUntilDone ¶
func (l AFDOriginGroupsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDOriginGroupsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDOriginGroupsCreatePollerResponse) Resume ¶
func (l *AFDOriginGroupsCreatePollerResponse) Resume(ctx context.Context, client *AFDOriginGroupsClient, token string) error
Resume rehydrates a AFDOriginGroupsCreatePollerResponse from the provided client and resume token.
type AFDOriginGroupsCreateResponse ¶
type AFDOriginGroupsCreateResponse struct { AFDOriginGroupsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsCreateResponse contains the response from method AFDOriginGroups.Create.
type AFDOriginGroupsCreateResult ¶
type AFDOriginGroupsCreateResult struct {
AFDOriginGroup
}
AFDOriginGroupsCreateResult contains the result from method AFDOriginGroups.Create.
type AFDOriginGroupsDeletePoller ¶
type AFDOriginGroupsDeletePoller struct {
// contains filtered or unexported fields
}
AFDOriginGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDOriginGroupsDeletePoller) Done ¶
func (p *AFDOriginGroupsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDOriginGroupsDeletePoller) FinalResponse ¶
func (p *AFDOriginGroupsDeletePoller) FinalResponse(ctx context.Context) (AFDOriginGroupsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDOriginGroupsDeleteResponse will be returned.
func (*AFDOriginGroupsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDOriginGroupsDeletePoller) ResumeToken ¶
func (p *AFDOriginGroupsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDOriginGroupsDeletePollerResponse ¶
type AFDOriginGroupsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *AFDOriginGroupsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsDeletePollerResponse contains the response from method AFDOriginGroups.Delete.
func (AFDOriginGroupsDeletePollerResponse) PollUntilDone ¶
func (l AFDOriginGroupsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDOriginGroupsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDOriginGroupsDeletePollerResponse) Resume ¶
func (l *AFDOriginGroupsDeletePollerResponse) Resume(ctx context.Context, client *AFDOriginGroupsClient, token string) error
Resume rehydrates a AFDOriginGroupsDeletePollerResponse from the provided client and resume token.
type AFDOriginGroupsDeleteResponse ¶
type AFDOriginGroupsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsDeleteResponse contains the response from method AFDOriginGroups.Delete.
type AFDOriginGroupsGetOptions ¶
type AFDOriginGroupsGetOptions struct { }
AFDOriginGroupsGetOptions contains the optional parameters for the AFDOriginGroups.Get method.
type AFDOriginGroupsGetResponse ¶
type AFDOriginGroupsGetResponse struct { AFDOriginGroupsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsGetResponse contains the response from method AFDOriginGroups.Get.
type AFDOriginGroupsGetResult ¶
type AFDOriginGroupsGetResult struct {
AFDOriginGroup
}
AFDOriginGroupsGetResult contains the result from method AFDOriginGroups.Get.
type AFDOriginGroupsListByProfileOptions ¶
type AFDOriginGroupsListByProfileOptions struct { }
AFDOriginGroupsListByProfileOptions contains the optional parameters for the AFDOriginGroups.ListByProfile method.
type AFDOriginGroupsListByProfilePager ¶
type AFDOriginGroupsListByProfilePager struct {
// contains filtered or unexported fields
}
AFDOriginGroupsListByProfilePager provides operations for iterating over paged responses.
func (*AFDOriginGroupsListByProfilePager) Err ¶
func (p *AFDOriginGroupsListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*AFDOriginGroupsListByProfilePager) NextPage ¶
func (p *AFDOriginGroupsListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDOriginGroupsListByProfilePager) PageResponse ¶
func (p *AFDOriginGroupsListByProfilePager) PageResponse() AFDOriginGroupsListByProfileResponse
PageResponse returns the current AFDOriginGroupsListByProfileResponse page.
type AFDOriginGroupsListByProfileResponse ¶
type AFDOriginGroupsListByProfileResponse struct { AFDOriginGroupsListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsListByProfileResponse contains the response from method AFDOriginGroups.ListByProfile.
type AFDOriginGroupsListByProfileResult ¶
type AFDOriginGroupsListByProfileResult struct {
AFDOriginGroupListResult
}
AFDOriginGroupsListByProfileResult contains the result from method AFDOriginGroups.ListByProfile.
type AFDOriginGroupsListResourceUsageOptions ¶
type AFDOriginGroupsListResourceUsageOptions struct { }
AFDOriginGroupsListResourceUsageOptions contains the optional parameters for the AFDOriginGroups.ListResourceUsage method.
type AFDOriginGroupsListResourceUsagePager ¶
type AFDOriginGroupsListResourceUsagePager struct {
// contains filtered or unexported fields
}
AFDOriginGroupsListResourceUsagePager provides operations for iterating over paged responses.
func (*AFDOriginGroupsListResourceUsagePager) Err ¶
func (p *AFDOriginGroupsListResourceUsagePager) Err() error
Err returns the last error encountered while paging.
func (*AFDOriginGroupsListResourceUsagePager) NextPage ¶
func (p *AFDOriginGroupsListResourceUsagePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDOriginGroupsListResourceUsagePager) PageResponse ¶
func (p *AFDOriginGroupsListResourceUsagePager) PageResponse() AFDOriginGroupsListResourceUsageResponse
PageResponse returns the current AFDOriginGroupsListResourceUsageResponse page.
type AFDOriginGroupsListResourceUsageResponse ¶
type AFDOriginGroupsListResourceUsageResponse struct { AFDOriginGroupsListResourceUsageResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsListResourceUsageResponse contains the response from method AFDOriginGroups.ListResourceUsage.
type AFDOriginGroupsListResourceUsageResult ¶
type AFDOriginGroupsListResourceUsageResult struct {
UsagesListResult
}
AFDOriginGroupsListResourceUsageResult contains the result from method AFDOriginGroups.ListResourceUsage.
type AFDOriginGroupsUpdatePoller ¶
type AFDOriginGroupsUpdatePoller struct {
// contains filtered or unexported fields
}
AFDOriginGroupsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDOriginGroupsUpdatePoller) Done ¶
func (p *AFDOriginGroupsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDOriginGroupsUpdatePoller) FinalResponse ¶
func (p *AFDOriginGroupsUpdatePoller) FinalResponse(ctx context.Context) (AFDOriginGroupsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDOriginGroupsUpdateResponse will be returned.
func (*AFDOriginGroupsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDOriginGroupsUpdatePoller) ResumeToken ¶
func (p *AFDOriginGroupsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDOriginGroupsUpdatePollerResponse ¶
type AFDOriginGroupsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDOriginGroupsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsUpdatePollerResponse contains the response from method AFDOriginGroups.Update.
func (AFDOriginGroupsUpdatePollerResponse) PollUntilDone ¶
func (l AFDOriginGroupsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDOriginGroupsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDOriginGroupsUpdatePollerResponse) Resume ¶
func (l *AFDOriginGroupsUpdatePollerResponse) Resume(ctx context.Context, client *AFDOriginGroupsClient, token string) error
Resume rehydrates a AFDOriginGroupsUpdatePollerResponse from the provided client and resume token.
type AFDOriginGroupsUpdateResponse ¶
type AFDOriginGroupsUpdateResponse struct { AFDOriginGroupsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginGroupsUpdateResponse contains the response from method AFDOriginGroups.Update.
type AFDOriginGroupsUpdateResult ¶
type AFDOriginGroupsUpdateResult struct {
AFDOriginGroup
}
AFDOriginGroupsUpdateResult contains the result from method AFDOriginGroups.Update.
type AFDOriginListResult ¶
type AFDOriginListResult struct { // URL to get the next set of origin objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN origins within an endpoint Value []*AFDOrigin `json:"value,omitempty" azure:"ro"` }
AFDOriginListResult - Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results.
func (AFDOriginListResult) MarshalJSON ¶
func (a AFDOriginListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginListResult.
type AFDOriginProperties ¶
type AFDOriginProperties struct { AFDOriginUpdatePropertiesParameters AFDStateProperties }
AFDOriginProperties - The JSON object that contains the properties of the origin.
type AFDOriginUpdateParameters ¶
type AFDOriginUpdateParameters struct { // The JSON object that contains the properties of the origin. Properties *AFDOriginUpdatePropertiesParameters `json:"properties,omitempty"` }
AFDOriginUpdateParameters - AFDOrigin properties needed for origin update.
func (AFDOriginUpdateParameters) MarshalJSON ¶
func (a AFDOriginUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginUpdateParameters.
type AFDOriginUpdatePropertiesParameters ¶
type AFDOriginUpdatePropertiesParameters struct { // Resource reference to the Azure origin resource. AzureOrigin *ResourceReference `json:"azureOrigin,omitempty"` // Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled // backend in single enabled backend pool. EnabledState *EnabledState `json:"enabledState,omitempty"` // The value of the HTTP port. Must be between 1 and 65535. HTTPPort *int32 `json:"httpPort,omitempty"` // The value of the HTTPS port. Must be between 1 and 65535. HTTPSPort *int32 `json:"httpsPort,omitempty"` // The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. HostName *string `json:"hostName,omitempty"` // The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such // as Web Apps, Blob Storage, and Cloud Services // require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint OriginHostHeader *string `json:"originHostHeader,omitempty"` // Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must // be between 1 and 5 Priority *int32 `json:"priority,omitempty"` SharedPrivateLinkResource map[string]interface{} `json:"sharedPrivateLinkResource,omitempty"` // Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 Weight *int32 `json:"weight,omitempty"` }
AFDOriginUpdatePropertiesParameters - The JSON object that contains the properties of the origin.
func (AFDOriginUpdatePropertiesParameters) MarshalJSON ¶
func (a AFDOriginUpdatePropertiesParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDOriginUpdatePropertiesParameters.
func (*AFDOriginUpdatePropertiesParameters) UnmarshalJSON ¶
func (a *AFDOriginUpdatePropertiesParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDOriginUpdatePropertiesParameters.
type AFDOriginsBeginCreateOptions ¶
type AFDOriginsBeginCreateOptions struct { }
AFDOriginsBeginCreateOptions contains the optional parameters for the AFDOrigins.BeginCreate method.
type AFDOriginsBeginDeleteOptions ¶
type AFDOriginsBeginDeleteOptions struct { }
AFDOriginsBeginDeleteOptions contains the optional parameters for the AFDOrigins.BeginDelete method.
type AFDOriginsBeginUpdateOptions ¶
type AFDOriginsBeginUpdateOptions struct { }
AFDOriginsBeginUpdateOptions contains the optional parameters for the AFDOrigins.BeginUpdate method.
type AFDOriginsClient ¶
type AFDOriginsClient struct {
// contains filtered or unexported fields
}
AFDOriginsClient contains the methods for the AFDOrigins group. Don't use this type directly, use NewAFDOriginsClient() instead.
func NewAFDOriginsClient ¶
func NewAFDOriginsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AFDOriginsClient
NewAFDOriginsClient creates a new instance of AFDOriginsClient with the specified values.
func (*AFDOriginsClient) BeginCreate ¶
func (client *AFDOriginsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, origin AFDOrigin, options *AFDOriginsBeginCreateOptions) (AFDOriginsCreatePollerResponse, error)
BeginCreate - Creates a new origin within the specified origin group. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginsClient) BeginDelete ¶
func (client *AFDOriginsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, options *AFDOriginsBeginDeleteOptions) (AFDOriginsDeletePollerResponse, error)
BeginDelete - Deletes an existing origin within an origin group. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginsClient) BeginUpdate ¶
func (client *AFDOriginsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, originUpdateProperties AFDOriginUpdateParameters, options *AFDOriginsBeginUpdateOptions) (AFDOriginsUpdatePollerResponse, error)
BeginUpdate - Updates an existing origin within an origin group. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginsClient) Get ¶
func (client *AFDOriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, options *AFDOriginsGetOptions) (AFDOriginsGetResponse, error)
Get - Gets an existing origin within an origin group. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDOriginsClient) ListByOriginGroup ¶
func (client *AFDOriginsClient) ListByOriginGroup(resourceGroupName string, profileName string, originGroupName string, options *AFDOriginsListByOriginGroupOptions) *AFDOriginsListByOriginGroupPager
ListByOriginGroup - Lists all of the existing origins within an origin group. If the operation fails it returns the *AfdErrorResponse error type.
type AFDOriginsCreatePoller ¶
type AFDOriginsCreatePoller struct {
// contains filtered or unexported fields
}
AFDOriginsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDOriginsCreatePoller) Done ¶
func (p *AFDOriginsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDOriginsCreatePoller) FinalResponse ¶
func (p *AFDOriginsCreatePoller) FinalResponse(ctx context.Context) (AFDOriginsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDOriginsCreateResponse will be returned.
func (*AFDOriginsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDOriginsCreatePoller) ResumeToken ¶
func (p *AFDOriginsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDOriginsCreatePollerResponse ¶
type AFDOriginsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDOriginsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsCreatePollerResponse contains the response from method AFDOrigins.Create.
func (AFDOriginsCreatePollerResponse) PollUntilDone ¶
func (l AFDOriginsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDOriginsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDOriginsCreatePollerResponse) Resume ¶
func (l *AFDOriginsCreatePollerResponse) Resume(ctx context.Context, client *AFDOriginsClient, token string) error
Resume rehydrates a AFDOriginsCreatePollerResponse from the provided client and resume token.
type AFDOriginsCreateResponse ¶
type AFDOriginsCreateResponse struct { AFDOriginsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsCreateResponse contains the response from method AFDOrigins.Create.
type AFDOriginsCreateResult ¶
type AFDOriginsCreateResult struct {
AFDOrigin
}
AFDOriginsCreateResult contains the result from method AFDOrigins.Create.
type AFDOriginsDeletePoller ¶
type AFDOriginsDeletePoller struct {
// contains filtered or unexported fields
}
AFDOriginsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDOriginsDeletePoller) Done ¶
func (p *AFDOriginsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDOriginsDeletePoller) FinalResponse ¶
func (p *AFDOriginsDeletePoller) FinalResponse(ctx context.Context) (AFDOriginsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDOriginsDeleteResponse will be returned.
func (*AFDOriginsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDOriginsDeletePoller) ResumeToken ¶
func (p *AFDOriginsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDOriginsDeletePollerResponse ¶
type AFDOriginsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *AFDOriginsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsDeletePollerResponse contains the response from method AFDOrigins.Delete.
func (AFDOriginsDeletePollerResponse) PollUntilDone ¶
func (l AFDOriginsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDOriginsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDOriginsDeletePollerResponse) Resume ¶
func (l *AFDOriginsDeletePollerResponse) Resume(ctx context.Context, client *AFDOriginsClient, token string) error
Resume rehydrates a AFDOriginsDeletePollerResponse from the provided client and resume token.
type AFDOriginsDeleteResponse ¶
type AFDOriginsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsDeleteResponse contains the response from method AFDOrigins.Delete.
type AFDOriginsGetOptions ¶
type AFDOriginsGetOptions struct { }
AFDOriginsGetOptions contains the optional parameters for the AFDOrigins.Get method.
type AFDOriginsGetResponse ¶
type AFDOriginsGetResponse struct { AFDOriginsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsGetResponse contains the response from method AFDOrigins.Get.
type AFDOriginsGetResult ¶
type AFDOriginsGetResult struct {
AFDOrigin
}
AFDOriginsGetResult contains the result from method AFDOrigins.Get.
type AFDOriginsListByOriginGroupOptions ¶
type AFDOriginsListByOriginGroupOptions struct { }
AFDOriginsListByOriginGroupOptions contains the optional parameters for the AFDOrigins.ListByOriginGroup method.
type AFDOriginsListByOriginGroupPager ¶
type AFDOriginsListByOriginGroupPager struct {
// contains filtered or unexported fields
}
AFDOriginsListByOriginGroupPager provides operations for iterating over paged responses.
func (*AFDOriginsListByOriginGroupPager) Err ¶
func (p *AFDOriginsListByOriginGroupPager) Err() error
Err returns the last error encountered while paging.
func (*AFDOriginsListByOriginGroupPager) NextPage ¶
func (p *AFDOriginsListByOriginGroupPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDOriginsListByOriginGroupPager) PageResponse ¶
func (p *AFDOriginsListByOriginGroupPager) PageResponse() AFDOriginsListByOriginGroupResponse
PageResponse returns the current AFDOriginsListByOriginGroupResponse page.
type AFDOriginsListByOriginGroupResponse ¶
type AFDOriginsListByOriginGroupResponse struct { AFDOriginsListByOriginGroupResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsListByOriginGroupResponse contains the response from method AFDOrigins.ListByOriginGroup.
type AFDOriginsListByOriginGroupResult ¶
type AFDOriginsListByOriginGroupResult struct {
AFDOriginListResult
}
AFDOriginsListByOriginGroupResult contains the result from method AFDOrigins.ListByOriginGroup.
type AFDOriginsUpdatePoller ¶
type AFDOriginsUpdatePoller struct {
// contains filtered or unexported fields
}
AFDOriginsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AFDOriginsUpdatePoller) Done ¶
func (p *AFDOriginsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AFDOriginsUpdatePoller) FinalResponse ¶
func (p *AFDOriginsUpdatePoller) FinalResponse(ctx context.Context) (AFDOriginsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AFDOriginsUpdateResponse will be returned.
func (*AFDOriginsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AFDOriginsUpdatePoller) ResumeToken ¶
func (p *AFDOriginsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AFDOriginsUpdatePollerResponse ¶
type AFDOriginsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AFDOriginsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsUpdatePollerResponse contains the response from method AFDOrigins.Update.
func (AFDOriginsUpdatePollerResponse) PollUntilDone ¶
func (l AFDOriginsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AFDOriginsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AFDOriginsUpdatePollerResponse) Resume ¶
func (l *AFDOriginsUpdatePollerResponse) Resume(ctx context.Context, client *AFDOriginsClient, token string) error
Resume rehydrates a AFDOriginsUpdatePollerResponse from the provided client and resume token.
type AFDOriginsUpdateResponse ¶
type AFDOriginsUpdateResponse struct { AFDOriginsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDOriginsUpdateResponse contains the response from method AFDOrigins.Update.
type AFDOriginsUpdateResult ¶
type AFDOriginsUpdateResult struct {
AFDOrigin
}
AFDOriginsUpdateResult contains the result from method AFDOrigins.Update.
type AFDProfilesCheckHostNameAvailabilityOptions ¶
type AFDProfilesCheckHostNameAvailabilityOptions struct { }
AFDProfilesCheckHostNameAvailabilityOptions contains the optional parameters for the AFDProfiles.CheckHostNameAvailability method.
type AFDProfilesCheckHostNameAvailabilityResponse ¶
type AFDProfilesCheckHostNameAvailabilityResponse struct { AFDProfilesCheckHostNameAvailabilityResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDProfilesCheckHostNameAvailabilityResponse contains the response from method AFDProfiles.CheckHostNameAvailability.
type AFDProfilesCheckHostNameAvailabilityResult ¶
type AFDProfilesCheckHostNameAvailabilityResult struct {
ValidateCustomDomainOutput
}
AFDProfilesCheckHostNameAvailabilityResult contains the result from method AFDProfiles.CheckHostNameAvailability.
type AFDProfilesClient ¶
type AFDProfilesClient struct {
// contains filtered or unexported fields
}
AFDProfilesClient contains the methods for the AFDProfiles group. Don't use this type directly, use NewAFDProfilesClient() instead.
func NewAFDProfilesClient ¶
func NewAFDProfilesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AFDProfilesClient
NewAFDProfilesClient creates a new instance of AFDProfilesClient with the specified values.
func (*AFDProfilesClient) CheckHostNameAvailability ¶
func (client *AFDProfilesClient) CheckHostNameAvailability(ctx context.Context, resourceGroupName string, profileName string, checkHostNameAvailabilityInput ValidateCustomDomainInput, options *AFDProfilesCheckHostNameAvailabilityOptions) (AFDProfilesCheckHostNameAvailabilityResponse, error)
CheckHostNameAvailability - Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. If the operation fails it returns the *AfdErrorResponse error type.
func (*AFDProfilesClient) ListResourceUsage ¶
func (client *AFDProfilesClient) ListResourceUsage(resourceGroupName string, profileName string, options *AFDProfilesListResourceUsageOptions) *AFDProfilesListResourceUsagePager
ListResourceUsage - Checks the quota and actual usage of endpoints under the given CDN profile. If the operation fails it returns the *AfdErrorResponse error type.
type AFDProfilesListResourceUsageOptions ¶
type AFDProfilesListResourceUsageOptions struct { }
AFDProfilesListResourceUsageOptions contains the optional parameters for the AFDProfiles.ListResourceUsage method.
type AFDProfilesListResourceUsagePager ¶
type AFDProfilesListResourceUsagePager struct {
// contains filtered or unexported fields
}
AFDProfilesListResourceUsagePager provides operations for iterating over paged responses.
func (*AFDProfilesListResourceUsagePager) Err ¶
func (p *AFDProfilesListResourceUsagePager) Err() error
Err returns the last error encountered while paging.
func (*AFDProfilesListResourceUsagePager) NextPage ¶
func (p *AFDProfilesListResourceUsagePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AFDProfilesListResourceUsagePager) PageResponse ¶
func (p *AFDProfilesListResourceUsagePager) PageResponse() AFDProfilesListResourceUsageResponse
PageResponse returns the current AFDProfilesListResourceUsageResponse page.
type AFDProfilesListResourceUsageResponse ¶
type AFDProfilesListResourceUsageResponse struct { AFDProfilesListResourceUsageResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AFDProfilesListResourceUsageResponse contains the response from method AFDProfiles.ListResourceUsage.
type AFDProfilesListResourceUsageResult ¶
type AFDProfilesListResourceUsageResult struct {
UsagesListResult
}
AFDProfilesListResourceUsageResult contains the result from method AFDProfiles.ListResourceUsage.
type AFDStateProperties ¶
type AFDStateProperties struct { // READ-ONLY DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty" azure:"ro"` // READ-ONLY; Provisioning status ProvisioningState *AfdProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
AFDStateProperties - The tracking states for afd resources.
func (AFDStateProperties) MarshalJSON ¶
func (a AFDStateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AFDStateProperties.
func (*AFDStateProperties) UnmarshalJSON ¶
func (a *AFDStateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AFDStateProperties.
type ActionType ¶
type ActionType string
ActionType - Defines the action to take on rule match.
const ( ActionTypeAllow ActionType = "Allow" ActionTypeBlock ActionType = "Block" ActionTypeLog ActionType = "Log" ActionTypeRedirect ActionType = "Redirect" )
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns the possible values for the ActionType const type.
func (ActionType) ToPtr ¶
func (c ActionType) ToPtr() *ActionType
ToPtr returns a *ActionType pointing to the current value.
type AfdCertificateType ¶
type AfdCertificateType string
AfdCertificateType - Defines the source of the SSL certificate.
const ( AfdCertificateTypeCustomerCertificate AfdCertificateType = "CustomerCertificate" AfdCertificateTypeManagedCertificate AfdCertificateType = "ManagedCertificate" )
func PossibleAfdCertificateTypeValues ¶
func PossibleAfdCertificateTypeValues() []AfdCertificateType
PossibleAfdCertificateTypeValues returns the possible values for the AfdCertificateType const type.
func (AfdCertificateType) ToPtr ¶
func (c AfdCertificateType) ToPtr() *AfdCertificateType
ToPtr returns a *AfdCertificateType pointing to the current value.
type AfdErrorResponse ¶
type AfdErrorResponse struct { // The error object. InnerError *ErrorResponse `json:"error,omitempty"` // contains filtered or unexported fields }
AfdErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). Implements the error and azcore.HTTPResponse interfaces.
func (AfdErrorResponse) Error ¶
func (e AfdErrorResponse) Error() string
Error implements the error interface for type AfdErrorResponse. The contents of the error text are not contractual and subject to change.
type AfdMinimumTLSVersion ¶
type AfdMinimumTLSVersion string
AfdMinimumTLSVersion - TLS protocol version that will be used for Https
const ( AfdMinimumTLSVersionTLS10 AfdMinimumTLSVersion = "TLS10" AfdMinimumTLSVersionTLS12 AfdMinimumTLSVersion = "TLS12" )
func PossibleAfdMinimumTLSVersionValues ¶
func PossibleAfdMinimumTLSVersionValues() []AfdMinimumTLSVersion
PossibleAfdMinimumTLSVersionValues returns the possible values for the AfdMinimumTLSVersion const type.
func (AfdMinimumTLSVersion) ToPtr ¶
func (c AfdMinimumTLSVersion) ToPtr() *AfdMinimumTLSVersion
ToPtr returns a *AfdMinimumTLSVersion pointing to the current value.
type AfdProvisioningState ¶
type AfdProvisioningState string
AfdProvisioningState - Provisioning status
const ( AfdProvisioningStateCreating AfdProvisioningState = "Creating" AfdProvisioningStateDeleting AfdProvisioningState = "Deleting" AfdProvisioningStateFailed AfdProvisioningState = "Failed" AfdProvisioningStateSucceeded AfdProvisioningState = "Succeeded" AfdProvisioningStateUpdating AfdProvisioningState = "Updating" )
func PossibleAfdProvisioningStateValues ¶
func PossibleAfdProvisioningStateValues() []AfdProvisioningState
PossibleAfdProvisioningStateValues returns the possible values for the AfdProvisioningState const type.
func (AfdProvisioningState) ToPtr ¶
func (c AfdProvisioningState) ToPtr() *AfdProvisioningState
ToPtr returns a *AfdProvisioningState pointing to the current value.
type AfdPurgeParameters ¶
type AfdPurgeParameters struct { // REQUIRED; The path to the content to be purged. Can describe a file path or a wild card directory. ContentPaths []*string `json:"contentPaths,omitempty"` // List of domains. Domains []*string `json:"domains,omitempty"` }
AfdPurgeParameters - Parameters required for content purge.
func (AfdPurgeParameters) MarshalJSON ¶
func (a AfdPurgeParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AfdPurgeParameters.
type AfdQueryStringCachingBehavior ¶
type AfdQueryStringCachingBehavior string
AfdQueryStringCachingBehavior - 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.
const ( AfdQueryStringCachingBehaviorIgnoreQueryString AfdQueryStringCachingBehavior = "IgnoreQueryString" AfdQueryStringCachingBehaviorUseQueryString AfdQueryStringCachingBehavior = "UseQueryString" AfdQueryStringCachingBehaviorNotSet AfdQueryStringCachingBehavior = "NotSet" )
func PossibleAfdQueryStringCachingBehaviorValues ¶
func PossibleAfdQueryStringCachingBehaviorValues() []AfdQueryStringCachingBehavior
PossibleAfdQueryStringCachingBehaviorValues returns the possible values for the AfdQueryStringCachingBehavior const type.
func (AfdQueryStringCachingBehavior) ToPtr ¶
func (c AfdQueryStringCachingBehavior) ToPtr() *AfdQueryStringCachingBehavior
ToPtr returns a *AfdQueryStringCachingBehavior pointing to the current value.
type Algorithm ¶
type Algorithm string
Algorithm - Algorithm to use for URL signing
const (
AlgorithmSHA256 Algorithm = "SHA256"
)
func PossibleAlgorithmValues ¶
func PossibleAlgorithmValues() []Algorithm
PossibleAlgorithmValues returns the possible values for the Algorithm const type.
type CacheBehavior ¶
type CacheBehavior string
CacheBehavior - Caching behavior for the requests
const ( CacheBehaviorBypassCache CacheBehavior = "BypassCache" CacheBehaviorOverride CacheBehavior = "Override" CacheBehaviorSetIfMissing CacheBehavior = "SetIfMissing" )
func PossibleCacheBehaviorValues ¶
func PossibleCacheBehaviorValues() []CacheBehavior
PossibleCacheBehaviorValues returns the possible values for the CacheBehavior const type.
func (CacheBehavior) ToPtr ¶
func (c CacheBehavior) ToPtr() *CacheBehavior
ToPtr returns a *CacheBehavior pointing to the current value.
type CacheExpirationActionParameters ¶
type CacheExpirationActionParameters struct { // REQUIRED; Caching behavior for the requests CacheBehavior *CacheBehavior `json:"cacheBehavior,omitempty"` // REQUIRED; The level at which the content needs to be cached. CacheType *CacheType `json:"cacheType,omitempty"` // REQUIRED ODataType *CacheExpirationActionParametersODataType `json:"@odata.type,omitempty"` // 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 CacheExpirationActionParametersODataType ¶
type CacheExpirationActionParametersODataType string
const (
CacheExpirationActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleCacheExpirationActionParameters CacheExpirationActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"
)
func PossibleCacheExpirationActionParametersODataTypeValues ¶
func PossibleCacheExpirationActionParametersODataTypeValues() []CacheExpirationActionParametersODataType
PossibleCacheExpirationActionParametersODataTypeValues returns the possible values for the CacheExpirationActionParametersODataType const type.
type CacheKeyQueryStringActionParameters ¶
type CacheKeyQueryStringActionParameters struct { // REQUIRED ODataType *CacheKeyQueryStringActionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Caching behavior for the requests QueryStringBehavior *QueryStringBehavior `json:"queryStringBehavior,omitempty"` // query parameters to include or exclude (comma separated). QueryParameters *string `json:"queryParameters,omitempty"` }
CacheKeyQueryStringActionParameters - Defines the parameters for the cache-key query string action.
type CacheKeyQueryStringActionParametersODataType ¶
type CacheKeyQueryStringActionParametersODataType string
const (
CacheKeyQueryStringActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleCacheKeyQueryStringBehaviorActionParameters CacheKeyQueryStringActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"
)
func PossibleCacheKeyQueryStringActionParametersODataTypeValues ¶
func PossibleCacheKeyQueryStringActionParametersODataTypeValues() []CacheKeyQueryStringActionParametersODataType
PossibleCacheKeyQueryStringActionParametersODataTypeValues returns the possible values for the CacheKeyQueryStringActionParametersODataType const type.
func (CacheKeyQueryStringActionParametersODataType) ToPtr ¶
func (c CacheKeyQueryStringActionParametersODataType) ToPtr() *CacheKeyQueryStringActionParametersODataType
ToPtr returns a *CacheKeyQueryStringActionParametersODataType pointing to the current value.
type CacheType ¶
type CacheType string
CacheType - The level at which the content needs to be cached.
const (
CacheTypeAll CacheType = "All"
)
func PossibleCacheTypeValues ¶
func PossibleCacheTypeValues() []CacheType
PossibleCacheTypeValues returns the possible values for the CacheType const type.
type CdnCertificateSourceParameters ¶
type CdnCertificateSourceParameters struct { // REQUIRED; Type of certificate used CertificateType *CertificateType `json:"certificateType,omitempty"` // REQUIRED ODataType *CdnCertificateSourceParametersODataType `json:"@odata.type,omitempty"` }
CdnCertificateSourceParameters - Defines the parameters for using CDN managed certificate for securing custom domain.
type CdnCertificateSourceParametersODataType ¶
type CdnCertificateSourceParametersODataType string
const (
CdnCertificateSourceParametersODataTypeMicrosoftAzureCdnModelsCdnCertificateSourceParameters CdnCertificateSourceParametersODataType = "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"
)
func PossibleCdnCertificateSourceParametersODataTypeValues ¶
func PossibleCdnCertificateSourceParametersODataTypeValues() []CdnCertificateSourceParametersODataType
PossibleCdnCertificateSourceParametersODataTypeValues returns the possible values for the CdnCertificateSourceParametersODataType const type.
type CdnEndpoint ¶
type CdnEndpoint struct { // ARM Resource ID string. ID *string `json:"id,omitempty"` }
CdnEndpoint - Defines the ARM Resource ID for the linked endpoints
type CdnManagedHTTPSParameters ¶
type CdnManagedHTTPSParameters struct { CustomDomainHTTPSParameters // REQUIRED; Defines the certificate source parameters using CDN managed certificate for enabling SSL. CertificateSourceParameters *CdnCertificateSourceParameters `json:"certificateSourceParameters,omitempty"` }
CdnManagedHTTPSParameters - Defines the certificate source parameters using CDN managed certificate for enabling SSL.
func (CdnManagedHTTPSParameters) MarshalJSON ¶
func (c CdnManagedHTTPSParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CdnManagedHTTPSParameters.
func (*CdnManagedHTTPSParameters) UnmarshalJSON ¶
func (c *CdnManagedHTTPSParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CdnManagedHTTPSParameters.
type CdnManagementClient ¶
type CdnManagementClient struct {
// contains filtered or unexported fields
}
CdnManagementClient contains the methods for the CdnManagementClient group. Don't use this type directly, use NewCdnManagementClient() instead.
func NewCdnManagementClient ¶
func NewCdnManagementClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CdnManagementClient
NewCdnManagementClient creates a new instance of CdnManagementClient with the specified values.
func (*CdnManagementClient) CheckNameAvailability ¶
func (client *CdnManagementClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput, options *CdnManagementClientCheckNameAvailabilityOptions) (CdnManagementClientCheckNameAvailabilityResponse, error)
CheckNameAvailability - Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*CdnManagementClient) CheckNameAvailabilityWithSubscription ¶
func (client *CdnManagementClient) CheckNameAvailabilityWithSubscription(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput, options *CdnManagementClientCheckNameAvailabilityWithSubscriptionOptions) (CdnManagementClientCheckNameAvailabilityWithSubscriptionResponse, error)
CheckNameAvailabilityWithSubscription - Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*CdnManagementClient) ValidateProbe ¶
func (client *CdnManagementClient) ValidateProbe(ctx context.Context, validateProbeInput ValidateProbeInput, options *CdnManagementClientValidateProbeOptions) (CdnManagementClientValidateProbeResponse, 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. If the operation fails it returns the *ErrorResponse error type.
type CdnManagementClientCheckNameAvailabilityOptions ¶
type CdnManagementClientCheckNameAvailabilityOptions struct { }
CdnManagementClientCheckNameAvailabilityOptions contains the optional parameters for the CdnManagementClient.CheckNameAvailability method.
type CdnManagementClientCheckNameAvailabilityResponse ¶
type CdnManagementClientCheckNameAvailabilityResponse struct { CdnManagementClientCheckNameAvailabilityResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CdnManagementClientCheckNameAvailabilityResponse contains the response from method CdnManagementClient.CheckNameAvailability.
type CdnManagementClientCheckNameAvailabilityResult ¶
type CdnManagementClientCheckNameAvailabilityResult struct {
CheckNameAvailabilityOutput
}
CdnManagementClientCheckNameAvailabilityResult contains the result from method CdnManagementClient.CheckNameAvailability.
type CdnManagementClientCheckNameAvailabilityWithSubscriptionOptions ¶
type CdnManagementClientCheckNameAvailabilityWithSubscriptionOptions struct { }
CdnManagementClientCheckNameAvailabilityWithSubscriptionOptions contains the optional parameters for the CdnManagementClient.CheckNameAvailabilityWithSubscription method.
type CdnManagementClientCheckNameAvailabilityWithSubscriptionResponse ¶
type CdnManagementClientCheckNameAvailabilityWithSubscriptionResponse struct { CdnManagementClientCheckNameAvailabilityWithSubscriptionResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CdnManagementClientCheckNameAvailabilityWithSubscriptionResponse contains the response from method CdnManagementClient.CheckNameAvailabilityWithSubscription.
type CdnManagementClientCheckNameAvailabilityWithSubscriptionResult ¶
type CdnManagementClientCheckNameAvailabilityWithSubscriptionResult struct {
CheckNameAvailabilityOutput
}
CdnManagementClientCheckNameAvailabilityWithSubscriptionResult contains the result from method CdnManagementClient.CheckNameAvailabilityWithSubscription.
type CdnManagementClientValidateProbeOptions ¶
type CdnManagementClientValidateProbeOptions struct { }
CdnManagementClientValidateProbeOptions contains the optional parameters for the CdnManagementClient.ValidateProbe method.
type CdnManagementClientValidateProbeResponse ¶
type CdnManagementClientValidateProbeResponse struct { CdnManagementClientValidateProbeResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CdnManagementClientValidateProbeResponse contains the response from method CdnManagementClient.ValidateProbe.
type CdnManagementClientValidateProbeResult ¶
type CdnManagementClientValidateProbeResult struct {
ValidateProbeOutput
}
CdnManagementClientValidateProbeResult contains the result from method CdnManagementClient.ValidateProbe.
type CdnWebApplicationFirewallPolicy ¶
type CdnWebApplicationFirewallPolicy struct { TrackedResource // REQUIRED; The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. SKU *SKU `json:"sku,omitempty"` // Gets a unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Properties of the web application firewall policy. Properties *CdnWebApplicationFirewallPolicyProperties `json:"properties,omitempty"` }
CdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.
func (CdnWebApplicationFirewallPolicy) MarshalJSON ¶
func (c CdnWebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CdnWebApplicationFirewallPolicy.
type CdnWebApplicationFirewallPolicyList ¶
type CdnWebApplicationFirewallPolicyList struct { // URL to get the next set of WebApplicationFirewallPolicy objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of Azure CDN WebApplicationFirewallPolicies within a resource group. Value []*CdnWebApplicationFirewallPolicy `json:"value,omitempty" azure:"ro"` }
CdnWebApplicationFirewallPolicyList - Defines a list of WebApplicationFirewallPolicies for Azure CDN. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.
func (CdnWebApplicationFirewallPolicyList) MarshalJSON ¶
func (c CdnWebApplicationFirewallPolicyList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CdnWebApplicationFirewallPolicyList.
type CdnWebApplicationFirewallPolicyPatchParameters ¶
type CdnWebApplicationFirewallPolicyPatchParameters struct { // CdnWebApplicationFirewallPolicy tags Tags map[string]*string `json:"tags,omitempty"` }
CdnWebApplicationFirewallPolicyPatchParameters - Properties required to update a CdnWebApplicationFirewallPolicy.
func (CdnWebApplicationFirewallPolicyPatchParameters) MarshalJSON ¶
func (c CdnWebApplicationFirewallPolicyPatchParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CdnWebApplicationFirewallPolicyPatchParameters.
type CdnWebApplicationFirewallPolicyProperties ¶
type CdnWebApplicationFirewallPolicyProperties struct { // Describes custom rules inside the policy. CustomRules *CustomRuleList `json:"customRules,omitempty"` // Describes managed rules inside the policy. ManagedRules *ManagedRuleSetList `json:"managedRules,omitempty"` // Describes policySettings for policy PolicySettings *PolicySettings `json:"policySettings,omitempty"` // Describes rate limit rules inside the policy. RateLimitRules *RateLimitRuleList `json:"rateLimitRules,omitempty"` // READ-ONLY; Describes Azure CDN endpoints associated with this Web Application Firewall policy. EndpointLinks []*CdnEndpoint `json:"endpointLinks,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the WebApplicationFirewallPolicy. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource status of the policy. ResourceState *PolicyResourceState `json:"resourceState,omitempty" azure:"ro"` }
CdnWebApplicationFirewallPolicyProperties - Defines CDN web application firewall policy properties.
func (CdnWebApplicationFirewallPolicyProperties) MarshalJSON ¶
func (c CdnWebApplicationFirewallPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CdnWebApplicationFirewallPolicyProperties.
type Certificate ¶
type Certificate struct { // Certificate expiration date. ExpirationDate *string `json:"expirationDate,omitempty"` // Subject name in the certificate. Subject *string `json:"subject,omitempty"` // Certificate thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` }
Certificate used for https
func (Certificate) MarshalJSON ¶
func (c Certificate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Certificate.
type CertificateSource ¶
type CertificateSource string
CertificateSource - Defines the source of the SSL certificate.
const ( CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault" CertificateSourceCdn CertificateSource = "Cdn" )
func PossibleCertificateSourceValues ¶
func PossibleCertificateSourceValues() []CertificateSource
PossibleCertificateSourceValues returns the possible values for the CertificateSource const type.
func (CertificateSource) ToPtr ¶
func (c CertificateSource) ToPtr() *CertificateSource
ToPtr returns a *CertificateSource pointing to the current value.
type CertificateType ¶
type CertificateType string
CertificateType - Type of certificate used
const ( CertificateTypeDedicated CertificateType = "Dedicated" )
func PossibleCertificateTypeValues ¶
func PossibleCertificateTypeValues() []CertificateType
PossibleCertificateTypeValues returns the possible values for the CertificateType const type.
func (CertificateType) ToPtr ¶
func (c CertificateType) ToPtr() *CertificateType
ToPtr returns a *CertificateType pointing to the current value.
type CheckNameAvailabilityInput ¶
type CheckNameAvailabilityInput struct { // REQUIRED; The resource name to validate. Name *string `json:"name,omitempty"` // REQUIRED; 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 { // READ-ONLY; The detailed error message describing why the name is not available. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; Indicates whether the name is available. NameAvailable *bool `json:"nameAvailable,omitempty" azure:"ro"` // READ-ONLY; The reason why the name is not available. Reason *string `json:"reason,omitempty" azure:"ro"` }
CheckNameAvailabilityOutput - Output of check name availability API.
type CidrIPAddress ¶
type CidrIPAddress struct { // Ip address itself. BaseIPAddress *string `json:"baseIpAddress,omitempty"` // The length of the prefix of the ip address. PrefixLength *int32 `json:"prefixLength,omitempty"` }
CidrIPAddress - CIDR Ip address
type Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems ¶
type Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems struct { DateTime *time.Time `json:"dateTime,omitempty"` Value *float32 `json:"value,omitempty"` }
func (Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems) MarshalJSON ¶
func (c Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems.
func (*Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems) UnmarshalJSON ¶
func (c *Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems.
type Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems ¶
type Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems struct { DateTime *time.Time `json:"dateTime,omitempty"` Value *float32 `json:"value,omitempty"` }
func (Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems) MarshalJSON ¶
func (c Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems.
func (*Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems) UnmarshalJSON ¶
func (c *Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems.
type CompressionSettings ¶
type CompressionSettings struct { // List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress []*string `json:"contentTypesToCompress,omitempty"` // Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed // if user requests for a compressed version. // Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB. IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"` }
CompressionSettings - settings for compression.
func (CompressionSettings) MarshalJSON ¶
func (c CompressionSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CompressionSettings.
type ContinentsResponse ¶
type ContinentsResponse struct { Continents []*ContinentsResponseContinentsItem `json:"continents,omitempty"` CountryOrRegions []*ContinentsResponseCountryOrRegionsItem `json:"countryOrRegions,omitempty"` }
ContinentsResponse - Continents Response
func (ContinentsResponse) MarshalJSON ¶
func (c ContinentsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ContinentsResponse.
type ContinentsResponseContinentsItem ¶
type ContinentsResponseContinentsItem struct {
ID *string `json:"id,omitempty"`
}
type CookiesMatchConditionParameters ¶
type CookiesMatchConditionParameters struct { // REQUIRED ODataType *CookiesMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *CookiesOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // Name of Cookies to be matched Selector *string `json:"selector,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
CookiesMatchConditionParameters - Defines the parameters for Cookies match conditions
func (CookiesMatchConditionParameters) MarshalJSON ¶
func (c CookiesMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CookiesMatchConditionParameters.
type CookiesMatchConditionParametersODataType ¶
type CookiesMatchConditionParametersODataType string
const (
CookiesMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleCookiesConditionParameters CookiesMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters"
)
func PossibleCookiesMatchConditionParametersODataTypeValues ¶
func PossibleCookiesMatchConditionParametersODataTypeValues() []CookiesMatchConditionParametersODataType
PossibleCookiesMatchConditionParametersODataTypeValues returns the possible values for the CookiesMatchConditionParametersODataType const type.
type CookiesOperator ¶
type CookiesOperator string
CookiesOperator - Describes operator to be matched
const ( CookiesOperatorAny CookiesOperator = "Any" CookiesOperatorBeginsWith CookiesOperator = "BeginsWith" CookiesOperatorContains CookiesOperator = "Contains" CookiesOperatorEndsWith CookiesOperator = "EndsWith" CookiesOperatorEqual CookiesOperator = "Equal" CookiesOperatorGreaterThan CookiesOperator = "GreaterThan" CookiesOperatorGreaterThanOrEqual CookiesOperator = "GreaterThanOrEqual" CookiesOperatorLessThan CookiesOperator = "LessThan" CookiesOperatorLessThanOrEqual CookiesOperator = "LessThanOrEqual" CookiesOperatorRegEx CookiesOperator = "RegEx" )
func PossibleCookiesOperatorValues ¶
func PossibleCookiesOperatorValues() []CookiesOperator
PossibleCookiesOperatorValues returns the possible values for the CookiesOperator const type.
func (CookiesOperator) ToPtr ¶
func (c CookiesOperator) ToPtr() *CookiesOperator
ToPtr returns a *CookiesOperator pointing to the current value.
type CustomDomain ¶
type CustomDomain struct { ProxyResource // The JSON object that contains the properties of the custom domain to create. Properties *CustomDomainProperties `json:"properties,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 (c CustomDomain) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomDomain.
type CustomDomainHTTPSParameters ¶
type CustomDomainHTTPSParameters struct { // REQUIRED; Defines the source of the SSL certificate. CertificateSource *CertificateSource `json:"certificateSource,omitempty"` // REQUIRED; Defines the TLS extension protocol that is used for secure delivery. ProtocolType *ProtocolType `json:"protocolType,omitempty"` // TLS protocol version that will be used for Https MinimumTLSVersion *MinimumTLSVersion `json:"minimumTlsVersion,omitempty"` }
CustomDomainHTTPSParameters - The JSON object that contains the properties to secure a custom domain.
func (*CustomDomainHTTPSParameters) GetCustomDomainHTTPSParameters ¶
func (c *CustomDomainHTTPSParameters) GetCustomDomainHTTPSParameters() *CustomDomainHTTPSParameters
GetCustomDomainHTTPSParameters implements the CustomDomainHTTPSParametersClassification interface for type CustomDomainHTTPSParameters.
func (*CustomDomainHTTPSParameters) UnmarshalJSON ¶
func (c *CustomDomainHTTPSParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomDomainHTTPSParameters.
type CustomDomainHTTPSParametersClassification ¶
type CustomDomainHTTPSParametersClassification interface { // GetCustomDomainHTTPSParameters returns the CustomDomainHTTPSParameters content of the underlying type. GetCustomDomainHTTPSParameters() *CustomDomainHTTPSParameters }
CustomDomainHTTPSParametersClassification provides polymorphic access to related types. Call the interface's GetCustomDomainHTTPSParameters() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *CdnManagedHttpsParameters, *CustomDomainHTTPSParameters, *UserManagedHttpsParameters
type CustomDomainListResult ¶
type CustomDomainListResult struct { // URL to get the next set of custom domain objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN CustomDomains within an endpoint. Value []*CustomDomain `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (c CustomDomainListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomDomainListResult.
type CustomDomainParameters ¶
type CustomDomainParameters struct { // The JSON object that contains the properties of the custom domain to create. Properties *CustomDomainPropertiesParameters `json:"properties,omitempty"` }
CustomDomainParameters - The customDomain JSON object required for custom domain creation or update.
type CustomDomainProperties ¶
type CustomDomainProperties struct { // REQUIRED; The host name of the custom domain. Must be a domain name. HostName *string `json:"hostName,omitempty"` // Certificate parameters for securing custom HTTPS CustomHTTPSParameters CustomDomainHTTPSParametersClassification `json:"customHttpsParameters,omitempty"` // 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"` // READ-ONLY; Provisioning status of Custom Https of the custom domain. CustomHTTPSProvisioningState *CustomHTTPSProvisioningState `json:"customHttpsProvisioningState,omitempty" azure:"ro"` // READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. CustomHTTPSProvisioningSubstate *CustomHTTPSProvisioningSubstate `json:"customHttpsProvisioningSubstate,omitempty" azure:"ro"` // READ-ONLY; Provisioning status of the custom domain. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource status of the custom domain. ResourceState *CustomDomainResourceState `json:"resourceState,omitempty" azure:"ro"` }
CustomDomainProperties - The JSON object that contains the properties of the custom domain to create.
func (CustomDomainProperties) MarshalJSON ¶ added in v0.2.0
func (c CustomDomainProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomDomainProperties.
func (*CustomDomainProperties) UnmarshalJSON ¶ added in v0.2.0
func (c *CustomDomainProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomDomainProperties.
type CustomDomainPropertiesParameters ¶
type CustomDomainPropertiesParameters struct { // REQUIRED; 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 - Resource status of the custom domain.
const ( CustomDomainResourceStateActive CustomDomainResourceState = "Active" CustomDomainResourceStateCreating CustomDomainResourceState = "Creating" CustomDomainResourceStateDeleting CustomDomainResourceState = "Deleting" )
func PossibleCustomDomainResourceStateValues ¶
func PossibleCustomDomainResourceStateValues() []CustomDomainResourceState
PossibleCustomDomainResourceStateValues returns the possible values for the CustomDomainResourceState const type.
func (CustomDomainResourceState) ToPtr ¶
func (c CustomDomainResourceState) ToPtr() *CustomDomainResourceState
ToPtr returns a *CustomDomainResourceState pointing to the current value.
type CustomDomainsBeginCreateOptions ¶
type CustomDomainsBeginCreateOptions struct { }
CustomDomainsBeginCreateOptions contains the optional parameters for the CustomDomains.BeginCreate method.
type CustomDomainsBeginDeleteOptions ¶
type CustomDomainsBeginDeleteOptions struct { }
CustomDomainsBeginDeleteOptions contains the optional parameters for the CustomDomains.BeginDelete method.
type CustomDomainsBeginDisableCustomHTTPSOptions ¶
type CustomDomainsBeginDisableCustomHTTPSOptions struct { }
CustomDomainsBeginDisableCustomHTTPSOptions contains the optional parameters for the CustomDomains.BeginDisableCustomHTTPS method.
type CustomDomainsBeginEnableCustomHTTPSOptions ¶
type CustomDomainsBeginEnableCustomHTTPSOptions struct { // 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. CustomDomainHTTPSParameters CustomDomainHTTPSParametersClassification }
CustomDomainsBeginEnableCustomHTTPSOptions contains the optional parameters for the CustomDomains.BeginEnableCustomHTTPS method.
type CustomDomainsClient ¶
type CustomDomainsClient struct {
// contains filtered or unexported fields
}
CustomDomainsClient contains the methods for the CustomDomains group. Don't use this type directly, use NewCustomDomainsClient() instead.
func NewCustomDomainsClient ¶
func NewCustomDomainsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CustomDomainsClient
NewCustomDomainsClient creates a new instance of CustomDomainsClient with the specified values.
func (*CustomDomainsClient) BeginCreate ¶
func (client *CustomDomainsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainProperties CustomDomainParameters, options *CustomDomainsBeginCreateOptions) (CustomDomainsCreatePollerResponse, error)
BeginCreate - Creates a new custom domain within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*CustomDomainsClient) BeginDelete ¶
func (client *CustomDomainsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *CustomDomainsBeginDeleteOptions) (CustomDomainsDeletePollerResponse, error)
BeginDelete - Deletes an existing custom domain within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*CustomDomainsClient) BeginDisableCustomHTTPS ¶
func (client *CustomDomainsClient) BeginDisableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *CustomDomainsBeginDisableCustomHTTPSOptions) (CustomDomainsDisableCustomHTTPSPollerResponse, error)
BeginDisableCustomHTTPS - Disable https delivery of the custom domain. If the operation fails it returns the *ErrorResponse error type.
func (*CustomDomainsClient) BeginEnableCustomHTTPS ¶
func (client *CustomDomainsClient) BeginEnableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *CustomDomainsBeginEnableCustomHTTPSOptions) (CustomDomainsEnableCustomHTTPSPollerResponse, error)
BeginEnableCustomHTTPS - Enable https delivery of the custom domain. If the operation fails it returns the *ErrorResponse error type.
func (*CustomDomainsClient) Get ¶
func (client *CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, options *CustomDomainsGetOptions) (CustomDomainsGetResponse, error)
Get - Gets an existing custom domain within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*CustomDomainsClient) ListByEndpoint ¶
func (client *CustomDomainsClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, options *CustomDomainsListByEndpointOptions) *CustomDomainsListByEndpointPager
ListByEndpoint - Lists all of the existing custom domains within an endpoint. If the operation fails it returns the *ErrorResponse error type.
type CustomDomainsCreatePoller ¶
type CustomDomainsCreatePoller struct {
// contains filtered or unexported fields
}
CustomDomainsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsCreatePoller) Done ¶
func (p *CustomDomainsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsCreatePoller) FinalResponse ¶
func (p *CustomDomainsCreatePoller) FinalResponse(ctx context.Context) (CustomDomainsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsCreateResponse will be returned.
func (*CustomDomainsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsCreatePoller) ResumeToken ¶
func (p *CustomDomainsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsCreatePollerResponse ¶
type CustomDomainsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsCreatePollerResponse contains the response from method CustomDomains.Create.
func (CustomDomainsCreatePollerResponse) PollUntilDone ¶
func (l CustomDomainsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsCreatePollerResponse) Resume ¶
func (l *CustomDomainsCreatePollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsCreatePollerResponse from the provided client and resume token.
type CustomDomainsCreateResponse ¶
type CustomDomainsCreateResponse struct { CustomDomainsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsCreateResponse contains the response from method CustomDomains.Create.
type CustomDomainsCreateResult ¶
type CustomDomainsCreateResult struct {
CustomDomain
}
CustomDomainsCreateResult contains the result from method CustomDomains.Create.
type CustomDomainsDeletePoller ¶
type CustomDomainsDeletePoller struct {
// contains filtered or unexported fields
}
CustomDomainsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsDeletePoller) Done ¶
func (p *CustomDomainsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsDeletePoller) FinalResponse ¶
func (p *CustomDomainsDeletePoller) FinalResponse(ctx context.Context) (CustomDomainsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsDeleteResponse will be returned.
func (*CustomDomainsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsDeletePoller) ResumeToken ¶
func (p *CustomDomainsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsDeletePollerResponse ¶
type CustomDomainsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsDeletePollerResponse contains the response from method CustomDomains.Delete.
func (CustomDomainsDeletePollerResponse) PollUntilDone ¶
func (l CustomDomainsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsDeletePollerResponse) Resume ¶
func (l *CustomDomainsDeletePollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsDeletePollerResponse from the provided client and resume token.
type CustomDomainsDeleteResponse ¶
type CustomDomainsDeleteResponse struct { CustomDomainsDeleteResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsDeleteResponse contains the response from method CustomDomains.Delete.
type CustomDomainsDeleteResult ¶
type CustomDomainsDeleteResult struct {
CustomDomain
}
CustomDomainsDeleteResult contains the result from method CustomDomains.Delete.
type CustomDomainsDisableCustomHTTPSPoller ¶
type CustomDomainsDisableCustomHTTPSPoller struct {
// contains filtered or unexported fields
}
CustomDomainsDisableCustomHTTPSPoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsDisableCustomHTTPSPoller) Done ¶
func (p *CustomDomainsDisableCustomHTTPSPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsDisableCustomHTTPSPoller) FinalResponse ¶
func (p *CustomDomainsDisableCustomHTTPSPoller) FinalResponse(ctx context.Context) (CustomDomainsDisableCustomHTTPSResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsDisableCustomHTTPSResponse will be returned.
func (*CustomDomainsDisableCustomHTTPSPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsDisableCustomHTTPSPoller) ResumeToken ¶
func (p *CustomDomainsDisableCustomHTTPSPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsDisableCustomHTTPSPollerResponse ¶
type CustomDomainsDisableCustomHTTPSPollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsDisableCustomHTTPSPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsDisableCustomHTTPSPollerResponse contains the response from method CustomDomains.DisableCustomHTTPS.
func (CustomDomainsDisableCustomHTTPSPollerResponse) PollUntilDone ¶
func (l CustomDomainsDisableCustomHTTPSPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsDisableCustomHTTPSResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsDisableCustomHTTPSPollerResponse) Resume ¶
func (l *CustomDomainsDisableCustomHTTPSPollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsDisableCustomHTTPSPollerResponse from the provided client and resume token.
type CustomDomainsDisableCustomHTTPSResponse ¶
type CustomDomainsDisableCustomHTTPSResponse struct { CustomDomainsDisableCustomHTTPSResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsDisableCustomHTTPSResponse contains the response from method CustomDomains.DisableCustomHTTPS.
type CustomDomainsDisableCustomHTTPSResult ¶
type CustomDomainsDisableCustomHTTPSResult struct {
CustomDomain
}
CustomDomainsDisableCustomHTTPSResult contains the result from method CustomDomains.DisableCustomHTTPS.
type CustomDomainsEnableCustomHTTPSPoller ¶
type CustomDomainsEnableCustomHTTPSPoller struct {
// contains filtered or unexported fields
}
CustomDomainsEnableCustomHTTPSPoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsEnableCustomHTTPSPoller) Done ¶
func (p *CustomDomainsEnableCustomHTTPSPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsEnableCustomHTTPSPoller) FinalResponse ¶
func (p *CustomDomainsEnableCustomHTTPSPoller) FinalResponse(ctx context.Context) (CustomDomainsEnableCustomHTTPSResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsEnableCustomHTTPSResponse will be returned.
func (*CustomDomainsEnableCustomHTTPSPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsEnableCustomHTTPSPoller) ResumeToken ¶
func (p *CustomDomainsEnableCustomHTTPSPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsEnableCustomHTTPSPollerResponse ¶
type CustomDomainsEnableCustomHTTPSPollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsEnableCustomHTTPSPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsEnableCustomHTTPSPollerResponse contains the response from method CustomDomains.EnableCustomHTTPS.
func (CustomDomainsEnableCustomHTTPSPollerResponse) PollUntilDone ¶
func (l CustomDomainsEnableCustomHTTPSPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsEnableCustomHTTPSResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsEnableCustomHTTPSPollerResponse) Resume ¶
func (l *CustomDomainsEnableCustomHTTPSPollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsEnableCustomHTTPSPollerResponse from the provided client and resume token.
type CustomDomainsEnableCustomHTTPSResponse ¶
type CustomDomainsEnableCustomHTTPSResponse struct { CustomDomainsEnableCustomHTTPSResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsEnableCustomHTTPSResponse contains the response from method CustomDomains.EnableCustomHTTPS.
type CustomDomainsEnableCustomHTTPSResult ¶
type CustomDomainsEnableCustomHTTPSResult struct {
CustomDomain
}
CustomDomainsEnableCustomHTTPSResult contains the result from method CustomDomains.EnableCustomHTTPS.
type CustomDomainsGetOptions ¶
type CustomDomainsGetOptions struct { }
CustomDomainsGetOptions contains the optional parameters for the CustomDomains.Get method.
type CustomDomainsGetResponse ¶
type CustomDomainsGetResponse struct { CustomDomainsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsGetResponse contains the response from method CustomDomains.Get.
type CustomDomainsGetResult ¶
type CustomDomainsGetResult struct {
CustomDomain
}
CustomDomainsGetResult contains the result from method CustomDomains.Get.
type CustomDomainsListByEndpointOptions ¶
type CustomDomainsListByEndpointOptions struct { }
CustomDomainsListByEndpointOptions contains the optional parameters for the CustomDomains.ListByEndpoint method.
type CustomDomainsListByEndpointPager ¶
type CustomDomainsListByEndpointPager struct {
// contains filtered or unexported fields
}
CustomDomainsListByEndpointPager provides operations for iterating over paged responses.
func (*CustomDomainsListByEndpointPager) Err ¶
func (p *CustomDomainsListByEndpointPager) Err() error
Err returns the last error encountered while paging.
func (*CustomDomainsListByEndpointPager) NextPage ¶
func (p *CustomDomainsListByEndpointPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*CustomDomainsListByEndpointPager) PageResponse ¶
func (p *CustomDomainsListByEndpointPager) PageResponse() CustomDomainsListByEndpointResponse
PageResponse returns the current CustomDomainsListByEndpointResponse page.
type CustomDomainsListByEndpointResponse ¶
type CustomDomainsListByEndpointResponse struct { CustomDomainsListByEndpointResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsListByEndpointResponse contains the response from method CustomDomains.ListByEndpoint.
type CustomDomainsListByEndpointResult ¶
type CustomDomainsListByEndpointResult struct {
CustomDomainListResult
}
CustomDomainsListByEndpointResult contains the result from method CustomDomains.ListByEndpoint.
type CustomHTTPSProvisioningState ¶
type CustomHTTPSProvisioningState string
CustomHTTPSProvisioningState - Provisioning status of Custom Https of the custom domain.
const ( CustomHTTPSProvisioningStateDisabled CustomHTTPSProvisioningState = "Disabled" CustomHTTPSProvisioningStateDisabling CustomHTTPSProvisioningState = "Disabling" CustomHTTPSProvisioningStateEnabled CustomHTTPSProvisioningState = "Enabled" CustomHTTPSProvisioningStateEnabling CustomHTTPSProvisioningState = "Enabling" CustomHTTPSProvisioningStateFailed CustomHTTPSProvisioningState = "Failed" )
func PossibleCustomHTTPSProvisioningStateValues ¶
func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState
PossibleCustomHTTPSProvisioningStateValues returns the possible values for the CustomHTTPSProvisioningState const type.
func (CustomHTTPSProvisioningState) ToPtr ¶
func (c CustomHTTPSProvisioningState) ToPtr() *CustomHTTPSProvisioningState
ToPtr returns a *CustomHTTPSProvisioningState pointing to the current value.
type CustomHTTPSProvisioningSubstate ¶
type CustomHTTPSProvisioningSubstate string
CustomHTTPSProvisioningSubstate - Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
const ( CustomHTTPSProvisioningSubstateCertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted" CustomHTTPSProvisioningSubstateCertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed" CustomHTTPSProvisioningSubstateDeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate" CustomHTTPSProvisioningSubstateDeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate" CustomHTTPSProvisioningSubstateDomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved" CustomHTTPSProvisioningSubstateDomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected" CustomHTTPSProvisioningSubstateDomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut" CustomHTTPSProvisioningSubstateIssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate" CustomHTTPSProvisioningSubstatePendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval" CustomHTTPSProvisioningSubstateSubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest" )
func PossibleCustomHTTPSProvisioningSubstateValues ¶
func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate
PossibleCustomHTTPSProvisioningSubstateValues returns the possible values for the CustomHTTPSProvisioningSubstate const type.
func (CustomHTTPSProvisioningSubstate) ToPtr ¶
func (c CustomHTTPSProvisioningSubstate) ToPtr() *CustomHTTPSProvisioningSubstate
ToPtr returns a *CustomHTTPSProvisioningSubstate pointing to the current value.
type CustomRule ¶
type CustomRule struct { // REQUIRED; Describes what action to be applied when rule matches Action *ActionType `json:"action,omitempty"` // REQUIRED; List of match conditions. MatchConditions []*MatchCondition `json:"matchConditions,omitempty"` // REQUIRED; Defines the name of the custom rule Name *string `json:"name,omitempty"` // REQUIRED; Defines in what order this rule be evaluated in the overall list of custom rules Priority *int32 `json:"priority,omitempty"` // Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. EnabledState *CustomRuleEnabledState `json:"enabledState,omitempty"` }
CustomRule - Defines the common attributes for a custom rule that can be included in a waf policy
func (CustomRule) MarshalJSON ¶
func (c CustomRule) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomRule.
type CustomRuleEnabledState ¶
type CustomRuleEnabledState string
CustomRuleEnabledState - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
const ( CustomRuleEnabledStateDisabled CustomRuleEnabledState = "Disabled" CustomRuleEnabledStateEnabled CustomRuleEnabledState = "Enabled" )
func PossibleCustomRuleEnabledStateValues ¶
func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState
PossibleCustomRuleEnabledStateValues returns the possible values for the CustomRuleEnabledState const type.
func (CustomRuleEnabledState) ToPtr ¶
func (c CustomRuleEnabledState) ToPtr() *CustomRuleEnabledState
ToPtr returns a *CustomRuleEnabledState pointing to the current value.
type CustomRuleList ¶
type CustomRuleList struct { // List of rules Rules []*CustomRule `json:"rules,omitempty"` }
CustomRuleList - Defines contents of custom rules
func (CustomRuleList) MarshalJSON ¶
func (c CustomRuleList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomRuleList.
type CustomerCertificate ¶
type CustomerCertificate struct { Certificate // REQUIRED; Complete Url to the certificate CertificateURL *string `json:"certificateUrl,omitempty"` // Certificate issuing authority. CertificateAuthority *string `json:"certificateAuthority,omitempty"` // The list of SANs. SubjectAlternativeNames []*string `json:"subjectAlternativeNames,omitempty"` // Whether to use the latest version for the certificate UseLatestVersion *bool `json:"useLatestVersion,omitempty"` // Certificate version. Version *string `json:"version,omitempty"` }
CustomerCertificate - Customer Certificate used for https
func (CustomerCertificate) MarshalJSON ¶
func (c CustomerCertificate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomerCertificate.
type CustomerCertificateParameters ¶
type CustomerCertificateParameters struct { SecretParameters // REQUIRED; Resource reference to the KV secret SecretSource *ResourceReference `json:"secretSource,omitempty"` // Certificate issuing authority. CertificateAuthority *string `json:"certificateAuthority,omitempty"` // Version of the secret to be used SecretVersion *string `json:"secretVersion,omitempty"` // The list of SANs. SubjectAlternativeNames []*string `json:"subjectAlternativeNames,omitempty"` // Whether to use the latest version for the certificate UseLatestVersion *bool `json:"useLatestVersion,omitempty"` }
CustomerCertificateParameters - Customer Certificate used for https
func (CustomerCertificateParameters) MarshalJSON ¶
func (c CustomerCertificateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomerCertificateParameters.
func (*CustomerCertificateParameters) UnmarshalJSON ¶
func (c *CustomerCertificateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomerCertificateParameters.
type DeepCreatedOrigin ¶
type DeepCreatedOrigin struct { // REQUIRED; Origin name which must be unique within the endpoint. Name *string `json:"name,omitempty"` // Properties of the origin created on the CDN endpoint. Properties *DeepCreatedOriginProperties `json:"properties,omitempty"` }
DeepCreatedOrigin - The main origin of CDN content which is added when creating a CDN endpoint.
type DeepCreatedOriginGroup ¶
type DeepCreatedOriginGroup struct { // REQUIRED; Origin group name which must be unique within the endpoint. Name *string `json:"name,omitempty"` // Properties of the origin group created on the CDN endpoint. Properties *DeepCreatedOriginGroupProperties `json:"properties,omitempty"` }
DeepCreatedOriginGroup - The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health.
type DeepCreatedOriginGroupProperties ¶
type DeepCreatedOriginGroupProperties struct { // REQUIRED; The source of the content being delivered via CDN within given origin group. Origins []*ResourceReference `json:"origins,omitempty"` // Health probe settings to the origin that is used to determine the health of the origin. HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` // The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported. ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"` // Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. // This property is currently not supported. TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
DeepCreatedOriginGroupProperties - Properties of the origin group created on the CDN endpoint.
func (DeepCreatedOriginGroupProperties) MarshalJSON ¶
func (d DeepCreatedOriginGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeepCreatedOriginGroupProperties.
type DeepCreatedOriginProperties ¶
type DeepCreatedOriginProperties struct { // REQUIRED; The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint. HostName *string `json:"hostName,omitempty"` // Origin is enabled for load balancing or not. By default, origin is always enabled. Enabled *bool `json:"enabled,omitempty"` // The value of the HTTP port. Must be between 1 and 65535. HTTPPort *int32 `json:"httpPort,omitempty"` // The value of the HTTPS port. Must be between 1 and 65535. HTTPSPort *int32 `json:"httpsPort,omitempty"` // The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such // as Web Apps, Blob Storage, and Cloud Services // require this host header value to match the origin hostname by default. OriginHostHeader *string `json:"originHostHeader,omitempty"` // Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must // be between 1 and 5. Priority *int32 `json:"priority,omitempty"` // The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' PrivateLinkAlias *string `json:"privateLinkAlias,omitempty"` // A custom message to be included in the approval request to connect to the Private Link. PrivateLinkApprovalMessage *string `json:"privateLinkApprovalMessage,omitempty"` // The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"` // The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"` // Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 Weight *int32 `json:"weight,omitempty"` }
DeepCreatedOriginProperties - Properties of the origin created on the CDN endpoint.
type DeleteRule ¶
type DeleteRule string
DeleteRule - Describes the action that shall be taken when the certificate is removed from Key Vault.
const (
DeleteRuleNoAction DeleteRule = "NoAction"
)
func PossibleDeleteRuleValues ¶
func PossibleDeleteRuleValues() []DeleteRule
PossibleDeleteRuleValues returns the possible values for the DeleteRule const type.
func (DeleteRule) ToPtr ¶
func (c DeleteRule) ToPtr() *DeleteRule
ToPtr returns a *DeleteRule pointing to the current value.
type DeliveryRule ¶
type DeliveryRule struct { // REQUIRED; A list of actions that are executed when all the conditions of a rule are satisfied. Actions []DeliveryRuleActionAutoGeneratedClassification `json:"actions,omitempty"` // REQUIRED; 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"` // A list of conditions that must be matched for the actions to be executed Conditions []DeliveryRuleConditionClassification `json:"conditions,omitempty"` // Name of the rule Name *string `json:"name,omitempty"` }
DeliveryRule - A rule that specifies a set of actions and conditions
func (DeliveryRule) MarshalJSON ¶
func (d DeliveryRule) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRule.
func (*DeliveryRule) UnmarshalJSON ¶
func (d *DeliveryRule) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRule.
type DeliveryRuleAction ¶
type DeliveryRuleAction string
DeliveryRuleAction - The name of the action for the delivery rule.
const ( DeliveryRuleActionCacheExpiration DeliveryRuleAction = "CacheExpiration" DeliveryRuleActionCacheKeyQueryString DeliveryRuleAction = "CacheKeyQueryString" DeliveryRuleActionModifyRequestHeader DeliveryRuleAction = "ModifyRequestHeader" DeliveryRuleActionModifyResponseHeader DeliveryRuleAction = "ModifyResponseHeader" DeliveryRuleActionOriginGroupOverride DeliveryRuleAction = "OriginGroupOverride" DeliveryRuleActionURLRedirect DeliveryRuleAction = "UrlRedirect" DeliveryRuleActionURLRewrite DeliveryRuleAction = "UrlRewrite" DeliveryRuleActionURLSigning DeliveryRuleAction = "UrlSigning" )
func PossibleDeliveryRuleActionValues ¶
func PossibleDeliveryRuleActionValues() []DeliveryRuleAction
PossibleDeliveryRuleActionValues returns the possible values for the DeliveryRuleAction const type.
func (DeliveryRuleAction) ToPtr ¶
func (c DeliveryRuleAction) ToPtr() *DeliveryRuleAction
ToPtr returns a *DeliveryRuleAction pointing to the current value.
type DeliveryRuleActionAutoGenerated ¶
type DeliveryRuleActionAutoGenerated struct { // REQUIRED; The name of the action for the delivery rule. Name *DeliveryRuleAction `json:"name,omitempty"` }
DeliveryRuleActionAutoGenerated - An action for the delivery rule.
func (*DeliveryRuleActionAutoGenerated) GetDeliveryRuleActionAutoGenerated ¶
func (d *DeliveryRuleActionAutoGenerated) GetDeliveryRuleActionAutoGenerated() *DeliveryRuleActionAutoGenerated
GetDeliveryRuleActionAutoGenerated implements the DeliveryRuleActionAutoGeneratedClassification interface for type DeliveryRuleActionAutoGenerated.
func (*DeliveryRuleActionAutoGenerated) UnmarshalJSON ¶
func (d *DeliveryRuleActionAutoGenerated) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleActionAutoGenerated.
type DeliveryRuleActionAutoGeneratedClassification ¶
type DeliveryRuleActionAutoGeneratedClassification interface { // GetDeliveryRuleActionAutoGenerated returns the DeliveryRuleActionAutoGenerated content of the underlying type. GetDeliveryRuleActionAutoGenerated() *DeliveryRuleActionAutoGenerated }
DeliveryRuleActionAutoGeneratedClassification provides polymorphic access to related types. Call the interface's GetDeliveryRuleActionAutoGenerated() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *DeliveryRuleActionAutoGenerated, *DeliveryRuleCacheExpirationAction, *DeliveryRuleCacheKeyQueryStringAction, *DeliveryRuleRequestHeaderAction, - *DeliveryRuleResponseHeaderAction, *OriginGroupOverrideAction, *UrlRedirectAction, *UrlRewriteAction, *UrlSigningAction
type DeliveryRuleCacheExpirationAction ¶
type DeliveryRuleCacheExpirationAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *CacheExpirationActionParameters `json:"parameters,omitempty"` }
DeliveryRuleCacheExpirationAction - Defines the cache expiration action for the delivery rule.
func (DeliveryRuleCacheExpirationAction) MarshalJSON ¶
func (d DeliveryRuleCacheExpirationAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleCacheExpirationAction.
func (*DeliveryRuleCacheExpirationAction) UnmarshalJSON ¶
func (d *DeliveryRuleCacheExpirationAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleCacheExpirationAction.
type DeliveryRuleCacheKeyQueryStringAction ¶
type DeliveryRuleCacheKeyQueryStringAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *CacheKeyQueryStringActionParameters `json:"parameters,omitempty"` }
DeliveryRuleCacheKeyQueryStringAction - Defines the cache-key query string action for the delivery rule.
func (DeliveryRuleCacheKeyQueryStringAction) MarshalJSON ¶
func (d DeliveryRuleCacheKeyQueryStringAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleCacheKeyQueryStringAction.
func (*DeliveryRuleCacheKeyQueryStringAction) UnmarshalJSON ¶
func (d *DeliveryRuleCacheKeyQueryStringAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleCacheKeyQueryStringAction.
type DeliveryRuleCondition ¶
type DeliveryRuleCondition struct { // REQUIRED; The name of the condition for the delivery rule. Name *MatchVariable `json:"name,omitempty"` }
DeliveryRuleCondition - A condition for the delivery rule.
func (*DeliveryRuleCondition) GetDeliveryRuleCondition ¶
func (d *DeliveryRuleCondition) GetDeliveryRuleCondition() *DeliveryRuleCondition
GetDeliveryRuleCondition implements the DeliveryRuleConditionClassification interface for type DeliveryRuleCondition.
func (*DeliveryRuleCondition) UnmarshalJSON ¶
func (d *DeliveryRuleCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleCondition.
type DeliveryRuleConditionClassification ¶
type DeliveryRuleConditionClassification interface { // GetDeliveryRuleCondition returns the DeliveryRuleCondition content of the underlying type. GetDeliveryRuleCondition() *DeliveryRuleCondition }
DeliveryRuleConditionClassification provides polymorphic access to related types. Call the interface's GetDeliveryRuleCondition() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *DeliveryRuleCondition, *DeliveryRuleCookiesCondition, *DeliveryRuleHttpVersionCondition, *DeliveryRuleIsDeviceCondition, - *DeliveryRulePostArgsCondition, *DeliveryRuleQueryStringCondition, *DeliveryRuleRemoteAddressCondition, *DeliveryRuleRequestBodyCondition, - *DeliveryRuleRequestHeaderCondition, *DeliveryRuleRequestMethodCondition, *DeliveryRuleRequestSchemeCondition, *DeliveryRuleRequestUriCondition, - *DeliveryRuleUrlFileExtensionCondition, *DeliveryRuleUrlFileNameCondition, *DeliveryRuleUrlPathCondition
type DeliveryRuleCookiesCondition ¶
type DeliveryRuleCookiesCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *CookiesMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleCookiesCondition - Defines the Cookies condition for the delivery rule.
func (DeliveryRuleCookiesCondition) MarshalJSON ¶
func (d DeliveryRuleCookiesCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleCookiesCondition.
func (*DeliveryRuleCookiesCondition) UnmarshalJSON ¶
func (d *DeliveryRuleCookiesCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleCookiesCondition.
type DeliveryRuleHTTPVersionCondition ¶
type DeliveryRuleHTTPVersionCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *HTTPVersionMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleHTTPVersionCondition - Defines the HttpVersion condition for the delivery rule.
func (DeliveryRuleHTTPVersionCondition) MarshalJSON ¶
func (d DeliveryRuleHTTPVersionCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleHTTPVersionCondition.
func (*DeliveryRuleHTTPVersionCondition) UnmarshalJSON ¶
func (d *DeliveryRuleHTTPVersionCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleHTTPVersionCondition.
type DeliveryRuleIsDeviceCondition ¶
type DeliveryRuleIsDeviceCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *IsDeviceMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleIsDeviceCondition - Defines the IsDevice condition for the delivery rule.
func (DeliveryRuleIsDeviceCondition) MarshalJSON ¶
func (d DeliveryRuleIsDeviceCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleIsDeviceCondition.
func (*DeliveryRuleIsDeviceCondition) UnmarshalJSON ¶
func (d *DeliveryRuleIsDeviceCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleIsDeviceCondition.
type DeliveryRulePostArgsCondition ¶
type DeliveryRulePostArgsCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *PostArgsMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRulePostArgsCondition - Defines the PostArgs condition for the delivery rule.
func (DeliveryRulePostArgsCondition) MarshalJSON ¶
func (d DeliveryRulePostArgsCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRulePostArgsCondition.
func (*DeliveryRulePostArgsCondition) UnmarshalJSON ¶
func (d *DeliveryRulePostArgsCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRulePostArgsCondition.
type DeliveryRuleQueryStringCondition ¶
type DeliveryRuleQueryStringCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *QueryStringMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleQueryStringCondition - Defines the QueryString condition for the delivery rule.
func (DeliveryRuleQueryStringCondition) MarshalJSON ¶
func (d DeliveryRuleQueryStringCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleQueryStringCondition.
func (*DeliveryRuleQueryStringCondition) UnmarshalJSON ¶
func (d *DeliveryRuleQueryStringCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleQueryStringCondition.
type DeliveryRuleRemoteAddressCondition ¶
type DeliveryRuleRemoteAddressCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *RemoteAddressMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleRemoteAddressCondition - Defines the RemoteAddress condition for the delivery rule.
func (DeliveryRuleRemoteAddressCondition) MarshalJSON ¶
func (d DeliveryRuleRemoteAddressCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRemoteAddressCondition.
func (*DeliveryRuleRemoteAddressCondition) UnmarshalJSON ¶
func (d *DeliveryRuleRemoteAddressCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRemoteAddressCondition.
type DeliveryRuleRequestBodyCondition ¶
type DeliveryRuleRequestBodyCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *RequestBodyMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleRequestBodyCondition - Defines the RequestBody condition for the delivery rule.
func (DeliveryRuleRequestBodyCondition) MarshalJSON ¶
func (d DeliveryRuleRequestBodyCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRequestBodyCondition.
func (*DeliveryRuleRequestBodyCondition) UnmarshalJSON ¶
func (d *DeliveryRuleRequestBodyCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRequestBodyCondition.
type DeliveryRuleRequestHeaderAction ¶
type DeliveryRuleRequestHeaderAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *HeaderActionParameters `json:"parameters,omitempty"` }
DeliveryRuleRequestHeaderAction - Defines the request header action for the delivery rule.
func (DeliveryRuleRequestHeaderAction) MarshalJSON ¶
func (d DeliveryRuleRequestHeaderAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRequestHeaderAction.
func (*DeliveryRuleRequestHeaderAction) UnmarshalJSON ¶
func (d *DeliveryRuleRequestHeaderAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRequestHeaderAction.
type DeliveryRuleRequestHeaderCondition ¶
type DeliveryRuleRequestHeaderCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *RequestHeaderMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleRequestHeaderCondition - Defines the RequestHeader condition for the delivery rule.
func (DeliveryRuleRequestHeaderCondition) MarshalJSON ¶
func (d DeliveryRuleRequestHeaderCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRequestHeaderCondition.
func (*DeliveryRuleRequestHeaderCondition) UnmarshalJSON ¶
func (d *DeliveryRuleRequestHeaderCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRequestHeaderCondition.
type DeliveryRuleRequestMethodCondition ¶
type DeliveryRuleRequestMethodCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *RequestMethodMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleRequestMethodCondition - Defines the RequestMethod condition for the delivery rule.
func (DeliveryRuleRequestMethodCondition) MarshalJSON ¶
func (d DeliveryRuleRequestMethodCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRequestMethodCondition.
func (*DeliveryRuleRequestMethodCondition) UnmarshalJSON ¶
func (d *DeliveryRuleRequestMethodCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRequestMethodCondition.
type DeliveryRuleRequestSchemeCondition ¶
type DeliveryRuleRequestSchemeCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *RequestSchemeMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleRequestSchemeCondition - Defines the RequestScheme condition for the delivery rule.
func (DeliveryRuleRequestSchemeCondition) MarshalJSON ¶
func (d DeliveryRuleRequestSchemeCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRequestSchemeCondition.
func (*DeliveryRuleRequestSchemeCondition) UnmarshalJSON ¶
func (d *DeliveryRuleRequestSchemeCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRequestSchemeCondition.
type DeliveryRuleRequestURICondition ¶
type DeliveryRuleRequestURICondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *RequestURIMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleRequestURICondition - Defines the RequestUri condition for the delivery rule.
func (DeliveryRuleRequestURICondition) MarshalJSON ¶
func (d DeliveryRuleRequestURICondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleRequestURICondition.
func (*DeliveryRuleRequestURICondition) UnmarshalJSON ¶
func (d *DeliveryRuleRequestURICondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleRequestURICondition.
type DeliveryRuleResponseHeaderAction ¶
type DeliveryRuleResponseHeaderAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *HeaderActionParameters `json:"parameters,omitempty"` }
DeliveryRuleResponseHeaderAction - Defines the response header action for the delivery rule.
func (DeliveryRuleResponseHeaderAction) MarshalJSON ¶
func (d DeliveryRuleResponseHeaderAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleResponseHeaderAction.
func (*DeliveryRuleResponseHeaderAction) UnmarshalJSON ¶
func (d *DeliveryRuleResponseHeaderAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleResponseHeaderAction.
type DeliveryRuleURLFileExtensionCondition ¶
type DeliveryRuleURLFileExtensionCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *URLFileExtensionMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleURLFileExtensionCondition - Defines the UrlFileExtension condition for the delivery rule.
func (DeliveryRuleURLFileExtensionCondition) MarshalJSON ¶
func (d DeliveryRuleURLFileExtensionCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleURLFileExtensionCondition.
func (*DeliveryRuleURLFileExtensionCondition) UnmarshalJSON ¶
func (d *DeliveryRuleURLFileExtensionCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleURLFileExtensionCondition.
type DeliveryRuleURLFileNameCondition ¶
type DeliveryRuleURLFileNameCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *URLFileNameMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleURLFileNameCondition - Defines the UrlFileName condition for the delivery rule.
func (DeliveryRuleURLFileNameCondition) MarshalJSON ¶
func (d DeliveryRuleURLFileNameCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleURLFileNameCondition.
func (*DeliveryRuleURLFileNameCondition) UnmarshalJSON ¶
func (d *DeliveryRuleURLFileNameCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleURLFileNameCondition.
type DeliveryRuleURLPathCondition ¶
type DeliveryRuleURLPathCondition struct { DeliveryRuleCondition // REQUIRED; Defines the parameters for the condition. Parameters *URLPathMatchConditionParameters `json:"parameters,omitempty"` }
DeliveryRuleURLPathCondition - Defines the UrlPath condition for the delivery rule.
func (DeliveryRuleURLPathCondition) MarshalJSON ¶
func (d DeliveryRuleURLPathCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeliveryRuleURLPathCondition.
func (*DeliveryRuleURLPathCondition) UnmarshalJSON ¶
func (d *DeliveryRuleURLPathCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeliveryRuleURLPathCondition.
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusInProgress DeploymentStatus = "InProgress" DeploymentStatusNotStarted DeploymentStatus = "NotStarted" DeploymentStatusSucceeded DeploymentStatus = "Succeeded" )
func PossibleDeploymentStatusValues ¶
func PossibleDeploymentStatusValues() []DeploymentStatus
PossibleDeploymentStatusValues returns the possible values for the DeploymentStatus const type.
func (DeploymentStatus) ToPtr ¶
func (c DeploymentStatus) ToPtr() *DeploymentStatus
ToPtr returns a *DeploymentStatus pointing to the current value.
type DestinationProtocol ¶
type DestinationProtocol string
DestinationProtocol - Protocol to use for the redirect. The default value is MatchRequest
const ( DestinationProtocolHTTP DestinationProtocol = "Http" DestinationProtocolHTTPS DestinationProtocol = "Https" DestinationProtocolMatchRequest DestinationProtocol = "MatchRequest" )
func PossibleDestinationProtocolValues ¶
func PossibleDestinationProtocolValues() []DestinationProtocol
PossibleDestinationProtocolValues returns the possible values for the DestinationProtocol const type.
func (DestinationProtocol) ToPtr ¶
func (c DestinationProtocol) ToPtr() *DestinationProtocol
ToPtr returns a *DestinationProtocol pointing to the current value.
type DomainValidationProperties ¶
type DomainValidationProperties struct { // READ-ONLY; The date time that the token expires ExpirationDate *string `json:"expirationDate,omitempty" azure:"ro"` // READ-ONLY; Challenge used for DNS TXT record or file based validation ValidationToken *string `json:"validationToken,omitempty" azure:"ro"` }
DomainValidationProperties - The JSON object that contains the properties to validate a domain.
type DomainValidationState ¶
type DomainValidationState string
DomainValidationState - Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation.
const ( DomainValidationStateApproved DomainValidationState = "Approved" DomainValidationStatePending DomainValidationState = "Pending" DomainValidationStatePendingRevalidation DomainValidationState = "PendingRevalidation" DomainValidationStateSubmitting DomainValidationState = "Submitting" DomainValidationStateTimedOut DomainValidationState = "TimedOut" DomainValidationStateUnknown DomainValidationState = "Unknown" )
func PossibleDomainValidationStateValues ¶
func PossibleDomainValidationStateValues() []DomainValidationState
PossibleDomainValidationStateValues returns the possible values for the DomainValidationState const type.
func (DomainValidationState) ToPtr ¶
func (c DomainValidationState) ToPtr() *DomainValidationState
ToPtr returns a *DomainValidationState pointing to the current value.
type EdgeNode ¶
type EdgeNode struct { ProxyResource // The JSON object that contains the properties required to create an edgenode. Properties *EdgeNodeProperties `json:"properties,omitempty"` }
EdgeNode - Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users.
func (EdgeNode) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type EdgeNode.
type EdgeNodeProperties ¶
type EdgeNodeProperties struct { // REQUIRED; List of ip address groups. IPAddressGroups []*IPAddressGroup `json:"ipAddressGroups,omitempty"` }
EdgeNodeProperties - The JSON object that contains the properties required to create an edgenode.
func (EdgeNodeProperties) MarshalJSON ¶
func (e EdgeNodeProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EdgeNodeProperties.
type EdgeNodesClient ¶
type EdgeNodesClient struct {
// contains filtered or unexported fields
}
EdgeNodesClient contains the methods for the EdgeNodes group. Don't use this type directly, use NewEdgeNodesClient() instead.
func NewEdgeNodesClient ¶
func NewEdgeNodesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *EdgeNodesClient
NewEdgeNodesClient creates a new instance of EdgeNodesClient with the specified values.
func (*EdgeNodesClient) List ¶
func (client *EdgeNodesClient) List(options *EdgeNodesListOptions) *EdgeNodesListPager
List - Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. If the operation fails it returns the *ErrorResponse error type.
type EdgeNodesListOptions ¶
type EdgeNodesListOptions struct { }
EdgeNodesListOptions contains the optional parameters for the EdgeNodes.List method.
type EdgeNodesListPager ¶
type EdgeNodesListPager struct {
// contains filtered or unexported fields
}
EdgeNodesListPager provides operations for iterating over paged responses.
func (*EdgeNodesListPager) Err ¶
func (p *EdgeNodesListPager) Err() error
Err returns the last error encountered while paging.
func (*EdgeNodesListPager) NextPage ¶
func (p *EdgeNodesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*EdgeNodesListPager) PageResponse ¶
func (p *EdgeNodesListPager) PageResponse() EdgeNodesListResponse
PageResponse returns the current EdgeNodesListResponse page.
type EdgeNodesListResponse ¶
type EdgeNodesListResponse struct { EdgeNodesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EdgeNodesListResponse contains the response from method EdgeNodes.List.
type EdgeNodesListResult ¶
type EdgeNodesListResult struct {
EdgenodeResult
}
EdgeNodesListResult contains the result from method EdgeNodes.List.
type EdgenodeResult ¶
type EdgenodeResult struct { // URL to get the next set of edgenode list results if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; Edge node of CDN service. Value []*EdgeNode `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (e EdgenodeResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EdgenodeResult.
type EnabledState ¶
type EnabledState string
EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'
const ( EnabledStateDisabled EnabledState = "Disabled" EnabledStateEnabled EnabledState = "Enabled" )
func PossibleEnabledStateValues ¶
func PossibleEnabledStateValues() []EnabledState
PossibleEnabledStateValues returns the possible values for the EnabledState const type.
func (EnabledState) ToPtr ¶
func (c EnabledState) ToPtr() *EnabledState
ToPtr returns a *EnabledState pointing to the current value.
type Endpoint ¶
type Endpoint struct { TrackedResource // The JSON object that contains the properties required to create an endpoint. Properties *EndpointProperties `json:"properties,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 .azureedge.net.
func (Endpoint) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Endpoint.
type EndpointListResult ¶
type EndpointListResult struct { // URL to get the next set of endpoint objects if there is any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN endpoints within a profile Value []*Endpoint `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (e EndpointListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EndpointListResult.
type EndpointProperties ¶
type EndpointProperties struct { EndpointPropertiesUpdateParameters // REQUIRED; The source of the content being delivered via CDN. Origins []*DeepCreatedOrigin `json:"origins,omitempty"` // The origin groups comprising of origins that are used for load balancing the traffic based on availability. OriginGroups []*DeepCreatedOriginGroup `json:"originGroups,omitempty"` // READ-ONLY; The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net HostName *string `json:"hostName,omitempty" azure:"ro"` // READ-ONLY; Provisioning status of the endpoint. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource status of the endpoint. ResourceState *EndpointResourceState `json:"resourceState,omitempty" azure:"ro"` }
EndpointProperties - The JSON object that contains the properties required to create an endpoint.
func (EndpointProperties) MarshalJSON ¶
func (e EndpointProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EndpointProperties.
type EndpointPropertiesUpdateParameters ¶
type EndpointPropertiesUpdateParameters struct { // List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress []*string `json:"contentTypesToCompress,omitempty"` // A reference to the origin group. DefaultOriginGroup *ResourceReference `json:"defaultOriginGroup,omitempty"` // A policy that specifies the delivery rules to be used for an endpoint. DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"` // 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"` // 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"` // 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"` // 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"` // 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. OptimizationType *OptimizationType `json:"optimizationType,omitempty"` // The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden // by the same property specified at origin.If // you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this // host header value to match the origin hostname by // default. OriginHostHeader *string `json:"originHostHeader,omitempty"` // 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"` // Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is // relative to the origin path. This property is only // relevant when using a single origin. ProbePath *string `json:"probePath,omitempty"` // 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. QueryStringCachingBehavior *QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"` // List of keys used to validate the signed URL hashes. URLSigningKeys []*URLSigningKey `json:"urlSigningKeys,omitempty"` // Defines the Web Application Firewall policy for the endpoint (if applicable) WebApplicationFirewallPolicyLink *EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"` }
EndpointPropertiesUpdateParameters - The JSON object containing endpoint update parameters.
func (EndpointPropertiesUpdateParameters) MarshalJSON ¶
func (e EndpointPropertiesUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EndpointPropertiesUpdateParameters.
type EndpointPropertiesUpdateParametersDeliveryPolicy ¶
type EndpointPropertiesUpdateParametersDeliveryPolicy struct { // REQUIRED; A list of the delivery rules. Rules []*DeliveryRule `json:"rules,omitempty"` // User-friendly description of the policy. Description *string `json:"description,omitempty"` }
EndpointPropertiesUpdateParametersDeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint.
func (EndpointPropertiesUpdateParametersDeliveryPolicy) MarshalJSON ¶
func (e EndpointPropertiesUpdateParametersDeliveryPolicy) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EndpointPropertiesUpdateParametersDeliveryPolicy.
type EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink ¶
type EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink struct { // Resource ID. ID *string `json:"id,omitempty"` }
EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink - Defines the Web Application Firewall policy for the endpoint (if applicable)
type EndpointResourceState ¶
type EndpointResourceState string
EndpointResourceState - Resource status of the endpoint.
const ( EndpointResourceStateCreating EndpointResourceState = "Creating" EndpointResourceStateDeleting EndpointResourceState = "Deleting" EndpointResourceStateRunning EndpointResourceState = "Running" EndpointResourceStateStarting EndpointResourceState = "Starting" EndpointResourceStateStopped EndpointResourceState = "Stopped" EndpointResourceStateStopping EndpointResourceState = "Stopping" )
func PossibleEndpointResourceStateValues ¶
func PossibleEndpointResourceStateValues() []EndpointResourceState
PossibleEndpointResourceStateValues returns the possible values for the EndpointResourceState const type.
func (EndpointResourceState) ToPtr ¶
func (c EndpointResourceState) ToPtr() *EndpointResourceState
ToPtr returns a *EndpointResourceState pointing to the current value.
type EndpointUpdateParameters ¶
type EndpointUpdateParameters struct { // The JSON object containing endpoint update parameters. Properties *EndpointPropertiesUpdateParameters `json:"properties,omitempty"` // Endpoint tags. Tags map[string]*string `json:"tags,omitempty"` }
EndpointUpdateParameters - Properties required to create or update an endpoint.
func (EndpointUpdateParameters) MarshalJSON ¶
func (e EndpointUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EndpointUpdateParameters.
type EndpointsBeginCreateOptions ¶
type EndpointsBeginCreateOptions struct { }
EndpointsBeginCreateOptions contains the optional parameters for the Endpoints.BeginCreate method.
type EndpointsBeginDeleteOptions ¶
type EndpointsBeginDeleteOptions struct { }
EndpointsBeginDeleteOptions contains the optional parameters for the Endpoints.BeginDelete method.
type EndpointsBeginLoadContentOptions ¶
type EndpointsBeginLoadContentOptions struct { }
EndpointsBeginLoadContentOptions contains the optional parameters for the Endpoints.BeginLoadContent method.
type EndpointsBeginPurgeContentOptions ¶
type EndpointsBeginPurgeContentOptions struct { }
EndpointsBeginPurgeContentOptions contains the optional parameters for the Endpoints.BeginPurgeContent method.
type EndpointsBeginStartOptions ¶
type EndpointsBeginStartOptions struct { }
EndpointsBeginStartOptions contains the optional parameters for the Endpoints.BeginStart method.
type EndpointsBeginStopOptions ¶
type EndpointsBeginStopOptions struct { }
EndpointsBeginStopOptions contains the optional parameters for the Endpoints.BeginStop method.
type EndpointsBeginUpdateOptions ¶
type EndpointsBeginUpdateOptions struct { }
EndpointsBeginUpdateOptions contains the optional parameters for the Endpoints.BeginUpdate method.
type EndpointsClient ¶
type EndpointsClient struct {
// contains filtered or unexported fields
}
EndpointsClient contains the methods for the Endpoints group. Don't use this type directly, use NewEndpointsClient() instead.
func NewEndpointsClient ¶
func NewEndpointsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *EndpointsClient
NewEndpointsClient creates a new instance of EndpointsClient with the specified values.
func (*EndpointsClient) BeginCreate ¶
func (client *EndpointsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint Endpoint, options *EndpointsBeginCreateOptions) (EndpointsCreatePollerResponse, error)
BeginCreate - Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) BeginDelete ¶
func (client *EndpointsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *EndpointsBeginDeleteOptions) (EndpointsDeletePollerResponse, error)
BeginDelete - Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) BeginLoadContent ¶
func (client *EndpointsClient) BeginLoadContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters, options *EndpointsBeginLoadContentOptions) (EndpointsLoadContentPollerResponse, error)
BeginLoadContent - Pre-loads a content to CDN. Available for Verizon Profiles. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) BeginPurgeContent ¶
func (client *EndpointsClient) BeginPurgeContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths PurgeParameters, options *EndpointsBeginPurgeContentOptions) (EndpointsPurgeContentPollerResponse, error)
BeginPurgeContent - Removes a content from CDN. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) BeginStart ¶
func (client *EndpointsClient) BeginStart(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *EndpointsBeginStartOptions) (EndpointsStartPollerResponse, error)
BeginStart - Starts an existing CDN endpoint that is on a stopped state. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) BeginStop ¶
func (client *EndpointsClient) BeginStop(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *EndpointsBeginStopOptions) (EndpointsStopPollerResponse, error)
BeginStop - Stops an existing running CDN endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) BeginUpdate ¶
func (client *EndpointsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties EndpointUpdateParameters, options *EndpointsBeginUpdateOptions) (EndpointsUpdatePollerResponse, error)
BeginUpdate - Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) Get ¶
func (client *EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, options *EndpointsGetOptions) (EndpointsGetResponse, error)
Get - Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) ListByProfile ¶
func (client *EndpointsClient) ListByProfile(resourceGroupName string, profileName string, options *EndpointsListByProfileOptions) *EndpointsListByProfilePager
ListByProfile - Lists existing CDN endpoints. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) ListResourceUsage ¶
func (client *EndpointsClient) ListResourceUsage(resourceGroupName string, profileName string, endpointName string, options *EndpointsListResourceUsageOptions) *EndpointsListResourceUsagePager
ListResourceUsage - Checks the quota and usage of geo filters and custom domains under the given endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*EndpointsClient) ValidateCustomDomain ¶
func (client *EndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties ValidateCustomDomainInput, options *EndpointsValidateCustomDomainOptions) (EndpointsValidateCustomDomainResponse, error)
ValidateCustomDomain - Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. If the operation fails it returns the *ErrorResponse error type.
type EndpointsCreatePoller ¶
type EndpointsCreatePoller struct {
// contains filtered or unexported fields
}
EndpointsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsCreatePoller) Done ¶
func (p *EndpointsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsCreatePoller) FinalResponse ¶
func (p *EndpointsCreatePoller) FinalResponse(ctx context.Context) (EndpointsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsCreateResponse will be returned.
func (*EndpointsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsCreatePoller) ResumeToken ¶
func (p *EndpointsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsCreatePollerResponse ¶
type EndpointsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsCreatePollerResponse contains the response from method Endpoints.Create.
func (EndpointsCreatePollerResponse) PollUntilDone ¶
func (l EndpointsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsCreatePollerResponse) Resume ¶
func (l *EndpointsCreatePollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsCreatePollerResponse from the provided client and resume token.
type EndpointsCreateResponse ¶
type EndpointsCreateResponse struct { EndpointsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsCreateResponse contains the response from method Endpoints.Create.
type EndpointsCreateResult ¶
type EndpointsCreateResult struct {
Endpoint
}
EndpointsCreateResult contains the result from method Endpoints.Create.
type EndpointsDeletePoller ¶
type EndpointsDeletePoller struct {
// contains filtered or unexported fields
}
EndpointsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsDeletePoller) Done ¶
func (p *EndpointsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsDeletePoller) FinalResponse ¶
func (p *EndpointsDeletePoller) FinalResponse(ctx context.Context) (EndpointsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsDeleteResponse will be returned.
func (*EndpointsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsDeletePoller) ResumeToken ¶
func (p *EndpointsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsDeletePollerResponse ¶
type EndpointsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsDeletePollerResponse contains the response from method Endpoints.Delete.
func (EndpointsDeletePollerResponse) PollUntilDone ¶
func (l EndpointsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsDeletePollerResponse) Resume ¶
func (l *EndpointsDeletePollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsDeletePollerResponse from the provided client and resume token.
type EndpointsDeleteResponse ¶
type EndpointsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsDeleteResponse contains the response from method Endpoints.Delete.
type EndpointsGetOptions ¶
type EndpointsGetOptions struct { }
EndpointsGetOptions contains the optional parameters for the Endpoints.Get method.
type EndpointsGetResponse ¶
type EndpointsGetResponse struct { EndpointsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsGetResponse contains the response from method Endpoints.Get.
type EndpointsGetResult ¶
type EndpointsGetResult struct {
Endpoint
}
EndpointsGetResult contains the result from method Endpoints.Get.
type EndpointsListByProfileOptions ¶
type EndpointsListByProfileOptions struct { }
EndpointsListByProfileOptions contains the optional parameters for the Endpoints.ListByProfile method.
type EndpointsListByProfilePager ¶
type EndpointsListByProfilePager struct {
// contains filtered or unexported fields
}
EndpointsListByProfilePager provides operations for iterating over paged responses.
func (*EndpointsListByProfilePager) Err ¶
func (p *EndpointsListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*EndpointsListByProfilePager) NextPage ¶
func (p *EndpointsListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*EndpointsListByProfilePager) PageResponse ¶
func (p *EndpointsListByProfilePager) PageResponse() EndpointsListByProfileResponse
PageResponse returns the current EndpointsListByProfileResponse page.
type EndpointsListByProfileResponse ¶
type EndpointsListByProfileResponse struct { EndpointsListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsListByProfileResponse contains the response from method Endpoints.ListByProfile.
type EndpointsListByProfileResult ¶
type EndpointsListByProfileResult struct {
EndpointListResult
}
EndpointsListByProfileResult contains the result from method Endpoints.ListByProfile.
type EndpointsListResourceUsageOptions ¶
type EndpointsListResourceUsageOptions struct { }
EndpointsListResourceUsageOptions contains the optional parameters for the Endpoints.ListResourceUsage method.
type EndpointsListResourceUsagePager ¶
type EndpointsListResourceUsagePager struct {
// contains filtered or unexported fields
}
EndpointsListResourceUsagePager provides operations for iterating over paged responses.
func (*EndpointsListResourceUsagePager) Err ¶
func (p *EndpointsListResourceUsagePager) Err() error
Err returns the last error encountered while paging.
func (*EndpointsListResourceUsagePager) NextPage ¶
func (p *EndpointsListResourceUsagePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*EndpointsListResourceUsagePager) PageResponse ¶
func (p *EndpointsListResourceUsagePager) PageResponse() EndpointsListResourceUsageResponse
PageResponse returns the current EndpointsListResourceUsageResponse page.
type EndpointsListResourceUsageResponse ¶
type EndpointsListResourceUsageResponse struct { EndpointsListResourceUsageResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsListResourceUsageResponse contains the response from method Endpoints.ListResourceUsage.
type EndpointsListResourceUsageResult ¶
type EndpointsListResourceUsageResult struct {
ResourceUsageListResult
}
EndpointsListResourceUsageResult contains the result from method Endpoints.ListResourceUsage.
type EndpointsLoadContentPoller ¶
type EndpointsLoadContentPoller struct {
// contains filtered or unexported fields
}
EndpointsLoadContentPoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsLoadContentPoller) Done ¶
func (p *EndpointsLoadContentPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsLoadContentPoller) FinalResponse ¶
func (p *EndpointsLoadContentPoller) FinalResponse(ctx context.Context) (EndpointsLoadContentResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsLoadContentResponse will be returned.
func (*EndpointsLoadContentPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsLoadContentPoller) ResumeToken ¶
func (p *EndpointsLoadContentPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsLoadContentPollerResponse ¶
type EndpointsLoadContentPollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsLoadContentPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsLoadContentPollerResponse contains the response from method Endpoints.LoadContent.
func (EndpointsLoadContentPollerResponse) PollUntilDone ¶
func (l EndpointsLoadContentPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsLoadContentResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsLoadContentPollerResponse) Resume ¶
func (l *EndpointsLoadContentPollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsLoadContentPollerResponse from the provided client and resume token.
type EndpointsLoadContentResponse ¶
type EndpointsLoadContentResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsLoadContentResponse contains the response from method Endpoints.LoadContent.
type EndpointsPurgeContentPoller ¶
type EndpointsPurgeContentPoller struct {
// contains filtered or unexported fields
}
EndpointsPurgeContentPoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsPurgeContentPoller) Done ¶
func (p *EndpointsPurgeContentPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsPurgeContentPoller) FinalResponse ¶
func (p *EndpointsPurgeContentPoller) FinalResponse(ctx context.Context) (EndpointsPurgeContentResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsPurgeContentResponse will be returned.
func (*EndpointsPurgeContentPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsPurgeContentPoller) ResumeToken ¶
func (p *EndpointsPurgeContentPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsPurgeContentPollerResponse ¶
type EndpointsPurgeContentPollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsPurgeContentPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsPurgeContentPollerResponse contains the response from method Endpoints.PurgeContent.
func (EndpointsPurgeContentPollerResponse) PollUntilDone ¶
func (l EndpointsPurgeContentPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsPurgeContentResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsPurgeContentPollerResponse) Resume ¶
func (l *EndpointsPurgeContentPollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsPurgeContentPollerResponse from the provided client and resume token.
type EndpointsPurgeContentResponse ¶
type EndpointsPurgeContentResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsPurgeContentResponse contains the response from method Endpoints.PurgeContent.
type EndpointsStartPoller ¶
type EndpointsStartPoller struct {
// contains filtered or unexported fields
}
EndpointsStartPoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsStartPoller) Done ¶
func (p *EndpointsStartPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsStartPoller) FinalResponse ¶
func (p *EndpointsStartPoller) FinalResponse(ctx context.Context) (EndpointsStartResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsStartResponse will be returned.
func (*EndpointsStartPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsStartPoller) ResumeToken ¶
func (p *EndpointsStartPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsStartPollerResponse ¶
type EndpointsStartPollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsStartPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsStartPollerResponse contains the response from method Endpoints.Start.
func (EndpointsStartPollerResponse) PollUntilDone ¶
func (l EndpointsStartPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsStartResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsStartPollerResponse) Resume ¶
func (l *EndpointsStartPollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsStartPollerResponse from the provided client and resume token.
type EndpointsStartResponse ¶
type EndpointsStartResponse struct { EndpointsStartResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsStartResponse contains the response from method Endpoints.Start.
type EndpointsStartResult ¶
type EndpointsStartResult struct {
Endpoint
}
EndpointsStartResult contains the result from method Endpoints.Start.
type EndpointsStopPoller ¶
type EndpointsStopPoller struct {
// contains filtered or unexported fields
}
EndpointsStopPoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsStopPoller) Done ¶
func (p *EndpointsStopPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsStopPoller) FinalResponse ¶
func (p *EndpointsStopPoller) FinalResponse(ctx context.Context) (EndpointsStopResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsStopResponse will be returned.
func (*EndpointsStopPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsStopPoller) ResumeToken ¶
func (p *EndpointsStopPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsStopPollerResponse ¶
type EndpointsStopPollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsStopPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsStopPollerResponse contains the response from method Endpoints.Stop.
func (EndpointsStopPollerResponse) PollUntilDone ¶
func (l EndpointsStopPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsStopResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsStopPollerResponse) Resume ¶
func (l *EndpointsStopPollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsStopPollerResponse from the provided client and resume token.
type EndpointsStopResponse ¶
type EndpointsStopResponse struct { EndpointsStopResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsStopResponse contains the response from method Endpoints.Stop.
type EndpointsStopResult ¶
type EndpointsStopResult struct {
Endpoint
}
EndpointsStopResult contains the result from method Endpoints.Stop.
type EndpointsUpdatePoller ¶
type EndpointsUpdatePoller struct {
// contains filtered or unexported fields
}
EndpointsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*EndpointsUpdatePoller) Done ¶
func (p *EndpointsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*EndpointsUpdatePoller) FinalResponse ¶
func (p *EndpointsUpdatePoller) FinalResponse(ctx context.Context) (EndpointsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final EndpointsUpdateResponse will be returned.
func (*EndpointsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*EndpointsUpdatePoller) ResumeToken ¶
func (p *EndpointsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type EndpointsUpdatePollerResponse ¶
type EndpointsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *EndpointsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsUpdatePollerResponse contains the response from method Endpoints.Update.
func (EndpointsUpdatePollerResponse) PollUntilDone ¶
func (l EndpointsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (EndpointsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*EndpointsUpdatePollerResponse) Resume ¶
func (l *EndpointsUpdatePollerResponse) Resume(ctx context.Context, client *EndpointsClient, token string) error
Resume rehydrates a EndpointsUpdatePollerResponse from the provided client and resume token.
type EndpointsUpdateResponse ¶
type EndpointsUpdateResponse struct { EndpointsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsUpdateResponse contains the response from method Endpoints.Update.
type EndpointsUpdateResult ¶
type EndpointsUpdateResult struct {
Endpoint
}
EndpointsUpdateResult contains the result from method Endpoints.Update.
type EndpointsValidateCustomDomainOptions ¶
type EndpointsValidateCustomDomainOptions struct { }
EndpointsValidateCustomDomainOptions contains the optional parameters for the Endpoints.ValidateCustomDomain method.
type EndpointsValidateCustomDomainResponse ¶
type EndpointsValidateCustomDomainResponse struct { EndpointsValidateCustomDomainResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
EndpointsValidateCustomDomainResponse contains the response from method Endpoints.ValidateCustomDomain.
type EndpointsValidateCustomDomainResult ¶
type EndpointsValidateCustomDomainResult struct {
ValidateCustomDomainOutput
}
EndpointsValidateCustomDomainResult contains the result from method Endpoints.ValidateCustomDomain.
type ErrorResponse ¶
type ErrorResponse struct { // READ-ONLY; Error code. Code *string `json:"code,omitempty" azure:"ro"` // READ-ONLY; Error message indicating why the operation failed. Message *string `json:"message,omitempty" azure:"ro"` // contains filtered or unexported fields }
ErrorResponse - Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message. Implements the error and azcore.HTTPResponse interfaces.
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
Error implements the error interface for type ErrorResponse. The contents of the error text are not contractual and subject to change.
type ForwardingProtocol ¶
type ForwardingProtocol string
ForwardingProtocol - Protocol this rule will use when forwarding traffic to backends.
const ( ForwardingProtocolHTTPOnly ForwardingProtocol = "HttpOnly" ForwardingProtocolHTTPSOnly ForwardingProtocol = "HttpsOnly" ForwardingProtocolMatchRequest ForwardingProtocol = "MatchRequest" )
func PossibleForwardingProtocolValues ¶
func PossibleForwardingProtocolValues() []ForwardingProtocol
PossibleForwardingProtocolValues returns the possible values for the ForwardingProtocol const type.
func (ForwardingProtocol) ToPtr ¶
func (c ForwardingProtocol) ToPtr() *ForwardingProtocol
ToPtr returns a *ForwardingProtocol pointing to the current value.
type GeoFilter ¶
type GeoFilter struct { // REQUIRED; Action of the geo filter, i.e. allow or block access. Action *GeoFilterActions `json:"action,omitempty"` // REQUIRED; Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US. CountryCodes []*string `json:"countryCodes,omitempty"` // REQUIRED; Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) RelativePath *string `json:"relativePath,omitempty"` }
GeoFilter - Rules defining user's geo access within a CDN endpoint.
func (GeoFilter) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type GeoFilter.
type GeoFilterActions ¶
type GeoFilterActions string
GeoFilterActions - Action of the geo filter, i.e. allow or block access.
const ( GeoFilterActionsBlock GeoFilterActions = "Block" GeoFilterActionsAllow GeoFilterActions = "Allow" )
func PossibleGeoFilterActionsValues ¶
func PossibleGeoFilterActionsValues() []GeoFilterActions
PossibleGeoFilterActionsValues returns the possible values for the GeoFilterActions const type.
func (GeoFilterActions) ToPtr ¶
func (c GeoFilterActions) ToPtr() *GeoFilterActions
ToPtr returns a *GeoFilterActions pointing to the current value.
type HTTPErrorRangeParameters ¶
type HTTPErrorRangeParameters struct { // The inclusive start of the http status code range. Begin *int32 `json:"begin,omitempty"` // The inclusive end of the http status code range. End *int32 `json:"end,omitempty"` }
HTTPErrorRangeParameters - The JSON object that represents the range for http status codes
type HTTPSRedirect ¶
type HTTPSRedirect string
HTTPSRedirect - Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.
const ( HTTPSRedirectDisabled HTTPSRedirect = "Disabled" HTTPSRedirectEnabled HTTPSRedirect = "Enabled" )
func PossibleHTTPSRedirectValues ¶
func PossibleHTTPSRedirectValues() []HTTPSRedirect
PossibleHTTPSRedirectValues returns the possible values for the HTTPSRedirect const type.
func (HTTPSRedirect) ToPtr ¶
func (c HTTPSRedirect) ToPtr() *HTTPSRedirect
ToPtr returns a *HTTPSRedirect pointing to the current value.
type HTTPVersionMatchConditionParameters ¶
type HTTPVersionMatchConditionParameters struct { // REQUIRED ODataType *HTTPVersionMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *HTTPVersionOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` }
HTTPVersionMatchConditionParameters - Defines the parameters for HttpVersion match conditions
func (HTTPVersionMatchConditionParameters) MarshalJSON ¶
func (h HTTPVersionMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HTTPVersionMatchConditionParameters.
type HTTPVersionMatchConditionParametersODataType ¶
type HTTPVersionMatchConditionParametersODataType string
const (
HTTPVersionMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleHTTPVersionConditionParameters HTTPVersionMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters"
)
func PossibleHTTPVersionMatchConditionParametersODataTypeValues ¶
func PossibleHTTPVersionMatchConditionParametersODataTypeValues() []HTTPVersionMatchConditionParametersODataType
PossibleHTTPVersionMatchConditionParametersODataTypeValues returns the possible values for the HTTPVersionMatchConditionParametersODataType const type.
func (HTTPVersionMatchConditionParametersODataType) ToPtr ¶
func (c HTTPVersionMatchConditionParametersODataType) ToPtr() *HTTPVersionMatchConditionParametersODataType
ToPtr returns a *HTTPVersionMatchConditionParametersODataType pointing to the current value.
type HTTPVersionOperator ¶
type HTTPVersionOperator string
HTTPVersionOperator - Describes operator to be matched
const (
HTTPVersionOperatorEqual HTTPVersionOperator = "Equal"
)
func PossibleHTTPVersionOperatorValues ¶
func PossibleHTTPVersionOperatorValues() []HTTPVersionOperator
PossibleHTTPVersionOperatorValues returns the possible values for the HTTPVersionOperator const type.
func (HTTPVersionOperator) ToPtr ¶
func (c HTTPVersionOperator) ToPtr() *HTTPVersionOperator
ToPtr returns a *HTTPVersionOperator pointing to the current value.
type HeaderAction ¶
type HeaderAction string
HeaderAction - Action to perform
const ( HeaderActionAppend HeaderAction = "Append" HeaderActionDelete HeaderAction = "Delete" HeaderActionOverwrite HeaderAction = "Overwrite" )
func PossibleHeaderActionValues ¶
func PossibleHeaderActionValues() []HeaderAction
PossibleHeaderActionValues returns the possible values for the HeaderAction const type.
func (HeaderAction) ToPtr ¶
func (c HeaderAction) ToPtr() *HeaderAction
ToPtr returns a *HeaderAction pointing to the current value.
type HeaderActionParameters ¶
type HeaderActionParameters struct { // REQUIRED; Action to perform HeaderAction *HeaderAction `json:"headerAction,omitempty"` // REQUIRED; Name of the header to modify HeaderName *string `json:"headerName,omitempty"` // REQUIRED ODataType *HeaderActionParametersODataType `json:"@odata.type,omitempty"` // Value for the specified action Value *string `json:"value,omitempty"` }
HeaderActionParameters - Defines the parameters for the request header action.
type HeaderActionParametersODataType ¶
type HeaderActionParametersODataType string
const (
HeaderActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleHeaderActionParameters HeaderActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
)
func PossibleHeaderActionParametersODataTypeValues ¶
func PossibleHeaderActionParametersODataTypeValues() []HeaderActionParametersODataType
PossibleHeaderActionParametersODataTypeValues returns the possible values for the HeaderActionParametersODataType const type.
func (HeaderActionParametersODataType) ToPtr ¶
func (c HeaderActionParametersODataType) ToPtr() *HeaderActionParametersODataType
ToPtr returns a *HeaderActionParametersODataType pointing to the current value.
type HealthProbeParameters ¶
type HealthProbeParameters struct { // The number of seconds between health probes.Default is 240sec. ProbeIntervalInSeconds *int32 `json:"probeIntervalInSeconds,omitempty"` // The path relative to the origin that is used to determine the health of the origin. ProbePath *string `json:"probePath,omitempty"` // Protocol to use for health probe. ProbeProtocol *ProbeProtocol `json:"probeProtocol,omitempty"` // The type of health probe request that is made. ProbeRequestType *HealthProbeRequestType `json:"probeRequestType,omitempty"` }
HealthProbeParameters - The JSON object that contains the properties to send health probes to origin.
type HealthProbeRequestType ¶
type HealthProbeRequestType string
HealthProbeRequestType - The type of health probe request that is made.
const ( HealthProbeRequestTypeNotSet HealthProbeRequestType = "NotSet" HealthProbeRequestTypeGET HealthProbeRequestType = "GET" HealthProbeRequestTypeHEAD HealthProbeRequestType = "HEAD" )
func PossibleHealthProbeRequestTypeValues ¶
func PossibleHealthProbeRequestTypeValues() []HealthProbeRequestType
PossibleHealthProbeRequestTypeValues returns the possible values for the HealthProbeRequestType const type.
func (HealthProbeRequestType) ToPtr ¶
func (c HealthProbeRequestType) ToPtr() *HealthProbeRequestType
ToPtr returns a *HealthProbeRequestType pointing to the current value.
type IPAddressGroup ¶
type IPAddressGroup struct { // The delivery region of the ip address group DeliveryRegion *string `json:"deliveryRegion,omitempty"` // The list of ip v4 addresses. IPv4Addresses []*CidrIPAddress `json:"ipv4Addresses,omitempty"` // The list of ip v6 addresses. IPv6Addresses []*CidrIPAddress `json:"ipv6Addresses,omitempty"` }
IPAddressGroup - CDN Ip address group
func (IPAddressGroup) MarshalJSON ¶
func (i IPAddressGroup) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IPAddressGroup.
type IdentityType ¶
type IdentityType string
IdentityType - The type of identity that creates/modifies resources
const ( IdentityTypeApplication IdentityType = "application" IdentityTypeKey IdentityType = "key" IdentityTypeManagedIdentity IdentityType = "managedIdentity" IdentityTypeUser IdentityType = "user" )
func PossibleIdentityTypeValues ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns the possible values for the IdentityType const type.
func (IdentityType) ToPtr ¶
func (c IdentityType) ToPtr() *IdentityType
ToPtr returns a *IdentityType pointing to the current value.
type IsDeviceMatchConditionParameters ¶
type IsDeviceMatchConditionParameters struct { // REQUIRED ODataType *IsDeviceMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *IsDeviceOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*IsDeviceMatchConditionParametersMatchValuesItem `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
IsDeviceMatchConditionParameters - Defines the parameters for IsDevice match conditions
func (IsDeviceMatchConditionParameters) MarshalJSON ¶
func (i IsDeviceMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IsDeviceMatchConditionParameters.
type IsDeviceMatchConditionParametersMatchValuesItem ¶
type IsDeviceMatchConditionParametersMatchValuesItem string
const ( IsDeviceMatchConditionParametersMatchValuesItemDesktop IsDeviceMatchConditionParametersMatchValuesItem = "Desktop" IsDeviceMatchConditionParametersMatchValuesItemMobile IsDeviceMatchConditionParametersMatchValuesItem = "Mobile" )
func PossibleIsDeviceMatchConditionParametersMatchValuesItemValues ¶
func PossibleIsDeviceMatchConditionParametersMatchValuesItemValues() []IsDeviceMatchConditionParametersMatchValuesItem
PossibleIsDeviceMatchConditionParametersMatchValuesItemValues returns the possible values for the IsDeviceMatchConditionParametersMatchValuesItem const type.
func (IsDeviceMatchConditionParametersMatchValuesItem) ToPtr ¶
func (c IsDeviceMatchConditionParametersMatchValuesItem) ToPtr() *IsDeviceMatchConditionParametersMatchValuesItem
ToPtr returns a *IsDeviceMatchConditionParametersMatchValuesItem pointing to the current value.
type IsDeviceMatchConditionParametersODataType ¶
type IsDeviceMatchConditionParametersODataType string
const (
IsDeviceMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleIsDeviceConditionParameters IsDeviceMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters"
)
func PossibleIsDeviceMatchConditionParametersODataTypeValues ¶
func PossibleIsDeviceMatchConditionParametersODataTypeValues() []IsDeviceMatchConditionParametersODataType
PossibleIsDeviceMatchConditionParametersODataTypeValues returns the possible values for the IsDeviceMatchConditionParametersODataType const type.
func (IsDeviceMatchConditionParametersODataType) ToPtr ¶
func (c IsDeviceMatchConditionParametersODataType) ToPtr() *IsDeviceMatchConditionParametersODataType
ToPtr returns a *IsDeviceMatchConditionParametersODataType pointing to the current value.
type IsDeviceOperator ¶
type IsDeviceOperator string
IsDeviceOperator - Describes operator to be matched
const (
IsDeviceOperatorEqual IsDeviceOperator = "Equal"
)
func PossibleIsDeviceOperatorValues ¶
func PossibleIsDeviceOperatorValues() []IsDeviceOperator
PossibleIsDeviceOperatorValues returns the possible values for the IsDeviceOperator const type.
func (IsDeviceOperator) ToPtr ¶
func (c IsDeviceOperator) ToPtr() *IsDeviceOperator
ToPtr returns a *IsDeviceOperator pointing to the current value.
type KeyVaultCertificateSourceParameters ¶
type KeyVaultCertificateSourceParameters struct { // REQUIRED; Describes the action that shall be taken when the certificate is removed from Key Vault. DeleteRule *DeleteRule `json:"deleteRule,omitempty"` // REQUIRED ODataType *KeyVaultCertificateSourceParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Resource group of the user's Key Vault containing the SSL certificate ResourceGroupName *string `json:"resourceGroupName,omitempty"` // REQUIRED; The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. SecretName *string `json:"secretName,omitempty"` // REQUIRED; Subscription Id of the user's Key Vault containing the SSL certificate SubscriptionID *string `json:"subscriptionId,omitempty"` // REQUIRED; Describes the action that shall be taken when the certificate is updated in Key Vault. UpdateRule *UpdateRule `json:"updateRule,omitempty"` // REQUIRED; The name of the user's Key Vault containing the SSL certificate VaultName *string `json:"vaultName,omitempty"` // The version(GUID) of Key Vault Secret in Key Vault. SecretVersion *string `json:"secretVersion,omitempty"` }
KeyVaultCertificateSourceParameters - Describes the parameters for using a user's KeyVault certificate for securing custom domain.
type KeyVaultCertificateSourceParametersODataType ¶
type KeyVaultCertificateSourceParametersODataType string
const (
KeyVaultCertificateSourceParametersODataTypeMicrosoftAzureCdnModelsKeyVaultCertificateSourceParameters KeyVaultCertificateSourceParametersODataType = "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"
)
func PossibleKeyVaultCertificateSourceParametersODataTypeValues ¶
func PossibleKeyVaultCertificateSourceParametersODataTypeValues() []KeyVaultCertificateSourceParametersODataType
PossibleKeyVaultCertificateSourceParametersODataTypeValues returns the possible values for the KeyVaultCertificateSourceParametersODataType const type.
func (KeyVaultCertificateSourceParametersODataType) ToPtr ¶
func (c KeyVaultCertificateSourceParametersODataType) ToPtr() *KeyVaultCertificateSourceParametersODataType
ToPtr returns a *KeyVaultCertificateSourceParametersODataType pointing to the current value.
type KeyVaultSigningKeyParameters ¶
type KeyVaultSigningKeyParameters struct { // REQUIRED ODataType *KeyVaultSigningKeyParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Resource group of the user's Key Vault containing the secret ResourceGroupName *string `json:"resourceGroupName,omitempty"` // REQUIRED; The name of secret in Key Vault. SecretName *string `json:"secretName,omitempty"` // REQUIRED; The version(GUID) of secret in Key Vault. SecretVersion *string `json:"secretVersion,omitempty"` // REQUIRED; Subscription Id of the user's Key Vault containing the secret SubscriptionID *string `json:"subscriptionId,omitempty"` // REQUIRED; The name of the user's Key Vault containing the secret VaultName *string `json:"vaultName,omitempty"` }
KeyVaultSigningKeyParameters - Describes the parameters for using a user's KeyVault for URL Signing Key.
type KeyVaultSigningKeyParametersODataType ¶
type KeyVaultSigningKeyParametersODataType string
const (
KeyVaultSigningKeyParametersODataTypeMicrosoftAzureCdnModelsKeyVaultSigningKeyParameters KeyVaultSigningKeyParametersODataType = "#Microsoft.Azure.Cdn.Models.KeyVaultSigningKeyParameters"
)
func PossibleKeyVaultSigningKeyParametersODataTypeValues ¶
func PossibleKeyVaultSigningKeyParametersODataTypeValues() []KeyVaultSigningKeyParametersODataType
PossibleKeyVaultSigningKeyParametersODataTypeValues returns the possible values for the KeyVaultSigningKeyParametersODataType const type.
func (KeyVaultSigningKeyParametersODataType) ToPtr ¶
func (c KeyVaultSigningKeyParametersODataType) ToPtr() *KeyVaultSigningKeyParametersODataType
ToPtr returns a *KeyVaultSigningKeyParametersODataType pointing to the current value.
type LinkToDefaultDomain ¶
type LinkToDefaultDomain string
LinkToDefaultDomain - whether this route will be linked to the default endpoint domain.
const ( LinkToDefaultDomainDisabled LinkToDefaultDomain = "Disabled" LinkToDefaultDomainEnabled LinkToDefaultDomain = "Enabled" )
func PossibleLinkToDefaultDomainValues ¶
func PossibleLinkToDefaultDomainValues() []LinkToDefaultDomain
PossibleLinkToDefaultDomainValues returns the possible values for the LinkToDefaultDomain const type.
func (LinkToDefaultDomain) ToPtr ¶
func (c LinkToDefaultDomain) ToPtr() *LinkToDefaultDomain
ToPtr returns a *LinkToDefaultDomain pointing to the current value.
type LoadBalancingSettingsParameters ¶
type LoadBalancingSettingsParameters struct { // The additional latency in milliseconds for probes to fall into the lowest latency bucket AdditionalLatencyInMilliseconds *int32 `json:"additionalLatencyInMilliseconds,omitempty"` // The number of samples to consider for load balancing decisions SampleSize *int32 `json:"sampleSize,omitempty"` // The number of samples within the sample period that must succeed SuccessfulSamplesRequired *int32 `json:"successfulSamplesRequired,omitempty"` }
LoadBalancingSettingsParameters - Round-Robin load balancing settings for a backend pool
type LoadParameters ¶
type LoadParameters struct { // REQUIRED; 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.
func (LoadParameters) MarshalJSON ¶
func (l LoadParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type LoadParameters.
type LogAnalyticsClient ¶
type LogAnalyticsClient struct {
// contains filtered or unexported fields
}
LogAnalyticsClient contains the methods for the LogAnalytics group. Don't use this type directly, use NewLogAnalyticsClient() instead.
func NewLogAnalyticsClient ¶
func NewLogAnalyticsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *LogAnalyticsClient
NewLogAnalyticsClient creates a new instance of LogAnalyticsClient with the specified values.
func (*LogAnalyticsClient) GetLogAnalyticsLocations ¶
func (client *LogAnalyticsClient) GetLogAnalyticsLocations(ctx context.Context, resourceGroupName string, profileName string, options *LogAnalyticsGetLogAnalyticsLocationsOptions) (LogAnalyticsGetLogAnalyticsLocationsResponse, error)
GetLogAnalyticsLocations - Get all available location names for AFD log analytics report. If the operation fails it returns the *AfdErrorResponse error type.
func (*LogAnalyticsClient) GetLogAnalyticsMetrics ¶
func (client *LogAnalyticsClient) GetLogAnalyticsMetrics(ctx context.Context, resourceGroupName string, profileName string, metrics []LogMetric, dateTimeBegin time.Time, dateTimeEnd time.Time, granularity LogMetricsGranularity, customDomains []string, protocols []string, options *LogAnalyticsGetLogAnalyticsMetricsOptions) (LogAnalyticsGetLogAnalyticsMetricsResponse, error)
GetLogAnalyticsMetrics - Get log report for AFD profile If the operation fails it returns the *AfdErrorResponse error type.
func (*LogAnalyticsClient) GetLogAnalyticsRankings ¶
func (client *LogAnalyticsClient) GetLogAnalyticsRankings(ctx context.Context, resourceGroupName string, profileName string, rankings []LogRanking, metrics []LogRankingMetric, maxRanking int32, dateTimeBegin time.Time, dateTimeEnd time.Time, options *LogAnalyticsGetLogAnalyticsRankingsOptions) (LogAnalyticsGetLogAnalyticsRankingsResponse, error)
GetLogAnalyticsRankings - Get log analytics ranking report for AFD profile If the operation fails it returns the *AfdErrorResponse error type.
func (*LogAnalyticsClient) GetLogAnalyticsResources ¶
func (client *LogAnalyticsClient) GetLogAnalyticsResources(ctx context.Context, resourceGroupName string, profileName string, options *LogAnalyticsGetLogAnalyticsResourcesOptions) (LogAnalyticsGetLogAnalyticsResourcesResponse, error)
GetLogAnalyticsResources - Get all endpoints and custom domains available for AFD log report If the operation fails it returns the *AfdErrorResponse error type.
func (*LogAnalyticsClient) GetWafLogAnalyticsMetrics ¶
func (client *LogAnalyticsClient) GetWafLogAnalyticsMetrics(ctx context.Context, resourceGroupName string, profileName string, metrics []WafMetric, dateTimeBegin time.Time, dateTimeEnd time.Time, granularity WafGranularity, options *LogAnalyticsGetWafLogAnalyticsMetricsOptions) (LogAnalyticsGetWafLogAnalyticsMetricsResponse, error)
GetWafLogAnalyticsMetrics - Get Waf related log analytics report for AFD profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*LogAnalyticsClient) GetWafLogAnalyticsRankings ¶
func (client *LogAnalyticsClient) GetWafLogAnalyticsRankings(ctx context.Context, resourceGroupName string, profileName string, metrics []WafMetric, dateTimeBegin time.Time, dateTimeEnd time.Time, maxRanking int32, rankings []WafRankingType, options *LogAnalyticsGetWafLogAnalyticsRankingsOptions) (LogAnalyticsGetWafLogAnalyticsRankingsResponse, error)
GetWafLogAnalyticsRankings - Get WAF log analytics charts for AFD profile If the operation fails it returns the *AfdErrorResponse error type.
type LogAnalyticsGetLogAnalyticsLocationsOptions ¶
type LogAnalyticsGetLogAnalyticsLocationsOptions struct { }
LogAnalyticsGetLogAnalyticsLocationsOptions contains the optional parameters for the LogAnalytics.GetLogAnalyticsLocations method.
type LogAnalyticsGetLogAnalyticsLocationsResponse ¶
type LogAnalyticsGetLogAnalyticsLocationsResponse struct { LogAnalyticsGetLogAnalyticsLocationsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
LogAnalyticsGetLogAnalyticsLocationsResponse contains the response from method LogAnalytics.GetLogAnalyticsLocations.
type LogAnalyticsGetLogAnalyticsLocationsResult ¶
type LogAnalyticsGetLogAnalyticsLocationsResult struct {
ContinentsResponse
}
LogAnalyticsGetLogAnalyticsLocationsResult contains the result from method LogAnalytics.GetLogAnalyticsLocations.
type LogAnalyticsGetLogAnalyticsMetricsOptions ¶
type LogAnalyticsGetLogAnalyticsMetricsOptions struct { Continents []string CountryOrRegions []string GroupBy []LogMetricsGroupBy }
LogAnalyticsGetLogAnalyticsMetricsOptions contains the optional parameters for the LogAnalytics.GetLogAnalyticsMetrics method.
type LogAnalyticsGetLogAnalyticsMetricsResponse ¶
type LogAnalyticsGetLogAnalyticsMetricsResponse struct { LogAnalyticsGetLogAnalyticsMetricsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
LogAnalyticsGetLogAnalyticsMetricsResponse contains the response from method LogAnalytics.GetLogAnalyticsMetrics.
type LogAnalyticsGetLogAnalyticsMetricsResult ¶
type LogAnalyticsGetLogAnalyticsMetricsResult struct {
MetricsResponse
}
LogAnalyticsGetLogAnalyticsMetricsResult contains the result from method LogAnalytics.GetLogAnalyticsMetrics.
type LogAnalyticsGetLogAnalyticsRankingsOptions ¶
type LogAnalyticsGetLogAnalyticsRankingsOptions struct {
CustomDomains []string
}
LogAnalyticsGetLogAnalyticsRankingsOptions contains the optional parameters for the LogAnalytics.GetLogAnalyticsRankings method.
type LogAnalyticsGetLogAnalyticsRankingsResponse ¶
type LogAnalyticsGetLogAnalyticsRankingsResponse struct { LogAnalyticsGetLogAnalyticsRankingsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
LogAnalyticsGetLogAnalyticsRankingsResponse contains the response from method LogAnalytics.GetLogAnalyticsRankings.
type LogAnalyticsGetLogAnalyticsRankingsResult ¶
type LogAnalyticsGetLogAnalyticsRankingsResult struct {
RankingsResponse
}
LogAnalyticsGetLogAnalyticsRankingsResult contains the result from method LogAnalytics.GetLogAnalyticsRankings.
type LogAnalyticsGetLogAnalyticsResourcesOptions ¶
type LogAnalyticsGetLogAnalyticsResourcesOptions struct { }
LogAnalyticsGetLogAnalyticsResourcesOptions contains the optional parameters for the LogAnalytics.GetLogAnalyticsResources method.
type LogAnalyticsGetLogAnalyticsResourcesResponse ¶
type LogAnalyticsGetLogAnalyticsResourcesResponse struct { LogAnalyticsGetLogAnalyticsResourcesResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
LogAnalyticsGetLogAnalyticsResourcesResponse contains the response from method LogAnalytics.GetLogAnalyticsResources.
type LogAnalyticsGetLogAnalyticsResourcesResult ¶
type LogAnalyticsGetLogAnalyticsResourcesResult struct {
ResourcesResponse
}
LogAnalyticsGetLogAnalyticsResourcesResult contains the result from method LogAnalytics.GetLogAnalyticsResources.
type LogAnalyticsGetWafLogAnalyticsMetricsOptions ¶
type LogAnalyticsGetWafLogAnalyticsMetricsOptions struct { Actions []WafAction GroupBy []WafRankingGroupBy RuleTypes []WafRuleType }
LogAnalyticsGetWafLogAnalyticsMetricsOptions contains the optional parameters for the LogAnalytics.GetWafLogAnalyticsMetrics method.
type LogAnalyticsGetWafLogAnalyticsMetricsResponse ¶
type LogAnalyticsGetWafLogAnalyticsMetricsResponse struct { LogAnalyticsGetWafLogAnalyticsMetricsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
LogAnalyticsGetWafLogAnalyticsMetricsResponse contains the response from method LogAnalytics.GetWafLogAnalyticsMetrics.
type LogAnalyticsGetWafLogAnalyticsMetricsResult ¶
type LogAnalyticsGetWafLogAnalyticsMetricsResult struct {
WafMetricsResponse
}
LogAnalyticsGetWafLogAnalyticsMetricsResult contains the result from method LogAnalytics.GetWafLogAnalyticsMetrics.
type LogAnalyticsGetWafLogAnalyticsRankingsOptions ¶
type LogAnalyticsGetWafLogAnalyticsRankingsOptions struct { Actions []WafAction RuleTypes []WafRuleType }
LogAnalyticsGetWafLogAnalyticsRankingsOptions contains the optional parameters for the LogAnalytics.GetWafLogAnalyticsRankings method.
type LogAnalyticsGetWafLogAnalyticsRankingsResponse ¶
type LogAnalyticsGetWafLogAnalyticsRankingsResponse struct { LogAnalyticsGetWafLogAnalyticsRankingsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
LogAnalyticsGetWafLogAnalyticsRankingsResponse contains the response from method LogAnalytics.GetWafLogAnalyticsRankings.
type LogAnalyticsGetWafLogAnalyticsRankingsResult ¶
type LogAnalyticsGetWafLogAnalyticsRankingsResult struct {
WafRankingsResponse
}
LogAnalyticsGetWafLogAnalyticsRankingsResult contains the result from method LogAnalytics.GetWafLogAnalyticsRankings.
type LogMetric ¶
type LogMetric string
const ( LogMetricClientRequestBandwidth LogMetric = "clientRequestBandwidth" LogMetricClientRequestCount LogMetric = "clientRequestCount" LogMetricClientRequestTraffic LogMetric = "clientRequestTraffic" LogMetricOriginRequestBandwidth LogMetric = "originRequestBandwidth" LogMetricOriginRequestTraffic LogMetric = "originRequestTraffic" LogMetricTotalLatency LogMetric = "totalLatency" )
func PossibleLogMetricValues ¶
func PossibleLogMetricValues() []LogMetric
PossibleLogMetricValues returns the possible values for the LogMetric const type.
type LogMetricsGranularity ¶
type LogMetricsGranularity string
const ( LogMetricsGranularityP1D LogMetricsGranularity = "P1D" LogMetricsGranularityPT1H LogMetricsGranularity = "PT1H" LogMetricsGranularityPT5M LogMetricsGranularity = "PT5M" )
func PossibleLogMetricsGranularityValues ¶
func PossibleLogMetricsGranularityValues() []LogMetricsGranularity
PossibleLogMetricsGranularityValues returns the possible values for the LogMetricsGranularity const type.
func (LogMetricsGranularity) ToPtr ¶
func (c LogMetricsGranularity) ToPtr() *LogMetricsGranularity
ToPtr returns a *LogMetricsGranularity pointing to the current value.
type LogMetricsGroupBy ¶
type LogMetricsGroupBy string
const ( LogMetricsGroupByCacheStatus LogMetricsGroupBy = "cacheStatus" LogMetricsGroupByCountry LogMetricsGroupBy = "country" LogMetricsGroupByCustomDomain LogMetricsGroupBy = "customDomain" LogMetricsGroupByHTTPStatusCode LogMetricsGroupBy = "httpStatusCode" LogMetricsGroupByProtocol LogMetricsGroupBy = "protocol" )
func PossibleLogMetricsGroupByValues ¶
func PossibleLogMetricsGroupByValues() []LogMetricsGroupBy
PossibleLogMetricsGroupByValues returns the possible values for the LogMetricsGroupBy const type.
func (LogMetricsGroupBy) ToPtr ¶
func (c LogMetricsGroupBy) ToPtr() *LogMetricsGroupBy
ToPtr returns a *LogMetricsGroupBy pointing to the current value.
type LogRanking ¶
type LogRanking string
const ( LogRankingBrowser LogRanking = "browser" LogRankingCountryOrRegion LogRanking = "countryOrRegion" LogRankingReferrer LogRanking = "referrer" LogRankingURL LogRanking = "url" LogRankingUserAgent LogRanking = "userAgent" )
func PossibleLogRankingValues ¶
func PossibleLogRankingValues() []LogRanking
PossibleLogRankingValues returns the possible values for the LogRanking const type.
func (LogRanking) ToPtr ¶
func (c LogRanking) ToPtr() *LogRanking
ToPtr returns a *LogRanking pointing to the current value.
type LogRankingMetric ¶
type LogRankingMetric string
const ( LogRankingMetricClientRequestCount LogRankingMetric = "clientRequestCount" LogRankingMetricClientRequestTraffic LogRankingMetric = "clientRequestTraffic" LogRankingMetricErrorCount LogRankingMetric = "errorCount" LogRankingMetricHitCount LogRankingMetric = "hitCount" LogRankingMetricMissCount LogRankingMetric = "missCount" LogRankingMetricUserErrorCount LogRankingMetric = "userErrorCount" )
func PossibleLogRankingMetricValues ¶
func PossibleLogRankingMetricValues() []LogRankingMetric
PossibleLogRankingMetricValues returns the possible values for the LogRankingMetric const type.
func (LogRankingMetric) ToPtr ¶
func (c LogRankingMetric) ToPtr() *LogRankingMetric
ToPtr returns a *LogRankingMetric pointing to the current value.
type ManagedCertificate ¶
type ManagedCertificate struct {
Certificate
}
ManagedCertificate - Managed Certificate used for https
type ManagedCertificateParameters ¶
type ManagedCertificateParameters struct {
SecretParameters
}
ManagedCertificateParameters - Managed Certificate used for https
func (ManagedCertificateParameters) MarshalJSON ¶
func (m ManagedCertificateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedCertificateParameters.
type ManagedRuleDefinition ¶
type ManagedRuleDefinition struct { // READ-ONLY; Describes the functionality of the managed rule. Description *string `json:"description,omitempty" azure:"ro"` // READ-ONLY; Identifier for the managed rule. RuleID *string `json:"ruleId,omitempty" azure:"ro"` }
ManagedRuleDefinition - Describes a managed rule definition.
type ManagedRuleEnabledState ¶
type ManagedRuleEnabledState string
ManagedRuleEnabledState - Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
const ( ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled" ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled" )
func PossibleManagedRuleEnabledStateValues ¶
func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState
PossibleManagedRuleEnabledStateValues returns the possible values for the ManagedRuleEnabledState const type.
func (ManagedRuleEnabledState) ToPtr ¶
func (c ManagedRuleEnabledState) ToPtr() *ManagedRuleEnabledState
ToPtr returns a *ManagedRuleEnabledState pointing to the current value.
type ManagedRuleGroupDefinition ¶
type ManagedRuleGroupDefinition struct { // READ-ONLY; Description of the managed rule group. Description *string `json:"description,omitempty" azure:"ro"` // READ-ONLY; Name of the managed rule group. RuleGroupName *string `json:"ruleGroupName,omitempty" azure:"ro"` // READ-ONLY; List of rules within the managed rule group. Rules []*ManagedRuleDefinition `json:"rules,omitempty" azure:"ro"` }
ManagedRuleGroupDefinition - Describes a managed rule group.
func (ManagedRuleGroupDefinition) MarshalJSON ¶
func (m ManagedRuleGroupDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleGroupDefinition.
type ManagedRuleGroupOverride ¶
type ManagedRuleGroupOverride struct { // REQUIRED; Describes the managed rule group within the rule set to override RuleGroupName *string `json:"ruleGroupName,omitempty"` // List of rules that will be disabled. If none specified, all rules in the group will be disabled. Rules []*ManagedRuleOverride `json:"rules,omitempty"` }
ManagedRuleGroupOverride - Defines a managed rule group override setting.
func (ManagedRuleGroupOverride) MarshalJSON ¶
func (m ManagedRuleGroupOverride) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleGroupOverride.
type ManagedRuleOverride ¶
type ManagedRuleOverride struct { // REQUIRED; Identifier for the managed rule. RuleID *string `json:"ruleId,omitempty"` // Describes the override action to be applied when rule matches. Action *ActionType `json:"action,omitempty"` // Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. EnabledState *ManagedRuleEnabledState `json:"enabledState,omitempty"` }
ManagedRuleOverride - Defines a managed rule group override setting.
type ManagedRuleSet ¶
type ManagedRuleSet struct { // REQUIRED; Defines the rule set type to use. RuleSetType *string `json:"ruleSetType,omitempty"` // REQUIRED; Defines the version of the rule set to use. RuleSetVersion *string `json:"ruleSetVersion,omitempty"` // Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests. AnomalyScore *int32 `json:"anomalyScore,omitempty"` // Defines the rule overrides to apply to the rule set. RuleGroupOverrides []*ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"` }
ManagedRuleSet - Defines a managed rule set.
func (ManagedRuleSet) MarshalJSON ¶
func (m ManagedRuleSet) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleSet.
type ManagedRuleSetDefinition ¶
type ManagedRuleSetDefinition struct { Resource // Describes managed rule set definition properties. Properties *ManagedRuleSetDefinitionProperties `json:"properties,omitempty"` // The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. SKU *SKU `json:"sku,omitempty"` }
ManagedRuleSetDefinition - Describes a managed rule set definition.
func (ManagedRuleSetDefinition) MarshalJSON ¶
func (m ManagedRuleSetDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleSetDefinition.
type ManagedRuleSetDefinitionList ¶
type ManagedRuleSetDefinitionList struct { // URL to retrieve next set of managed rule set definitions. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of managed rule set definitions. Value []*ManagedRuleSetDefinition `json:"value,omitempty" azure:"ro"` }
ManagedRuleSetDefinitionList - List of managed rule set definitions available for use in a policy.
func (ManagedRuleSetDefinitionList) MarshalJSON ¶
func (m ManagedRuleSetDefinitionList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleSetDefinitionList.
type ManagedRuleSetDefinitionProperties ¶
type ManagedRuleSetDefinitionProperties struct { // READ-ONLY; Provisioning state of the managed rule set. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Rule groups of the managed rule set. RuleGroups []*ManagedRuleGroupDefinition `json:"ruleGroups,omitempty" azure:"ro"` // READ-ONLY; Type of the managed rule set. RuleSetType *string `json:"ruleSetType,omitempty" azure:"ro"` // READ-ONLY; Version of the managed rule set type. RuleSetVersion *string `json:"ruleSetVersion,omitempty" azure:"ro"` }
ManagedRuleSetDefinitionProperties - Properties for a managed rule set definition.
func (ManagedRuleSetDefinitionProperties) MarshalJSON ¶
func (m ManagedRuleSetDefinitionProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleSetDefinitionProperties.
type ManagedRuleSetList ¶
type ManagedRuleSetList struct { // List of rule sets. ManagedRuleSets []*ManagedRuleSet `json:"managedRuleSets,omitempty"` }
ManagedRuleSetList - Defines the list of managed rule sets for the policy.
func (ManagedRuleSetList) MarshalJSON ¶
func (m ManagedRuleSetList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedRuleSetList.
type ManagedRuleSetsClient ¶
type ManagedRuleSetsClient struct {
// contains filtered or unexported fields
}
ManagedRuleSetsClient contains the methods for the ManagedRuleSets group. Don't use this type directly, use NewManagedRuleSetsClient() instead.
func NewManagedRuleSetsClient ¶
func NewManagedRuleSetsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *ManagedRuleSetsClient
NewManagedRuleSetsClient creates a new instance of ManagedRuleSetsClient with the specified values.
func (*ManagedRuleSetsClient) List ¶
func (client *ManagedRuleSetsClient) List(options *ManagedRuleSetsListOptions) *ManagedRuleSetsListPager
List - Lists all available managed rule sets. If the operation fails it returns the *ErrorResponse error type.
type ManagedRuleSetsListOptions ¶
type ManagedRuleSetsListOptions struct { }
ManagedRuleSetsListOptions contains the optional parameters for the ManagedRuleSets.List method.
type ManagedRuleSetsListPager ¶
type ManagedRuleSetsListPager struct {
// contains filtered or unexported fields
}
ManagedRuleSetsListPager provides operations for iterating over paged responses.
func (*ManagedRuleSetsListPager) Err ¶
func (p *ManagedRuleSetsListPager) Err() error
Err returns the last error encountered while paging.
func (*ManagedRuleSetsListPager) NextPage ¶
func (p *ManagedRuleSetsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ManagedRuleSetsListPager) PageResponse ¶
func (p *ManagedRuleSetsListPager) PageResponse() ManagedRuleSetsListResponse
PageResponse returns the current ManagedRuleSetsListResponse page.
type ManagedRuleSetsListResponse ¶
type ManagedRuleSetsListResponse struct { ManagedRuleSetsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ManagedRuleSetsListResponse contains the response from method ManagedRuleSets.List.
type ManagedRuleSetsListResult ¶
type ManagedRuleSetsListResult struct {
ManagedRuleSetDefinitionList
}
ManagedRuleSetsListResult contains the result from method ManagedRuleSets.List.
type MatchCondition ¶
type MatchCondition struct { // REQUIRED; List of possible match values. MatchValue []*string `json:"matchValue,omitempty"` // REQUIRED; Match variable to compare against. MatchVariable *MatchVariable `json:"matchVariable,omitempty"` // REQUIRED; Describes operator to be matched Operator *Operator `json:"operator,omitempty"` // Describes if the result of this condition should be negated. NegateCondition *bool `json:"negateCondition,omitempty"` // Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. Selector *string `json:"selector,omitempty"` // List of transforms. Transforms []*TransformType `json:"transforms,omitempty"` }
MatchCondition - Define match conditions
func (MatchCondition) MarshalJSON ¶
func (m MatchCondition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MatchCondition.
type MatchProcessingBehavior ¶
type MatchProcessingBehavior string
MatchProcessingBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
const ( MatchProcessingBehaviorContinue MatchProcessingBehavior = "Continue" MatchProcessingBehaviorStop MatchProcessingBehavior = "Stop" )
func PossibleMatchProcessingBehaviorValues ¶
func PossibleMatchProcessingBehaviorValues() []MatchProcessingBehavior
PossibleMatchProcessingBehaviorValues returns the possible values for the MatchProcessingBehavior const type.
func (MatchProcessingBehavior) ToPtr ¶
func (c MatchProcessingBehavior) ToPtr() *MatchProcessingBehavior
ToPtr returns a *MatchProcessingBehavior pointing to the current value.
type MatchVariable ¶
type MatchVariable string
MatchVariable - The name of the condition for the delivery rule.
const ( MatchVariableCookies MatchVariable = "Cookies" MatchVariableHTTPVersion MatchVariable = "HttpVersion" MatchVariableIsDevice MatchVariable = "IsDevice" MatchVariablePostArgs MatchVariable = "PostArgs" MatchVariableQueryString MatchVariable = "QueryString" MatchVariableRemoteAddr MatchVariable = "RemoteAddr" MatchVariableRemoteAddress MatchVariable = "RemoteAddress" MatchVariableRequestBody MatchVariable = "RequestBody" MatchVariableRequestHeader MatchVariable = "RequestHeader" MatchVariableRequestMethod MatchVariable = "RequestMethod" MatchVariableRequestScheme MatchVariable = "RequestScheme" MatchVariableRequestURI MatchVariable = "RequestUri" MatchVariableSocketAddr MatchVariable = "SocketAddr" MatchVariableURLFileExtension MatchVariable = "UrlFileExtension" MatchVariableURLFileName MatchVariable = "UrlFileName" MatchVariableURLPath MatchVariable = "UrlPath" )
func PossibleMatchVariableValues ¶
func PossibleMatchVariableValues() []MatchVariable
PossibleMatchVariableValues returns the possible values for the MatchVariable const type.
func (MatchVariable) ToPtr ¶
func (c MatchVariable) ToPtr() *MatchVariable
ToPtr returns a *MatchVariable pointing to the current value.
type MetricsResponse ¶
type MetricsResponse struct { DateTimeBegin *time.Time `json:"dateTimeBegin,omitempty"` DateTimeEnd *time.Time `json:"dateTimeEnd,omitempty"` Granularity *MetricsResponseGranularity `json:"granularity,omitempty"` Series []*MetricsResponseSeriesItem `json:"series,omitempty"` }
MetricsResponse - Metrics Response
func (MetricsResponse) MarshalJSON ¶
func (m MetricsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MetricsResponse.
func (*MetricsResponse) UnmarshalJSON ¶
func (m *MetricsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MetricsResponse.
type MetricsResponseGranularity ¶
type MetricsResponseGranularity string
const ( MetricsResponseGranularityP1D MetricsResponseGranularity = "P1D" MetricsResponseGranularityPT1H MetricsResponseGranularity = "PT1H" MetricsResponseGranularityPT5M MetricsResponseGranularity = "PT5M" )
func PossibleMetricsResponseGranularityValues ¶
func PossibleMetricsResponseGranularityValues() []MetricsResponseGranularity
PossibleMetricsResponseGranularityValues returns the possible values for the MetricsResponseGranularity const type.
func (MetricsResponseGranularity) ToPtr ¶
func (c MetricsResponseGranularity) ToPtr() *MetricsResponseGranularity
ToPtr returns a *MetricsResponseGranularity pointing to the current value.
type MetricsResponseSeriesItem ¶
type MetricsResponseSeriesItem struct { Data []*Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems `json:"data,omitempty"` Groups []*MetricsResponseSeriesPropertiesItemsItem `json:"groups,omitempty"` Metric *string `json:"metric,omitempty"` Unit *MetricsResponseSeriesItemUnit `json:"unit,omitempty"` }
func (MetricsResponseSeriesItem) MarshalJSON ¶
func (m MetricsResponseSeriesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MetricsResponseSeriesItem.
type MetricsResponseSeriesItemUnit ¶
type MetricsResponseSeriesItemUnit string
const ( MetricsResponseSeriesItemUnitBitsPerSecond MetricsResponseSeriesItemUnit = "bitsPerSecond" MetricsResponseSeriesItemUnitBytes MetricsResponseSeriesItemUnit = "bytes" MetricsResponseSeriesItemUnitCount MetricsResponseSeriesItemUnit = "count" )
func PossibleMetricsResponseSeriesItemUnitValues ¶
func PossibleMetricsResponseSeriesItemUnitValues() []MetricsResponseSeriesItemUnit
PossibleMetricsResponseSeriesItemUnitValues returns the possible values for the MetricsResponseSeriesItemUnit const type.
func (MetricsResponseSeriesItemUnit) ToPtr ¶
func (c MetricsResponseSeriesItemUnit) ToPtr() *MetricsResponseSeriesItemUnit
ToPtr returns a *MetricsResponseSeriesItemUnit pointing to the current value.
type MinimumTLSVersion ¶
type MinimumTLSVersion string
MinimumTLSVersion - TLS protocol version that will be used for Https
const ( MinimumTLSVersionNone MinimumTLSVersion = "None" MinimumTLSVersionTLS10 MinimumTLSVersion = "TLS10" MinimumTLSVersionTLS12 MinimumTLSVersion = "TLS12" )
func PossibleMinimumTLSVersionValues ¶
func PossibleMinimumTLSVersionValues() []MinimumTLSVersion
PossibleMinimumTLSVersionValues returns the possible values for the MinimumTLSVersion const type.
func (MinimumTLSVersion) ToPtr ¶
func (c MinimumTLSVersion) ToPtr() *MinimumTLSVersion
ToPtr returns a *MinimumTLSVersion pointing to the current value.
type Operation ¶
type Operation struct { // The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` // READ-ONLY; Operation name: {provider}/{resource}/{operation} Name *string `json:"name,omitempty" azure:"ro"` }
Operation - CDN REST API operation
type OperationDisplay ¶
type OperationDisplay struct { // READ-ONLY; Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty" azure:"ro"` // READ-ONLY; Service provider: Microsoft.Cdn Provider *string `json:"provider,omitempty" azure:"ro"` // READ-ONLY; Resource on which the operation is performed: Profile, endpoint, etc. Resource *string `json:"resource,omitempty" azure:"ro"` }
OperationDisplay - The object that represents the operation.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *OperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values.
func (*OperationsClient) List ¶
func (client *OperationsClient) List(options *OperationsListOptions) *OperationsListPager
List - Lists all of the available CDN REST API operations. If the operation fails it returns the *ErrorResponse error type.
type OperationsListOptions ¶
type OperationsListOptions struct { }
OperationsListOptions contains the optional parameters for the Operations.List method.
type OperationsListPager ¶
type OperationsListPager struct {
// contains filtered or unexported fields
}
OperationsListPager provides operations for iterating over paged responses.
func (*OperationsListPager) Err ¶
func (p *OperationsListPager) Err() error
Err returns the last error encountered while paging.
func (*OperationsListPager) NextPage ¶
func (p *OperationsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*OperationsListPager) PageResponse ¶
func (p *OperationsListPager) PageResponse() OperationsListResponse
PageResponse returns the current OperationsListResponse page.
type OperationsListResponse ¶
type OperationsListResponse struct { OperationsListResultEnvelope // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OperationsListResponse contains the response from method Operations.List.
type OperationsListResult ¶
type OperationsListResult struct { // URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN operations supported by the CDN resource provider. Value []*Operation `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (o OperationsListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationsListResult.
type OperationsListResultEnvelope ¶
type OperationsListResultEnvelope struct {
OperationsListResult
}
OperationsListResultEnvelope contains the result from method Operations.List.
type Operator ¶
type Operator string
Operator - Describes operator to be matched
const ( OperatorAny Operator = "Any" OperatorBeginsWith Operator = "BeginsWith" OperatorContains Operator = "Contains" OperatorEndsWith Operator = "EndsWith" OperatorEqual Operator = "Equal" OperatorGeoMatch Operator = "GeoMatch" OperatorGreaterThan Operator = "GreaterThan" OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual" OperatorIPMatch Operator = "IPMatch" OperatorLessThan Operator = "LessThan" OperatorLessThanOrEqual Operator = "LessThanOrEqual" OperatorRegEx Operator = "RegEx" )
func PossibleOperatorValues ¶
func PossibleOperatorValues() []Operator
PossibleOperatorValues returns the possible values for the Operator const type.
type OptimizationType ¶
type OptimizationType string
OptimizationType - Specifies what scenario the customer wants this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization.
const ( OptimizationTypeDynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration" OptimizationTypeGeneralMediaStreaming OptimizationType = "GeneralMediaStreaming" OptimizationTypeGeneralWebDelivery OptimizationType = "GeneralWebDelivery" OptimizationTypeLargeFileDownload OptimizationType = "LargeFileDownload" OptimizationTypeVideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming" )
func PossibleOptimizationTypeValues ¶
func PossibleOptimizationTypeValues() []OptimizationType
PossibleOptimizationTypeValues returns the possible values for the OptimizationType const type.
func (OptimizationType) ToPtr ¶
func (c OptimizationType) ToPtr() *OptimizationType
ToPtr returns a *OptimizationType pointing to the current value.
type Origin ¶
type Origin struct { ProxyResource // The JSON object that contains the properties of the origin. Properties *OriginProperties `json:"properties,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 implements the json.Marshaller interface for type Origin.
type OriginGroup ¶
type OriginGroup struct { ProxyResource // The JSON object that contains the properties of the origin group. Properties *OriginGroupProperties `json:"properties,omitempty"` }
OriginGroup - Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.
func (OriginGroup) MarshalJSON ¶
func (o OriginGroup) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginGroup.
type OriginGroupListResult ¶
type OriginGroupListResult struct { // URL to get the next set of origin objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN origin groups within an endpoint Value []*OriginGroup `json:"value,omitempty" azure:"ro"` }
OriginGroupListResult - Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results.
func (OriginGroupListResult) MarshalJSON ¶
func (o OriginGroupListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginGroupListResult.
type OriginGroupOverrideAction ¶
type OriginGroupOverrideAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *OriginGroupOverrideActionParameters `json:"parameters,omitempty"` }
OriginGroupOverrideAction - Defines the origin group override action for the delivery rule.
func (OriginGroupOverrideAction) MarshalJSON ¶
func (o OriginGroupOverrideAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginGroupOverrideAction.
func (*OriginGroupOverrideAction) UnmarshalJSON ¶
func (o *OriginGroupOverrideAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OriginGroupOverrideAction.
type OriginGroupOverrideActionParameters ¶
type OriginGroupOverrideActionParameters struct { // REQUIRED ODataType *OriginGroupOverrideActionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; defines the OriginGroup that would override the DefaultOriginGroup. OriginGroup *ResourceReference `json:"originGroup,omitempty"` }
OriginGroupOverrideActionParameters - Defines the parameters for the origin group override action.
type OriginGroupOverrideActionParametersODataType ¶
type OriginGroupOverrideActionParametersODataType string
const (
OriginGroupOverrideActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleOriginGroupOverrideActionParameters OriginGroupOverrideActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleOriginGroupOverrideActionParameters"
)
func PossibleOriginGroupOverrideActionParametersODataTypeValues ¶
func PossibleOriginGroupOverrideActionParametersODataTypeValues() []OriginGroupOverrideActionParametersODataType
PossibleOriginGroupOverrideActionParametersODataTypeValues returns the possible values for the OriginGroupOverrideActionParametersODataType const type.
func (OriginGroupOverrideActionParametersODataType) ToPtr ¶
func (c OriginGroupOverrideActionParametersODataType) ToPtr() *OriginGroupOverrideActionParametersODataType
ToPtr returns a *OriginGroupOverrideActionParametersODataType pointing to the current value.
type OriginGroupProperties ¶
type OriginGroupProperties struct { OriginGroupUpdatePropertiesParameters // READ-ONLY; Provisioning status of the origin group. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource status of the origin group. ResourceState *OriginGroupResourceState `json:"resourceState,omitempty" azure:"ro"` }
OriginGroupProperties - The JSON object that contains the properties of the origin group.
func (OriginGroupProperties) MarshalJSON ¶
func (o OriginGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginGroupProperties.
type OriginGroupResourceState ¶
type OriginGroupResourceState string
OriginGroupResourceState - Resource status of the origin group.
const ( OriginGroupResourceStateActive OriginGroupResourceState = "Active" OriginGroupResourceStateCreating OriginGroupResourceState = "Creating" OriginGroupResourceStateDeleting OriginGroupResourceState = "Deleting" )
func PossibleOriginGroupResourceStateValues ¶
func PossibleOriginGroupResourceStateValues() []OriginGroupResourceState
PossibleOriginGroupResourceStateValues returns the possible values for the OriginGroupResourceState const type.
func (OriginGroupResourceState) ToPtr ¶
func (c OriginGroupResourceState) ToPtr() *OriginGroupResourceState
ToPtr returns a *OriginGroupResourceState pointing to the current value.
type OriginGroupUpdateParameters ¶
type OriginGroupUpdateParameters struct { // The JSON object that contains the properties of the origin group. Properties *OriginGroupUpdatePropertiesParameters `json:"properties,omitempty"` }
OriginGroupUpdateParameters - Origin group properties needed for origin group creation or update.
func (OriginGroupUpdateParameters) MarshalJSON ¶
func (o OriginGroupUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginGroupUpdateParameters.
type OriginGroupUpdatePropertiesParameters ¶
type OriginGroupUpdatePropertiesParameters struct { // Health probe settings to the origin that is used to determine the health of the origin. HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` // The source of the content being delivered via CDN within given origin group. Origins []*ResourceReference `json:"origins,omitempty"` // The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"` // Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. // This property is currently not supported. TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
OriginGroupUpdatePropertiesParameters - The JSON object that contains the properties of the origin group.
func (OriginGroupUpdatePropertiesParameters) MarshalJSON ¶
func (o OriginGroupUpdatePropertiesParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginGroupUpdatePropertiesParameters.
type OriginGroupsBeginCreateOptions ¶
type OriginGroupsBeginCreateOptions struct { }
OriginGroupsBeginCreateOptions contains the optional parameters for the OriginGroups.BeginCreate method.
type OriginGroupsBeginDeleteOptions ¶
type OriginGroupsBeginDeleteOptions struct { }
OriginGroupsBeginDeleteOptions contains the optional parameters for the OriginGroups.BeginDelete method.
type OriginGroupsBeginUpdateOptions ¶
type OriginGroupsBeginUpdateOptions struct { }
OriginGroupsBeginUpdateOptions contains the optional parameters for the OriginGroups.BeginUpdate method.
type OriginGroupsClient ¶
type OriginGroupsClient struct {
// contains filtered or unexported fields
}
OriginGroupsClient contains the methods for the OriginGroups group. Don't use this type directly, use NewOriginGroupsClient() instead.
func NewOriginGroupsClient ¶
func NewOriginGroupsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *OriginGroupsClient
NewOriginGroupsClient creates a new instance of OriginGroupsClient with the specified values.
func (*OriginGroupsClient) BeginCreate ¶
func (client *OriginGroupsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroup OriginGroup, options *OriginGroupsBeginCreateOptions) (OriginGroupsCreatePollerResponse, error)
BeginCreate - Creates a new origin group within the specified endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginGroupsClient) BeginDelete ¶
func (client *OriginGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, options *OriginGroupsBeginDeleteOptions) (OriginGroupsDeletePollerResponse, error)
BeginDelete - Deletes an existing origin group within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginGroupsClient) BeginUpdate ¶
func (client *OriginGroupsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroupUpdateProperties OriginGroupUpdateParameters, options *OriginGroupsBeginUpdateOptions) (OriginGroupsUpdatePollerResponse, error)
BeginUpdate - Updates an existing origin group within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginGroupsClient) Get ¶
func (client *OriginGroupsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, options *OriginGroupsGetOptions) (OriginGroupsGetResponse, error)
Get - Gets an existing origin group within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginGroupsClient) ListByEndpoint ¶
func (client *OriginGroupsClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, options *OriginGroupsListByEndpointOptions) *OriginGroupsListByEndpointPager
ListByEndpoint - Lists all of the existing origin groups within an endpoint. If the operation fails it returns the *ErrorResponse error type.
type OriginGroupsCreatePoller ¶
type OriginGroupsCreatePoller struct {
// contains filtered or unexported fields
}
OriginGroupsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*OriginGroupsCreatePoller) Done ¶
func (p *OriginGroupsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*OriginGroupsCreatePoller) FinalResponse ¶
func (p *OriginGroupsCreatePoller) FinalResponse(ctx context.Context) (OriginGroupsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final OriginGroupsCreateResponse will be returned.
func (*OriginGroupsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*OriginGroupsCreatePoller) ResumeToken ¶
func (p *OriginGroupsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type OriginGroupsCreatePollerResponse ¶
type OriginGroupsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *OriginGroupsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsCreatePollerResponse contains the response from method OriginGroups.Create.
func (OriginGroupsCreatePollerResponse) PollUntilDone ¶
func (l OriginGroupsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (OriginGroupsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*OriginGroupsCreatePollerResponse) Resume ¶
func (l *OriginGroupsCreatePollerResponse) Resume(ctx context.Context, client *OriginGroupsClient, token string) error
Resume rehydrates a OriginGroupsCreatePollerResponse from the provided client and resume token.
type OriginGroupsCreateResponse ¶
type OriginGroupsCreateResponse struct { OriginGroupsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsCreateResponse contains the response from method OriginGroups.Create.
type OriginGroupsCreateResult ¶
type OriginGroupsCreateResult struct {
OriginGroup
}
OriginGroupsCreateResult contains the result from method OriginGroups.Create.
type OriginGroupsDeletePoller ¶
type OriginGroupsDeletePoller struct {
// contains filtered or unexported fields
}
OriginGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*OriginGroupsDeletePoller) Done ¶
func (p *OriginGroupsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*OriginGroupsDeletePoller) FinalResponse ¶
func (p *OriginGroupsDeletePoller) FinalResponse(ctx context.Context) (OriginGroupsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final OriginGroupsDeleteResponse will be returned.
func (*OriginGroupsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*OriginGroupsDeletePoller) ResumeToken ¶
func (p *OriginGroupsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type OriginGroupsDeletePollerResponse ¶
type OriginGroupsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *OriginGroupsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsDeletePollerResponse contains the response from method OriginGroups.Delete.
func (OriginGroupsDeletePollerResponse) PollUntilDone ¶
func (l OriginGroupsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (OriginGroupsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*OriginGroupsDeletePollerResponse) Resume ¶
func (l *OriginGroupsDeletePollerResponse) Resume(ctx context.Context, client *OriginGroupsClient, token string) error
Resume rehydrates a OriginGroupsDeletePollerResponse from the provided client and resume token.
type OriginGroupsDeleteResponse ¶
type OriginGroupsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsDeleteResponse contains the response from method OriginGroups.Delete.
type OriginGroupsGetOptions ¶
type OriginGroupsGetOptions struct { }
OriginGroupsGetOptions contains the optional parameters for the OriginGroups.Get method.
type OriginGroupsGetResponse ¶
type OriginGroupsGetResponse struct { OriginGroupsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsGetResponse contains the response from method OriginGroups.Get.
type OriginGroupsGetResult ¶
type OriginGroupsGetResult struct {
OriginGroup
}
OriginGroupsGetResult contains the result from method OriginGroups.Get.
type OriginGroupsListByEndpointOptions ¶
type OriginGroupsListByEndpointOptions struct { }
OriginGroupsListByEndpointOptions contains the optional parameters for the OriginGroups.ListByEndpoint method.
type OriginGroupsListByEndpointPager ¶
type OriginGroupsListByEndpointPager struct {
// contains filtered or unexported fields
}
OriginGroupsListByEndpointPager provides operations for iterating over paged responses.
func (*OriginGroupsListByEndpointPager) Err ¶
func (p *OriginGroupsListByEndpointPager) Err() error
Err returns the last error encountered while paging.
func (*OriginGroupsListByEndpointPager) NextPage ¶
func (p *OriginGroupsListByEndpointPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*OriginGroupsListByEndpointPager) PageResponse ¶
func (p *OriginGroupsListByEndpointPager) PageResponse() OriginGroupsListByEndpointResponse
PageResponse returns the current OriginGroupsListByEndpointResponse page.
type OriginGroupsListByEndpointResponse ¶
type OriginGroupsListByEndpointResponse struct { OriginGroupsListByEndpointResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsListByEndpointResponse contains the response from method OriginGroups.ListByEndpoint.
type OriginGroupsListByEndpointResult ¶
type OriginGroupsListByEndpointResult struct {
OriginGroupListResult
}
OriginGroupsListByEndpointResult contains the result from method OriginGroups.ListByEndpoint.
type OriginGroupsUpdatePoller ¶
type OriginGroupsUpdatePoller struct {
// contains filtered or unexported fields
}
OriginGroupsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*OriginGroupsUpdatePoller) Done ¶
func (p *OriginGroupsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*OriginGroupsUpdatePoller) FinalResponse ¶
func (p *OriginGroupsUpdatePoller) FinalResponse(ctx context.Context) (OriginGroupsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final OriginGroupsUpdateResponse will be returned.
func (*OriginGroupsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*OriginGroupsUpdatePoller) ResumeToken ¶
func (p *OriginGroupsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type OriginGroupsUpdatePollerResponse ¶
type OriginGroupsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *OriginGroupsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsUpdatePollerResponse contains the response from method OriginGroups.Update.
func (OriginGroupsUpdatePollerResponse) PollUntilDone ¶
func (l OriginGroupsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (OriginGroupsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*OriginGroupsUpdatePollerResponse) Resume ¶
func (l *OriginGroupsUpdatePollerResponse) Resume(ctx context.Context, client *OriginGroupsClient, token string) error
Resume rehydrates a OriginGroupsUpdatePollerResponse from the provided client and resume token.
type OriginGroupsUpdateResponse ¶
type OriginGroupsUpdateResponse struct { OriginGroupsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginGroupsUpdateResponse contains the response from method OriginGroups.Update.
type OriginGroupsUpdateResult ¶
type OriginGroupsUpdateResult struct {
OriginGroup
}
OriginGroupsUpdateResult contains the result from method OriginGroups.Update.
type OriginListResult ¶
type OriginListResult struct { // URL to get the next set of origin objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN origins within an endpoint Value []*Origin `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (o OriginListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginListResult.
type OriginProperties ¶
type OriginProperties struct { OriginUpdatePropertiesParameters // READ-ONLY; The approval status for the connection to the Private Link PrivateEndpointStatus *PrivateEndpointStatus `json:"privateEndpointStatus,omitempty" azure:"ro"` // READ-ONLY; Provisioning status of the origin. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource status of the origin. ResourceState *OriginResourceState `json:"resourceState,omitempty" azure:"ro"` }
OriginProperties - The JSON object that contains the properties of the origin.
type OriginResourceState ¶
type OriginResourceState string
OriginResourceState - Resource status of the origin.
const ( OriginResourceStateActive OriginResourceState = "Active" OriginResourceStateCreating OriginResourceState = "Creating" OriginResourceStateDeleting OriginResourceState = "Deleting" )
func PossibleOriginResourceStateValues ¶
func PossibleOriginResourceStateValues() []OriginResourceState
PossibleOriginResourceStateValues returns the possible values for the OriginResourceState const type.
func (OriginResourceState) ToPtr ¶
func (c OriginResourceState) ToPtr() *OriginResourceState
ToPtr returns a *OriginResourceState pointing to the current value.
type OriginUpdateParameters ¶
type OriginUpdateParameters struct { // The JSON object that contains the properties of the origin. Properties *OriginUpdatePropertiesParameters `json:"properties,omitempty"` }
OriginUpdateParameters - Origin properties needed for origin update.
func (OriginUpdateParameters) MarshalJSON ¶
func (o OriginUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OriginUpdateParameters.
type OriginUpdatePropertiesParameters ¶
type OriginUpdatePropertiesParameters struct { // Origin is enabled for load balancing or not Enabled *bool `json:"enabled,omitempty"` // The value of the HTTP port. Must be between 1 and 65535. HTTPPort *int32 `json:"httpPort,omitempty"` // The value of the HTTPS port. Must be between 1 and 65535. HTTPSPort *int32 `json:"httpsPort,omitempty"` // The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. HostName *string `json:"hostName,omitempty"` // The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such // as Web Apps, Blob Storage, and Cloud Services // require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint OriginHostHeader *string `json:"originHostHeader,omitempty"` // Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must // be between 1 and 5 Priority *int32 `json:"priority,omitempty"` // The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' PrivateLinkAlias *string `json:"privateLinkAlias,omitempty"` // A custom message to be included in the approval request to connect to the Private Link. PrivateLinkApprovalMessage *string `json:"privateLinkApprovalMessage,omitempty"` // The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"` // The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"` // Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 Weight *int32 `json:"weight,omitempty"` }
OriginUpdatePropertiesParameters - The JSON object that contains the properties of the origin.
type OriginsBeginCreateOptions ¶
type OriginsBeginCreateOptions struct { }
OriginsBeginCreateOptions contains the optional parameters for the Origins.BeginCreate method.
type OriginsBeginDeleteOptions ¶
type OriginsBeginDeleteOptions struct { }
OriginsBeginDeleteOptions contains the optional parameters for the Origins.BeginDelete method.
type OriginsBeginUpdateOptions ¶
type OriginsBeginUpdateOptions struct { }
OriginsBeginUpdateOptions contains the optional parameters for the Origins.BeginUpdate method.
type OriginsClient ¶
type OriginsClient struct {
// contains filtered or unexported fields
}
OriginsClient contains the methods for the Origins group. Don't use this type directly, use NewOriginsClient() instead.
func NewOriginsClient ¶
func NewOriginsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *OriginsClient
NewOriginsClient creates a new instance of OriginsClient with the specified values.
func (*OriginsClient) BeginCreate ¶
func (client *OriginsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, origin Origin, options *OriginsBeginCreateOptions) (OriginsCreatePollerResponse, error)
BeginCreate - Creates a new origin within the specified endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginsClient) BeginDelete ¶
func (client *OriginsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, options *OriginsBeginDeleteOptions) (OriginsDeletePollerResponse, error)
BeginDelete - Deletes an existing origin within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginsClient) BeginUpdate ¶
func (client *OriginsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, originUpdateProperties OriginUpdateParameters, options *OriginsBeginUpdateOptions) (OriginsUpdatePollerResponse, error)
BeginUpdate - Updates an existing origin within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginsClient) Get ¶
func (client *OriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, options *OriginsGetOptions) (OriginsGetResponse, error)
Get - Gets an existing origin within an endpoint. If the operation fails it returns the *ErrorResponse error type.
func (*OriginsClient) ListByEndpoint ¶
func (client *OriginsClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, options *OriginsListByEndpointOptions) *OriginsListByEndpointPager
ListByEndpoint - Lists all of the existing origins within an endpoint. If the operation fails it returns the *ErrorResponse error type.
type OriginsCreatePoller ¶
type OriginsCreatePoller struct {
// contains filtered or unexported fields
}
OriginsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*OriginsCreatePoller) Done ¶
func (p *OriginsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*OriginsCreatePoller) FinalResponse ¶
func (p *OriginsCreatePoller) FinalResponse(ctx context.Context) (OriginsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final OriginsCreateResponse will be returned.
func (*OriginsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*OriginsCreatePoller) ResumeToken ¶
func (p *OriginsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type OriginsCreatePollerResponse ¶
type OriginsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *OriginsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsCreatePollerResponse contains the response from method Origins.Create.
func (OriginsCreatePollerResponse) PollUntilDone ¶
func (l OriginsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (OriginsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*OriginsCreatePollerResponse) Resume ¶
func (l *OriginsCreatePollerResponse) Resume(ctx context.Context, client *OriginsClient, token string) error
Resume rehydrates a OriginsCreatePollerResponse from the provided client and resume token.
type OriginsCreateResponse ¶
type OriginsCreateResponse struct { OriginsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsCreateResponse contains the response from method Origins.Create.
type OriginsCreateResult ¶
type OriginsCreateResult struct {
Origin
}
OriginsCreateResult contains the result from method Origins.Create.
type OriginsDeletePoller ¶
type OriginsDeletePoller struct {
// contains filtered or unexported fields
}
OriginsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*OriginsDeletePoller) Done ¶
func (p *OriginsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*OriginsDeletePoller) FinalResponse ¶
func (p *OriginsDeletePoller) FinalResponse(ctx context.Context) (OriginsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final OriginsDeleteResponse will be returned.
func (*OriginsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*OriginsDeletePoller) ResumeToken ¶
func (p *OriginsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type OriginsDeletePollerResponse ¶
type OriginsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *OriginsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsDeletePollerResponse contains the response from method Origins.Delete.
func (OriginsDeletePollerResponse) PollUntilDone ¶
func (l OriginsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (OriginsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*OriginsDeletePollerResponse) Resume ¶
func (l *OriginsDeletePollerResponse) Resume(ctx context.Context, client *OriginsClient, token string) error
Resume rehydrates a OriginsDeletePollerResponse from the provided client and resume token.
type OriginsDeleteResponse ¶
type OriginsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsDeleteResponse contains the response from method Origins.Delete.
type OriginsGetOptions ¶
type OriginsGetOptions struct { }
OriginsGetOptions contains the optional parameters for the Origins.Get method.
type OriginsGetResponse ¶
type OriginsGetResponse struct { OriginsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsGetResponse contains the response from method Origins.Get.
type OriginsGetResult ¶
type OriginsGetResult struct {
Origin
}
OriginsGetResult contains the result from method Origins.Get.
type OriginsListByEndpointOptions ¶
type OriginsListByEndpointOptions struct { }
OriginsListByEndpointOptions contains the optional parameters for the Origins.ListByEndpoint method.
type OriginsListByEndpointPager ¶
type OriginsListByEndpointPager struct {
// contains filtered or unexported fields
}
OriginsListByEndpointPager provides operations for iterating over paged responses.
func (*OriginsListByEndpointPager) Err ¶
func (p *OriginsListByEndpointPager) Err() error
Err returns the last error encountered while paging.
func (*OriginsListByEndpointPager) NextPage ¶
func (p *OriginsListByEndpointPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*OriginsListByEndpointPager) PageResponse ¶
func (p *OriginsListByEndpointPager) PageResponse() OriginsListByEndpointResponse
PageResponse returns the current OriginsListByEndpointResponse page.
type OriginsListByEndpointResponse ¶
type OriginsListByEndpointResponse struct { OriginsListByEndpointResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsListByEndpointResponse contains the response from method Origins.ListByEndpoint.
type OriginsListByEndpointResult ¶
type OriginsListByEndpointResult struct {
OriginListResult
}
OriginsListByEndpointResult contains the result from method Origins.ListByEndpoint.
type OriginsUpdatePoller ¶
type OriginsUpdatePoller struct {
// contains filtered or unexported fields
}
OriginsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*OriginsUpdatePoller) Done ¶
func (p *OriginsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*OriginsUpdatePoller) FinalResponse ¶
func (p *OriginsUpdatePoller) FinalResponse(ctx context.Context) (OriginsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final OriginsUpdateResponse will be returned.
func (*OriginsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*OriginsUpdatePoller) ResumeToken ¶
func (p *OriginsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type OriginsUpdatePollerResponse ¶
type OriginsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *OriginsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsUpdatePollerResponse contains the response from method Origins.Update.
func (OriginsUpdatePollerResponse) PollUntilDone ¶
func (l OriginsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (OriginsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*OriginsUpdatePollerResponse) Resume ¶
func (l *OriginsUpdatePollerResponse) Resume(ctx context.Context, client *OriginsClient, token string) error
Resume rehydrates a OriginsUpdatePollerResponse from the provided client and resume token.
type OriginsUpdateResponse ¶
type OriginsUpdateResponse struct { OriginsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OriginsUpdateResponse contains the response from method Origins.Update.
type OriginsUpdateResult ¶
type OriginsUpdateResult struct {
Origin
}
OriginsUpdateResult contains the result from method Origins.Update.
type ParamIndicator ¶
type ParamIndicator string
ParamIndicator - Indicates the purpose of the parameter
const ( ParamIndicatorExpires ParamIndicator = "Expires" ParamIndicatorKeyID ParamIndicator = "KeyId" ParamIndicatorSignature ParamIndicator = "Signature" )
func PossibleParamIndicatorValues ¶
func PossibleParamIndicatorValues() []ParamIndicator
PossibleParamIndicatorValues returns the possible values for the ParamIndicator const type.
func (ParamIndicator) ToPtr ¶
func (c ParamIndicator) ToPtr() *ParamIndicator
ToPtr returns a *ParamIndicator pointing to the current value.
type PoliciesBeginCreateOrUpdateOptions ¶
type PoliciesBeginCreateOrUpdateOptions struct { }
PoliciesBeginCreateOrUpdateOptions contains the optional parameters for the Policies.BeginCreateOrUpdate method.
type PoliciesBeginUpdateOptions ¶
type PoliciesBeginUpdateOptions struct { }
PoliciesBeginUpdateOptions contains the optional parameters for the Policies.BeginUpdate method.
type PoliciesClient ¶
type PoliciesClient struct {
// contains filtered or unexported fields
}
PoliciesClient contains the methods for the Policies group. Don't use this type directly, use NewPoliciesClient() instead.
func NewPoliciesClient ¶
func NewPoliciesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PoliciesClient
NewPoliciesClient creates a new instance of PoliciesClient with the specified values.
func (*PoliciesClient) BeginCreateOrUpdate ¶
func (client *PoliciesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, cdnWebApplicationFirewallPolicy CdnWebApplicationFirewallPolicy, options *PoliciesBeginCreateOrUpdateOptions) (PoliciesCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create or update policy with specified rule set name within a resource group. If the operation fails it returns the *ErrorResponse error type.
func (*PoliciesClient) BeginUpdate ¶
func (client *PoliciesClient) BeginUpdate(ctx context.Context, resourceGroupName string, policyName string, cdnWebApplicationFirewallPolicyPatchParameters CdnWebApplicationFirewallPolicyPatchParameters, options *PoliciesBeginUpdateOptions) (PoliciesUpdatePollerResponse, error)
BeginUpdate - Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group If the operation fails it returns the *ErrorResponse error type.
func (*PoliciesClient) Delete ¶
func (client *PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string, options *PoliciesDeleteOptions) (PoliciesDeleteResponse, error)
Delete - Deletes Policy If the operation fails it returns a generic error.
func (*PoliciesClient) Get ¶
func (client *PoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string, options *PoliciesGetOptions) (PoliciesGetResponse, error)
Get - Retrieve protection policy with specified name within a resource group. If the operation fails it returns the *ErrorResponse error type.
func (*PoliciesClient) List ¶
func (client *PoliciesClient) List(resourceGroupName string, options *PoliciesListOptions) *PoliciesListPager
List - Lists all of the protection policies within a resource group. If the operation fails it returns the *ErrorResponse error type.
type PoliciesCreateOrUpdatePoller ¶
type PoliciesCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
PoliciesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*PoliciesCreateOrUpdatePoller) Done ¶
func (p *PoliciesCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*PoliciesCreateOrUpdatePoller) FinalResponse ¶
func (p *PoliciesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (PoliciesCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PoliciesCreateOrUpdateResponse will be returned.
func (*PoliciesCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*PoliciesCreateOrUpdatePoller) ResumeToken ¶
func (p *PoliciesCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type PoliciesCreateOrUpdatePollerResponse ¶
type PoliciesCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *PoliciesCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesCreateOrUpdatePollerResponse contains the response from method Policies.CreateOrUpdate.
func (PoliciesCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l PoliciesCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PoliciesCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*PoliciesCreateOrUpdatePollerResponse) Resume ¶
func (l *PoliciesCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *PoliciesClient, token string) error
Resume rehydrates a PoliciesCreateOrUpdatePollerResponse from the provided client and resume token.
type PoliciesCreateOrUpdateResponse ¶
type PoliciesCreateOrUpdateResponse struct { PoliciesCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesCreateOrUpdateResponse contains the response from method Policies.CreateOrUpdate.
type PoliciesCreateOrUpdateResult ¶
type PoliciesCreateOrUpdateResult struct {
CdnWebApplicationFirewallPolicy
}
PoliciesCreateOrUpdateResult contains the result from method Policies.CreateOrUpdate.
type PoliciesDeleteOptions ¶
type PoliciesDeleteOptions struct { }
PoliciesDeleteOptions contains the optional parameters for the Policies.Delete method.
type PoliciesDeleteResponse ¶
type PoliciesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesDeleteResponse contains the response from method Policies.Delete.
type PoliciesGetOptions ¶
type PoliciesGetOptions struct { }
PoliciesGetOptions contains the optional parameters for the Policies.Get method.
type PoliciesGetResponse ¶
type PoliciesGetResponse struct { PoliciesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesGetResponse contains the response from method Policies.Get.
type PoliciesGetResult ¶
type PoliciesGetResult struct {
CdnWebApplicationFirewallPolicy
}
PoliciesGetResult contains the result from method Policies.Get.
type PoliciesListOptions ¶
type PoliciesListOptions struct { }
PoliciesListOptions contains the optional parameters for the Policies.List method.
type PoliciesListPager ¶
type PoliciesListPager struct {
// contains filtered or unexported fields
}
PoliciesListPager provides operations for iterating over paged responses.
func (*PoliciesListPager) Err ¶
func (p *PoliciesListPager) Err() error
Err returns the last error encountered while paging.
func (*PoliciesListPager) NextPage ¶
func (p *PoliciesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*PoliciesListPager) PageResponse ¶
func (p *PoliciesListPager) PageResponse() PoliciesListResponse
PageResponse returns the current PoliciesListResponse page.
type PoliciesListResponse ¶
type PoliciesListResponse struct { PoliciesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesListResponse contains the response from method Policies.List.
type PoliciesListResult ¶
type PoliciesListResult struct {
CdnWebApplicationFirewallPolicyList
}
PoliciesListResult contains the result from method Policies.List.
type PoliciesUpdatePoller ¶
type PoliciesUpdatePoller struct {
// contains filtered or unexported fields
}
PoliciesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*PoliciesUpdatePoller) Done ¶
func (p *PoliciesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*PoliciesUpdatePoller) FinalResponse ¶
func (p *PoliciesUpdatePoller) FinalResponse(ctx context.Context) (PoliciesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PoliciesUpdateResponse will be returned.
func (*PoliciesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*PoliciesUpdatePoller) ResumeToken ¶
func (p *PoliciesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type PoliciesUpdatePollerResponse ¶
type PoliciesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *PoliciesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesUpdatePollerResponse contains the response from method Policies.Update.
func (PoliciesUpdatePollerResponse) PollUntilDone ¶
func (l PoliciesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PoliciesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*PoliciesUpdatePollerResponse) Resume ¶
func (l *PoliciesUpdatePollerResponse) Resume(ctx context.Context, client *PoliciesClient, token string) error
Resume rehydrates a PoliciesUpdatePollerResponse from the provided client and resume token.
type PoliciesUpdateResponse ¶
type PoliciesUpdateResponse struct { PoliciesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PoliciesUpdateResponse contains the response from method Policies.Update.
type PoliciesUpdateResult ¶
type PoliciesUpdateResult struct {
CdnWebApplicationFirewallPolicy
}
PoliciesUpdateResult contains the result from method Policies.Update.
type PolicyEnabledState ¶
type PolicyEnabledState string
PolicyEnabledState - describes if the policy is in enabled state or disabled state
const ( PolicyEnabledStateDisabled PolicyEnabledState = "Disabled" PolicyEnabledStateEnabled PolicyEnabledState = "Enabled" )
func PossiblePolicyEnabledStateValues ¶
func PossiblePolicyEnabledStateValues() []PolicyEnabledState
PossiblePolicyEnabledStateValues returns the possible values for the PolicyEnabledState const type.
func (PolicyEnabledState) ToPtr ¶
func (c PolicyEnabledState) ToPtr() *PolicyEnabledState
ToPtr returns a *PolicyEnabledState pointing to the current value.
type PolicyMode ¶
type PolicyMode string
PolicyMode - Describes if it is in detection mode or prevention mode at policy level.
const ( PolicyModeDetection PolicyMode = "Detection" PolicyModePrevention PolicyMode = "Prevention" )
func PossiblePolicyModeValues ¶
func PossiblePolicyModeValues() []PolicyMode
PossiblePolicyModeValues returns the possible values for the PolicyMode const type.
func (PolicyMode) ToPtr ¶
func (c PolicyMode) ToPtr() *PolicyMode
ToPtr returns a *PolicyMode pointing to the current value.
type PolicyResourceState ¶
type PolicyResourceState string
PolicyResourceState - Resource status of the policy.
const ( PolicyResourceStateCreating PolicyResourceState = "Creating" PolicyResourceStateDeleting PolicyResourceState = "Deleting" PolicyResourceStateDisabled PolicyResourceState = "Disabled" PolicyResourceStateDisabling PolicyResourceState = "Disabling" PolicyResourceStateEnabled PolicyResourceState = "Enabled" PolicyResourceStateEnabling PolicyResourceState = "Enabling" )
func PossiblePolicyResourceStateValues ¶
func PossiblePolicyResourceStateValues() []PolicyResourceState
PossiblePolicyResourceStateValues returns the possible values for the PolicyResourceState const type.
func (PolicyResourceState) ToPtr ¶
func (c PolicyResourceState) ToPtr() *PolicyResourceState
ToPtr returns a *PolicyResourceState pointing to the current value.
type PolicySettings ¶
type PolicySettings struct { // If the action type is block, customer can override the response body. The body must be specified in base64 encoding. DefaultCustomBlockResponseBody *string `json:"defaultCustomBlockResponseBody,omitempty"` // If the action type is block, this field defines the default customer overridable http response status code. DefaultCustomBlockResponseStatusCode *PolicySettingsDefaultCustomBlockResponseStatusCode `json:"defaultCustomBlockResponseStatusCode,omitempty"` // If action type is redirect, this field represents the default redirect URL for the client. DefaultRedirectURL *string `json:"defaultRedirectUrl,omitempty"` // describes if the policy is in enabled state or disabled state EnabledState *PolicyEnabledState `json:"enabledState,omitempty"` // Describes if it is in detection mode or prevention mode at policy level. Mode *PolicyMode `json:"mode,omitempty"` }
PolicySettings - Defines contents of a web application firewall global configuration
type PolicySettingsDefaultCustomBlockResponseStatusCode ¶
type PolicySettingsDefaultCustomBlockResponseStatusCode int32
PolicySettingsDefaultCustomBlockResponseStatusCode - If the action type is block, this field defines the default customer overridable http response status code.
const ( PolicySettingsDefaultCustomBlockResponseStatusCodeFourHundredFive PolicySettingsDefaultCustomBlockResponseStatusCode = 405 PolicySettingsDefaultCustomBlockResponseStatusCodeFourHundredSix PolicySettingsDefaultCustomBlockResponseStatusCode = 406 PolicySettingsDefaultCustomBlockResponseStatusCodeFourHundredThree PolicySettingsDefaultCustomBlockResponseStatusCode = 403 PolicySettingsDefaultCustomBlockResponseStatusCodeFourHundredTwentyNine PolicySettingsDefaultCustomBlockResponseStatusCode = 429 PolicySettingsDefaultCustomBlockResponseStatusCodeTwoHundred PolicySettingsDefaultCustomBlockResponseStatusCode = 200 )
func PossiblePolicySettingsDefaultCustomBlockResponseStatusCodeValues ¶
func PossiblePolicySettingsDefaultCustomBlockResponseStatusCodeValues() []PolicySettingsDefaultCustomBlockResponseStatusCode
PossiblePolicySettingsDefaultCustomBlockResponseStatusCodeValues returns the possible values for the PolicySettingsDefaultCustomBlockResponseStatusCode const type.
func (PolicySettingsDefaultCustomBlockResponseStatusCode) ToPtr ¶
func (c PolicySettingsDefaultCustomBlockResponseStatusCode) ToPtr() *PolicySettingsDefaultCustomBlockResponseStatusCode
ToPtr returns a *PolicySettingsDefaultCustomBlockResponseStatusCode pointing to the current value.
type PostArgsMatchConditionParameters ¶
type PostArgsMatchConditionParameters struct { // REQUIRED ODataType *PostArgsMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *PostArgsOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // Name of PostArg to be matched Selector *string `json:"selector,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
PostArgsMatchConditionParameters - Defines the parameters for PostArgs match conditions
func (PostArgsMatchConditionParameters) MarshalJSON ¶
func (p PostArgsMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PostArgsMatchConditionParameters.
type PostArgsMatchConditionParametersODataType ¶
type PostArgsMatchConditionParametersODataType string
const (
PostArgsMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRulePostArgsConditionParameters PostArgsMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters"
)
func PossiblePostArgsMatchConditionParametersODataTypeValues ¶
func PossiblePostArgsMatchConditionParametersODataTypeValues() []PostArgsMatchConditionParametersODataType
PossiblePostArgsMatchConditionParametersODataTypeValues returns the possible values for the PostArgsMatchConditionParametersODataType const type.
func (PostArgsMatchConditionParametersODataType) ToPtr ¶
func (c PostArgsMatchConditionParametersODataType) ToPtr() *PostArgsMatchConditionParametersODataType
ToPtr returns a *PostArgsMatchConditionParametersODataType pointing to the current value.
type PostArgsOperator ¶
type PostArgsOperator string
PostArgsOperator - Describes operator to be matched
const ( PostArgsOperatorAny PostArgsOperator = "Any" PostArgsOperatorBeginsWith PostArgsOperator = "BeginsWith" PostArgsOperatorContains PostArgsOperator = "Contains" PostArgsOperatorEndsWith PostArgsOperator = "EndsWith" PostArgsOperatorEqual PostArgsOperator = "Equal" PostArgsOperatorGreaterThan PostArgsOperator = "GreaterThan" PostArgsOperatorGreaterThanOrEqual PostArgsOperator = "GreaterThanOrEqual" PostArgsOperatorLessThan PostArgsOperator = "LessThan" PostArgsOperatorLessThanOrEqual PostArgsOperator = "LessThanOrEqual" PostArgsOperatorRegEx PostArgsOperator = "RegEx" )
func PossiblePostArgsOperatorValues ¶
func PossiblePostArgsOperatorValues() []PostArgsOperator
PossiblePostArgsOperatorValues returns the possible values for the PostArgsOperator const type.
func (PostArgsOperator) ToPtr ¶
func (c PostArgsOperator) ToPtr() *PostArgsOperator
ToPtr returns a *PostArgsOperator pointing to the current value.
type PrivateEndpointStatus ¶
type PrivateEndpointStatus string
PrivateEndpointStatus - The approval status for the connection to the Private Link
const ( PrivateEndpointStatusApproved PrivateEndpointStatus = "Approved" PrivateEndpointStatusDisconnected PrivateEndpointStatus = "Disconnected" PrivateEndpointStatusPending PrivateEndpointStatus = "Pending" PrivateEndpointStatusRejected PrivateEndpointStatus = "Rejected" PrivateEndpointStatusTimeout PrivateEndpointStatus = "Timeout" )
func PossiblePrivateEndpointStatusValues ¶
func PossiblePrivateEndpointStatusValues() []PrivateEndpointStatus
PossiblePrivateEndpointStatusValues returns the possible values for the PrivateEndpointStatus const type.
func (PrivateEndpointStatus) ToPtr ¶
func (c PrivateEndpointStatus) ToPtr() *PrivateEndpointStatus
ToPtr returns a *PrivateEndpointStatus pointing to the current value.
type ProbeProtocol ¶
type ProbeProtocol string
ProbeProtocol - Protocol to use for health probe.
const ( ProbeProtocolNotSet ProbeProtocol = "NotSet" ProbeProtocolHTTP ProbeProtocol = "Http" ProbeProtocolHTTPS ProbeProtocol = "Https" )
func PossibleProbeProtocolValues ¶
func PossibleProbeProtocolValues() []ProbeProtocol
PossibleProbeProtocolValues returns the possible values for the ProbeProtocol const type.
func (ProbeProtocol) ToPtr ¶
func (c ProbeProtocol) ToPtr() *ProbeProtocol
ToPtr returns a *ProbeProtocol pointing to the current value.
type Profile ¶
type Profile struct { TrackedResource // REQUIRED; The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. SKU *SKU `json:"sku,omitempty"` // The JSON object that contains the properties required to create a profile. Properties *ProfileProperties `json:"properties,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 implements the json.Marshaller interface for type Profile.
type ProfileListResult ¶
type ProfileListResult struct { // URL to get the next set of profile objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of CDN profiles within a resource group. Value []*Profile `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (p ProfileListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProfileListResult.
type ProfileProperties ¶
type ProfileProperties struct { // READ-ONLY; The Id of the frontdoor. FrontdoorID *string `json:"frontdoorId,omitempty" azure:"ro"` // READ-ONLY; Provisioning status of the profile. ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Resource status of the profile. ResourceState *ProfileResourceState `json:"resourceState,omitempty" azure:"ro"` }
ProfileProperties - The JSON object that contains the properties required to create a profile.
type ProfileResourceState ¶
type ProfileResourceState string
ProfileResourceState - Resource status of the profile.
const ( ProfileResourceStateActive ProfileResourceState = "Active" ProfileResourceStateCreating ProfileResourceState = "Creating" ProfileResourceStateDeleting ProfileResourceState = "Deleting" ProfileResourceStateDisabled ProfileResourceState = "Disabled" )
func PossibleProfileResourceStateValues ¶
func PossibleProfileResourceStateValues() []ProfileResourceState
PossibleProfileResourceStateValues returns the possible values for the ProfileResourceState const type.
func (ProfileResourceState) ToPtr ¶
func (c ProfileResourceState) ToPtr() *ProfileResourceState
ToPtr returns a *ProfileResourceState pointing to the current value.
type ProfileUpdateParameters ¶
type ProfileUpdateParameters struct { // Profile tags Tags map[string]*string `json:"tags,omitempty"` }
ProfileUpdateParameters - Properties required to update a profile.
func (ProfileUpdateParameters) MarshalJSON ¶
func (p ProfileUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProfileUpdateParameters.
type ProfilesBeginCreateOptions ¶
type ProfilesBeginCreateOptions struct { }
ProfilesBeginCreateOptions contains the optional parameters for the Profiles.BeginCreate method.
type ProfilesBeginDeleteOptions ¶
type ProfilesBeginDeleteOptions struct { }
ProfilesBeginDeleteOptions contains the optional parameters for the Profiles.BeginDelete method.
type ProfilesBeginUpdateOptions ¶
type ProfilesBeginUpdateOptions struct { }
ProfilesBeginUpdateOptions contains the optional parameters for the Profiles.BeginUpdate method.
type ProfilesClient ¶
type ProfilesClient struct {
// contains filtered or unexported fields
}
ProfilesClient contains the methods for the Profiles group. Don't use this type directly, use NewProfilesClient() instead.
func NewProfilesClient ¶
func NewProfilesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *ProfilesClient
NewProfilesClient creates a new instance of ProfilesClient with the specified values.
func (*ProfilesClient) BeginCreate ¶
func (client *ProfilesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, profile Profile, options *ProfilesBeginCreateOptions) (ProfilesCreatePollerResponse, error)
BeginCreate - Creates a new CDN profile with a profile name under the specified subscription and resource group. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) BeginDelete ¶
func (client *ProfilesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, options *ProfilesBeginDeleteOptions) (ProfilesDeletePollerResponse, error)
BeginDelete - 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. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) BeginUpdate ¶
func (client *ProfilesClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, profileUpdateParameters ProfileUpdateParameters, options *ProfilesBeginUpdateOptions) (ProfilesUpdatePollerResponse, error)
BeginUpdate - Updates an existing CDN profile with the specified profile name under the specified subscription and resource group. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) GenerateSsoURI ¶
func (client *ProfilesClient) GenerateSsoURI(ctx context.Context, resourceGroupName string, profileName string, options *ProfilesGenerateSsoURIOptions) (ProfilesGenerateSsoURIResponse, 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. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) Get ¶
func (client *ProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string, options *ProfilesGetOptions) (ProfilesGetResponse, error)
Get - Gets a CDN profile with the specified profile name under the specified subscription and resource group. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) List ¶
func (client *ProfilesClient) List(options *ProfilesListOptions) *ProfilesListPager
List - Lists all of the CDN profiles within an Azure subscription. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) ListByResourceGroup ¶
func (client *ProfilesClient) ListByResourceGroup(resourceGroupName string, options *ProfilesListByResourceGroupOptions) *ProfilesListByResourceGroupPager
ListByResourceGroup - Lists all of the CDN profiles within a resource group. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) ListResourceUsage ¶
func (client *ProfilesClient) ListResourceUsage(resourceGroupName string, profileName string, options *ProfilesListResourceUsageOptions) *ProfilesListResourceUsagePager
ListResourceUsage - Checks the quota and actual usage of endpoints under the given CDN profile. If the operation fails it returns the *ErrorResponse error type.
func (*ProfilesClient) ListSupportedOptimizationTypes ¶
func (client *ProfilesClient) ListSupportedOptimizationTypes(ctx context.Context, resourceGroupName string, profileName string, options *ProfilesListSupportedOptimizationTypesOptions) (ProfilesListSupportedOptimizationTypesResponse, 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. If the operation fails it returns the *ErrorResponse error type.
type ProfilesCreatePoller ¶
type ProfilesCreatePoller struct {
// contains filtered or unexported fields
}
ProfilesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*ProfilesCreatePoller) Done ¶
func (p *ProfilesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ProfilesCreatePoller) FinalResponse ¶
func (p *ProfilesCreatePoller) FinalResponse(ctx context.Context) (ProfilesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ProfilesCreateResponse will be returned.
func (*ProfilesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ProfilesCreatePoller) ResumeToken ¶
func (p *ProfilesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ProfilesCreatePollerResponse ¶
type ProfilesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *ProfilesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesCreatePollerResponse contains the response from method Profiles.Create.
func (ProfilesCreatePollerResponse) PollUntilDone ¶
func (l ProfilesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ProfilesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ProfilesCreatePollerResponse) Resume ¶
func (l *ProfilesCreatePollerResponse) Resume(ctx context.Context, client *ProfilesClient, token string) error
Resume rehydrates a ProfilesCreatePollerResponse from the provided client and resume token.
type ProfilesCreateResponse ¶
type ProfilesCreateResponse struct { ProfilesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesCreateResponse contains the response from method Profiles.Create.
type ProfilesCreateResult ¶
type ProfilesCreateResult struct {
Profile
}
ProfilesCreateResult contains the result from method Profiles.Create.
type ProfilesDeletePoller ¶
type ProfilesDeletePoller struct {
// contains filtered or unexported fields
}
ProfilesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ProfilesDeletePoller) Done ¶
func (p *ProfilesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ProfilesDeletePoller) FinalResponse ¶
func (p *ProfilesDeletePoller) FinalResponse(ctx context.Context) (ProfilesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ProfilesDeleteResponse will be returned.
func (*ProfilesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ProfilesDeletePoller) ResumeToken ¶
func (p *ProfilesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ProfilesDeletePollerResponse ¶
type ProfilesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ProfilesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesDeletePollerResponse contains the response from method Profiles.Delete.
func (ProfilesDeletePollerResponse) PollUntilDone ¶
func (l ProfilesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ProfilesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ProfilesDeletePollerResponse) Resume ¶
func (l *ProfilesDeletePollerResponse) Resume(ctx context.Context, client *ProfilesClient, token string) error
Resume rehydrates a ProfilesDeletePollerResponse from the provided client and resume token.
type ProfilesDeleteResponse ¶
type ProfilesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesDeleteResponse contains the response from method Profiles.Delete.
type ProfilesGenerateSsoURIOptions ¶
type ProfilesGenerateSsoURIOptions struct { }
ProfilesGenerateSsoURIOptions contains the optional parameters for the Profiles.GenerateSsoURI method.
type ProfilesGenerateSsoURIResponse ¶
type ProfilesGenerateSsoURIResponse struct { ProfilesGenerateSsoURIResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesGenerateSsoURIResponse contains the response from method Profiles.GenerateSsoURI.
type ProfilesGenerateSsoURIResult ¶
type ProfilesGenerateSsoURIResult struct {
SsoURI
}
ProfilesGenerateSsoURIResult contains the result from method Profiles.GenerateSsoURI.
type ProfilesGetOptions ¶
type ProfilesGetOptions struct { }
ProfilesGetOptions contains the optional parameters for the Profiles.Get method.
type ProfilesGetResponse ¶
type ProfilesGetResponse struct { ProfilesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesGetResponse contains the response from method Profiles.Get.
type ProfilesGetResult ¶
type ProfilesGetResult struct {
Profile
}
ProfilesGetResult contains the result from method Profiles.Get.
type ProfilesListByResourceGroupOptions ¶
type ProfilesListByResourceGroupOptions struct { }
ProfilesListByResourceGroupOptions contains the optional parameters for the Profiles.ListByResourceGroup method.
type ProfilesListByResourceGroupPager ¶
type ProfilesListByResourceGroupPager struct {
// contains filtered or unexported fields
}
ProfilesListByResourceGroupPager provides operations for iterating over paged responses.
func (*ProfilesListByResourceGroupPager) Err ¶
func (p *ProfilesListByResourceGroupPager) Err() error
Err returns the last error encountered while paging.
func (*ProfilesListByResourceGroupPager) NextPage ¶
func (p *ProfilesListByResourceGroupPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ProfilesListByResourceGroupPager) PageResponse ¶
func (p *ProfilesListByResourceGroupPager) PageResponse() ProfilesListByResourceGroupResponse
PageResponse returns the current ProfilesListByResourceGroupResponse page.
type ProfilesListByResourceGroupResponse ¶
type ProfilesListByResourceGroupResponse struct { ProfilesListByResourceGroupResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesListByResourceGroupResponse contains the response from method Profiles.ListByResourceGroup.
type ProfilesListByResourceGroupResult ¶
type ProfilesListByResourceGroupResult struct {
ProfileListResult
}
ProfilesListByResourceGroupResult contains the result from method Profiles.ListByResourceGroup.
type ProfilesListOptions ¶
type ProfilesListOptions struct { }
ProfilesListOptions contains the optional parameters for the Profiles.List method.
type ProfilesListPager ¶
type ProfilesListPager struct {
// contains filtered or unexported fields
}
ProfilesListPager provides operations for iterating over paged responses.
func (*ProfilesListPager) Err ¶
func (p *ProfilesListPager) Err() error
Err returns the last error encountered while paging.
func (*ProfilesListPager) NextPage ¶
func (p *ProfilesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ProfilesListPager) PageResponse ¶
func (p *ProfilesListPager) PageResponse() ProfilesListResponse
PageResponse returns the current ProfilesListResponse page.
type ProfilesListResourceUsageOptions ¶
type ProfilesListResourceUsageOptions struct { }
ProfilesListResourceUsageOptions contains the optional parameters for the Profiles.ListResourceUsage method.
type ProfilesListResourceUsagePager ¶
type ProfilesListResourceUsagePager struct {
// contains filtered or unexported fields
}
ProfilesListResourceUsagePager provides operations for iterating over paged responses.
func (*ProfilesListResourceUsagePager) Err ¶
func (p *ProfilesListResourceUsagePager) Err() error
Err returns the last error encountered while paging.
func (*ProfilesListResourceUsagePager) NextPage ¶
func (p *ProfilesListResourceUsagePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ProfilesListResourceUsagePager) PageResponse ¶
func (p *ProfilesListResourceUsagePager) PageResponse() ProfilesListResourceUsageResponse
PageResponse returns the current ProfilesListResourceUsageResponse page.
type ProfilesListResourceUsageResponse ¶
type ProfilesListResourceUsageResponse struct { ProfilesListResourceUsageResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesListResourceUsageResponse contains the response from method Profiles.ListResourceUsage.
type ProfilesListResourceUsageResult ¶
type ProfilesListResourceUsageResult struct {
ResourceUsageListResult
}
ProfilesListResourceUsageResult contains the result from method Profiles.ListResourceUsage.
type ProfilesListResponse ¶
type ProfilesListResponse struct { ProfilesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesListResponse contains the response from method Profiles.List.
type ProfilesListResult ¶
type ProfilesListResult struct {
ProfileListResult
}
ProfilesListResult contains the result from method Profiles.List.
type ProfilesListSupportedOptimizationTypesOptions ¶
type ProfilesListSupportedOptimizationTypesOptions struct { }
ProfilesListSupportedOptimizationTypesOptions contains the optional parameters for the Profiles.ListSupportedOptimizationTypes method.
type ProfilesListSupportedOptimizationTypesResponse ¶
type ProfilesListSupportedOptimizationTypesResponse struct { ProfilesListSupportedOptimizationTypesResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesListSupportedOptimizationTypesResponse contains the response from method Profiles.ListSupportedOptimizationTypes.
type ProfilesListSupportedOptimizationTypesResult ¶
type ProfilesListSupportedOptimizationTypesResult struct {
SupportedOptimizationTypesListResult
}
ProfilesListSupportedOptimizationTypesResult contains the result from method Profiles.ListSupportedOptimizationTypes.
type ProfilesUpdatePoller ¶
type ProfilesUpdatePoller struct {
// contains filtered or unexported fields
}
ProfilesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*ProfilesUpdatePoller) Done ¶
func (p *ProfilesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ProfilesUpdatePoller) FinalResponse ¶
func (p *ProfilesUpdatePoller) FinalResponse(ctx context.Context) (ProfilesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ProfilesUpdateResponse will be returned.
func (*ProfilesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ProfilesUpdatePoller) ResumeToken ¶
func (p *ProfilesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ProfilesUpdatePollerResponse ¶
type ProfilesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *ProfilesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesUpdatePollerResponse contains the response from method Profiles.Update.
func (ProfilesUpdatePollerResponse) PollUntilDone ¶
func (l ProfilesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ProfilesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ProfilesUpdatePollerResponse) Resume ¶
func (l *ProfilesUpdatePollerResponse) Resume(ctx context.Context, client *ProfilesClient, token string) error
Resume rehydrates a ProfilesUpdatePollerResponse from the provided client and resume token.
type ProfilesUpdateResponse ¶
type ProfilesUpdateResponse struct { ProfilesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ProfilesUpdateResponse contains the response from method Profiles.Update.
type ProfilesUpdateResult ¶
type ProfilesUpdateResult struct {
Profile
}
ProfilesUpdateResult contains the result from method Profiles.Update.
type ProtocolType ¶
type ProtocolType string
ProtocolType - Defines the TLS extension protocol that is used for secure delivery.
const ( ProtocolTypeIPBased ProtocolType = "IPBased" ProtocolTypeServerNameIndication ProtocolType = "ServerNameIndication" )
func PossibleProtocolTypeValues ¶
func PossibleProtocolTypeValues() []ProtocolType
PossibleProtocolTypeValues returns the possible values for the ProtocolType const type.
func (ProtocolType) ToPtr ¶
func (c ProtocolType) ToPtr() *ProtocolType
ToPtr returns a *ProtocolType pointing to the current value.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - Provisioning state of the WebApplicationFirewallPolicy.
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func (ProvisioningState) ToPtr ¶
func (c ProvisioningState) ToPtr() *ProvisioningState
ToPtr returns a *ProvisioningState pointing to the current value.
type ProxyResource ¶
type ProxyResource struct {
Resource
}
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 { // REQUIRED; 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.
func (PurgeParameters) MarshalJSON ¶
func (p PurgeParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PurgeParameters.
type QueryStringBehavior ¶
type QueryStringBehavior string
QueryStringBehavior - Caching behavior for the requests
const ( QueryStringBehaviorExclude QueryStringBehavior = "Exclude" QueryStringBehaviorExcludeAll QueryStringBehavior = "ExcludeAll" QueryStringBehaviorInclude QueryStringBehavior = "Include" QueryStringBehaviorIncludeAll QueryStringBehavior = "IncludeAll" )
func PossibleQueryStringBehaviorValues ¶
func PossibleQueryStringBehaviorValues() []QueryStringBehavior
PossibleQueryStringBehaviorValues returns the possible values for the QueryStringBehavior const type.
func (QueryStringBehavior) ToPtr ¶
func (c QueryStringBehavior) ToPtr() *QueryStringBehavior
ToPtr returns a *QueryStringBehavior pointing to the current value.
type QueryStringCachingBehavior ¶
type QueryStringCachingBehavior string
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.
const ( QueryStringCachingBehaviorIgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString" QueryStringCachingBehaviorBypassCaching QueryStringCachingBehavior = "BypassCaching" QueryStringCachingBehaviorUseQueryString QueryStringCachingBehavior = "UseQueryString" QueryStringCachingBehaviorNotSet QueryStringCachingBehavior = "NotSet" )
func PossibleQueryStringCachingBehaviorValues ¶
func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior
PossibleQueryStringCachingBehaviorValues returns the possible values for the QueryStringCachingBehavior const type.
func (QueryStringCachingBehavior) ToPtr ¶
func (c QueryStringCachingBehavior) ToPtr() *QueryStringCachingBehavior
ToPtr returns a *QueryStringCachingBehavior pointing to the current value.
type QueryStringMatchConditionParameters ¶
type QueryStringMatchConditionParameters struct { // REQUIRED ODataType *QueryStringMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *QueryStringOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
QueryStringMatchConditionParameters - Defines the parameters for QueryString match conditions
func (QueryStringMatchConditionParameters) MarshalJSON ¶
func (q QueryStringMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type QueryStringMatchConditionParameters.
type QueryStringMatchConditionParametersODataType ¶
type QueryStringMatchConditionParametersODataType string
const (
QueryStringMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleQueryStringConditionParameters QueryStringMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters"
)
func PossibleQueryStringMatchConditionParametersODataTypeValues ¶
func PossibleQueryStringMatchConditionParametersODataTypeValues() []QueryStringMatchConditionParametersODataType
PossibleQueryStringMatchConditionParametersODataTypeValues returns the possible values for the QueryStringMatchConditionParametersODataType const type.
func (QueryStringMatchConditionParametersODataType) ToPtr ¶
func (c QueryStringMatchConditionParametersODataType) ToPtr() *QueryStringMatchConditionParametersODataType
ToPtr returns a *QueryStringMatchConditionParametersODataType pointing to the current value.
type QueryStringOperator ¶
type QueryStringOperator string
QueryStringOperator - Describes operator to be matched
const ( QueryStringOperatorAny QueryStringOperator = "Any" QueryStringOperatorBeginsWith QueryStringOperator = "BeginsWith" QueryStringOperatorContains QueryStringOperator = "Contains" QueryStringOperatorEndsWith QueryStringOperator = "EndsWith" QueryStringOperatorEqual QueryStringOperator = "Equal" QueryStringOperatorGreaterThan QueryStringOperator = "GreaterThan" QueryStringOperatorGreaterThanOrEqual QueryStringOperator = "GreaterThanOrEqual" QueryStringOperatorLessThan QueryStringOperator = "LessThan" QueryStringOperatorLessThanOrEqual QueryStringOperator = "LessThanOrEqual" QueryStringOperatorRegEx QueryStringOperator = "RegEx" )
func PossibleQueryStringOperatorValues ¶
func PossibleQueryStringOperatorValues() []QueryStringOperator
PossibleQueryStringOperatorValues returns the possible values for the QueryStringOperator const type.
func (QueryStringOperator) ToPtr ¶
func (c QueryStringOperator) ToPtr() *QueryStringOperator
ToPtr returns a *QueryStringOperator pointing to the current value.
type RankingsResponse ¶
type RankingsResponse struct { DateTimeBegin *time.Time `json:"dateTimeBegin,omitempty"` DateTimeEnd *time.Time `json:"dateTimeEnd,omitempty"` Tables []*RankingsResponseTablesItem `json:"tables,omitempty"` }
RankingsResponse - Rankings Response
func (RankingsResponse) MarshalJSON ¶
func (r RankingsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RankingsResponse.
func (*RankingsResponse) UnmarshalJSON ¶
func (r *RankingsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RankingsResponse.
type RankingsResponseTablesItem ¶
type RankingsResponseTablesItem struct { Data []*RankingsResponseTablesPropertiesItemsItem `json:"data,omitempty"` Ranking *string `json:"ranking,omitempty"` }
func (RankingsResponseTablesItem) MarshalJSON ¶
func (r RankingsResponseTablesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RankingsResponseTablesItem.
type RankingsResponseTablesPropertiesItemsItem ¶
type RankingsResponseTablesPropertiesItemsItem struct { Metrics []*RankingsResponseTablesPropertiesItemsMetricsItem `json:"metrics,omitempty"` Name *string `json:"name,omitempty"` }
func (RankingsResponseTablesPropertiesItemsItem) MarshalJSON ¶
func (r RankingsResponseTablesPropertiesItemsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RankingsResponseTablesPropertiesItemsItem.
type RateLimitRule ¶
type RateLimitRule struct { CustomRule // REQUIRED; Defines rate limit duration. Default is 1 minute. RateLimitDurationInMinutes *int32 `json:"rateLimitDurationInMinutes,omitempty"` // REQUIRED; Defines rate limit threshold. RateLimitThreshold *int32 `json:"rateLimitThreshold,omitempty"` }
RateLimitRule - Defines a rate limiting rule that can be included in a waf policy
func (RateLimitRule) MarshalJSON ¶
func (r RateLimitRule) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RateLimitRule.
type RateLimitRuleList ¶
type RateLimitRuleList struct { // List of rules Rules []*RateLimitRule `json:"rules,omitempty"` }
RateLimitRuleList - Defines contents of rate limit rules
func (RateLimitRuleList) MarshalJSON ¶
func (r RateLimitRuleList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RateLimitRuleList.
type RedirectType ¶
type RedirectType string
RedirectType - The redirect type the rule will use when redirecting traffic.
const ( RedirectTypeFound RedirectType = "Found" RedirectTypeMoved RedirectType = "Moved" RedirectTypePermanentRedirect RedirectType = "PermanentRedirect" RedirectTypeTemporaryRedirect RedirectType = "TemporaryRedirect" )
func PossibleRedirectTypeValues ¶
func PossibleRedirectTypeValues() []RedirectType
PossibleRedirectTypeValues returns the possible values for the RedirectType const type.
func (RedirectType) ToPtr ¶
func (c RedirectType) ToPtr() *RedirectType
ToPtr returns a *RedirectType pointing to the current value.
type RemoteAddressMatchConditionParameters ¶
type RemoteAddressMatchConditionParameters struct { // REQUIRED ODataType *RemoteAddressMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *RemoteAddressOperator `json:"operator,omitempty"` // 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"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
RemoteAddressMatchConditionParameters - Defines the parameters for RemoteAddress match conditions
func (RemoteAddressMatchConditionParameters) MarshalJSON ¶
func (r RemoteAddressMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RemoteAddressMatchConditionParameters.
type RemoteAddressMatchConditionParametersODataType ¶
type RemoteAddressMatchConditionParametersODataType string
const (
RemoteAddressMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleRemoteAddressConditionParameters RemoteAddressMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"
)
func PossibleRemoteAddressMatchConditionParametersODataTypeValues ¶
func PossibleRemoteAddressMatchConditionParametersODataTypeValues() []RemoteAddressMatchConditionParametersODataType
PossibleRemoteAddressMatchConditionParametersODataTypeValues returns the possible values for the RemoteAddressMatchConditionParametersODataType const type.
func (RemoteAddressMatchConditionParametersODataType) ToPtr ¶
func (c RemoteAddressMatchConditionParametersODataType) ToPtr() *RemoteAddressMatchConditionParametersODataType
ToPtr returns a *RemoteAddressMatchConditionParametersODataType pointing to the current value.
type RemoteAddressOperator ¶
type RemoteAddressOperator string
RemoteAddressOperator - Describes operator to be matched
const ( RemoteAddressOperatorAny RemoteAddressOperator = "Any" RemoteAddressOperatorGeoMatch RemoteAddressOperator = "GeoMatch" RemoteAddressOperatorIPMatch RemoteAddressOperator = "IPMatch" )
func PossibleRemoteAddressOperatorValues ¶
func PossibleRemoteAddressOperatorValues() []RemoteAddressOperator
PossibleRemoteAddressOperatorValues returns the possible values for the RemoteAddressOperator const type.
func (RemoteAddressOperator) ToPtr ¶
func (c RemoteAddressOperator) ToPtr() *RemoteAddressOperator
ToPtr returns a *RemoteAddressOperator pointing to the current value.
type RequestBodyMatchConditionParameters ¶
type RequestBodyMatchConditionParameters struct { // REQUIRED ODataType *RequestBodyMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *RequestBodyOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
RequestBodyMatchConditionParameters - Defines the parameters for RequestBody match conditions
func (RequestBodyMatchConditionParameters) MarshalJSON ¶
func (r RequestBodyMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RequestBodyMatchConditionParameters.
type RequestBodyMatchConditionParametersODataType ¶
type RequestBodyMatchConditionParametersODataType string
const (
RequestBodyMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleRequestBodyConditionParameters RequestBodyMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters"
)
func PossibleRequestBodyMatchConditionParametersODataTypeValues ¶
func PossibleRequestBodyMatchConditionParametersODataTypeValues() []RequestBodyMatchConditionParametersODataType
PossibleRequestBodyMatchConditionParametersODataTypeValues returns the possible values for the RequestBodyMatchConditionParametersODataType const type.
func (RequestBodyMatchConditionParametersODataType) ToPtr ¶
func (c RequestBodyMatchConditionParametersODataType) ToPtr() *RequestBodyMatchConditionParametersODataType
ToPtr returns a *RequestBodyMatchConditionParametersODataType pointing to the current value.
type RequestBodyOperator ¶
type RequestBodyOperator string
RequestBodyOperator - Describes operator to be matched
const ( RequestBodyOperatorAny RequestBodyOperator = "Any" RequestBodyOperatorBeginsWith RequestBodyOperator = "BeginsWith" RequestBodyOperatorContains RequestBodyOperator = "Contains" RequestBodyOperatorEndsWith RequestBodyOperator = "EndsWith" RequestBodyOperatorEqual RequestBodyOperator = "Equal" RequestBodyOperatorGreaterThan RequestBodyOperator = "GreaterThan" RequestBodyOperatorGreaterThanOrEqual RequestBodyOperator = "GreaterThanOrEqual" RequestBodyOperatorLessThan RequestBodyOperator = "LessThan" RequestBodyOperatorLessThanOrEqual RequestBodyOperator = "LessThanOrEqual" RequestBodyOperatorRegEx RequestBodyOperator = "RegEx" )
func PossibleRequestBodyOperatorValues ¶
func PossibleRequestBodyOperatorValues() []RequestBodyOperator
PossibleRequestBodyOperatorValues returns the possible values for the RequestBodyOperator const type.
func (RequestBodyOperator) ToPtr ¶
func (c RequestBodyOperator) ToPtr() *RequestBodyOperator
ToPtr returns a *RequestBodyOperator pointing to the current value.
type RequestHeaderMatchConditionParameters ¶
type RequestHeaderMatchConditionParameters struct { // REQUIRED ODataType *RequestHeaderMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *RequestHeaderOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // Name of Header to be matched Selector *string `json:"selector,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
RequestHeaderMatchConditionParameters - Defines the parameters for RequestHeader match conditions
func (RequestHeaderMatchConditionParameters) MarshalJSON ¶
func (r RequestHeaderMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RequestHeaderMatchConditionParameters.
type RequestHeaderMatchConditionParametersODataType ¶
type RequestHeaderMatchConditionParametersODataType string
const (
RequestHeaderMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleRequestHeaderConditionParameters RequestHeaderMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters"
)
func PossibleRequestHeaderMatchConditionParametersODataTypeValues ¶
func PossibleRequestHeaderMatchConditionParametersODataTypeValues() []RequestHeaderMatchConditionParametersODataType
PossibleRequestHeaderMatchConditionParametersODataTypeValues returns the possible values for the RequestHeaderMatchConditionParametersODataType const type.
func (RequestHeaderMatchConditionParametersODataType) ToPtr ¶
func (c RequestHeaderMatchConditionParametersODataType) ToPtr() *RequestHeaderMatchConditionParametersODataType
ToPtr returns a *RequestHeaderMatchConditionParametersODataType pointing to the current value.
type RequestHeaderOperator ¶
type RequestHeaderOperator string
RequestHeaderOperator - Describes operator to be matched
const ( RequestHeaderOperatorAny RequestHeaderOperator = "Any" RequestHeaderOperatorBeginsWith RequestHeaderOperator = "BeginsWith" RequestHeaderOperatorContains RequestHeaderOperator = "Contains" RequestHeaderOperatorEndsWith RequestHeaderOperator = "EndsWith" RequestHeaderOperatorEqual RequestHeaderOperator = "Equal" RequestHeaderOperatorGreaterThan RequestHeaderOperator = "GreaterThan" RequestHeaderOperatorGreaterThanOrEqual RequestHeaderOperator = "GreaterThanOrEqual" RequestHeaderOperatorLessThan RequestHeaderOperator = "LessThan" RequestHeaderOperatorLessThanOrEqual RequestHeaderOperator = "LessThanOrEqual" RequestHeaderOperatorRegEx RequestHeaderOperator = "RegEx" )
func PossibleRequestHeaderOperatorValues ¶
func PossibleRequestHeaderOperatorValues() []RequestHeaderOperator
PossibleRequestHeaderOperatorValues returns the possible values for the RequestHeaderOperator const type.
func (RequestHeaderOperator) ToPtr ¶
func (c RequestHeaderOperator) ToPtr() *RequestHeaderOperator
ToPtr returns a *RequestHeaderOperator pointing to the current value.
type RequestMethodMatchConditionParameters ¶
type RequestMethodMatchConditionParameters struct { // REQUIRED ODataType *RequestMethodMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *RequestMethodOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*RequestMethodMatchConditionParametersMatchValuesItem `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` }
RequestMethodMatchConditionParameters - Defines the parameters for RequestMethod match conditions
func (RequestMethodMatchConditionParameters) MarshalJSON ¶
func (r RequestMethodMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RequestMethodMatchConditionParameters.
type RequestMethodMatchConditionParametersMatchValuesItem ¶
type RequestMethodMatchConditionParametersMatchValuesItem string
const ( RequestMethodMatchConditionParametersMatchValuesItemDELETE RequestMethodMatchConditionParametersMatchValuesItem = "DELETE" RequestMethodMatchConditionParametersMatchValuesItemGET RequestMethodMatchConditionParametersMatchValuesItem = "GET" RequestMethodMatchConditionParametersMatchValuesItemHEAD RequestMethodMatchConditionParametersMatchValuesItem = "HEAD" RequestMethodMatchConditionParametersMatchValuesItemOPTIONS RequestMethodMatchConditionParametersMatchValuesItem = "OPTIONS" RequestMethodMatchConditionParametersMatchValuesItemPOST RequestMethodMatchConditionParametersMatchValuesItem = "POST" RequestMethodMatchConditionParametersMatchValuesItemPUT RequestMethodMatchConditionParametersMatchValuesItem = "PUT" RequestMethodMatchConditionParametersMatchValuesItemTRACE RequestMethodMatchConditionParametersMatchValuesItem = "TRACE" )
func PossibleRequestMethodMatchConditionParametersMatchValuesItemValues ¶
func PossibleRequestMethodMatchConditionParametersMatchValuesItemValues() []RequestMethodMatchConditionParametersMatchValuesItem
PossibleRequestMethodMatchConditionParametersMatchValuesItemValues returns the possible values for the RequestMethodMatchConditionParametersMatchValuesItem const type.
func (RequestMethodMatchConditionParametersMatchValuesItem) ToPtr ¶
func (c RequestMethodMatchConditionParametersMatchValuesItem) ToPtr() *RequestMethodMatchConditionParametersMatchValuesItem
ToPtr returns a *RequestMethodMatchConditionParametersMatchValuesItem pointing to the current value.
type RequestMethodMatchConditionParametersODataType ¶
type RequestMethodMatchConditionParametersODataType string
const (
RequestMethodMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleRequestMethodConditionParameters RequestMethodMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters"
)
func PossibleRequestMethodMatchConditionParametersODataTypeValues ¶
func PossibleRequestMethodMatchConditionParametersODataTypeValues() []RequestMethodMatchConditionParametersODataType
PossibleRequestMethodMatchConditionParametersODataTypeValues returns the possible values for the RequestMethodMatchConditionParametersODataType const type.
func (RequestMethodMatchConditionParametersODataType) ToPtr ¶
func (c RequestMethodMatchConditionParametersODataType) ToPtr() *RequestMethodMatchConditionParametersODataType
ToPtr returns a *RequestMethodMatchConditionParametersODataType pointing to the current value.
type RequestMethodOperator ¶
type RequestMethodOperator string
RequestMethodOperator - Describes operator to be matched
const (
RequestMethodOperatorEqual RequestMethodOperator = "Equal"
)
func PossibleRequestMethodOperatorValues ¶
func PossibleRequestMethodOperatorValues() []RequestMethodOperator
PossibleRequestMethodOperatorValues returns the possible values for the RequestMethodOperator const type.
func (RequestMethodOperator) ToPtr ¶
func (c RequestMethodOperator) ToPtr() *RequestMethodOperator
ToPtr returns a *RequestMethodOperator pointing to the current value.
type RequestSchemeMatchConditionParameters ¶
type RequestSchemeMatchConditionParameters struct { // REQUIRED ODataType *RequestSchemeMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *RequestSchemeMatchConditionParametersOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*RequestSchemeMatchConditionParametersMatchValuesItem `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` }
RequestSchemeMatchConditionParameters - Defines the parameters for RequestScheme match conditions
func (RequestSchemeMatchConditionParameters) MarshalJSON ¶
func (r RequestSchemeMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RequestSchemeMatchConditionParameters.
type RequestSchemeMatchConditionParametersMatchValuesItem ¶
type RequestSchemeMatchConditionParametersMatchValuesItem string
const ( RequestSchemeMatchConditionParametersMatchValuesItemHTTP RequestSchemeMatchConditionParametersMatchValuesItem = "HTTP" RequestSchemeMatchConditionParametersMatchValuesItemHTTPS RequestSchemeMatchConditionParametersMatchValuesItem = "HTTPS" )
func PossibleRequestSchemeMatchConditionParametersMatchValuesItemValues ¶
func PossibleRequestSchemeMatchConditionParametersMatchValuesItemValues() []RequestSchemeMatchConditionParametersMatchValuesItem
PossibleRequestSchemeMatchConditionParametersMatchValuesItemValues returns the possible values for the RequestSchemeMatchConditionParametersMatchValuesItem const type.
func (RequestSchemeMatchConditionParametersMatchValuesItem) ToPtr ¶
func (c RequestSchemeMatchConditionParametersMatchValuesItem) ToPtr() *RequestSchemeMatchConditionParametersMatchValuesItem
ToPtr returns a *RequestSchemeMatchConditionParametersMatchValuesItem pointing to the current value.
type RequestSchemeMatchConditionParametersODataType ¶
type RequestSchemeMatchConditionParametersODataType string
const (
RequestSchemeMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleRequestSchemeConditionParameters RequestSchemeMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"
)
func PossibleRequestSchemeMatchConditionParametersODataTypeValues ¶
func PossibleRequestSchemeMatchConditionParametersODataTypeValues() []RequestSchemeMatchConditionParametersODataType
PossibleRequestSchemeMatchConditionParametersODataTypeValues returns the possible values for the RequestSchemeMatchConditionParametersODataType const type.
func (RequestSchemeMatchConditionParametersODataType) ToPtr ¶
func (c RequestSchemeMatchConditionParametersODataType) ToPtr() *RequestSchemeMatchConditionParametersODataType
ToPtr returns a *RequestSchemeMatchConditionParametersODataType pointing to the current value.
type RequestSchemeMatchConditionParametersOperator ¶
type RequestSchemeMatchConditionParametersOperator string
RequestSchemeMatchConditionParametersOperator - Describes operator to be matched
const (
RequestSchemeMatchConditionParametersOperatorEqual RequestSchemeMatchConditionParametersOperator = "Equal"
)
func PossibleRequestSchemeMatchConditionParametersOperatorValues ¶
func PossibleRequestSchemeMatchConditionParametersOperatorValues() []RequestSchemeMatchConditionParametersOperator
PossibleRequestSchemeMatchConditionParametersOperatorValues returns the possible values for the RequestSchemeMatchConditionParametersOperator const type.
func (RequestSchemeMatchConditionParametersOperator) ToPtr ¶
func (c RequestSchemeMatchConditionParametersOperator) ToPtr() *RequestSchemeMatchConditionParametersOperator
ToPtr returns a *RequestSchemeMatchConditionParametersOperator pointing to the current value.
type RequestURIMatchConditionParameters ¶
type RequestURIMatchConditionParameters struct { // REQUIRED ODataType *RequestURIMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *RequestURIOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
RequestURIMatchConditionParameters - Defines the parameters for RequestUri match conditions
func (RequestURIMatchConditionParameters) MarshalJSON ¶
func (r RequestURIMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RequestURIMatchConditionParameters.
type RequestURIMatchConditionParametersODataType ¶
type RequestURIMatchConditionParametersODataType string
const (
RequestURIMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleRequestURIConditionParameters RequestURIMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters"
)
func PossibleRequestURIMatchConditionParametersODataTypeValues ¶
func PossibleRequestURIMatchConditionParametersODataTypeValues() []RequestURIMatchConditionParametersODataType
PossibleRequestURIMatchConditionParametersODataTypeValues returns the possible values for the RequestURIMatchConditionParametersODataType const type.
func (RequestURIMatchConditionParametersODataType) ToPtr ¶
func (c RequestURIMatchConditionParametersODataType) ToPtr() *RequestURIMatchConditionParametersODataType
ToPtr returns a *RequestURIMatchConditionParametersODataType pointing to the current value.
type RequestURIOperator ¶
type RequestURIOperator string
RequestURIOperator - Describes operator to be matched
const ( RequestURIOperatorAny RequestURIOperator = "Any" RequestURIOperatorBeginsWith RequestURIOperator = "BeginsWith" RequestURIOperatorContains RequestURIOperator = "Contains" RequestURIOperatorEndsWith RequestURIOperator = "EndsWith" RequestURIOperatorEqual RequestURIOperator = "Equal" RequestURIOperatorGreaterThan RequestURIOperator = "GreaterThan" RequestURIOperatorGreaterThanOrEqual RequestURIOperator = "GreaterThanOrEqual" RequestURIOperatorLessThan RequestURIOperator = "LessThan" RequestURIOperatorLessThanOrEqual RequestURIOperator = "LessThanOrEqual" RequestURIOperatorRegEx RequestURIOperator = "RegEx" )
func PossibleRequestURIOperatorValues ¶
func PossibleRequestURIOperatorValues() []RequestURIOperator
PossibleRequestURIOperatorValues returns the possible values for the RequestURIOperator const type.
func (RequestURIOperator) ToPtr ¶
func (c RequestURIOperator) ToPtr() *RequestURIOperator
ToPtr returns a *RequestURIOperator pointing to the current value.
type Resource ¶
type Resource struct { // READ-ONLY; Resource ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; Resource name. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Read only system data SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` // READ-ONLY; Resource type. Type *string `json:"type,omitempty" azure:"ro"` }
Resource - The core properties of ARM resources
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
type ResourceReference ¶
type ResourceReference struct { // Resource ID. ID *string `json:"id,omitempty"` }
ResourceReference - Reference to another resource.
type ResourceUsage ¶
type ResourceUsage struct { // READ-ONLY; Actual value of usage on the specified resource type. CurrentValue *int32 `json:"currentValue,omitempty" azure:"ro"` // READ-ONLY; Quota of the specified resource type. Limit *int32 `json:"limit,omitempty" azure:"ro"` // READ-ONLY; Resource type for which the usage is provided. ResourceType *string `json:"resourceType,omitempty" azure:"ro"` // READ-ONLY; Unit of the usage. e.g. Count. Unit *string `json:"unit,omitempty" azure:"ro"` }
ResourceUsage - Output of check resource usage API.
type ResourceUsageClient ¶
type ResourceUsageClient struct {
// contains filtered or unexported fields
}
ResourceUsageClient contains the methods for the ResourceUsage group. Don't use this type directly, use NewResourceUsageClient() instead.
func NewResourceUsageClient ¶
func NewResourceUsageClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *ResourceUsageClient
NewResourceUsageClient creates a new instance of ResourceUsageClient with the specified values.
func (*ResourceUsageClient) List ¶
func (client *ResourceUsageClient) List(options *ResourceUsageListOptions) *ResourceUsageListPager
List - Check the quota and actual usage of the CDN profiles under the given subscription. If the operation fails it returns the *ErrorResponse error type.
type ResourceUsageListOptions ¶
type ResourceUsageListOptions struct { }
ResourceUsageListOptions contains the optional parameters for the ResourceUsage.List method.
type ResourceUsageListPager ¶
type ResourceUsageListPager struct {
// contains filtered or unexported fields
}
ResourceUsageListPager provides operations for iterating over paged responses.
func (*ResourceUsageListPager) Err ¶
func (p *ResourceUsageListPager) Err() error
Err returns the last error encountered while paging.
func (*ResourceUsageListPager) NextPage ¶
func (p *ResourceUsageListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ResourceUsageListPager) PageResponse ¶
func (p *ResourceUsageListPager) PageResponse() ResourceUsageListResponse
PageResponse returns the current ResourceUsageListResponse page.
type ResourceUsageListResponse ¶
type ResourceUsageListResponse struct { ResourceUsageListResultEnvelope // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ResourceUsageListResponse contains the response from method ResourceUsage.List.
type ResourceUsageListResult ¶
type ResourceUsageListResult struct { // URL to get the next set of custom domain objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of resource usages. Value []*ResourceUsage `json:"value,omitempty" azure:"ro"` }
ResourceUsageListResult - Output of check resource usage API.
func (ResourceUsageListResult) MarshalJSON ¶
func (r ResourceUsageListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceUsageListResult.
type ResourceUsageListResultEnvelope ¶
type ResourceUsageListResultEnvelope struct {
ResourceUsageListResult
}
ResourceUsageListResultEnvelope contains the result from method ResourceUsage.List.
type ResourcesResponse ¶
type ResourcesResponse struct { CustomDomains []*ResourcesResponseCustomDomainsItem `json:"customDomains,omitempty"` Endpoints []*ResourcesResponseEndpointsItem `json:"endpoints,omitempty"` }
ResourcesResponse - Resources Response
func (ResourcesResponse) MarshalJSON ¶
func (r ResourcesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourcesResponse.
type ResourcesResponseEndpointsItem ¶
type ResourcesResponseEndpointsItem struct { CustomDomains []*ResourcesResponseEndpointsPropertiesItemsItem `json:"customDomains,omitempty"` History *bool `json:"history,omitempty"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
func (ResourcesResponseEndpointsItem) MarshalJSON ¶
func (r ResourcesResponseEndpointsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourcesResponseEndpointsItem.
type ResponseBasedDetectedErrorTypes ¶
type ResponseBasedDetectedErrorTypes string
ResponseBasedDetectedErrorTypes - Type of response errors for real user requests for which origin will be deemed unhealthy
const ( ResponseBasedDetectedErrorTypesNone ResponseBasedDetectedErrorTypes = "None" ResponseBasedDetectedErrorTypesTCPErrorsOnly ResponseBasedDetectedErrorTypes = "TcpErrorsOnly" ResponseBasedDetectedErrorTypesTCPAndHTTPErrors ResponseBasedDetectedErrorTypes = "TcpAndHttpErrors" )
func PossibleResponseBasedDetectedErrorTypesValues ¶
func PossibleResponseBasedDetectedErrorTypesValues() []ResponseBasedDetectedErrorTypes
PossibleResponseBasedDetectedErrorTypesValues returns the possible values for the ResponseBasedDetectedErrorTypes const type.
func (ResponseBasedDetectedErrorTypes) ToPtr ¶
func (c ResponseBasedDetectedErrorTypes) ToPtr() *ResponseBasedDetectedErrorTypes
ToPtr returns a *ResponseBasedDetectedErrorTypes pointing to the current value.
type ResponseBasedOriginErrorDetectionParameters ¶
type ResponseBasedOriginErrorDetectionParameters struct { // The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. HTTPErrorRanges []*HTTPErrorRangeParameters `json:"httpErrorRanges,omitempty"` // Type of response errors for real user requests for which origin will be deemed unhealthy ResponseBasedDetectedErrorTypes *ResponseBasedDetectedErrorTypes `json:"responseBasedDetectedErrorTypes,omitempty"` // The percentage of failed requests in the sample where failover should trigger. ResponseBasedFailoverThresholdPercentage *int32 `json:"responseBasedFailoverThresholdPercentage,omitempty"` }
ResponseBasedOriginErrorDetectionParameters - The JSON object that contains the properties to determine origin health using real requests/responses.
func (ResponseBasedOriginErrorDetectionParameters) MarshalJSON ¶
func (r ResponseBasedOriginErrorDetectionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResponseBasedOriginErrorDetectionParameters.
type Route ¶
type Route struct { ProxyResource // The JSON object that contains the properties of the Routes to create. Properties *RouteProperties `json:"properties,omitempty"` }
Route - Friendly Routes name mapping to the any Routes or secret related information.
func (Route) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Route.
type RouteListResult ¶
type RouteListResult struct { // URL to get the next set of route objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of AzureFrontDoor routes within a profile. Value []*Route `json:"value,omitempty" azure:"ro"` }
RouteListResult - Result of the request to list routes. It contains a list of route objects and a URL link to get the next set of results.
func (RouteListResult) MarshalJSON ¶
func (r RouteListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RouteListResult.
type RouteProperties ¶
type RouteProperties struct { AFDStateProperties RouteUpdatePropertiesParameters }
RouteProperties - The JSON object that contains the properties of the Routes to create.
type RouteUpdateParameters ¶
type RouteUpdateParameters struct { // The JSON object that contains the properties of the domain to create. Properties *RouteUpdatePropertiesParameters `json:"properties,omitempty"` }
RouteUpdateParameters - The domain JSON object required for domain creation or update.
func (RouteUpdateParameters) MarshalJSON ¶
func (r RouteUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RouteUpdateParameters.
type RouteUpdatePropertiesParameters ¶
type RouteUpdatePropertiesParameters struct { // compression settings. CompressionSettings map[string]interface{} `json:"compressionSettings,omitempty"` // Domains referenced by this endpoint. CustomDomains []*ResourceReference `json:"customDomains,omitempty"` // Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' EnabledState *EnabledState `json:"enabledState,omitempty"` // Protocol this rule will use when forwarding traffic to backends. ForwardingProtocol *ForwardingProtocol `json:"forwardingProtocol,omitempty"` // Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that // gets executed. HTTPSRedirect *HTTPSRedirect `json:"httpsRedirect,omitempty"` // whether this route will be linked to the default endpoint domain. LinkToDefaultDomain *LinkToDefaultDomain `json:"linkToDefaultDomain,omitempty"` // A reference to the origin group. OriginGroup *ResourceReference `json:"originGroup,omitempty"` // A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // The route patterns of the rule. PatternsToMatch []*string `json:"patternsToMatch,omitempty"` // 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. QueryStringCachingBehavior *AfdQueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"` // rule sets referenced by this endpoint. RuleSets []*ResourceReference `json:"ruleSets,omitempty"` // List of supported protocols for this route. SupportedProtocols []*AFDEndpointProtocols `json:"supportedProtocols,omitempty"` }
RouteUpdatePropertiesParameters - The JSON object that contains the properties of the domain to create.
func (RouteUpdatePropertiesParameters) MarshalJSON ¶
func (r RouteUpdatePropertiesParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RouteUpdatePropertiesParameters.
func (*RouteUpdatePropertiesParameters) UnmarshalJSON ¶
func (r *RouteUpdatePropertiesParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RouteUpdatePropertiesParameters.
type RoutesBeginCreateOptions ¶
type RoutesBeginCreateOptions struct { }
RoutesBeginCreateOptions contains the optional parameters for the Routes.BeginCreate method.
type RoutesBeginDeleteOptions ¶
type RoutesBeginDeleteOptions struct { }
RoutesBeginDeleteOptions contains the optional parameters for the Routes.BeginDelete method.
type RoutesBeginUpdateOptions ¶
type RoutesBeginUpdateOptions struct { }
RoutesBeginUpdateOptions contains the optional parameters for the Routes.BeginUpdate method.
type RoutesClient ¶
type RoutesClient struct {
// contains filtered or unexported fields
}
RoutesClient contains the methods for the Routes group. Don't use this type directly, use NewRoutesClient() instead.
func NewRoutesClient ¶
func NewRoutesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RoutesClient
NewRoutesClient creates a new instance of RoutesClient with the specified values.
func (*RoutesClient) BeginCreate ¶
func (client *RoutesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, route Route, options *RoutesBeginCreateOptions) (RoutesCreatePollerResponse, error)
BeginCreate - Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. If the operation fails it returns the *AfdErrorResponse error type.
func (*RoutesClient) BeginDelete ¶
func (client *RoutesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, options *RoutesBeginDeleteOptions) (RoutesDeletePollerResponse, error)
BeginDelete - Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. If the operation fails it returns the *AfdErrorResponse error type.
func (*RoutesClient) BeginUpdate ¶
func (client *RoutesClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, routeUpdateProperties RouteUpdateParameters, options *RoutesBeginUpdateOptions) (RoutesUpdatePollerResponse, error)
BeginUpdate - Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. If the operation fails it returns the *AfdErrorResponse error type.
func (*RoutesClient) Get ¶
func (client *RoutesClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, options *RoutesGetOptions) (RoutesGetResponse, error)
Get - Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint. If the operation fails it returns the *AfdErrorResponse error type.
func (*RoutesClient) ListByEndpoint ¶
func (client *RoutesClient) ListByEndpoint(resourceGroupName string, profileName string, endpointName string, options *RoutesListByEndpointOptions) *RoutesListByEndpointPager
ListByEndpoint - Lists all of the existing origins within a profile. If the operation fails it returns the *AfdErrorResponse error type.
type RoutesCreatePoller ¶
type RoutesCreatePoller struct {
// contains filtered or unexported fields
}
RoutesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*RoutesCreatePoller) Done ¶
func (p *RoutesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RoutesCreatePoller) FinalResponse ¶
func (p *RoutesCreatePoller) FinalResponse(ctx context.Context) (RoutesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RoutesCreateResponse will be returned.
func (*RoutesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RoutesCreatePoller) ResumeToken ¶
func (p *RoutesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RoutesCreatePollerResponse ¶
type RoutesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *RoutesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesCreatePollerResponse contains the response from method Routes.Create.
func (RoutesCreatePollerResponse) PollUntilDone ¶
func (l RoutesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RoutesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RoutesCreatePollerResponse) Resume ¶
func (l *RoutesCreatePollerResponse) Resume(ctx context.Context, client *RoutesClient, token string) error
Resume rehydrates a RoutesCreatePollerResponse from the provided client and resume token.
type RoutesCreateResponse ¶
type RoutesCreateResponse struct { RoutesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesCreateResponse contains the response from method Routes.Create.
type RoutesCreateResult ¶
type RoutesCreateResult struct {
Route
}
RoutesCreateResult contains the result from method Routes.Create.
type RoutesDeletePoller ¶
type RoutesDeletePoller struct {
// contains filtered or unexported fields
}
RoutesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*RoutesDeletePoller) Done ¶
func (p *RoutesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RoutesDeletePoller) FinalResponse ¶
func (p *RoutesDeletePoller) FinalResponse(ctx context.Context) (RoutesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RoutesDeleteResponse will be returned.
func (*RoutesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RoutesDeletePoller) ResumeToken ¶
func (p *RoutesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RoutesDeletePollerResponse ¶
type RoutesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *RoutesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesDeletePollerResponse contains the response from method Routes.Delete.
func (RoutesDeletePollerResponse) PollUntilDone ¶
func (l RoutesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RoutesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RoutesDeletePollerResponse) Resume ¶
func (l *RoutesDeletePollerResponse) Resume(ctx context.Context, client *RoutesClient, token string) error
Resume rehydrates a RoutesDeletePollerResponse from the provided client and resume token.
type RoutesDeleteResponse ¶
type RoutesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesDeleteResponse contains the response from method Routes.Delete.
type RoutesGetOptions ¶
type RoutesGetOptions struct { }
RoutesGetOptions contains the optional parameters for the Routes.Get method.
type RoutesGetResponse ¶
type RoutesGetResponse struct { RoutesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesGetResponse contains the response from method Routes.Get.
type RoutesGetResult ¶
type RoutesGetResult struct {
Route
}
RoutesGetResult contains the result from method Routes.Get.
type RoutesListByEndpointOptions ¶
type RoutesListByEndpointOptions struct { }
RoutesListByEndpointOptions contains the optional parameters for the Routes.ListByEndpoint method.
type RoutesListByEndpointPager ¶
type RoutesListByEndpointPager struct {
// contains filtered or unexported fields
}
RoutesListByEndpointPager provides operations for iterating over paged responses.
func (*RoutesListByEndpointPager) Err ¶
func (p *RoutesListByEndpointPager) Err() error
Err returns the last error encountered while paging.
func (*RoutesListByEndpointPager) NextPage ¶
func (p *RoutesListByEndpointPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RoutesListByEndpointPager) PageResponse ¶
func (p *RoutesListByEndpointPager) PageResponse() RoutesListByEndpointResponse
PageResponse returns the current RoutesListByEndpointResponse page.
type RoutesListByEndpointResponse ¶
type RoutesListByEndpointResponse struct { RoutesListByEndpointResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesListByEndpointResponse contains the response from method Routes.ListByEndpoint.
type RoutesListByEndpointResult ¶
type RoutesListByEndpointResult struct {
RouteListResult
}
RoutesListByEndpointResult contains the result from method Routes.ListByEndpoint.
type RoutesUpdatePoller ¶
type RoutesUpdatePoller struct {
// contains filtered or unexported fields
}
RoutesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*RoutesUpdatePoller) Done ¶
func (p *RoutesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RoutesUpdatePoller) FinalResponse ¶
func (p *RoutesUpdatePoller) FinalResponse(ctx context.Context) (RoutesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RoutesUpdateResponse will be returned.
func (*RoutesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RoutesUpdatePoller) ResumeToken ¶
func (p *RoutesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RoutesUpdatePollerResponse ¶
type RoutesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *RoutesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesUpdatePollerResponse contains the response from method Routes.Update.
func (RoutesUpdatePollerResponse) PollUntilDone ¶
func (l RoutesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RoutesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RoutesUpdatePollerResponse) Resume ¶
func (l *RoutesUpdatePollerResponse) Resume(ctx context.Context, client *RoutesClient, token string) error
Resume rehydrates a RoutesUpdatePollerResponse from the provided client and resume token.
type RoutesUpdateResponse ¶
type RoutesUpdateResponse struct { RoutesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RoutesUpdateResponse contains the response from method Routes.Update.
type RoutesUpdateResult ¶
type RoutesUpdateResult struct {
Route
}
RoutesUpdateResult contains the result from method Routes.Update.
type Rule ¶
type Rule struct { ProxyResource // The JSON object that contains the properties of the Rules to create. Properties *RuleProperties `json:"properties,omitempty"` }
Rule - Friendly Rules name mapping to the any Rules or secret related information.
func (Rule) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Rule.
type RuleListResult ¶
type RuleListResult struct { // URL to get the next set of rule objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of AzureFrontDoor rules within a rule set. Value []*Rule `json:"value,omitempty" azure:"ro"` }
RuleListResult - Result of the request to list rules. It contains a list of rule objects and a URL link to get the next set of results.
func (RuleListResult) MarshalJSON ¶
func (r RuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RuleListResult.
type RuleProperties ¶
type RuleProperties struct { AFDStateProperties RuleUpdatePropertiesParameters }
RuleProperties - The JSON object that contains the properties of the Rules to create.
type RuleSet ¶
type RuleSet struct { ProxyResource // The JSON object that contains the properties of the Rule Set to create. Properties *RuleSetProperties `json:"properties,omitempty"` }
RuleSet - Friendly RuleSet name mapping to the any RuleSet or secret related information.
func (RuleSet) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type RuleSet.
type RuleSetListResult ¶
type RuleSetListResult struct { // URL to get the next set of rule set objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of AzureFrontDoor rule sets within a profile. Value []*RuleSet `json:"value,omitempty" azure:"ro"` }
RuleSetListResult - Result of the request to list rule sets. It contains a list of rule set objects and a URL link to get the next set of results.
func (RuleSetListResult) MarshalJSON ¶
func (r RuleSetListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RuleSetListResult.
type RuleSetProperties ¶
type RuleSetProperties struct {
AFDStateProperties
}
RuleSetProperties - The JSON object that contains the properties of the Rule Set to create.
type RuleSetsBeginCreateOptions ¶
type RuleSetsBeginCreateOptions struct { }
RuleSetsBeginCreateOptions contains the optional parameters for the RuleSets.BeginCreate method.
type RuleSetsBeginDeleteOptions ¶
type RuleSetsBeginDeleteOptions struct { }
RuleSetsBeginDeleteOptions contains the optional parameters for the RuleSets.BeginDelete method.
type RuleSetsClient ¶
type RuleSetsClient struct {
// contains filtered or unexported fields
}
RuleSetsClient contains the methods for the RuleSets group. Don't use this type directly, use NewRuleSetsClient() instead.
func NewRuleSetsClient ¶
func NewRuleSetsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RuleSetsClient
NewRuleSetsClient creates a new instance of RuleSetsClient with the specified values.
func (*RuleSetsClient) BeginCreate ¶
func (client *RuleSetsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, options *RuleSetsBeginCreateOptions) (RuleSetsCreatePollerResponse, error)
BeginCreate - Creates a new rule set within the specified profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*RuleSetsClient) BeginDelete ¶
func (client *RuleSetsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, options *RuleSetsBeginDeleteOptions) (RuleSetsDeletePollerResponse, error)
BeginDelete - Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*RuleSetsClient) Get ¶
func (client *RuleSetsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, options *RuleSetsGetOptions) (RuleSetsGetResponse, error)
Get - Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*RuleSetsClient) ListByProfile ¶
func (client *RuleSetsClient) ListByProfile(resourceGroupName string, profileName string, options *RuleSetsListByProfileOptions) *RuleSetsListByProfilePager
ListByProfile - Lists existing AzureFrontDoor rule sets within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*RuleSetsClient) ListResourceUsage ¶
func (client *RuleSetsClient) ListResourceUsage(resourceGroupName string, profileName string, ruleSetName string, options *RuleSetsListResourceUsageOptions) *RuleSetsListResourceUsagePager
ListResourceUsage - Checks the quota and actual usage of endpoints under the given CDN profile. If the operation fails it returns the *AfdErrorResponse error type.
type RuleSetsCreatePoller ¶
type RuleSetsCreatePoller struct {
// contains filtered or unexported fields
}
RuleSetsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*RuleSetsCreatePoller) Done ¶
func (p *RuleSetsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RuleSetsCreatePoller) FinalResponse ¶
func (p *RuleSetsCreatePoller) FinalResponse(ctx context.Context) (RuleSetsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RuleSetsCreateResponse will be returned.
func (*RuleSetsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RuleSetsCreatePoller) ResumeToken ¶
func (p *RuleSetsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RuleSetsCreatePollerResponse ¶
type RuleSetsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *RuleSetsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsCreatePollerResponse contains the response from method RuleSets.Create.
func (RuleSetsCreatePollerResponse) PollUntilDone ¶
func (l RuleSetsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RuleSetsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RuleSetsCreatePollerResponse) Resume ¶
func (l *RuleSetsCreatePollerResponse) Resume(ctx context.Context, client *RuleSetsClient, token string) error
Resume rehydrates a RuleSetsCreatePollerResponse from the provided client and resume token.
type RuleSetsCreateResponse ¶
type RuleSetsCreateResponse struct { RuleSetsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsCreateResponse contains the response from method RuleSets.Create.
type RuleSetsCreateResult ¶
type RuleSetsCreateResult struct {
RuleSet
}
RuleSetsCreateResult contains the result from method RuleSets.Create.
type RuleSetsDeletePoller ¶
type RuleSetsDeletePoller struct {
// contains filtered or unexported fields
}
RuleSetsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*RuleSetsDeletePoller) Done ¶
func (p *RuleSetsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RuleSetsDeletePoller) FinalResponse ¶
func (p *RuleSetsDeletePoller) FinalResponse(ctx context.Context) (RuleSetsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RuleSetsDeleteResponse will be returned.
func (*RuleSetsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RuleSetsDeletePoller) ResumeToken ¶
func (p *RuleSetsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RuleSetsDeletePollerResponse ¶
type RuleSetsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *RuleSetsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsDeletePollerResponse contains the response from method RuleSets.Delete.
func (RuleSetsDeletePollerResponse) PollUntilDone ¶
func (l RuleSetsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RuleSetsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RuleSetsDeletePollerResponse) Resume ¶
func (l *RuleSetsDeletePollerResponse) Resume(ctx context.Context, client *RuleSetsClient, token string) error
Resume rehydrates a RuleSetsDeletePollerResponse from the provided client and resume token.
type RuleSetsDeleteResponse ¶
type RuleSetsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsDeleteResponse contains the response from method RuleSets.Delete.
type RuleSetsGetOptions ¶
type RuleSetsGetOptions struct { }
RuleSetsGetOptions contains the optional parameters for the RuleSets.Get method.
type RuleSetsGetResponse ¶
type RuleSetsGetResponse struct { RuleSetsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsGetResponse contains the response from method RuleSets.Get.
type RuleSetsGetResult ¶
type RuleSetsGetResult struct {
RuleSet
}
RuleSetsGetResult contains the result from method RuleSets.Get.
type RuleSetsListByProfileOptions ¶
type RuleSetsListByProfileOptions struct { }
RuleSetsListByProfileOptions contains the optional parameters for the RuleSets.ListByProfile method.
type RuleSetsListByProfilePager ¶
type RuleSetsListByProfilePager struct {
// contains filtered or unexported fields
}
RuleSetsListByProfilePager provides operations for iterating over paged responses.
func (*RuleSetsListByProfilePager) Err ¶
func (p *RuleSetsListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*RuleSetsListByProfilePager) NextPage ¶
func (p *RuleSetsListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RuleSetsListByProfilePager) PageResponse ¶
func (p *RuleSetsListByProfilePager) PageResponse() RuleSetsListByProfileResponse
PageResponse returns the current RuleSetsListByProfileResponse page.
type RuleSetsListByProfileResponse ¶
type RuleSetsListByProfileResponse struct { RuleSetsListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsListByProfileResponse contains the response from method RuleSets.ListByProfile.
type RuleSetsListByProfileResult ¶
type RuleSetsListByProfileResult struct {
RuleSetListResult
}
RuleSetsListByProfileResult contains the result from method RuleSets.ListByProfile.
type RuleSetsListResourceUsageOptions ¶
type RuleSetsListResourceUsageOptions struct { }
RuleSetsListResourceUsageOptions contains the optional parameters for the RuleSets.ListResourceUsage method.
type RuleSetsListResourceUsagePager ¶
type RuleSetsListResourceUsagePager struct {
// contains filtered or unexported fields
}
RuleSetsListResourceUsagePager provides operations for iterating over paged responses.
func (*RuleSetsListResourceUsagePager) Err ¶
func (p *RuleSetsListResourceUsagePager) Err() error
Err returns the last error encountered while paging.
func (*RuleSetsListResourceUsagePager) NextPage ¶
func (p *RuleSetsListResourceUsagePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RuleSetsListResourceUsagePager) PageResponse ¶
func (p *RuleSetsListResourceUsagePager) PageResponse() RuleSetsListResourceUsageResponse
PageResponse returns the current RuleSetsListResourceUsageResponse page.
type RuleSetsListResourceUsageResponse ¶
type RuleSetsListResourceUsageResponse struct { RuleSetsListResourceUsageResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuleSetsListResourceUsageResponse contains the response from method RuleSets.ListResourceUsage.
type RuleSetsListResourceUsageResult ¶
type RuleSetsListResourceUsageResult struct {
UsagesListResult
}
RuleSetsListResourceUsageResult contains the result from method RuleSets.ListResourceUsage.
type RuleUpdateParameters ¶
type RuleUpdateParameters struct { // The JSON object that contains the properties of the domain to create. Properties *RuleUpdatePropertiesParameters `json:"properties,omitempty"` }
RuleUpdateParameters - The domain JSON object required for domain creation or update.
func (RuleUpdateParameters) MarshalJSON ¶
func (r RuleUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RuleUpdateParameters.
type RuleUpdatePropertiesParameters ¶
type RuleUpdatePropertiesParameters struct { // A list of actions that are executed when all the conditions of a rule are satisfied. Actions []DeliveryRuleActionAutoGeneratedClassification `json:"actions,omitempty"` // A list of conditions that must be matched for the actions to be executed Conditions []DeliveryRuleConditionClassification `json:"conditions,omitempty"` // If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. MatchProcessingBehavior *MatchProcessingBehavior `json:"matchProcessingBehavior,omitempty"` // 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"` }
RuleUpdatePropertiesParameters - The JSON object that contains the properties of the domain to create.
func (RuleUpdatePropertiesParameters) MarshalJSON ¶
func (r RuleUpdatePropertiesParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RuleUpdatePropertiesParameters.
func (*RuleUpdatePropertiesParameters) UnmarshalJSON ¶
func (r *RuleUpdatePropertiesParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RuleUpdatePropertiesParameters.
type RulesBeginCreateOptions ¶
type RulesBeginCreateOptions struct { }
RulesBeginCreateOptions contains the optional parameters for the Rules.BeginCreate method.
type RulesBeginDeleteOptions ¶
type RulesBeginDeleteOptions struct { }
RulesBeginDeleteOptions contains the optional parameters for the Rules.BeginDelete method.
type RulesBeginUpdateOptions ¶
type RulesBeginUpdateOptions struct { }
RulesBeginUpdateOptions contains the optional parameters for the Rules.BeginUpdate method.
type RulesClient ¶
type RulesClient struct {
// contains filtered or unexported fields
}
RulesClient contains the methods for the Rules group. Don't use this type directly, use NewRulesClient() instead.
func NewRulesClient ¶
func NewRulesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RulesClient
NewRulesClient creates a new instance of RulesClient with the specified values.
func (*RulesClient) BeginCreate ¶
func (client *RulesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, rule Rule, options *RulesBeginCreateOptions) (RulesCreatePollerResponse, error)
BeginCreate - Creates a new delivery rule within the specified rule set. If the operation fails it returns the *AfdErrorResponse error type.
func (*RulesClient) BeginDelete ¶
func (client *RulesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, options *RulesBeginDeleteOptions) (RulesDeletePollerResponse, error)
BeginDelete - Deletes an existing delivery rule within a rule set. If the operation fails it returns the *AfdErrorResponse error type.
func (*RulesClient) BeginUpdate ¶
func (client *RulesClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, ruleUpdateProperties RuleUpdateParameters, options *RulesBeginUpdateOptions) (RulesUpdatePollerResponse, error)
BeginUpdate - Updates an existing delivery rule within a rule set. If the operation fails it returns the *AfdErrorResponse error type.
func (*RulesClient) Get ¶
func (client *RulesClient) Get(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, options *RulesGetOptions) (RulesGetResponse, error)
Get - Gets an existing delivery rule within a rule set. If the operation fails it returns the *AfdErrorResponse error type.
func (*RulesClient) ListByRuleSet ¶
func (client *RulesClient) ListByRuleSet(resourceGroupName string, profileName string, ruleSetName string, options *RulesListByRuleSetOptions) *RulesListByRuleSetPager
ListByRuleSet - Lists all of the existing delivery rules within a rule set. If the operation fails it returns the *AfdErrorResponse error type.
type RulesCreatePoller ¶
type RulesCreatePoller struct {
// contains filtered or unexported fields
}
RulesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*RulesCreatePoller) Done ¶
func (p *RulesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RulesCreatePoller) FinalResponse ¶
func (p *RulesCreatePoller) FinalResponse(ctx context.Context) (RulesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RulesCreateResponse will be returned.
func (*RulesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RulesCreatePoller) ResumeToken ¶
func (p *RulesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RulesCreatePollerResponse ¶
type RulesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *RulesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesCreatePollerResponse contains the response from method Rules.Create.
func (RulesCreatePollerResponse) PollUntilDone ¶
func (l RulesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RulesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RulesCreatePollerResponse) Resume ¶
func (l *RulesCreatePollerResponse) Resume(ctx context.Context, client *RulesClient, token string) error
Resume rehydrates a RulesCreatePollerResponse from the provided client and resume token.
type RulesCreateResponse ¶
type RulesCreateResponse struct { RulesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesCreateResponse contains the response from method Rules.Create.
type RulesCreateResult ¶
type RulesCreateResult struct {
Rule
}
RulesCreateResult contains the result from method Rules.Create.
type RulesDeletePoller ¶
type RulesDeletePoller struct {
// contains filtered or unexported fields
}
RulesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*RulesDeletePoller) Done ¶
func (p *RulesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RulesDeletePoller) FinalResponse ¶
func (p *RulesDeletePoller) FinalResponse(ctx context.Context) (RulesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RulesDeleteResponse will be returned.
func (*RulesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RulesDeletePoller) ResumeToken ¶
func (p *RulesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RulesDeletePollerResponse ¶
type RulesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *RulesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesDeletePollerResponse contains the response from method Rules.Delete.
func (RulesDeletePollerResponse) PollUntilDone ¶
func (l RulesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RulesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RulesDeletePollerResponse) Resume ¶
func (l *RulesDeletePollerResponse) Resume(ctx context.Context, client *RulesClient, token string) error
Resume rehydrates a RulesDeletePollerResponse from the provided client and resume token.
type RulesDeleteResponse ¶
type RulesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesDeleteResponse contains the response from method Rules.Delete.
type RulesGetOptions ¶
type RulesGetOptions struct { }
RulesGetOptions contains the optional parameters for the Rules.Get method.
type RulesGetResponse ¶
type RulesGetResponse struct { RulesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesGetResponse contains the response from method Rules.Get.
type RulesGetResult ¶
type RulesGetResult struct {
Rule
}
RulesGetResult contains the result from method Rules.Get.
type RulesListByRuleSetOptions ¶
type RulesListByRuleSetOptions struct { }
RulesListByRuleSetOptions contains the optional parameters for the Rules.ListByRuleSet method.
type RulesListByRuleSetPager ¶
type RulesListByRuleSetPager struct {
// contains filtered or unexported fields
}
RulesListByRuleSetPager provides operations for iterating over paged responses.
func (*RulesListByRuleSetPager) Err ¶
func (p *RulesListByRuleSetPager) Err() error
Err returns the last error encountered while paging.
func (*RulesListByRuleSetPager) NextPage ¶
func (p *RulesListByRuleSetPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RulesListByRuleSetPager) PageResponse ¶
func (p *RulesListByRuleSetPager) PageResponse() RulesListByRuleSetResponse
PageResponse returns the current RulesListByRuleSetResponse page.
type RulesListByRuleSetResponse ¶
type RulesListByRuleSetResponse struct { RulesListByRuleSetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesListByRuleSetResponse contains the response from method Rules.ListByRuleSet.
type RulesListByRuleSetResult ¶
type RulesListByRuleSetResult struct {
RuleListResult
}
RulesListByRuleSetResult contains the result from method Rules.ListByRuleSet.
type RulesUpdatePoller ¶
type RulesUpdatePoller struct {
// contains filtered or unexported fields
}
RulesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*RulesUpdatePoller) Done ¶
func (p *RulesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RulesUpdatePoller) FinalResponse ¶
func (p *RulesUpdatePoller) FinalResponse(ctx context.Context) (RulesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RulesUpdateResponse will be returned.
func (*RulesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RulesUpdatePoller) ResumeToken ¶
func (p *RulesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RulesUpdatePollerResponse ¶
type RulesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *RulesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesUpdatePollerResponse contains the response from method Rules.Update.
func (RulesUpdatePollerResponse) PollUntilDone ¶
func (l RulesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RulesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*RulesUpdatePollerResponse) Resume ¶
func (l *RulesUpdatePollerResponse) Resume(ctx context.Context, client *RulesClient, token string) error
Resume rehydrates a RulesUpdatePollerResponse from the provided client and resume token.
type RulesUpdateResponse ¶
type RulesUpdateResponse struct { RulesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RulesUpdateResponse contains the response from method Rules.Update.
type RulesUpdateResult ¶
type RulesUpdateResult struct {
Rule
}
RulesUpdateResult contains the result from method Rules.Update.
type SKU ¶
type SKU struct { // Name of the pricing tier. 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 - Name of the pricing tier.
const ( SKUNameCustomVerizon SKUName = "Custom_Verizon" SKUNamePremiumAzureFrontDoor SKUName = "Premium_AzureFrontDoor" SKUNamePremiumChinaCdn SKUName = "Premium_ChinaCdn" SKUNamePremiumVerizon SKUName = "Premium_Verizon" SKUNameStandard955BandWidthChinaCdn SKUName = "Standard_955BandWidth_ChinaCdn" SKUNameStandardAkamai SKUName = "Standard_Akamai" SKUNameStandardAvgBandWidthChinaCdn SKUName = "Standard_AvgBandWidth_ChinaCdn" SKUNameStandardAzureFrontDoor SKUName = "Standard_AzureFrontDoor" SKUNameStandardChinaCdn SKUName = "Standard_ChinaCdn" SKUNameStandardMicrosoft SKUName = "Standard_Microsoft" SKUNameStandardPlus955BandWidthChinaCdn SKUName = "StandardPlus_955BandWidth_ChinaCdn" SKUNameStandardPlusAvgBandWidthChinaCdn SKUName = "StandardPlus_AvgBandWidth_ChinaCdn" SKUNameStandardPlusChinaCdn SKUName = "StandardPlus_ChinaCdn" SKUNameStandardVerizon SKUName = "Standard_Verizon" )
func PossibleSKUNameValues ¶
func PossibleSKUNameValues() []SKUName
PossibleSKUNameValues returns the possible values for the SKUName const type.
type Secret ¶
type Secret struct { ProxyResource // The JSON object that contains the properties of the Secret to create. Properties *SecretProperties `json:"properties,omitempty"` }
Secret - Friendly Secret name mapping to the any Secret or secret related information.
func (Secret) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Secret.
type SecretListResult ¶
type SecretListResult struct { // URL to get the next set of Secret objects if there are any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of AzureFrontDoor secrets within a profile. Value []*Secret `json:"value,omitempty" azure:"ro"` }
SecretListResult - Result of the request to list secrets. It contains a list of Secret objects and a URL link to get the next set of results.
func (SecretListResult) MarshalJSON ¶
func (s SecretListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecretListResult.
type SecretParameters ¶
type SecretParameters struct { // REQUIRED; The type of the Secret to create. Type *SecretType `json:"type,omitempty"` }
SecretParameters - The json object containing secret parameters
func (*SecretParameters) GetSecretParameters ¶
func (s *SecretParameters) GetSecretParameters() *SecretParameters
GetSecretParameters implements the SecretParametersClassification interface for type SecretParameters.
func (*SecretParameters) UnmarshalJSON ¶
func (s *SecretParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SecretParameters.
type SecretParametersClassification ¶
type SecretParametersClassification interface { // GetSecretParameters returns the SecretParameters content of the underlying type. GetSecretParameters() *SecretParameters }
SecretParametersClassification provides polymorphic access to related types. Call the interface's GetSecretParameters() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *CustomerCertificateParameters, *ManagedCertificateParameters, *SecretParameters, *UrlSigningKeyParameters
type SecretProperties ¶
type SecretProperties struct { AFDStateProperties // object which contains secret parameters Parameters SecretParametersClassification `json:"parameters,omitempty"` }
SecretProperties - The JSON object that contains the properties of the Secret to create.
func (SecretProperties) MarshalJSON ¶
func (s SecretProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecretProperties.
func (*SecretProperties) UnmarshalJSON ¶
func (s *SecretProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SecretProperties.
type SecretType ¶
type SecretType string
SecretType - The type of the Secret to create.
const ( SecretTypeCustomerCertificate SecretType = "CustomerCertificate" SecretTypeManagedCertificate SecretType = "ManagedCertificate" SecretTypeURLSigningKey SecretType = "UrlSigningKey" )
func PossibleSecretTypeValues ¶
func PossibleSecretTypeValues() []SecretType
PossibleSecretTypeValues returns the possible values for the SecretType const type.
func (SecretType) ToPtr ¶
func (c SecretType) ToPtr() *SecretType
ToPtr returns a *SecretType pointing to the current value.
type SecretsBeginCreateOptions ¶
type SecretsBeginCreateOptions struct { }
SecretsBeginCreateOptions contains the optional parameters for the Secrets.BeginCreate method.
type SecretsBeginDeleteOptions ¶
type SecretsBeginDeleteOptions struct { }
SecretsBeginDeleteOptions contains the optional parameters for the Secrets.BeginDelete method.
type SecretsBeginUpdateOptions ¶
type SecretsBeginUpdateOptions struct { }
SecretsBeginUpdateOptions contains the optional parameters for the Secrets.BeginUpdate method.
type SecretsClient ¶
type SecretsClient struct {
// contains filtered or unexported fields
}
SecretsClient contains the methods for the Secrets group. Don't use this type directly, use NewSecretsClient() instead.
func NewSecretsClient ¶
func NewSecretsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *SecretsClient
NewSecretsClient creates a new instance of SecretsClient with the specified values.
func (*SecretsClient) BeginCreate ¶
func (client *SecretsClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, secretName string, secret Secret, options *SecretsBeginCreateOptions) (SecretsCreatePollerResponse, error)
BeginCreate - Creates a new Secret within the specified profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecretsClient) BeginDelete ¶
func (client *SecretsClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, secretName string, options *SecretsBeginDeleteOptions) (SecretsDeletePollerResponse, error)
BeginDelete - Deletes an existing Secret within profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecretsClient) BeginUpdate ¶
func (client *SecretsClient) BeginUpdate(ctx context.Context, resourceGroupName string, profileName string, secretName string, secretProperties SecretProperties, options *SecretsBeginUpdateOptions) (SecretsUpdatePollerResponse, error)
BeginUpdate - Updates an existing Secret within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecretsClient) Get ¶
func (client *SecretsClient) Get(ctx context.Context, resourceGroupName string, profileName string, secretName string, options *SecretsGetOptions) (SecretsGetResponse, error)
Get - Gets an existing Secret within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecretsClient) ListByProfile ¶
func (client *SecretsClient) ListByProfile(resourceGroupName string, profileName string, options *SecretsListByProfileOptions) *SecretsListByProfilePager
ListByProfile - Lists existing AzureFrontDoor secrets. If the operation fails it returns the *AfdErrorResponse error type.
type SecretsCreatePoller ¶
type SecretsCreatePoller struct {
// contains filtered or unexported fields
}
SecretsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*SecretsCreatePoller) Done ¶
func (p *SecretsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*SecretsCreatePoller) FinalResponse ¶
func (p *SecretsCreatePoller) FinalResponse(ctx context.Context) (SecretsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecretsCreateResponse will be returned.
func (*SecretsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*SecretsCreatePoller) ResumeToken ¶
func (p *SecretsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type SecretsCreatePollerResponse ¶
type SecretsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *SecretsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsCreatePollerResponse contains the response from method Secrets.Create.
func (SecretsCreatePollerResponse) PollUntilDone ¶
func (l SecretsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (SecretsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*SecretsCreatePollerResponse) Resume ¶
func (l *SecretsCreatePollerResponse) Resume(ctx context.Context, client *SecretsClient, token string) error
Resume rehydrates a SecretsCreatePollerResponse from the provided client and resume token.
type SecretsCreateResponse ¶
type SecretsCreateResponse struct { SecretsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsCreateResponse contains the response from method Secrets.Create.
type SecretsCreateResult ¶
type SecretsCreateResult struct {
Secret
}
SecretsCreateResult contains the result from method Secrets.Create.
type SecretsDeletePoller ¶
type SecretsDeletePoller struct {
// contains filtered or unexported fields
}
SecretsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*SecretsDeletePoller) Done ¶
func (p *SecretsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*SecretsDeletePoller) FinalResponse ¶
func (p *SecretsDeletePoller) FinalResponse(ctx context.Context) (SecretsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecretsDeleteResponse will be returned.
func (*SecretsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*SecretsDeletePoller) ResumeToken ¶
func (p *SecretsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type SecretsDeletePollerResponse ¶
type SecretsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *SecretsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsDeletePollerResponse contains the response from method Secrets.Delete.
func (SecretsDeletePollerResponse) PollUntilDone ¶
func (l SecretsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (SecretsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*SecretsDeletePollerResponse) Resume ¶
func (l *SecretsDeletePollerResponse) Resume(ctx context.Context, client *SecretsClient, token string) error
Resume rehydrates a SecretsDeletePollerResponse from the provided client and resume token.
type SecretsDeleteResponse ¶
type SecretsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsDeleteResponse contains the response from method Secrets.Delete.
type SecretsGetOptions ¶
type SecretsGetOptions struct { }
SecretsGetOptions contains the optional parameters for the Secrets.Get method.
type SecretsGetResponse ¶
type SecretsGetResponse struct { SecretsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsGetResponse contains the response from method Secrets.Get.
type SecretsGetResult ¶
type SecretsGetResult struct {
Secret
}
SecretsGetResult contains the result from method Secrets.Get.
type SecretsListByProfileOptions ¶
type SecretsListByProfileOptions struct { }
SecretsListByProfileOptions contains the optional parameters for the Secrets.ListByProfile method.
type SecretsListByProfilePager ¶
type SecretsListByProfilePager struct {
// contains filtered or unexported fields
}
SecretsListByProfilePager provides operations for iterating over paged responses.
func (*SecretsListByProfilePager) Err ¶
func (p *SecretsListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*SecretsListByProfilePager) NextPage ¶
func (p *SecretsListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*SecretsListByProfilePager) PageResponse ¶
func (p *SecretsListByProfilePager) PageResponse() SecretsListByProfileResponse
PageResponse returns the current SecretsListByProfileResponse page.
type SecretsListByProfileResponse ¶
type SecretsListByProfileResponse struct { SecretsListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsListByProfileResponse contains the response from method Secrets.ListByProfile.
type SecretsListByProfileResult ¶
type SecretsListByProfileResult struct {
SecretListResult
}
SecretsListByProfileResult contains the result from method Secrets.ListByProfile.
type SecretsUpdatePoller ¶
type SecretsUpdatePoller struct {
// contains filtered or unexported fields
}
SecretsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*SecretsUpdatePoller) Done ¶
func (p *SecretsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*SecretsUpdatePoller) FinalResponse ¶
func (p *SecretsUpdatePoller) FinalResponse(ctx context.Context) (SecretsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecretsUpdateResponse will be returned.
func (*SecretsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*SecretsUpdatePoller) ResumeToken ¶
func (p *SecretsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type SecretsUpdatePollerResponse ¶
type SecretsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *SecretsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsUpdatePollerResponse contains the response from method Secrets.Update.
func (SecretsUpdatePollerResponse) PollUntilDone ¶
func (l SecretsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (SecretsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*SecretsUpdatePollerResponse) Resume ¶
func (l *SecretsUpdatePollerResponse) Resume(ctx context.Context, client *SecretsClient, token string) error
Resume rehydrates a SecretsUpdatePollerResponse from the provided client and resume token.
type SecretsUpdateResponse ¶
type SecretsUpdateResponse struct { SecretsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecretsUpdateResponse contains the response from method Secrets.Update.
type SecretsUpdateResult ¶
type SecretsUpdateResult struct {
Secret
}
SecretsUpdateResult contains the result from method Secrets.Update.
type SecurityPoliciesBeginCreateOptions ¶
type SecurityPoliciesBeginCreateOptions struct { }
SecurityPoliciesBeginCreateOptions contains the optional parameters for the SecurityPolicies.BeginCreate method.
type SecurityPoliciesBeginDeleteOptions ¶
type SecurityPoliciesBeginDeleteOptions struct { }
SecurityPoliciesBeginDeleteOptions contains the optional parameters for the SecurityPolicies.BeginDelete method.
type SecurityPoliciesBeginPatchOptions ¶
type SecurityPoliciesBeginPatchOptions struct { }
SecurityPoliciesBeginPatchOptions contains the optional parameters for the SecurityPolicies.BeginPatch method.
type SecurityPoliciesClient ¶
type SecurityPoliciesClient struct {
// contains filtered or unexported fields
}
SecurityPoliciesClient contains the methods for the SecurityPolicies group. Don't use this type directly, use NewSecurityPoliciesClient() instead.
func NewSecurityPoliciesClient ¶
func NewSecurityPoliciesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *SecurityPoliciesClient
NewSecurityPoliciesClient creates a new instance of SecurityPoliciesClient with the specified values.
func (*SecurityPoliciesClient) BeginCreate ¶
func (client *SecurityPoliciesClient) BeginCreate(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicy SecurityPolicy, options *SecurityPoliciesBeginCreateOptions) (SecurityPoliciesCreatePollerResponse, error)
BeginCreate - Creates a new security policy within the specified profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecurityPoliciesClient) BeginDelete ¶
func (client *SecurityPoliciesClient) BeginDelete(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, options *SecurityPoliciesBeginDeleteOptions) (SecurityPoliciesDeletePollerResponse, error)
BeginDelete - Deletes an existing security policy within profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecurityPoliciesClient) BeginPatch ¶
func (client *SecurityPoliciesClient) BeginPatch(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicyProperties SecurityPolicyProperties, options *SecurityPoliciesBeginPatchOptions) (SecurityPoliciesPatchPollerResponse, error)
BeginPatch - Updates an existing Secret within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecurityPoliciesClient) Get ¶
func (client *SecurityPoliciesClient) Get(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, options *SecurityPoliciesGetOptions) (SecurityPoliciesGetResponse, error)
Get - Gets an existing security policy within a profile. If the operation fails it returns the *AfdErrorResponse error type.
func (*SecurityPoliciesClient) ListByProfile ¶
func (client *SecurityPoliciesClient) ListByProfile(resourceGroupName string, profileName string, options *SecurityPoliciesListByProfileOptions) *SecurityPoliciesListByProfilePager
ListByProfile - Lists security policies associated with the profile If the operation fails it returns the *AfdErrorResponse error type.
type SecurityPoliciesCreatePoller ¶
type SecurityPoliciesCreatePoller struct {
// contains filtered or unexported fields
}
SecurityPoliciesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*SecurityPoliciesCreatePoller) Done ¶
func (p *SecurityPoliciesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*SecurityPoliciesCreatePoller) FinalResponse ¶
func (p *SecurityPoliciesCreatePoller) FinalResponse(ctx context.Context) (SecurityPoliciesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityPoliciesCreateResponse will be returned.
func (*SecurityPoliciesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*SecurityPoliciesCreatePoller) ResumeToken ¶
func (p *SecurityPoliciesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type SecurityPoliciesCreatePollerResponse ¶
type SecurityPoliciesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *SecurityPoliciesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesCreatePollerResponse contains the response from method SecurityPolicies.Create.
func (SecurityPoliciesCreatePollerResponse) PollUntilDone ¶
func (l SecurityPoliciesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (SecurityPoliciesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*SecurityPoliciesCreatePollerResponse) Resume ¶
func (l *SecurityPoliciesCreatePollerResponse) Resume(ctx context.Context, client *SecurityPoliciesClient, token string) error
Resume rehydrates a SecurityPoliciesCreatePollerResponse from the provided client and resume token.
type SecurityPoliciesCreateResponse ¶
type SecurityPoliciesCreateResponse struct { SecurityPoliciesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesCreateResponse contains the response from method SecurityPolicies.Create.
type SecurityPoliciesCreateResult ¶
type SecurityPoliciesCreateResult struct {
SecurityPolicy
}
SecurityPoliciesCreateResult contains the result from method SecurityPolicies.Create.
type SecurityPoliciesDeletePoller ¶
type SecurityPoliciesDeletePoller struct {
// contains filtered or unexported fields
}
SecurityPoliciesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*SecurityPoliciesDeletePoller) Done ¶
func (p *SecurityPoliciesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*SecurityPoliciesDeletePoller) FinalResponse ¶
func (p *SecurityPoliciesDeletePoller) FinalResponse(ctx context.Context) (SecurityPoliciesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityPoliciesDeleteResponse will be returned.
func (*SecurityPoliciesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*SecurityPoliciesDeletePoller) ResumeToken ¶
func (p *SecurityPoliciesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type SecurityPoliciesDeletePollerResponse ¶
type SecurityPoliciesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *SecurityPoliciesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesDeletePollerResponse contains the response from method SecurityPolicies.Delete.
func (SecurityPoliciesDeletePollerResponse) PollUntilDone ¶
func (l SecurityPoliciesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (SecurityPoliciesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*SecurityPoliciesDeletePollerResponse) Resume ¶
func (l *SecurityPoliciesDeletePollerResponse) Resume(ctx context.Context, client *SecurityPoliciesClient, token string) error
Resume rehydrates a SecurityPoliciesDeletePollerResponse from the provided client and resume token.
type SecurityPoliciesDeleteResponse ¶
type SecurityPoliciesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesDeleteResponse contains the response from method SecurityPolicies.Delete.
type SecurityPoliciesGetOptions ¶
type SecurityPoliciesGetOptions struct { }
SecurityPoliciesGetOptions contains the optional parameters for the SecurityPolicies.Get method.
type SecurityPoliciesGetResponse ¶
type SecurityPoliciesGetResponse struct { SecurityPoliciesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesGetResponse contains the response from method SecurityPolicies.Get.
type SecurityPoliciesGetResult ¶
type SecurityPoliciesGetResult struct {
SecurityPolicy
}
SecurityPoliciesGetResult contains the result from method SecurityPolicies.Get.
type SecurityPoliciesListByProfileOptions ¶
type SecurityPoliciesListByProfileOptions struct { }
SecurityPoliciesListByProfileOptions contains the optional parameters for the SecurityPolicies.ListByProfile method.
type SecurityPoliciesListByProfilePager ¶
type SecurityPoliciesListByProfilePager struct {
// contains filtered or unexported fields
}
SecurityPoliciesListByProfilePager provides operations for iterating over paged responses.
func (*SecurityPoliciesListByProfilePager) Err ¶
func (p *SecurityPoliciesListByProfilePager) Err() error
Err returns the last error encountered while paging.
func (*SecurityPoliciesListByProfilePager) NextPage ¶
func (p *SecurityPoliciesListByProfilePager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*SecurityPoliciesListByProfilePager) PageResponse ¶
func (p *SecurityPoliciesListByProfilePager) PageResponse() SecurityPoliciesListByProfileResponse
PageResponse returns the current SecurityPoliciesListByProfileResponse page.
type SecurityPoliciesListByProfileResponse ¶
type SecurityPoliciesListByProfileResponse struct { SecurityPoliciesListByProfileResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesListByProfileResponse contains the response from method SecurityPolicies.ListByProfile.
type SecurityPoliciesListByProfileResult ¶
type SecurityPoliciesListByProfileResult struct {
SecurityPolicyListResult
}
SecurityPoliciesListByProfileResult contains the result from method SecurityPolicies.ListByProfile.
type SecurityPoliciesPatchPoller ¶
type SecurityPoliciesPatchPoller struct {
// contains filtered or unexported fields
}
SecurityPoliciesPatchPoller provides polling facilities until the operation reaches a terminal state.
func (*SecurityPoliciesPatchPoller) Done ¶
func (p *SecurityPoliciesPatchPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*SecurityPoliciesPatchPoller) FinalResponse ¶
func (p *SecurityPoliciesPatchPoller) FinalResponse(ctx context.Context) (SecurityPoliciesPatchResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityPoliciesPatchResponse will be returned.
func (*SecurityPoliciesPatchPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*SecurityPoliciesPatchPoller) ResumeToken ¶
func (p *SecurityPoliciesPatchPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type SecurityPoliciesPatchPollerResponse ¶
type SecurityPoliciesPatchPollerResponse struct { // Poller contains an initialized poller. Poller *SecurityPoliciesPatchPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesPatchPollerResponse contains the response from method SecurityPolicies.Patch.
func (SecurityPoliciesPatchPollerResponse) PollUntilDone ¶
func (l SecurityPoliciesPatchPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (SecurityPoliciesPatchResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*SecurityPoliciesPatchPollerResponse) Resume ¶
func (l *SecurityPoliciesPatchPollerResponse) Resume(ctx context.Context, client *SecurityPoliciesClient, token string) error
Resume rehydrates a SecurityPoliciesPatchPollerResponse from the provided client and resume token.
type SecurityPoliciesPatchResponse ¶
type SecurityPoliciesPatchResponse struct { SecurityPoliciesPatchResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SecurityPoliciesPatchResponse contains the response from method SecurityPolicies.Patch.
type SecurityPoliciesPatchResult ¶
type SecurityPoliciesPatchResult struct {
SecurityPolicy
}
SecurityPoliciesPatchResult contains the result from method SecurityPolicies.Patch.
type SecurityPolicy ¶
type SecurityPolicy struct { ProxyResource // The json object that contains properties required to create a security policy Properties *SecurityPolicyProperties `json:"properties,omitempty"` }
SecurityPolicy association for AzureFrontDoor profile
func (SecurityPolicy) MarshalJSON ¶
func (s SecurityPolicy) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecurityPolicy.
type SecurityPolicyListResult ¶
type SecurityPolicyListResult struct { // URL to get the next set of security policy objects if there is any. NextLink *string `json:"nextLink,omitempty"` // READ-ONLY; List of Security policies within a profile Value []*SecurityPolicy `json:"value,omitempty" azure:"ro"` }
SecurityPolicyListResult - Result of the request to list security policies. It contains a list of security policy objects and a URL link to get the next set of results.
func (SecurityPolicyListResult) MarshalJSON ¶
func (s SecurityPolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecurityPolicyListResult.
type SecurityPolicyParameters ¶
type SecurityPolicyParameters struct { // REQUIRED; The type of the Security policy to create. Type *SecurityPolicyType `json:"type,omitempty"` }
SecurityPolicyParameters - The json object containing security policy parameters
func (*SecurityPolicyParameters) GetSecurityPolicyParameters ¶
func (s *SecurityPolicyParameters) GetSecurityPolicyParameters() *SecurityPolicyParameters
GetSecurityPolicyParameters implements the SecurityPolicyParametersClassification interface for type SecurityPolicyParameters.
func (*SecurityPolicyParameters) UnmarshalJSON ¶
func (s *SecurityPolicyParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SecurityPolicyParameters.
type SecurityPolicyParametersClassification ¶
type SecurityPolicyParametersClassification interface { // GetSecurityPolicyParameters returns the SecurityPolicyParameters content of the underlying type. GetSecurityPolicyParameters() *SecurityPolicyParameters }
SecurityPolicyParametersClassification provides polymorphic access to related types. Call the interface's GetSecurityPolicyParameters() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *SecurityPolicyParameters, *SecurityPolicyWebApplicationFirewallParameters
type SecurityPolicyProperties ¶
type SecurityPolicyProperties struct { AFDStateProperties // object which contains security policy parameters Parameters SecurityPolicyParametersClassification `json:"parameters,omitempty"` }
SecurityPolicyProperties - The json object that contains properties required to create a security policy
func (SecurityPolicyProperties) MarshalJSON ¶
func (s SecurityPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecurityPolicyProperties.
func (*SecurityPolicyProperties) UnmarshalJSON ¶
func (s *SecurityPolicyProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SecurityPolicyProperties.
type SecurityPolicyType ¶
type SecurityPolicyType string
SecurityPolicyType - The type of the Security policy to create.
const (
SecurityPolicyTypeWebApplicationFirewall SecurityPolicyType = "WebApplicationFirewall"
)
func PossibleSecurityPolicyTypeValues ¶
func PossibleSecurityPolicyTypeValues() []SecurityPolicyType
PossibleSecurityPolicyTypeValues returns the possible values for the SecurityPolicyType const type.
func (SecurityPolicyType) ToPtr ¶
func (c SecurityPolicyType) ToPtr() *SecurityPolicyType
ToPtr returns a *SecurityPolicyType pointing to the current value.
type SecurityPolicyWebApplicationFirewallAssociation ¶
type SecurityPolicyWebApplicationFirewallAssociation struct { // List of domains. Domains []*ResourceReference `json:"domains,omitempty"` // List of paths PatternsToMatch []*string `json:"patternsToMatch,omitempty"` }
SecurityPolicyWebApplicationFirewallAssociation - settings for security policy patterns to match
func (SecurityPolicyWebApplicationFirewallAssociation) MarshalJSON ¶
func (s SecurityPolicyWebApplicationFirewallAssociation) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecurityPolicyWebApplicationFirewallAssociation.
type SecurityPolicyWebApplicationFirewallParameters ¶
type SecurityPolicyWebApplicationFirewallParameters struct { SecurityPolicyParameters // Waf associations Associations []*SecurityPolicyWebApplicationFirewallAssociation `json:"associations,omitempty"` // Resource ID. WafPolicy *ResourceReference `json:"wafPolicy,omitempty"` }
SecurityPolicyWebApplicationFirewallParameters - The json object containing security policy waf parameters
func (SecurityPolicyWebApplicationFirewallParameters) MarshalJSON ¶
func (s SecurityPolicyWebApplicationFirewallParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SecurityPolicyWebApplicationFirewallParameters.
func (*SecurityPolicyWebApplicationFirewallParameters) UnmarshalJSON ¶
func (s *SecurityPolicyWebApplicationFirewallParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SecurityPolicyWebApplicationFirewallParameters.
type SharedPrivateLinkResourceProperties ¶
type SharedPrivateLinkResourceProperties struct { string `json:"groupId,omitempty"` PrivateLink *ResourceReference `json:"privateLink,omitempty"` PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"` RequestMessage *string `json:"requestMessage,omitempty"` Status *SharedPrivateLinkResourceStatus `json:"status,omitempty"` }GroupID *
SharedPrivateLinkResourceProperties - Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin.
type SharedPrivateLinkResourceStatus ¶
type SharedPrivateLinkResourceStatus string
SharedPrivateLinkResourceStatus - Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
const ()
func PossibleSharedPrivateLinkResourceStatusValues ¶
func PossibleSharedPrivateLinkResourceStatusValues() []SharedPrivateLinkResourceStatus
PossibleSharedPrivateLinkResourceStatusValues returns the possible values for the SharedPrivateLinkResourceStatus const type.
func (SharedPrivateLinkResourceStatus) ToPtr ¶
func (c SharedPrivateLinkResourceStatus) ToPtr() *SharedPrivateLinkResourceStatus
ToPtr returns a *SharedPrivateLinkResourceStatus pointing to the current value.
type SsoURI ¶
type SsoURI struct { // READ-ONLY; The URI used to login to the supplemental portal. SsoURIValue *string `json:"ssoUriValue,omitempty" azure:"ro"` }
SsoURI - The URI required to login to the supplemental portal from the Azure portal.
type Status ¶
type Status string
Status - The validation status.
func PossibleStatusValues ¶
func PossibleStatusValues() []Status
PossibleStatusValues returns the possible values for the Status const type.
type SupportedOptimizationTypesListResult ¶
type SupportedOptimizationTypesListResult struct { // READ-ONLY; Supported optimization types for a profile. SupportedOptimizationTypes []*OptimizationType `json:"supportedOptimizationTypes,omitempty" azure:"ro"` }
SupportedOptimizationTypesListResult - The result of the GetSupportedOptimizationTypes API
func (SupportedOptimizationTypesListResult) MarshalJSON ¶
func (s SupportedOptimizationTypesListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SupportedOptimizationTypesListResult.
type SystemData ¶
type SystemData struct { // The timestamp of resource creation (UTC) CreatedAt *time.Time `json:"createdAt,omitempty"` // An identifier for the identity that created the resource CreatedBy *string `json:"createdBy,omitempty"` // The type of identity that created the resource CreatedByType *IdentityType `json:"createdByType,omitempty"` // The timestamp of resource last modification (UTC) LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` // An identifier for the identity that last modified the resource LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The type of identity that last modified the resource LastModifiedByType *IdentityType `json:"lastModifiedByType,omitempty"` }
SystemData - Read only system data
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type TrackedResource ¶
type TrackedResource struct { Resource // REQUIRED; Resource location. Location *string `json:"location,omitempty"` // Resource tags. Tags map[string]*string `json:"tags,omitempty"` }
TrackedResource - The resource model definition for a ARM tracked top level resource.
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.
type Transform ¶
type Transform string
Transform - Describes what transforms are applied before matching
func PossibleTransformValues ¶
func PossibleTransformValues() []Transform
PossibleTransformValues returns the possible values for the Transform const type.
type TransformType ¶
type TransformType string
TransformType - Describes what transforms were applied before matching.
const ( TransformTypeLowercase TransformType = "Lowercase" TransformTypeRemoveNulls TransformType = "RemoveNulls" TransformTypeTrim TransformType = "Trim" TransformTypeURLDecode TransformType = "UrlDecode" TransformTypeURLEncode TransformType = "UrlEncode" TransformTypeUppercase TransformType = "Uppercase" )
func PossibleTransformTypeValues ¶
func PossibleTransformTypeValues() []TransformType
PossibleTransformTypeValues returns the possible values for the TransformType const type.
func (TransformType) ToPtr ¶
func (c TransformType) ToPtr() *TransformType
ToPtr returns a *TransformType pointing to the current value.
type URLFileExtensionMatchConditionParameters ¶
type URLFileExtensionMatchConditionParameters struct { // REQUIRED ODataType *URLFileExtensionMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *URLFileExtensionOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
URLFileExtensionMatchConditionParameters - Defines the parameters for UrlFileExtension match conditions
func (URLFileExtensionMatchConditionParameters) MarshalJSON ¶
func (u URLFileExtensionMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLFileExtensionMatchConditionParameters.
type URLFileExtensionMatchConditionParametersODataType ¶
type URLFileExtensionMatchConditionParametersODataType string
const (
URLFileExtensionMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleURLFileExtensionMatchConditionParameters URLFileExtensionMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters"
)
func PossibleURLFileExtensionMatchConditionParametersODataTypeValues ¶
func PossibleURLFileExtensionMatchConditionParametersODataTypeValues() []URLFileExtensionMatchConditionParametersODataType
PossibleURLFileExtensionMatchConditionParametersODataTypeValues returns the possible values for the URLFileExtensionMatchConditionParametersODataType const type.
func (URLFileExtensionMatchConditionParametersODataType) ToPtr ¶
func (c URLFileExtensionMatchConditionParametersODataType) ToPtr() *URLFileExtensionMatchConditionParametersODataType
ToPtr returns a *URLFileExtensionMatchConditionParametersODataType pointing to the current value.
type URLFileExtensionOperator ¶
type URLFileExtensionOperator string
URLFileExtensionOperator - Describes operator to be matched
const ( URLFileExtensionOperatorAny URLFileExtensionOperator = "Any" URLFileExtensionOperatorBeginsWith URLFileExtensionOperator = "BeginsWith" URLFileExtensionOperatorContains URLFileExtensionOperator = "Contains" URLFileExtensionOperatorEndsWith URLFileExtensionOperator = "EndsWith" URLFileExtensionOperatorEqual URLFileExtensionOperator = "Equal" URLFileExtensionOperatorGreaterThan URLFileExtensionOperator = "GreaterThan" URLFileExtensionOperatorGreaterThanOrEqual URLFileExtensionOperator = "GreaterThanOrEqual" URLFileExtensionOperatorLessThan URLFileExtensionOperator = "LessThan" URLFileExtensionOperatorLessThanOrEqual URLFileExtensionOperator = "LessThanOrEqual" URLFileExtensionOperatorRegEx URLFileExtensionOperator = "RegEx" )
func PossibleURLFileExtensionOperatorValues ¶
func PossibleURLFileExtensionOperatorValues() []URLFileExtensionOperator
PossibleURLFileExtensionOperatorValues returns the possible values for the URLFileExtensionOperator const type.
func (URLFileExtensionOperator) ToPtr ¶
func (c URLFileExtensionOperator) ToPtr() *URLFileExtensionOperator
ToPtr returns a *URLFileExtensionOperator pointing to the current value.
type URLFileNameMatchConditionParameters ¶
type URLFileNameMatchConditionParameters struct { // REQUIRED ODataType *URLFileNameMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *URLFileNameOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
URLFileNameMatchConditionParameters - Defines the parameters for UrlFilename match conditions
func (URLFileNameMatchConditionParameters) MarshalJSON ¶
func (u URLFileNameMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLFileNameMatchConditionParameters.
type URLFileNameMatchConditionParametersODataType ¶
type URLFileNameMatchConditionParametersODataType string
const (
URLFileNameMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleURLFilenameConditionParameters URLFileNameMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters"
)
func PossibleURLFileNameMatchConditionParametersODataTypeValues ¶
func PossibleURLFileNameMatchConditionParametersODataTypeValues() []URLFileNameMatchConditionParametersODataType
PossibleURLFileNameMatchConditionParametersODataTypeValues returns the possible values for the URLFileNameMatchConditionParametersODataType const type.
func (URLFileNameMatchConditionParametersODataType) ToPtr ¶
func (c URLFileNameMatchConditionParametersODataType) ToPtr() *URLFileNameMatchConditionParametersODataType
ToPtr returns a *URLFileNameMatchConditionParametersODataType pointing to the current value.
type URLFileNameOperator ¶
type URLFileNameOperator string
URLFileNameOperator - Describes operator to be matched
const ( URLFileNameOperatorAny URLFileNameOperator = "Any" URLFileNameOperatorBeginsWith URLFileNameOperator = "BeginsWith" URLFileNameOperatorContains URLFileNameOperator = "Contains" URLFileNameOperatorEndsWith URLFileNameOperator = "EndsWith" URLFileNameOperatorEqual URLFileNameOperator = "Equal" URLFileNameOperatorGreaterThan URLFileNameOperator = "GreaterThan" URLFileNameOperatorGreaterThanOrEqual URLFileNameOperator = "GreaterThanOrEqual" URLFileNameOperatorLessThan URLFileNameOperator = "LessThan" URLFileNameOperatorLessThanOrEqual URLFileNameOperator = "LessThanOrEqual" URLFileNameOperatorRegEx URLFileNameOperator = "RegEx" )
func PossibleURLFileNameOperatorValues ¶
func PossibleURLFileNameOperatorValues() []URLFileNameOperator
PossibleURLFileNameOperatorValues returns the possible values for the URLFileNameOperator const type.
func (URLFileNameOperator) ToPtr ¶
func (c URLFileNameOperator) ToPtr() *URLFileNameOperator
ToPtr returns a *URLFileNameOperator pointing to the current value.
type URLPathMatchConditionParameters ¶
type URLPathMatchConditionParameters struct { // REQUIRED ODataType *URLPathMatchConditionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; Describes operator to be matched Operator *URLPathOperator `json:"operator,omitempty"` // The match value for the condition of the delivery rule MatchValues []*string `json:"matchValues,omitempty"` // Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // List of transforms Transforms []*Transform `json:"transforms,omitempty"` }
URLPathMatchConditionParameters - Defines the parameters for UrlPath match conditions
func (URLPathMatchConditionParameters) MarshalJSON ¶
func (u URLPathMatchConditionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLPathMatchConditionParameters.
type URLPathMatchConditionParametersODataType ¶
type URLPathMatchConditionParametersODataType string
const (
URLPathMatchConditionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleURLPathMatchConditionParameters URLPathMatchConditionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters"
)
func PossibleURLPathMatchConditionParametersODataTypeValues ¶
func PossibleURLPathMatchConditionParametersODataTypeValues() []URLPathMatchConditionParametersODataType
PossibleURLPathMatchConditionParametersODataTypeValues returns the possible values for the URLPathMatchConditionParametersODataType const type.
type URLPathOperator ¶
type URLPathOperator string
URLPathOperator - Describes operator to be matched
const ( URLPathOperatorAny URLPathOperator = "Any" URLPathOperatorBeginsWith URLPathOperator = "BeginsWith" URLPathOperatorContains URLPathOperator = "Contains" URLPathOperatorEndsWith URLPathOperator = "EndsWith" URLPathOperatorEqual URLPathOperator = "Equal" URLPathOperatorGreaterThan URLPathOperator = "GreaterThan" URLPathOperatorGreaterThanOrEqual URLPathOperator = "GreaterThanOrEqual" URLPathOperatorLessThan URLPathOperator = "LessThan" URLPathOperatorLessThanOrEqual URLPathOperator = "LessThanOrEqual" URLPathOperatorRegEx URLPathOperator = "RegEx" URLPathOperatorWildcard URLPathOperator = "Wildcard" )
func PossibleURLPathOperatorValues ¶
func PossibleURLPathOperatorValues() []URLPathOperator
PossibleURLPathOperatorValues returns the possible values for the URLPathOperator const type.
func (URLPathOperator) ToPtr ¶
func (c URLPathOperator) ToPtr() *URLPathOperator
ToPtr returns a *URLPathOperator pointing to the current value.
type URLRedirectAction ¶
type URLRedirectAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *URLRedirectActionParameters `json:"parameters,omitempty"` }
URLRedirectAction - Defines the url redirect action for the delivery rule.
func (URLRedirectAction) MarshalJSON ¶
func (u URLRedirectAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLRedirectAction.
func (*URLRedirectAction) UnmarshalJSON ¶
func (u *URLRedirectAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type URLRedirectAction.
type URLRedirectActionParameters ¶
type URLRedirectActionParameters struct { // REQUIRED ODataType *URLRedirectActionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; The redirect type the rule will use when redirecting traffic. RedirectType *RedirectType `json:"redirectType,omitempty"` // 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"` // Host to redirect. Leave empty to use the incoming host as the destination host. CustomHostname *string `json:"customHostname,omitempty"` // 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"` // 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 = // format. ? and & will be added automatically so do not include them. CustomQueryString *string `json:"customQueryString,omitempty"` // Protocol to use for the redirect. The default value is MatchRequest DestinationProtocol *DestinationProtocol `json:"destinationProtocol,omitempty"` }
URLRedirectActionParameters - Defines the parameters for the url redirect action.
type URLRedirectActionParametersODataType ¶
type URLRedirectActionParametersODataType string
const (
URLRedirectActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleURLRedirectActionParameters URLRedirectActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"
)
func PossibleURLRedirectActionParametersODataTypeValues ¶
func PossibleURLRedirectActionParametersODataTypeValues() []URLRedirectActionParametersODataType
PossibleURLRedirectActionParametersODataTypeValues returns the possible values for the URLRedirectActionParametersODataType const type.
func (URLRedirectActionParametersODataType) ToPtr ¶
func (c URLRedirectActionParametersODataType) ToPtr() *URLRedirectActionParametersODataType
ToPtr returns a *URLRedirectActionParametersODataType pointing to the current value.
type URLRewriteAction ¶
type URLRewriteAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *URLRewriteActionParameters `json:"parameters,omitempty"` }
URLRewriteAction - Defines the url rewrite action for the delivery rule.
func (URLRewriteAction) MarshalJSON ¶
func (u URLRewriteAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLRewriteAction.
func (*URLRewriteAction) UnmarshalJSON ¶
func (u *URLRewriteAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type URLRewriteAction.
type URLRewriteActionParameters ¶
type URLRewriteActionParameters struct { // REQUIRED; Define the relative URL to which the above requests will be rewritten by. Destination *string `json:"destination,omitempty"` // REQUIRED ODataType *URLRewriteActionParametersODataType `json:"@odata.type,omitempty"` // REQUIRED; define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. SourcePattern *string `json:"sourcePattern,omitempty"` // Whether to preserve unmatched path. Default value is true. PreserveUnmatchedPath *bool `json:"preserveUnmatchedPath,omitempty"` }
URLRewriteActionParameters - Defines the parameters for the url rewrite action.
type URLRewriteActionParametersODataType ¶
type URLRewriteActionParametersODataType string
const (
URLRewriteActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleURLRewriteActionParameters URLRewriteActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"
)
func PossibleURLRewriteActionParametersODataTypeValues ¶
func PossibleURLRewriteActionParametersODataTypeValues() []URLRewriteActionParametersODataType
PossibleURLRewriteActionParametersODataTypeValues returns the possible values for the URLRewriteActionParametersODataType const type.
func (URLRewriteActionParametersODataType) ToPtr ¶
func (c URLRewriteActionParametersODataType) ToPtr() *URLRewriteActionParametersODataType
ToPtr returns a *URLRewriteActionParametersODataType pointing to the current value.
type URLSigningAction ¶
type URLSigningAction struct { DeliveryRuleActionAutoGenerated // REQUIRED; Defines the parameters for the action. Parameters *URLSigningActionParameters `json:"parameters,omitempty"` }
URLSigningAction - Defines the url signing action for the delivery rule.
func (URLSigningAction) MarshalJSON ¶
func (u URLSigningAction) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLSigningAction.
func (*URLSigningAction) UnmarshalJSON ¶
func (u *URLSigningAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type URLSigningAction.
type URLSigningActionParameters ¶
type URLSigningActionParameters struct { // REQUIRED ODataType *URLSigningActionParametersODataType `json:"@odata.type,omitempty"` // Algorithm to use for URL signing Algorithm *Algorithm `json:"algorithm,omitempty"` // Defines which query string parameters in the url to be considered for expires, key id etc. ParameterNameOverride []*URLSigningParamIdentifier `json:"parameterNameOverride,omitempty"` }
URLSigningActionParameters - Defines the parameters for the Url Signing action.
func (URLSigningActionParameters) MarshalJSON ¶
func (u URLSigningActionParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLSigningActionParameters.
type URLSigningActionParametersODataType ¶
type URLSigningActionParametersODataType string
const (
URLSigningActionParametersODataTypeMicrosoftAzureCdnModelsDeliveryRuleURLSigningActionParameters URLSigningActionParametersODataType = "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlSigningActionParameters"
)
func PossibleURLSigningActionParametersODataTypeValues ¶
func PossibleURLSigningActionParametersODataTypeValues() []URLSigningActionParametersODataType
PossibleURLSigningActionParametersODataTypeValues returns the possible values for the URLSigningActionParametersODataType const type.
func (URLSigningActionParametersODataType) ToPtr ¶
func (c URLSigningActionParametersODataType) ToPtr() *URLSigningActionParametersODataType
ToPtr returns a *URLSigningActionParametersODataType pointing to the current value.
type URLSigningKey ¶
type URLSigningKey struct { // REQUIRED; Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. KeyID *string `json:"keyId,omitempty"` // REQUIRED; Defines the parameters for using customer key vault for Url Signing Key. KeySourceParameters *KeyVaultSigningKeyParameters `json:"keySourceParameters,omitempty"` }
URLSigningKey - Url signing key
type URLSigningKeyParameters ¶
type URLSigningKeyParameters struct { SecretParameters // REQUIRED; Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. KeyID *string `json:"keyId,omitempty"` // REQUIRED; Resource reference to the KV secret SecretSource *ResourceReference `json:"secretSource,omitempty"` // Version of the secret to be used SecretVersion *string `json:"secretVersion,omitempty"` }
URLSigningKeyParameters - Url signing key parameters
func (URLSigningKeyParameters) MarshalJSON ¶
func (u URLSigningKeyParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type URLSigningKeyParameters.
func (*URLSigningKeyParameters) UnmarshalJSON ¶
func (u *URLSigningKeyParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type URLSigningKeyParameters.
type URLSigningParamIdentifier ¶
type URLSigningParamIdentifier struct { // REQUIRED; Indicates the purpose of the parameter ParamIndicator *ParamIndicator `json:"paramIndicator,omitempty"` // REQUIRED; Parameter name ParamName *string `json:"paramName,omitempty"` }
URLSigningParamIdentifier - Defines how to identify a parameter for a specific purpose e.g. expires
type UpdateRule ¶
type UpdateRule string
UpdateRule - Describes the action that shall be taken when the certificate is updated in Key Vault.
const (
UpdateRuleNoAction UpdateRule = "NoAction"
)
func PossibleUpdateRuleValues ¶
func PossibleUpdateRuleValues() []UpdateRule
PossibleUpdateRuleValues returns the possible values for the UpdateRule const type.
func (UpdateRule) ToPtr ¶
func (c UpdateRule) ToPtr() *UpdateRule
ToPtr returns a *UpdateRule pointing to the current value.
type Usage ¶
type Usage struct { // REQUIRED; The current value of the usage. CurrentValue *int64 `json:"currentValue,omitempty"` // REQUIRED; The limit of usage. Limit *int64 `json:"limit,omitempty"` // REQUIRED; The name of the type of usage. Name *UsageName `json:"name,omitempty"` // REQUIRED; An enum describing the unit of measurement. Unit *UsageUnit `json:"unit,omitempty"` // READ-ONLY; Resource identifier. ID *string `json:"id,omitempty" azure:"ro"` }
Usage - Describes resource usage.
type UsageName ¶
type UsageName struct { // A localized string describing the resource name. LocalizedValue *string `json:"localizedValue,omitempty"` // A string describing the resource name. Value *string `json:"value,omitempty"` }
UsageName - The usage names.
type UsageUnit ¶
type UsageUnit string
UsageUnit - An enum describing the unit of measurement.
const (
UsageUnitCount UsageUnit = "Count"
)
func PossibleUsageUnitValues ¶
func PossibleUsageUnitValues() []UsageUnit
PossibleUsageUnitValues returns the possible values for the UsageUnit const type.
type UsagesListResult ¶
type UsagesListResult struct { // URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` // The list of resource usages. Value []*Usage `json:"value,omitempty"` }
UsagesListResult - The list usages operation response.
func (UsagesListResult) MarshalJSON ¶
func (u UsagesListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UsagesListResult.
type UserManagedHTTPSParameters ¶
type UserManagedHTTPSParameters struct { CustomDomainHTTPSParameters // REQUIRED; Defines the certificate source parameters using user's keyvault certificate for enabling SSL. CertificateSourceParameters *KeyVaultCertificateSourceParameters `json:"certificateSourceParameters,omitempty"` }
UserManagedHTTPSParameters - Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
func (UserManagedHTTPSParameters) MarshalJSON ¶
func (u UserManagedHTTPSParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UserManagedHTTPSParameters.
func (*UserManagedHTTPSParameters) UnmarshalJSON ¶
func (u *UserManagedHTTPSParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type UserManagedHTTPSParameters.
type ValidateClient ¶
type ValidateClient struct {
// contains filtered or unexported fields
}
ValidateClient contains the methods for the Validate group. Don't use this type directly, use NewValidateClient() instead.
func NewValidateClient ¶
func NewValidateClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *ValidateClient
NewValidateClient creates a new instance of ValidateClient with the specified values.
func (*ValidateClient) Secret ¶
func (client *ValidateClient) Secret(ctx context.Context, validateSecretInput ValidateSecretInput, options *ValidateSecretOptions) (ValidateSecretResponse, error)
Secret - Validate a Secret in the profile. If the operation fails it returns the *AfdErrorResponse error type.
type ValidateCustomDomainInput ¶
type ValidateCustomDomainInput struct { // REQUIRED; 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 { // READ-ONLY; Indicates whether the custom domain is valid or not. CustomDomainValidated *bool `json:"customDomainValidated,omitempty" azure:"ro"` // READ-ONLY; Error message describing why the custom domain is not valid. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; The reason why the custom domain is not valid. Reason *string `json:"reason,omitempty" azure:"ro"` }
ValidateCustomDomainOutput - Output of custom domain validation.
type ValidateProbeInput ¶
type ValidateProbeInput struct { // REQUIRED; The probe URL to validate. ProbeURL *string `json:"probeURL,omitempty"` }
ValidateProbeInput - Input of the validate probe API.
type ValidateProbeOutput ¶
type ValidateProbeOutput struct { // READ-ONLY; Specifies the error code when the probe url is not accepted. ErrorCode *string `json:"errorCode,omitempty" azure:"ro"` // READ-ONLY; Indicates whether the probe URL is accepted or not. IsValid *bool `json:"isValid,omitempty" azure:"ro"` // READ-ONLY; The detailed error message describing why the probe URL is not accepted. Message *string `json:"message,omitempty" azure:"ro"` }
ValidateProbeOutput - Output of the validate probe API.
type ValidateSecretInput ¶
type ValidateSecretInput struct { // REQUIRED; The secret source. SecretSource *ResourceReference `json:"secretSource,omitempty"` // REQUIRED; The secret type. SecretType *ValidateSecretType `json:"secretType,omitempty"` }
ValidateSecretInput - Input of the secret to be validated.
type ValidateSecretOptions ¶
type ValidateSecretOptions struct { }
ValidateSecretOptions contains the optional parameters for the Validate.Secret method.
type ValidateSecretOutput ¶
type ValidateSecretOutput struct { // Detailed error message Message *string `json:"message,omitempty"` // The validation status. Status *Status `json:"status,omitempty"` }
ValidateSecretOutput - Output of the validated secret.
type ValidateSecretResponse ¶
type ValidateSecretResponse struct { ValidateSecretResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ValidateSecretResponse contains the response from method Validate.Secret.
type ValidateSecretResult ¶
type ValidateSecretResult struct {
ValidateSecretOutput
}
ValidateSecretResult contains the result from method Validate.Secret.
type ValidateSecretType ¶
type ValidateSecretType string
ValidateSecretType - The secret type.
const ( ValidateSecretTypeCustomerCertificate ValidateSecretType = "CustomerCertificate" ValidateSecretTypeManagedCertificate ValidateSecretType = "ManagedCertificate" ValidateSecretTypeURLSigningKey ValidateSecretType = "UrlSigningKey" )
func PossibleValidateSecretTypeValues ¶
func PossibleValidateSecretTypeValues() []ValidateSecretType
PossibleValidateSecretTypeValues returns the possible values for the ValidateSecretType const type.
func (ValidateSecretType) ToPtr ¶
func (c ValidateSecretType) ToPtr() *ValidateSecretType
ToPtr returns a *ValidateSecretType pointing to the current value.
type ValidationToken ¶
type ValidationToken struct { // READ-ONLY Token *string `json:"token,omitempty" azure:"ro"` }
ValidationToken - The validation token.
type WafAction ¶
type WafAction string
func PossibleWafActionValues ¶
func PossibleWafActionValues() []WafAction
PossibleWafActionValues returns the possible values for the WafAction const type.
type WafGranularity ¶
type WafGranularity string
const ( WafGranularityP1D WafGranularity = "P1D" WafGranularityPT1H WafGranularity = "PT1H" WafGranularityPT5M WafGranularity = "PT5M" )
func PossibleWafGranularityValues ¶
func PossibleWafGranularityValues() []WafGranularity
PossibleWafGranularityValues returns the possible values for the WafGranularity const type.
func (WafGranularity) ToPtr ¶
func (c WafGranularity) ToPtr() *WafGranularity
ToPtr returns a *WafGranularity pointing to the current value.
type WafMetric ¶
type WafMetric string
const (
WafMetricClientRequestCount WafMetric = "clientRequestCount"
)
func PossibleWafMetricValues ¶
func PossibleWafMetricValues() []WafMetric
PossibleWafMetricValues returns the possible values for the WafMetric const type.
type WafMetricsResponse ¶
type WafMetricsResponse struct { DateTimeBegin *time.Time `json:"dateTimeBegin,omitempty"` DateTimeEnd *time.Time `json:"dateTimeEnd,omitempty"` Granularity *WafMetricsResponseGranularity `json:"granularity,omitempty"` Series []*WafMetricsResponseSeriesItem `json:"series,omitempty"` }
WafMetricsResponse - Waf Metrics Response
func (WafMetricsResponse) MarshalJSON ¶
func (w WafMetricsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WafMetricsResponse.
func (*WafMetricsResponse) UnmarshalJSON ¶
func (w *WafMetricsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WafMetricsResponse.
type WafMetricsResponseGranularity ¶
type WafMetricsResponseGranularity string
const ( WafMetricsResponseGranularityP1D WafMetricsResponseGranularity = "P1D" WafMetricsResponseGranularityPT1H WafMetricsResponseGranularity = "PT1H" WafMetricsResponseGranularityPT5M WafMetricsResponseGranularity = "PT5M" )
func PossibleWafMetricsResponseGranularityValues ¶
func PossibleWafMetricsResponseGranularityValues() []WafMetricsResponseGranularity
PossibleWafMetricsResponseGranularityValues returns the possible values for the WafMetricsResponseGranularity const type.
func (WafMetricsResponseGranularity) ToPtr ¶
func (c WafMetricsResponseGranularity) ToPtr() *WafMetricsResponseGranularity
ToPtr returns a *WafMetricsResponseGranularity pointing to the current value.
type WafMetricsResponseSeriesItem ¶
type WafMetricsResponseSeriesItem struct { Data []*Components18OrqelSchemasWafmetricsresponsePropertiesSeriesItemsPropertiesDataItems `json:"data,omitempty"` Groups []*WafMetricsResponseSeriesPropertiesItemsItem `json:"groups,omitempty"` Metric *string `json:"metric,omitempty"` Unit *WafMetricsResponseSeriesItemUnit `json:"unit,omitempty"` }
func (WafMetricsResponseSeriesItem) MarshalJSON ¶
func (w WafMetricsResponseSeriesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WafMetricsResponseSeriesItem.
type WafMetricsResponseSeriesItemUnit ¶
type WafMetricsResponseSeriesItemUnit string
const (
WafMetricsResponseSeriesItemUnitCount WafMetricsResponseSeriesItemUnit = "count"
)
func PossibleWafMetricsResponseSeriesItemUnitValues ¶
func PossibleWafMetricsResponseSeriesItemUnitValues() []WafMetricsResponseSeriesItemUnit
PossibleWafMetricsResponseSeriesItemUnitValues returns the possible values for the WafMetricsResponseSeriesItemUnit const type.
func (WafMetricsResponseSeriesItemUnit) ToPtr ¶
func (c WafMetricsResponseSeriesItemUnit) ToPtr() *WafMetricsResponseSeriesItemUnit
ToPtr returns a *WafMetricsResponseSeriesItemUnit pointing to the current value.
type WafRankingGroupBy ¶
type WafRankingGroupBy string
const ( WafRankingGroupByCustomDomain WafRankingGroupBy = "customDomain" WafRankingGroupByHTTPStatusCode WafRankingGroupBy = "httpStatusCode" )
func PossibleWafRankingGroupByValues ¶
func PossibleWafRankingGroupByValues() []WafRankingGroupBy
PossibleWafRankingGroupByValues returns the possible values for the WafRankingGroupBy const type.
func (WafRankingGroupBy) ToPtr ¶
func (c WafRankingGroupBy) ToPtr() *WafRankingGroupBy
ToPtr returns a *WafRankingGroupBy pointing to the current value.
type WafRankingType ¶
type WafRankingType string
const ( WafRankingTypeAction WafRankingType = "action" WafRankingTypeClientIP WafRankingType = "clientIp" WafRankingTypeCountry WafRankingType = "country" WafRankingTypeRuleGroup WafRankingType = "ruleGroup" WafRankingTypeRuleID WafRankingType = "ruleId" WafRankingTypeRuleType WafRankingType = "ruleType" WafRankingTypeURL WafRankingType = "url" WafRankingTypeUserAgent WafRankingType = "userAgent" )
func PossibleWafRankingTypeValues ¶
func PossibleWafRankingTypeValues() []WafRankingType
PossibleWafRankingTypeValues returns the possible values for the WafRankingType const type.
func (WafRankingType) ToPtr ¶
func (c WafRankingType) ToPtr() *WafRankingType
ToPtr returns a *WafRankingType pointing to the current value.
type WafRankingsResponse ¶
type WafRankingsResponse struct { Data []*WafRankingsResponseDataItem `json:"data,omitempty"` DateTimeBegin *time.Time `json:"dateTimeBegin,omitempty"` DateTimeEnd *time.Time `json:"dateTimeEnd,omitempty"` Groups []*string `json:"groups,omitempty"` }
WafRankingsResponse - Waf Rankings Response
func (WafRankingsResponse) MarshalJSON ¶
func (w WafRankingsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WafRankingsResponse.
func (*WafRankingsResponse) UnmarshalJSON ¶
func (w *WafRankingsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type WafRankingsResponse.
type WafRankingsResponseDataItem ¶
type WafRankingsResponseDataItem struct { GroupValues []*string `json:"groupValues,omitempty"` Metrics []*ComponentsKpo1PjSchemasWafrankingsresponsePropertiesDataItemsPropertiesMetricsItems `json:"metrics,omitempty"` }
func (WafRankingsResponseDataItem) MarshalJSON ¶
func (w WafRankingsResponseDataItem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WafRankingsResponseDataItem.
type WafRuleType ¶
type WafRuleType string
const ( WafRuleTypeBot WafRuleType = "bot" WafRuleTypeCustom WafRuleType = "custom" WafRuleTypeManaged WafRuleType = "managed" )
func PossibleWafRuleTypeValues ¶
func PossibleWafRuleTypeValues() []WafRuleType
PossibleWafRuleTypeValues returns the possible values for the WafRuleType const type.
func (WafRuleType) ToPtr ¶
func (c WafRuleType) ToPtr() *WafRuleType
ToPtr returns a *WafRuleType pointing to the current value.
Source Files ¶
- build.go
- zz_generated_afdcustomdomains_client.go
- zz_generated_afdendpoints_client.go
- zz_generated_afdorigingroups_client.go
- zz_generated_afdorigins_client.go
- zz_generated_afdprofiles_client.go
- zz_generated_cdnmanagementclient_client.go
- zz_generated_constants.go
- zz_generated_customdomains_client.go
- zz_generated_edgenodes_client.go
- zz_generated_endpoints_client.go
- zz_generated_loganalytics_client.go
- zz_generated_managedrulesets_client.go
- zz_generated_models.go
- zz_generated_operations_client.go
- zz_generated_origingroups_client.go
- zz_generated_origins_client.go
- zz_generated_pagers.go
- zz_generated_policies_client.go
- zz_generated_pollers.go
- zz_generated_polymorphic_helpers.go
- zz_generated_profiles_client.go
- zz_generated_resourceusage_client.go
- zz_generated_response_types.go
- zz_generated_routes_client.go
- zz_generated_rules_client.go
- zz_generated_rulesets_client.go
- zz_generated_secrets_client.go
- zz_generated_securitypolicies_client.go
- zz_generated_time_rfc3339.go
- zz_generated_validate_client.go