Documentation ¶
Index ¶
- func PossibleValuesForAutoGeneratedDomainNameLabelScope() []string
- func PossibleValuesForProfileProvisioningState() []string
- func PossibleValuesForProfileResourceState() []string
- func PossibleValuesForProfileScrubbingState() []string
- func PossibleValuesForResourceType() []string
- func PossibleValuesForScrubbingRuleEntryMatchOperator() []string
- func PossibleValuesForScrubbingRuleEntryMatchVariable() []string
- func PossibleValuesForScrubbingRuleEntryState() []string
- func PossibleValuesForSecretType() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForUsageUnit() []string
- func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)
- type AFDProfilesClient
- func (c AFDProfilesClient) CheckEndpointNameAvailability(ctx context.Context, id ProfileId, input CheckEndpointNameAvailabilityInput) (result CheckEndpointNameAvailabilityOperationResponse, err error)
- func (c AFDProfilesClient) CheckHostNameAvailability(ctx context.Context, id ProfileId, input CheckHostNameAvailabilityInput) (result CheckHostNameAvailabilityOperationResponse, err error)
- func (c AFDProfilesClient) ListResourceUsage(ctx context.Context, id ProfileId) (result ListResourceUsageOperationResponse, err error)
- func (c AFDProfilesClient) ListResourceUsageComplete(ctx context.Context, id ProfileId) (ListResourceUsageCompleteResult, error)
- func (c AFDProfilesClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate UsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)
- func (c AFDProfilesClient) Upgrade(ctx context.Context, id ProfileId, input ProfileUpgradeParameters) (result UpgradeOperationResponse, err error)
- func (c AFDProfilesClient) UpgradeThenPoll(ctx context.Context, id ProfileId, input ProfileUpgradeParameters) error
- func (c AFDProfilesClient) ValidateSecret(ctx context.Context, id ProfileId, input ValidateSecretInput) (result ValidateSecretOperationResponse, err error)
- type AutoGeneratedDomainNameLabelScope
- type CheckEndpointNameAvailabilityInput
- type CheckEndpointNameAvailabilityOperationResponse
- type CheckEndpointNameAvailabilityOutput
- type CheckHostNameAvailabilityInput
- type CheckHostNameAvailabilityOperationResponse
- type CheckNameAvailabilityOutput
- type ListResourceUsageCompleteResult
- type ListResourceUsageCustomPager
- type ListResourceUsageOperationResponse
- type Profile
- type ProfileChangeSkuWafMapping
- type ProfileId
- type ProfileLogScrubbing
- type ProfileProperties
- type ProfileProvisioningState
- type ProfileResourceState
- type ProfileScrubbingRules
- type ProfileScrubbingState
- type ProfileUpgradeParameters
- type ResourceReference
- type ResourceType
- type ScrubbingRuleEntryMatchOperator
- type ScrubbingRuleEntryMatchVariable
- type ScrubbingRuleEntryState
- type SecretType
- type Sku
- type SkuName
- type Status
- type UpgradeOperationResponse
- type Usage
- type UsageName
- type UsageOperationPredicate
- type UsageUnit
- type ValidateSecretInput
- type ValidateSecretOperationResponse
- type ValidateSecretOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutoGeneratedDomainNameLabelScope ¶
func PossibleValuesForAutoGeneratedDomainNameLabelScope() []string
func PossibleValuesForProfileProvisioningState ¶
func PossibleValuesForProfileProvisioningState() []string
func PossibleValuesForProfileResourceState ¶
func PossibleValuesForProfileResourceState() []string
func PossibleValuesForProfileScrubbingState ¶
func PossibleValuesForProfileScrubbingState() []string
func PossibleValuesForResourceType ¶
func PossibleValuesForResourceType() []string
func PossibleValuesForScrubbingRuleEntryMatchOperator ¶
func PossibleValuesForScrubbingRuleEntryMatchOperator() []string
func PossibleValuesForScrubbingRuleEntryMatchVariable ¶
func PossibleValuesForScrubbingRuleEntryMatchVariable() []string
func PossibleValuesForScrubbingRuleEntryState ¶
func PossibleValuesForScrubbingRuleEntryState() []string
func PossibleValuesForSecretType ¶
func PossibleValuesForSecretType() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForUsageUnit ¶
func PossibleValuesForUsageUnit() []string
func ValidateProfileID ¶
ValidateProfileID checks that 'input' can be parsed as a Profile ID
Types ¶
type AFDProfilesClient ¶
type AFDProfilesClient struct {
Client *resourcemanager.Client
}
func NewAFDProfilesClientWithBaseURI ¶
func NewAFDProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*AFDProfilesClient, error)
func (AFDProfilesClient) CheckEndpointNameAvailability ¶
func (c AFDProfilesClient) CheckEndpointNameAvailability(ctx context.Context, id ProfileId, input CheckEndpointNameAvailabilityInput) (result CheckEndpointNameAvailabilityOperationResponse, err error)
CheckEndpointNameAvailability ...
func (AFDProfilesClient) CheckHostNameAvailability ¶
func (c AFDProfilesClient) CheckHostNameAvailability(ctx context.Context, id ProfileId, input CheckHostNameAvailabilityInput) (result CheckHostNameAvailabilityOperationResponse, err error)
CheckHostNameAvailability ...
func (AFDProfilesClient) ListResourceUsage ¶
func (c AFDProfilesClient) ListResourceUsage(ctx context.Context, id ProfileId) (result ListResourceUsageOperationResponse, err error)
ListResourceUsage ...
func (AFDProfilesClient) ListResourceUsageComplete ¶
func (c AFDProfilesClient) ListResourceUsageComplete(ctx context.Context, id ProfileId) (ListResourceUsageCompleteResult, error)
ListResourceUsageComplete retrieves all the results into a single object
func (AFDProfilesClient) ListResourceUsageCompleteMatchingPredicate ¶
func (c AFDProfilesClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate UsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)
ListResourceUsageCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AFDProfilesClient) Upgrade ¶
func (c AFDProfilesClient) Upgrade(ctx context.Context, id ProfileId, input ProfileUpgradeParameters) (result UpgradeOperationResponse, err error)
Upgrade ...
func (AFDProfilesClient) UpgradeThenPoll ¶
func (c AFDProfilesClient) UpgradeThenPoll(ctx context.Context, id ProfileId, input ProfileUpgradeParameters) error
UpgradeThenPoll performs Upgrade then polls until it's completed
func (AFDProfilesClient) ValidateSecret ¶
func (c AFDProfilesClient) ValidateSecret(ctx context.Context, id ProfileId, input ValidateSecretInput) (result ValidateSecretOperationResponse, err error)
ValidateSecret ...
type AutoGeneratedDomainNameLabelScope ¶
type AutoGeneratedDomainNameLabelScope string
const ( AutoGeneratedDomainNameLabelScopeNoReuse AutoGeneratedDomainNameLabelScope = "NoReuse" AutoGeneratedDomainNameLabelScopeResourceGroupReuse AutoGeneratedDomainNameLabelScope = "ResourceGroupReuse" AutoGeneratedDomainNameLabelScopeSubscriptionReuse AutoGeneratedDomainNameLabelScope = "SubscriptionReuse" AutoGeneratedDomainNameLabelScopeTenantReuse AutoGeneratedDomainNameLabelScope = "TenantReuse" )
func (*AutoGeneratedDomainNameLabelScope) UnmarshalJSON ¶
func (s *AutoGeneratedDomainNameLabelScope) UnmarshalJSON(bytes []byte) error
type CheckEndpointNameAvailabilityInput ¶
type CheckEndpointNameAvailabilityInput struct { AutoGeneratedDomainNameLabelScope *AutoGeneratedDomainNameLabelScope `json:"autoGeneratedDomainNameLabelScope,omitempty"` Name string `json:"name"` Type ResourceType `json:"type"` }
type CheckEndpointNameAvailabilityOperationResponse ¶
type CheckEndpointNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckEndpointNameAvailabilityOutput }
type CheckHostNameAvailabilityInput ¶
type CheckHostNameAvailabilityInput struct {
HostName string `json:"hostName"`
}
type CheckHostNameAvailabilityOperationResponse ¶
type CheckHostNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityOutput }
type ListResourceUsageCustomPager ¶
func (*ListResourceUsageCustomPager) NextPageLink ¶
func (p *ListResourceUsageCustomPager) NextPageLink() *odata.Link
type Profile ¶
type Profile struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ProfileProperties `json:"properties,omitempty"` Sku Sku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ProfileChangeSkuWafMapping ¶
type ProfileChangeSkuWafMapping struct { ChangeToWafPolicy ResourceReference `json:"changeToWafPolicy"` SecurityPolicyName string `json:"securityPolicyName"` }
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 ProfileLogScrubbing ¶
type ProfileLogScrubbing struct { ScrubbingRules *[]ProfileScrubbingRules `json:"scrubbingRules,omitempty"` State *ProfileScrubbingState `json:"state,omitempty"` }
type ProfileProperties ¶
type ProfileProperties struct { ExtendedProperties *map[string]string `json:"extendedProperties,omitempty"` FrontDoorId *string `json:"frontDoorId,omitempty"` LogScrubbing *ProfileLogScrubbing `json:"logScrubbing,omitempty"` OriginResponseTimeoutSeconds *int64 `json:"originResponseTimeoutSeconds,omitempty"` ProvisioningState *ProfileProvisioningState `json:"provisioningState,omitempty"` ResourceState *ProfileResourceState `json:"resourceState,omitempty"` }
type ProfileProvisioningState ¶
type ProfileProvisioningState string
const ( ProfileProvisioningStateCreating ProfileProvisioningState = "Creating" ProfileProvisioningStateDeleting ProfileProvisioningState = "Deleting" ProfileProvisioningStateFailed ProfileProvisioningState = "Failed" ProfileProvisioningStateSucceeded ProfileProvisioningState = "Succeeded" ProfileProvisioningStateUpdating ProfileProvisioningState = "Updating" )
func (*ProfileProvisioningState) UnmarshalJSON ¶
func (s *ProfileProvisioningState) UnmarshalJSON(bytes []byte) error
type ProfileResourceState ¶
type ProfileResourceState string
const ( ProfileResourceStateAbortingMigration ProfileResourceState = "AbortingMigration" ProfileResourceStateActive ProfileResourceState = "Active" ProfileResourceStateCommittingMigration ProfileResourceState = "CommittingMigration" ProfileResourceStateCreating ProfileResourceState = "Creating" ProfileResourceStateDeleting ProfileResourceState = "Deleting" ProfileResourceStateDisabled ProfileResourceState = "Disabled" ProfileResourceStateMigrated ProfileResourceState = "Migrated" ProfileResourceStateMigrating ProfileResourceState = "Migrating" ProfileResourceStatePendingMigrationCommit ProfileResourceState = "PendingMigrationCommit" )
func (*ProfileResourceState) UnmarshalJSON ¶
func (s *ProfileResourceState) UnmarshalJSON(bytes []byte) error
type ProfileScrubbingRules ¶
type ProfileScrubbingRules struct { MatchVariable ScrubbingRuleEntryMatchVariable `json:"matchVariable"` Selector *string `json:"selector,omitempty"` SelectorMatchOperator ScrubbingRuleEntryMatchOperator `json:"selectorMatchOperator"` State *ScrubbingRuleEntryState `json:"state,omitempty"` }
type ProfileScrubbingState ¶
type ProfileScrubbingState string
const ( ProfileScrubbingStateDisabled ProfileScrubbingState = "Disabled" ProfileScrubbingStateEnabled ProfileScrubbingState = "Enabled" )
func (*ProfileScrubbingState) UnmarshalJSON ¶
func (s *ProfileScrubbingState) UnmarshalJSON(bytes []byte) error
type ProfileUpgradeParameters ¶
type ProfileUpgradeParameters struct {
WafMappingList []ProfileChangeSkuWafMapping `json:"wafMappingList"`
}
type ResourceReference ¶
type ResourceReference struct {
Id *string `json:"id,omitempty"`
}
type ResourceType ¶
type ResourceType string
const ( ResourceTypeMicrosoftPointCdnProfilesAfdEndpoints ResourceType = "Microsoft.Cdn/Profiles/AfdEndpoints" ResourceTypeMicrosoftPointCdnProfilesEndpoints ResourceType = "Microsoft.Cdn/Profiles/Endpoints" )
func (*ResourceType) UnmarshalJSON ¶
func (s *ResourceType) UnmarshalJSON(bytes []byte) error
type ScrubbingRuleEntryMatchOperator ¶
type ScrubbingRuleEntryMatchOperator string
const (
ScrubbingRuleEntryMatchOperatorEqualsAny ScrubbingRuleEntryMatchOperator = "EqualsAny"
)
func (*ScrubbingRuleEntryMatchOperator) UnmarshalJSON ¶
func (s *ScrubbingRuleEntryMatchOperator) UnmarshalJSON(bytes []byte) error
type ScrubbingRuleEntryMatchVariable ¶
type ScrubbingRuleEntryMatchVariable string
const ( ScrubbingRuleEntryMatchVariableQueryStringArgNames ScrubbingRuleEntryMatchVariable = "QueryStringArgNames" ScrubbingRuleEntryMatchVariableRequestIPAddress ScrubbingRuleEntryMatchVariable = "RequestIPAddress" ScrubbingRuleEntryMatchVariableRequestUri ScrubbingRuleEntryMatchVariable = "RequestUri" )
func (*ScrubbingRuleEntryMatchVariable) UnmarshalJSON ¶
func (s *ScrubbingRuleEntryMatchVariable) UnmarshalJSON(bytes []byte) error
type ScrubbingRuleEntryState ¶
type ScrubbingRuleEntryState string
const ( ScrubbingRuleEntryStateDisabled ScrubbingRuleEntryState = "Disabled" ScrubbingRuleEntryStateEnabled ScrubbingRuleEntryState = "Enabled" )
func (*ScrubbingRuleEntryState) UnmarshalJSON ¶
func (s *ScrubbingRuleEntryState) UnmarshalJSON(bytes []byte) error
type SecretType ¶
type SecretType string
const ( SecretTypeAzureFirstPartyManagedCertificate SecretType = "AzureFirstPartyManagedCertificate" SecretTypeCustomerCertificate SecretType = "CustomerCertificate" SecretTypeManagedCertificate SecretType = "ManagedCertificate" SecretTypeURLSigningKey SecretType = "UrlSigningKey" )
func (*SecretType) UnmarshalJSON ¶
func (s *SecretType) UnmarshalJSON(bytes []byte) error
type SkuName ¶
type SkuName string
const ( SkuNameCustomVerizon SkuName = "Custom_Verizon" SkuNamePremiumAzureFrontDoor SkuName = "Premium_AzureFrontDoor" SkuNamePremiumVerizon SkuName = "Premium_Verizon" SkuNameStandardAkamai SkuName = "Standard_Akamai" SkuNameStandardAvgBandWidthChinaCdn SkuName = "Standard_AvgBandWidth_ChinaCdn" SkuNameStandardAzureFrontDoor SkuName = "Standard_AzureFrontDoor" SkuNameStandardChinaCdn SkuName = "Standard_ChinaCdn" SkuNameStandardMicrosoft SkuName = "Standard_Microsoft" SkuNameStandardNineFiveFiveBandWidthChinaCdn SkuName = "Standard_955BandWidth_ChinaCdn" SkuNameStandardPlusAvgBandWidthChinaCdn SkuName = "StandardPlus_AvgBandWidth_ChinaCdn" SkuNameStandardPlusChinaCdn SkuName = "StandardPlus_ChinaCdn" SkuNameStandardPlusNineFiveFiveBandWidthChinaCdn SkuName = "StandardPlus_955BandWidth_ChinaCdn" SkuNameStandardVerizon SkuName = "Standard_Verizon" )
func (*SkuName) UnmarshalJSON ¶
type UsageOperationPredicate ¶
func (UsageOperationPredicate) Matches ¶
func (p UsageOperationPredicate) Matches(input Usage) bool
type UsageUnit ¶
type UsageUnit string
const (
UsageUnitCount UsageUnit = "Count"
)
func (*UsageUnit) UnmarshalJSON ¶
type ValidateSecretInput ¶
type ValidateSecretInput struct { SecretSource ResourceReference `json:"secretSource"` SecretType SecretType `json:"secretType"` SecretVersion *string `json:"secretVersion,omitempty"` }
type ValidateSecretOperationResponse ¶
type ValidateSecretOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ValidateSecretOutput }
type ValidateSecretOutput ¶
Source Files ¶
- client.go
- constants.go
- id_profile.go
- method_checkendpointnameavailability.go
- method_checkhostnameavailability.go
- method_listresourceusage.go
- method_upgrade.go
- method_validatesecret.go
- model_checkendpointnameavailabilityinput.go
- model_checkendpointnameavailabilityoutput.go
- model_checkhostnameavailabilityinput.go
- model_checknameavailabilityoutput.go
- model_profile.go
- model_profilechangeskuwafmapping.go
- model_profilelogscrubbing.go
- model_profileproperties.go
- model_profilescrubbingrules.go
- model_profileupgradeparameters.go
- model_resourcereference.go
- model_sku.go
- model_usage.go
- model_usagename.go
- model_validatesecretinput.go
- model_validatesecretoutput.go
- predicates.go
- version.go