profiles

package
v0.20241209.1115630 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-09-01/profiles Documentation

The profiles SDK allows for interaction with Azure Resource Manager cdn (API Version 2024-09-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-09-01/profiles"

Client Initialization

client := profiles.NewProfilesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ProfilesClient.CanMigrate

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

payload := profiles.CanMigrateParameters{
	// ...
}


if err := client.CanMigrateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.CdnCanMigrateToAfd

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

if err := client.CdnCanMigrateToAfdThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.CdnMigrateToAfd

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

payload := profiles.CdnMigrationToAfdParameters{
	// ...
}


if err := client.CdnMigrateToAfdThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.Create

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

payload := profiles.Profile{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.Delete

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.GenerateSsoUri

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

read, err := client.GenerateSsoUri(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProfilesClient.Get

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProfilesClient.List

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ProfilesClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ProfilesClient.ListResourceUsage

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

// alternatively `client.ListResourceUsage(ctx, id)` can be used to do batched pagination
items, err := client.ListResourceUsageComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ProfilesClient.ListSupportedOptimizationTypes

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

read, err := client.ListSupportedOptimizationTypes(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ProfilesClient.Migrate

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

payload := profiles.MigrationParameters{
	// ...
}


if err := client.MigrateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.MigrationAbort

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

if err := client.MigrationAbortThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.MigrationCommit

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

if err := client.MigrationCommitThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ProfilesClient.Update

ctx := context.TODO()
id := profiles.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

payload := profiles.ProfileUpdateParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCanMigrateDefaultSku

func PossibleValuesForCanMigrateDefaultSku() []string

func PossibleValuesForOptimizationType

func PossibleValuesForOptimizationType() []string

func PossibleValuesForProfileProvisioningState

func PossibleValuesForProfileProvisioningState() []string

func PossibleValuesForProfileResourceState

func PossibleValuesForProfileResourceState() []string

func PossibleValuesForProfileScrubbingState

func PossibleValuesForProfileScrubbingState() []string

func PossibleValuesForResourceUsageUnit

func PossibleValuesForResourceUsageUnit() []string

func PossibleValuesForScrubbingRuleEntryMatchOperator

func PossibleValuesForScrubbingRuleEntryMatchOperator() []string

func PossibleValuesForScrubbingRuleEntryMatchVariable

func PossibleValuesForScrubbingRuleEntryMatchVariable() []string

func PossibleValuesForScrubbingRuleEntryState

func PossibleValuesForScrubbingRuleEntryState() []string

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []string

func ValidateProfileID

func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)

ValidateProfileID checks that 'input' can be parsed as a Profile ID

Types

type CanMigrateDefaultSku

type CanMigrateDefaultSku string
const (
	CanMigrateDefaultSkuPremiumAzureFrontDoor  CanMigrateDefaultSku = "Premium_AzureFrontDoor"
	CanMigrateDefaultSkuStandardAzureFrontDoor CanMigrateDefaultSku = "Standard_AzureFrontDoor"
)

func (*CanMigrateDefaultSku) UnmarshalJSON

func (s *CanMigrateDefaultSku) UnmarshalJSON(bytes []byte) error

type CanMigrateOperationResponse

type CanMigrateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CanMigrateResult
}

type CanMigrateParameters

type CanMigrateParameters struct {
	ClassicResourceReference ResourceReference `json:"classicResourceReference"`
}

type CanMigrateProperties

type CanMigrateProperties struct {
	CanMigrate *bool                 `json:"canMigrate,omitempty"`
	DefaultSku *CanMigrateDefaultSku `json:"defaultSku,omitempty"`
	Errors     *[]MigrationErrorType `json:"errors,omitempty"`
}

type CanMigrateResult

type CanMigrateResult struct {
	Id         *string               `json:"id,omitempty"`
	Properties *CanMigrateProperties `json:"properties,omitempty"`
	Type       *string               `json:"type,omitempty"`
}

type CdnCanMigrateToAfdOperationResponse

type CdnCanMigrateToAfdOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CanMigrateResult
}

type CdnMigrateToAfdOperationResponse

type CdnMigrateToAfdOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrateResult
}

type CdnMigrationToAfdParameters

type CdnMigrationToAfdParameters struct {
	MigrationEndpointMappings *[]MigrationEndpointMapping `json:"migrationEndpointMappings,omitempty"`
	Sku                       Sku                         `json:"sku"`
}

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Profile
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type GenerateSsoUriOperationResponse

type GenerateSsoUriOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SsoUri
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Profile
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Profile
}

type ListByResourceGroupCustomPager

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Profile
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Profile
}

type ListCustomPager

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Profile
}

type ListResourceUsageCompleteResult

type ListResourceUsageCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ResourceUsage
}

type ListResourceUsageCustomPager

type ListResourceUsageCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListResourceUsageCustomPager) NextPageLink() *odata.Link

type ListResourceUsageOperationResponse

type ListResourceUsageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceUsage
}

type ListSupportedOptimizationTypesOperationResponse

type ListSupportedOptimizationTypesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SupportedOptimizationTypesListResult
}

type MigrateOperationResponse

type MigrateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrateResult
}

type MigrateResult

type MigrateResult struct {
	Id         *string                  `json:"id,omitempty"`
	Properties *MigrateResultProperties `json:"properties,omitempty"`
	Type       *string                  `json:"type,omitempty"`
}

type MigrateResultProperties

type MigrateResultProperties struct {
	MigratedProfileResourceId *ResourceReference `json:"migratedProfileResourceId,omitempty"`
}

type MigrationAbortOperationResponse

type MigrationAbortOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type MigrationCommitOperationResponse

type MigrationCommitOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type MigrationEndpointMapping

type MigrationEndpointMapping struct {
	MigratedFrom *string `json:"migratedFrom,omitempty"`
	MigratedTo   *string `json:"migratedTo,omitempty"`
}

type MigrationErrorType

type MigrationErrorType struct {
	Code         *string `json:"code,omitempty"`
	ErrorMessage *string `json:"errorMessage,omitempty"`
	NextSteps    *string `json:"nextSteps,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
}

type MigrationParameters

type MigrationParameters struct {
	ClassicResourceReference                ResourceReference                         `json:"classicResourceReference"`
	MigrationWebApplicationFirewallMappings *[]MigrationWebApplicationFirewallMapping `json:"migrationWebApplicationFirewallMappings,omitempty"`
	ProfileName                             string                                    `json:"profileName"`
	Sku                                     Sku                                       `json:"sku"`
}

type MigrationWebApplicationFirewallMapping

type MigrationWebApplicationFirewallMapping struct {
	MigratedFrom *ResourceReference `json:"migratedFrom,omitempty"`
	MigratedTo   *ResourceReference `json:"migratedTo,omitempty"`
}

type OptimizationType

type OptimizationType string
const (
	OptimizationTypeDynamicSiteAcceleration     OptimizationType = "DynamicSiteAcceleration"
	OptimizationTypeGeneralMediaStreaming       OptimizationType = "GeneralMediaStreaming"
	OptimizationTypeGeneralWebDelivery          OptimizationType = "GeneralWebDelivery"
	OptimizationTypeLargeFileDownload           OptimizationType = "LargeFileDownload"
	OptimizationTypeVideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming"
)

func (*OptimizationType) UnmarshalJSON

func (s *OptimizationType) UnmarshalJSON(bytes []byte) error

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 ProfileId

type ProfileId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProfileName       string
}

ProfileId is a struct representing the Resource ID for a Profile

func NewProfileID

func NewProfileID(subscriptionId string, resourceGroupName string, profileName string) ProfileId

NewProfileID returns a new ProfileId struct

func ParseProfileID

func ParseProfileID(input string) (*ProfileId, error)

ParseProfileID parses 'input' into a ProfileId

func ParseProfileIDInsensitively

func ParseProfileIDInsensitively(input string) (*ProfileId, error)

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) ID

func (id ProfileId) ID() string

ID returns the formatted Profile ID

func (ProfileId) Segments

func (id ProfileId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Profile ID

func (ProfileId) String

func (id ProfileId) String() string

String returns a human-readable description of this Profile ID

type ProfileLogScrubbing

type ProfileLogScrubbing struct {
	ScrubbingRules *[]ProfileScrubbingRules `json:"scrubbingRules,omitempty"`
	State          *ProfileScrubbingState   `json:"state,omitempty"`
}

type ProfileOperationPredicate

type ProfileOperationPredicate struct {
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (ProfileOperationPredicate) Matches

func (p ProfileOperationPredicate) Matches(input Profile) bool

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 ProfilePropertiesUpdateParameters

type ProfilePropertiesUpdateParameters struct {
	LogScrubbing                 *ProfileLogScrubbing `json:"logScrubbing,omitempty"`
	OriginResponseTimeoutSeconds *int64               `json:"originResponseTimeoutSeconds,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 ProfileUpdateParameters

type ProfileUpdateParameters struct {
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Properties *ProfilePropertiesUpdateParameters `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
}

type ProfilesClient

type ProfilesClient struct {
	Client *resourcemanager.Client
}

func NewProfilesClientWithBaseURI

func NewProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*ProfilesClient, error)

func (ProfilesClient) CanMigrate

CanMigrate ...

func (ProfilesClient) CanMigrateThenPoll

func (c ProfilesClient) CanMigrateThenPoll(ctx context.Context, id commonids.ResourceGroupId, input CanMigrateParameters) error

CanMigrateThenPoll performs CanMigrate then polls until it's completed

func (ProfilesClient) CdnCanMigrateToAfd

func (c ProfilesClient) CdnCanMigrateToAfd(ctx context.Context, id ProfileId) (result CdnCanMigrateToAfdOperationResponse, err error)

CdnCanMigrateToAfd ...

func (ProfilesClient) CdnCanMigrateToAfdThenPoll

func (c ProfilesClient) CdnCanMigrateToAfdThenPoll(ctx context.Context, id ProfileId) error

CdnCanMigrateToAfdThenPoll performs CdnCanMigrateToAfd then polls until it's completed

func (ProfilesClient) CdnMigrateToAfd

CdnMigrateToAfd ...

func (ProfilesClient) CdnMigrateToAfdThenPoll

func (c ProfilesClient) CdnMigrateToAfdThenPoll(ctx context.Context, id ProfileId, input CdnMigrationToAfdParameters) error

CdnMigrateToAfdThenPoll performs CdnMigrateToAfd then polls until it's completed

func (ProfilesClient) Create

func (c ProfilesClient) Create(ctx context.Context, id ProfileId, input Profile) (result CreateOperationResponse, err error)

Create ...

func (ProfilesClient) CreateThenPoll

func (c ProfilesClient) CreateThenPoll(ctx context.Context, id ProfileId, input Profile) error

CreateThenPoll performs Create then polls until it's completed

func (ProfilesClient) Delete

func (c ProfilesClient) Delete(ctx context.Context, id ProfileId) (result DeleteOperationResponse, err error)

Delete ...

func (ProfilesClient) DeleteThenPoll

func (c ProfilesClient) DeleteThenPoll(ctx context.Context, id ProfileId) error

DeleteThenPoll performs Delete then polls until it's completed

func (ProfilesClient) GenerateSsoUri

func (c ProfilesClient) GenerateSsoUri(ctx context.Context, id ProfileId) (result GenerateSsoUriOperationResponse, err error)

GenerateSsoUri ...

func (ProfilesClient) Get

func (c ProfilesClient) Get(ctx context.Context, id ProfileId) (result GetOperationResponse, err error)

Get ...

func (ProfilesClient) List

List ...

func (ProfilesClient) ListByResourceGroup

ListByResourceGroup ...

func (ProfilesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (ProfilesClient) ListByResourceGroupCompleteMatchingPredicate

func (c ProfilesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ProfileOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProfilesClient) ListComplete

ListComplete retrieves all the results into a single object

func (ProfilesClient) ListCompleteMatchingPredicate

func (c ProfilesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ProfileOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProfilesClient) ListResourceUsage

func (c ProfilesClient) ListResourceUsage(ctx context.Context, id ProfileId) (result ListResourceUsageOperationResponse, err error)

ListResourceUsage ...

func (ProfilesClient) ListResourceUsageComplete

func (c ProfilesClient) ListResourceUsageComplete(ctx context.Context, id ProfileId) (ListResourceUsageCompleteResult, error)

ListResourceUsageComplete retrieves all the results into a single object

func (ProfilesClient) ListResourceUsageCompleteMatchingPredicate

func (c ProfilesClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate ResourceUsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)

ListResourceUsageCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ProfilesClient) ListSupportedOptimizationTypes

func (c ProfilesClient) ListSupportedOptimizationTypes(ctx context.Context, id ProfileId) (result ListSupportedOptimizationTypesOperationResponse, err error)

ListSupportedOptimizationTypes ...

func (ProfilesClient) Migrate

Migrate ...

func (ProfilesClient) MigrateThenPoll

MigrateThenPoll performs Migrate then polls until it's completed

func (ProfilesClient) MigrationAbort

func (c ProfilesClient) MigrationAbort(ctx context.Context, id ProfileId) (result MigrationAbortOperationResponse, err error)

MigrationAbort ...

func (ProfilesClient) MigrationAbortThenPoll

func (c ProfilesClient) MigrationAbortThenPoll(ctx context.Context, id ProfileId) error

MigrationAbortThenPoll performs MigrationAbort then polls until it's completed

func (ProfilesClient) MigrationCommit

func (c ProfilesClient) MigrationCommit(ctx context.Context, id ProfileId) (result MigrationCommitOperationResponse, err error)

MigrationCommit ...

func (ProfilesClient) MigrationCommitThenPoll

func (c ProfilesClient) MigrationCommitThenPoll(ctx context.Context, id ProfileId) error

MigrationCommitThenPoll performs MigrationCommit then polls until it's completed

func (ProfilesClient) Update

Update ...

func (ProfilesClient) UpdateThenPoll

func (c ProfilesClient) UpdateThenPoll(ctx context.Context, id ProfileId, input ProfileUpdateParameters) error

UpdateThenPoll performs Update then polls until it's completed

type ResourceReference

type ResourceReference struct {
	Id *string `json:"id,omitempty"`
}

type ResourceUsage

type ResourceUsage struct {
	CurrentValue *int64             `json:"currentValue,omitempty"`
	Limit        *int64             `json:"limit,omitempty"`
	ResourceType *string            `json:"resourceType,omitempty"`
	Unit         *ResourceUsageUnit `json:"unit,omitempty"`
}

type ResourceUsageOperationPredicate

type ResourceUsageOperationPredicate struct {
	CurrentValue *int64
	Limit        *int64
	ResourceType *string
}

func (ResourceUsageOperationPredicate) Matches

type ResourceUsageUnit

type ResourceUsageUnit string
const (
	ResourceUsageUnitCount ResourceUsageUnit = "count"
)

func (*ResourceUsageUnit) UnmarshalJSON

func (s *ResourceUsageUnit) 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 Sku

type Sku struct {
	Name *SkuName `json:"name,omitempty"`
}

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

func (s *SkuName) UnmarshalJSON(bytes []byte) error

type SsoUri

type SsoUri struct {
	SsoUriValue *string `json:"ssoUriValue,omitempty"`
}

type SupportedOptimizationTypesListResult

type SupportedOptimizationTypesListResult struct {
	SupportedOptimizationTypes *[]OptimizationType `json:"supportedOptimizationTypes,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Profile
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL