Documentation ¶
Index ¶
- func PossibleValuesForAfdProvisioningState() []string
- func PossibleValuesForDeploymentStatus() []string
- func PossibleValuesForEnabledState() []string
- func PossibleValuesForHealthProbeRequestType() []string
- func PossibleValuesForProbeProtocol() []string
- func PossibleValuesForUsageUnit() []string
- func ValidateOriginGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)
- type AFDOriginGroup
- type AFDOriginGroupOperationPredicate
- type AFDOriginGroupProperties
- type AFDOriginGroupUpdateParameters
- type AFDOriginGroupUpdatePropertiesParameters
- type AFDOriginGroupsClient
- func (c AFDOriginGroupsClient) Create(ctx context.Context, id OriginGroupId, input AFDOriginGroup) (result CreateOperationResponse, err error)
- func (c AFDOriginGroupsClient) CreateThenPoll(ctx context.Context, id OriginGroupId, input AFDOriginGroup) error
- func (c AFDOriginGroupsClient) Delete(ctx context.Context, id OriginGroupId) (result DeleteOperationResponse, err error)
- func (c AFDOriginGroupsClient) DeleteThenPoll(ctx context.Context, id OriginGroupId) error
- func (c AFDOriginGroupsClient) Get(ctx context.Context, id OriginGroupId) (result GetOperationResponse, err error)
- func (c AFDOriginGroupsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)
- func (c AFDOriginGroupsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)
- func (c AFDOriginGroupsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate AFDOriginGroupOperationPredicate) (result ListByProfileCompleteResult, err error)
- func (c AFDOriginGroupsClient) ListResourceUsage(ctx context.Context, id OriginGroupId) (result ListResourceUsageOperationResponse, err error)
- func (c AFDOriginGroupsClient) ListResourceUsageComplete(ctx context.Context, id OriginGroupId) (ListResourceUsageCompleteResult, error)
- func (c AFDOriginGroupsClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id OriginGroupId, predicate UsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)
- func (c AFDOriginGroupsClient) Update(ctx context.Context, id OriginGroupId, input AFDOriginGroupUpdateParameters) (result UpdateOperationResponse, err error)
- func (c AFDOriginGroupsClient) UpdateThenPoll(ctx context.Context, id OriginGroupId, input AFDOriginGroupUpdateParameters) error
- type AfdProvisioningState
- type CreateOperationResponse
- type DeleteOperationResponse
- type DeploymentStatus
- type EnabledState
- type GetOperationResponse
- type HealthProbeParameters
- type HealthProbeRequestType
- type ListByProfileCompleteResult
- type ListByProfileCustomPager
- type ListByProfileOperationResponse
- type ListResourceUsageCompleteResult
- type ListResourceUsageCustomPager
- type ListResourceUsageOperationResponse
- type LoadBalancingSettingsParameters
- type OriginGroupId
- type ProbeProtocol
- type ProfileId
- type UpdateOperationResponse
- type Usage
- type UsageName
- type UsageOperationPredicate
- type UsageUnit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAfdProvisioningState ¶
func PossibleValuesForAfdProvisioningState() []string
func PossibleValuesForDeploymentStatus ¶
func PossibleValuesForDeploymentStatus() []string
func PossibleValuesForEnabledState ¶
func PossibleValuesForEnabledState() []string
func PossibleValuesForHealthProbeRequestType ¶
func PossibleValuesForHealthProbeRequestType() []string
func PossibleValuesForProbeProtocol ¶
func PossibleValuesForProbeProtocol() []string
func PossibleValuesForUsageUnit ¶
func PossibleValuesForUsageUnit() []string
func ValidateOriginGroupID ¶
ValidateOriginGroupID checks that 'input' can be parsed as a Origin Group ID
func ValidateProfileID ¶
ValidateProfileID checks that 'input' can be parsed as a Profile ID
Types ¶
type AFDOriginGroup ¶
type AFDOriginGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AFDOriginGroupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AFDOriginGroupOperationPredicate ¶
func (AFDOriginGroupOperationPredicate) Matches ¶
func (p AFDOriginGroupOperationPredicate) Matches(input AFDOriginGroup) bool
type AFDOriginGroupProperties ¶
type AFDOriginGroupProperties struct { DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty"` HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` LoadBalancingSettings *LoadBalancingSettingsParameters `json:"loadBalancingSettings,omitempty"` ProfileName *string `json:"profileName,omitempty"` ProvisioningState *AfdProvisioningState `json:"provisioningState,omitempty"` SessionAffinityState *EnabledState `json:"sessionAffinityState,omitempty"` TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int64 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
type AFDOriginGroupUpdateParameters ¶
type AFDOriginGroupUpdateParameters struct {
Properties *AFDOriginGroupUpdatePropertiesParameters `json:"properties,omitempty"`
}
type AFDOriginGroupUpdatePropertiesParameters ¶
type AFDOriginGroupUpdatePropertiesParameters struct { HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"` LoadBalancingSettings *LoadBalancingSettingsParameters `json:"loadBalancingSettings,omitempty"` ProfileName *string `json:"profileName,omitempty"` SessionAffinityState *EnabledState `json:"sessionAffinityState,omitempty"` TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int64 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"` }
type AFDOriginGroupsClient ¶
type AFDOriginGroupsClient struct {
Client *resourcemanager.Client
}
func NewAFDOriginGroupsClientWithBaseURI ¶
func NewAFDOriginGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*AFDOriginGroupsClient, error)
func (AFDOriginGroupsClient) Create ¶
func (c AFDOriginGroupsClient) Create(ctx context.Context, id OriginGroupId, input AFDOriginGroup) (result CreateOperationResponse, err error)
Create ...
func (AFDOriginGroupsClient) CreateThenPoll ¶
func (c AFDOriginGroupsClient) CreateThenPoll(ctx context.Context, id OriginGroupId, input AFDOriginGroup) error
CreateThenPoll performs Create then polls until it's completed
func (AFDOriginGroupsClient) Delete ¶
func (c AFDOriginGroupsClient) Delete(ctx context.Context, id OriginGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (AFDOriginGroupsClient) DeleteThenPoll ¶
func (c AFDOriginGroupsClient) DeleteThenPoll(ctx context.Context, id OriginGroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AFDOriginGroupsClient) Get ¶
func (c AFDOriginGroupsClient) Get(ctx context.Context, id OriginGroupId) (result GetOperationResponse, err error)
Get ...
func (AFDOriginGroupsClient) ListByProfile ¶
func (c AFDOriginGroupsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)
ListByProfile ...
func (AFDOriginGroupsClient) ListByProfileComplete ¶
func (c AFDOriginGroupsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)
ListByProfileComplete retrieves all the results into a single object
func (AFDOriginGroupsClient) ListByProfileCompleteMatchingPredicate ¶
func (c AFDOriginGroupsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate AFDOriginGroupOperationPredicate) (result ListByProfileCompleteResult, err error)
ListByProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AFDOriginGroupsClient) ListResourceUsage ¶
func (c AFDOriginGroupsClient) ListResourceUsage(ctx context.Context, id OriginGroupId) (result ListResourceUsageOperationResponse, err error)
ListResourceUsage ...
func (AFDOriginGroupsClient) ListResourceUsageComplete ¶
func (c AFDOriginGroupsClient) ListResourceUsageComplete(ctx context.Context, id OriginGroupId) (ListResourceUsageCompleteResult, error)
ListResourceUsageComplete retrieves all the results into a single object
func (AFDOriginGroupsClient) ListResourceUsageCompleteMatchingPredicate ¶
func (c AFDOriginGroupsClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id OriginGroupId, predicate UsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)
ListResourceUsageCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AFDOriginGroupsClient) Update ¶
func (c AFDOriginGroupsClient) Update(ctx context.Context, id OriginGroupId, input AFDOriginGroupUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (AFDOriginGroupsClient) UpdateThenPoll ¶
func (c AFDOriginGroupsClient) UpdateThenPoll(ctx context.Context, id OriginGroupId, input AFDOriginGroupUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type AfdProvisioningState ¶
type AfdProvisioningState string
const ( AfdProvisioningStateCreating AfdProvisioningState = "Creating" AfdProvisioningStateDeleting AfdProvisioningState = "Deleting" AfdProvisioningStateFailed AfdProvisioningState = "Failed" AfdProvisioningStateSucceeded AfdProvisioningState = "Succeeded" AfdProvisioningStateUpdating AfdProvisioningState = "Updating" )
func (*AfdProvisioningState) UnmarshalJSON ¶
func (s *AfdProvisioningState) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusInProgress DeploymentStatus = "InProgress" DeploymentStatusNotStarted DeploymentStatus = "NotStarted" DeploymentStatusSucceeded DeploymentStatus = "Succeeded" )
func (*DeploymentStatus) UnmarshalJSON ¶
func (s *DeploymentStatus) UnmarshalJSON(bytes []byte) error
type EnabledState ¶
type EnabledState string
const ( EnabledStateDisabled EnabledState = "Disabled" EnabledStateEnabled EnabledState = "Enabled" )
func (*EnabledState) UnmarshalJSON ¶
func (s *EnabledState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AFDOriginGroup }
type HealthProbeParameters ¶
type HealthProbeParameters struct { ProbeIntervalInSeconds *int64 `json:"probeIntervalInSeconds,omitempty"` ProbePath *string `json:"probePath,omitempty"` ProbeProtocol *ProbeProtocol `json:"probeProtocol,omitempty"` ProbeRequestType *HealthProbeRequestType `json:"probeRequestType,omitempty"` }
type HealthProbeRequestType ¶
type HealthProbeRequestType string
const ( HealthProbeRequestTypeGET HealthProbeRequestType = "GET" HealthProbeRequestTypeHEAD HealthProbeRequestType = "HEAD" HealthProbeRequestTypeNotSet HealthProbeRequestType = "NotSet" )
func (*HealthProbeRequestType) UnmarshalJSON ¶
func (s *HealthProbeRequestType) UnmarshalJSON(bytes []byte) error
type ListByProfileCompleteResult ¶
type ListByProfileCompleteResult struct { LatestHttpResponse *http.Response Items []AFDOriginGroup }
type ListByProfileCustomPager ¶
func (*ListByProfileCustomPager) NextPageLink ¶
func (p *ListByProfileCustomPager) NextPageLink() *odata.Link
type ListByProfileOperationResponse ¶
type ListByProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AFDOriginGroup }
type ListResourceUsageCustomPager ¶
func (*ListResourceUsageCustomPager) NextPageLink ¶
func (p *ListResourceUsageCustomPager) NextPageLink() *odata.Link
type OriginGroupId ¶
type OriginGroupId struct { SubscriptionId string ResourceGroupName string ProfileName string OriginGroupName string }
OriginGroupId is a struct representing the Resource ID for a Origin Group
func NewOriginGroupID ¶
func NewOriginGroupID(subscriptionId string, resourceGroupName string, profileName string, originGroupName string) OriginGroupId
NewOriginGroupID returns a new OriginGroupId struct
func ParseOriginGroupID ¶
func ParseOriginGroupID(input string) (*OriginGroupId, error)
ParseOriginGroupID parses 'input' into a OriginGroupId
func ParseOriginGroupIDInsensitively ¶
func ParseOriginGroupIDInsensitively(input string) (*OriginGroupId, error)
ParseOriginGroupIDInsensitively parses 'input' case-insensitively into a OriginGroupId note: this method should only be used for API response data and not user input
func (*OriginGroupId) FromParseResult ¶
func (id *OriginGroupId) FromParseResult(input resourceids.ParseResult) error
func (OriginGroupId) ID ¶
func (id OriginGroupId) ID() string
ID returns the formatted Origin Group ID
func (OriginGroupId) Segments ¶
func (id OriginGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Origin Group ID
func (OriginGroupId) String ¶
func (id OriginGroupId) String() string
String returns a human-readable description of this Origin Group ID
type ProbeProtocol ¶
type ProbeProtocol string
const ( ProbeProtocolHTTP ProbeProtocol = "Http" ProbeProtocolHTTPS ProbeProtocol = "Https" ProbeProtocolNotSet ProbeProtocol = "NotSet" )
func (*ProbeProtocol) UnmarshalJSON ¶
func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error
type ProfileId ¶
ProfileId is a struct representing the Resource ID for a Profile
func NewProfileID ¶
NewProfileID returns a new ProfileId struct
func ParseProfileID ¶
ParseProfileID parses 'input' into a ProfileId
func ParseProfileIDInsensitively ¶
ParseProfileIDInsensitively parses 'input' case-insensitively into a ProfileId note: this method should only be used for API response data and not user input
func (*ProfileId) FromParseResult ¶
func (id *ProfileId) FromParseResult(input resourceids.ParseResult) error
func (ProfileId) Segments ¶
func (id ProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Profile ID
type UpdateOperationResponse ¶
type UsageOperationPredicate ¶
func (UsageOperationPredicate) Matches ¶
func (p UsageOperationPredicate) Matches(input Usage) bool
Source Files ¶
- client.go
- constants.go
- id_origingroup.go
- id_profile.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyprofile.go
- method_listresourceusage.go
- method_update.go
- model_afdorigingroup.go
- model_afdorigingroupproperties.go
- model_afdorigingroupupdateparameters.go
- model_afdorigingroupupdatepropertiesparameters.go
- model_healthprobeparameters.go
- model_loadbalancingsettingsparameters.go
- model_usage.go
- model_usagename.go
- predicates.go
- version.go