profiles

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAllowedEndpointRecordType

func PossibleValuesForAllowedEndpointRecordType() []string

func PossibleValuesForEndpointMonitorStatus

func PossibleValuesForEndpointMonitorStatus() []string

func PossibleValuesForEndpointStatus

func PossibleValuesForEndpointStatus() []string

func PossibleValuesForMonitorProtocol

func PossibleValuesForMonitorProtocol() []string

func PossibleValuesForProfileMonitorStatus

func PossibleValuesForProfileMonitorStatus() []string

func PossibleValuesForProfileStatus

func PossibleValuesForProfileStatus() []string

func PossibleValuesForTrafficRoutingMethod

func PossibleValuesForTrafficRoutingMethod() []string

func PossibleValuesForTrafficViewEnrollmentStatus

func PossibleValuesForTrafficViewEnrollmentStatus() []string

func ValidateTrafficManagerProfileID

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

ValidateTrafficManagerProfileID checks that 'input' can be parsed as a Traffic Manager Profile ID

Types

type AllowedEndpointRecordType

type AllowedEndpointRecordType string
const (
	AllowedEndpointRecordTypeAny            AllowedEndpointRecordType = "Any"
	AllowedEndpointRecordTypeDomainName     AllowedEndpointRecordType = "DomainName"
	AllowedEndpointRecordTypeIPvFourAddress AllowedEndpointRecordType = "IPv4Address"
	AllowedEndpointRecordTypeIPvSixAddress  AllowedEndpointRecordType = "IPv6Address"
)

type CheckTrafficManagerRelativeDnsNameAvailabilityParameters

type CheckTrafficManagerRelativeDnsNameAvailabilityParameters struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type CheckTrafficManagerRelativeDnsNameAvailabilityResponse

type CheckTrafficManagerRelativeDnsNameAvailabilityResponse struct {
	HttpResponse *http.Response
	Model        *TrafficManagerNameAvailability
}

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	HttpResponse *http.Response
	Model        *Profile
}

type DeleteOperationResult

type DeleteOperationResult struct {
	Boolean *bool `json:"boolean,omitempty"`
}

type DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
	Model        *DeleteOperationResult
}

type DnsConfig

type DnsConfig struct {
	Fqdn         *string `json:"fqdn,omitempty"`
	RelativeName *string `json:"relativeName,omitempty"`
	Ttl          *int64  `json:"ttl,omitempty"`
}

type Endpoint

type Endpoint struct {
	Id         *string             `json:"id,omitempty"`
	Name       *string             `json:"name,omitempty"`
	Properties *EndpointProperties `json:"properties,omitempty"`
	Type       *string             `json:"type,omitempty"`
}

type EndpointMonitorStatus

type EndpointMonitorStatus string
const (
	EndpointMonitorStatusCheckingEndpoint EndpointMonitorStatus = "CheckingEndpoint"
	EndpointMonitorStatusDegraded         EndpointMonitorStatus = "Degraded"
	EndpointMonitorStatusDisabled         EndpointMonitorStatus = "Disabled"
	EndpointMonitorStatusInactive         EndpointMonitorStatus = "Inactive"
	EndpointMonitorStatusOnline           EndpointMonitorStatus = "Online"
	EndpointMonitorStatusStopped          EndpointMonitorStatus = "Stopped"
)

type EndpointProperties

type EndpointProperties struct {
	CustomHeaders         *[]EndpointPropertiesCustomHeadersInlined `json:"customHeaders,omitempty"`
	EndpointLocation      *string                                   `json:"endpointLocation,omitempty"`
	EndpointMonitorStatus *EndpointMonitorStatus                    `json:"endpointMonitorStatus,omitempty"`
	EndpointStatus        *EndpointStatus                           `json:"endpointStatus,omitempty"`
	GeoMapping            *[]string                                 `json:"geoMapping,omitempty"`
	MinChildEndpoints     *int64                                    `json:"minChildEndpoints,omitempty"`
	MinChildEndpointsIPv4 *int64                                    `json:"minChildEndpointsIPv4,omitempty"`
	MinChildEndpointsIPv6 *int64                                    `json:"minChildEndpointsIPv6,omitempty"`
	Priority              *int64                                    `json:"priority,omitempty"`
	Subnets               *[]EndpointPropertiesSubnetsInlined       `json:"subnets,omitempty"`
	Target                *string                                   `json:"target,omitempty"`
	TargetResourceId      *string                                   `json:"targetResourceId,omitempty"`
	Weight                *int64                                    `json:"weight,omitempty"`
}

type EndpointPropertiesCustomHeadersInlined

type EndpointPropertiesCustomHeadersInlined struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type EndpointPropertiesSubnetsInlined

type EndpointPropertiesSubnetsInlined struct {
	First *string `json:"first,omitempty"`
	Last  *string `json:"last,omitempty"`
	Scope *int64  `json:"scope,omitempty"`
}

type EndpointStatus

type EndpointStatus string
const (
	EndpointStatusDisabled EndpointStatus = "Disabled"
	EndpointStatusEnabled  EndpointStatus = "Enabled"
)

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *Profile
}

type ListByResourceGroupResponse

type ListByResourceGroupResponse struct {
	HttpResponse *http.Response
	Model        *ProfileListResult
}

type ListBySubscriptionResponse

type ListBySubscriptionResponse struct {
	HttpResponse *http.Response
	Model        *ProfileListResult
}

type MonitorConfig

type MonitorConfig struct {
	CustomHeaders             *[]MonitorConfigCustomHeadersInlined            `json:"customHeaders,omitempty"`
	ExpectedStatusCodeRanges  *[]MonitorConfigExpectedStatusCodeRangesInlined `json:"expectedStatusCodeRanges,omitempty"`
	IntervalInSeconds         *int64                                          `json:"intervalInSeconds,omitempty"`
	Path                      *string                                         `json:"path,omitempty"`
	Port                      *int64                                          `json:"port,omitempty"`
	ProfileMonitorStatus      *ProfileMonitorStatus                           `json:"profileMonitorStatus,omitempty"`
	Protocol                  *MonitorProtocol                                `json:"protocol,omitempty"`
	TimeoutInSeconds          *int64                                          `json:"timeoutInSeconds,omitempty"`
	ToleratedNumberOfFailures *int64                                          `json:"toleratedNumberOfFailures,omitempty"`
}

type MonitorConfigCustomHeadersInlined

type MonitorConfigCustomHeadersInlined struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type MonitorConfigExpectedStatusCodeRangesInlined

type MonitorConfigExpectedStatusCodeRangesInlined struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

type MonitorProtocol

type MonitorProtocol string
const (
	MonitorProtocolHTTP  MonitorProtocol = "HTTP"
	MonitorProtocolHTTPS MonitorProtocol = "HTTPS"
	MonitorProtocolTCP   MonitorProtocol = "TCP"
)

type Profile

type Profile struct {
	Id         *string            `json:"id,omitempty"`
	Location   *string            `json:"location,omitempty"`
	Name       *string            `json:"name,omitempty"`
	Properties *ProfileProperties `json:"properties,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

type ProfileListResult

type ProfileListResult struct {
	Value *[]Profile `json:"value,omitempty"`
}

type ProfileMonitorStatus

type ProfileMonitorStatus string
const (
	ProfileMonitorStatusCheckingEndpoints ProfileMonitorStatus = "CheckingEndpoints"
	ProfileMonitorStatusDegraded          ProfileMonitorStatus = "Degraded"
	ProfileMonitorStatusDisabled          ProfileMonitorStatus = "Disabled"
	ProfileMonitorStatusInactive          ProfileMonitorStatus = "Inactive"
	ProfileMonitorStatusOnline            ProfileMonitorStatus = "Online"
)

type ProfileProperties

type ProfileProperties struct {
	AllowedEndpointRecordTypes  *[]AllowedEndpointRecordType `json:"allowedEndpointRecordTypes,omitempty"`
	DnsConfig                   *DnsConfig                   `json:"dnsConfig,omitempty"`
	Endpoints                   *[]Endpoint                  `json:"endpoints,omitempty"`
	MaxReturn                   *int64                       `json:"maxReturn,omitempty"`
	MonitorConfig               *MonitorConfig               `json:"monitorConfig,omitempty"`
	ProfileStatus               *ProfileStatus               `json:"profileStatus,omitempty"`
	TrafficRoutingMethod        *TrafficRoutingMethod        `json:"trafficRoutingMethod,omitempty"`
	TrafficViewEnrollmentStatus *TrafficViewEnrollmentStatus `json:"trafficViewEnrollmentStatus,omitempty"`
}

type ProfileStatus

type ProfileStatus string
const (
	ProfileStatusDisabled ProfileStatus = "Disabled"
	ProfileStatusEnabled  ProfileStatus = "Enabled"
)

type ProfilesClient

type ProfilesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewProfilesClientWithBaseURI

func NewProfilesClientWithBaseURI(endpoint string) ProfilesClient

func (ProfilesClient) CheckTrafficManagerRelativeDnsNameAvailability

CheckTrafficManagerRelativeDnsNameAvailability ...

func (ProfilesClient) CreateOrUpdate

func (c ProfilesClient) CreateOrUpdate(ctx context.Context, id TrafficManagerProfileId, input Profile) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (ProfilesClient) Delete

Delete ...

func (ProfilesClient) Get

Get ...

func (ProfilesClient) ListByResourceGroup

func (c ProfilesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupResponse, err error)

ListByResourceGroup ...

func (ProfilesClient) ListBySubscription

func (c ProfilesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionResponse, err error)

ListBySubscription ...

func (ProfilesClient) Update

func (c ProfilesClient) Update(ctx context.Context, id TrafficManagerProfileId, input Profile) (result UpdateResponse, err error)

Update ...

type TrafficManagerNameAvailability

type TrafficManagerNameAvailability struct {
	Message       *string `json:"message,omitempty"`
	Name          *string `json:"name,omitempty"`
	NameAvailable *bool   `json:"nameAvailable,omitempty"`
	Reason        *string `json:"reason,omitempty"`
	Type          *string `json:"type,omitempty"`
}

type TrafficManagerProfileId

type TrafficManagerProfileId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProfileName       string
}

TrafficManagerProfileId is a struct representing the Resource ID for a Traffic Manager Profile

func NewTrafficManagerProfileID

func NewTrafficManagerProfileID(subscriptionId string, resourceGroupName string, profileName string) TrafficManagerProfileId

NewTrafficManagerProfileID returns a new TrafficManagerProfileId struct

func ParseTrafficManagerProfileID

func ParseTrafficManagerProfileID(input string) (*TrafficManagerProfileId, error)

ParseTrafficManagerProfileID parses 'input' into a TrafficManagerProfileId

func ParseTrafficManagerProfileIDInsensitively

func ParseTrafficManagerProfileIDInsensitively(input string) (*TrafficManagerProfileId, error)

ParseTrafficManagerProfileIDInsensitively parses 'input' case-insensitively into a TrafficManagerProfileId note: this method should only be used for API response data and not user input

func (TrafficManagerProfileId) ID

ID returns the formatted Traffic Manager Profile ID

func (TrafficManagerProfileId) Segments

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

func (TrafficManagerProfileId) String

func (id TrafficManagerProfileId) String() string

String returns a human-readable description of this Traffic Manager Profile ID

type TrafficRoutingMethod

type TrafficRoutingMethod string
const (
	TrafficRoutingMethodGeographic  TrafficRoutingMethod = "Geographic"
	TrafficRoutingMethodMultiValue  TrafficRoutingMethod = "MultiValue"
	TrafficRoutingMethodPerformance TrafficRoutingMethod = "Performance"
	TrafficRoutingMethodPriority    TrafficRoutingMethod = "Priority"
	TrafficRoutingMethodSubnet      TrafficRoutingMethod = "Subnet"
	TrafficRoutingMethodWeighted    TrafficRoutingMethod = "Weighted"
)

type TrafficViewEnrollmentStatus

type TrafficViewEnrollmentStatus string
const (
	TrafficViewEnrollmentStatusDisabled TrafficViewEnrollmentStatus = "Disabled"
	TrafficViewEnrollmentStatusEnabled  TrafficViewEnrollmentStatus = "Enabled"
)

type UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
	Model        *Profile
}

Jump to

Keyboard shortcuts

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