Documentation ¶
Index ¶
- func PossibleValuesForAllowedEndpointRecordType() []string
- func PossibleValuesForAlwaysServe() []string
- func PossibleValuesForEndpointMonitorStatus() []string
- func PossibleValuesForEndpointStatus() []string
- func PossibleValuesForMonitorProtocol() []string
- func PossibleValuesForProfileMonitorStatus() []string
- func PossibleValuesForProfileStatus() []string
- func PossibleValuesForTrafficRoutingMethod() []string
- func PossibleValuesForTrafficViewEnrollmentStatus() []string
- func ValidateTrafficManagerProfileID(input interface{}, key string) (warnings []string, errors []error)
- type AllowedEndpointRecordType
- type AlwaysServe
- type CheckTrafficManagerNameAvailabilityV2OperationResponse
- type CheckTrafficManagerRelativeDnsNameAvailabilityOperationResponse
- type CheckTrafficManagerRelativeDnsNameAvailabilityParameters
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DeleteOperationResult
- type DnsConfig
- type Endpoint
- type EndpointMonitorStatus
- type EndpointProperties
- type EndpointPropertiesCustomHeadersInlined
- type EndpointPropertiesSubnetsInlined
- type EndpointStatus
- type GetOperationResponse
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionOperationResponse
- type MonitorConfig
- type MonitorConfigCustomHeadersInlined
- type MonitorConfigExpectedStatusCodeRangesInlined
- type MonitorProtocol
- type Profile
- type ProfileListResult
- type ProfileMonitorStatus
- type ProfileProperties
- type ProfileStatus
- type ProfilesClient
- func (c ProfilesClient) CheckTrafficManagerNameAvailabilityV2(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckTrafficManagerNameAvailabilityV2OperationResponse, err error)
- func (c ProfilesClient) CheckTrafficManagerRelativeDnsNameAvailability(ctx context.Context, ...) (result CheckTrafficManagerRelativeDnsNameAvailabilityOperationResponse, ...)
- func (c ProfilesClient) CreateOrUpdate(ctx context.Context, id TrafficManagerProfileId, input Profile) (result CreateOrUpdateOperationResponse, err error)
- func (c ProfilesClient) Delete(ctx context.Context, id TrafficManagerProfileId) (result DeleteOperationResponse, err error)
- func (c ProfilesClient) Get(ctx context.Context, id TrafficManagerProfileId) (result GetOperationResponse, err error)
- func (c ProfilesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ProfilesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ProfilesClient) Update(ctx context.Context, id TrafficManagerProfileId, input Profile) (result UpdateOperationResponse, err error)
- type TrafficManagerNameAvailability
- type TrafficManagerProfileId
- type TrafficRoutingMethod
- type TrafficViewEnrollmentStatus
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllowedEndpointRecordType ¶
func PossibleValuesForAllowedEndpointRecordType() []string
func PossibleValuesForAlwaysServe ¶
func PossibleValuesForAlwaysServe() []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" )
func (*AllowedEndpointRecordType) UnmarshalJSON ¶
func (s *AllowedEndpointRecordType) UnmarshalJSON(bytes []byte) error
type AlwaysServe ¶
type AlwaysServe string
const ( AlwaysServeDisabled AlwaysServe = "Disabled" AlwaysServeEnabled AlwaysServe = "Enabled" )
func (*AlwaysServe) UnmarshalJSON ¶
func (s *AlwaysServe) UnmarshalJSON(bytes []byte) error
type CheckTrafficManagerNameAvailabilityV2OperationResponse ¶
type CheckTrafficManagerNameAvailabilityV2OperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TrafficManagerNameAvailability }
type CheckTrafficManagerRelativeDnsNameAvailabilityOperationResponse ¶
type CheckTrafficManagerRelativeDnsNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TrafficManagerNameAvailability }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeleteOperationResult }
type DeleteOperationResult ¶
type DeleteOperationResult struct {
Boolean *bool `json:"boolean,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" EndpointMonitorStatusUnmonitored EndpointMonitorStatus = "Unmonitored" )
func (*EndpointMonitorStatus) UnmarshalJSON ¶
func (s *EndpointMonitorStatus) UnmarshalJSON(bytes []byte) error
type EndpointProperties ¶
type EndpointProperties struct { AlwaysServe *AlwaysServe `json:"alwaysServe,omitempty"` 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 EndpointStatus ¶
type EndpointStatus string
const ( EndpointStatusDisabled EndpointStatus = "Disabled" EndpointStatusEnabled EndpointStatus = "Enabled" )
func (*EndpointStatus) UnmarshalJSON ¶
func (s *EndpointStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProfileListResult }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 MonitorProtocol ¶
type MonitorProtocol string
const ( MonitorProtocolHTTP MonitorProtocol = "HTTP" MonitorProtocolHTTPS MonitorProtocol = "HTTPS" MonitorProtocolTCP MonitorProtocol = "TCP" )
func (*MonitorProtocol) UnmarshalJSON ¶
func (s *MonitorProtocol) UnmarshalJSON(bytes []byte) error
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" )
func (*ProfileMonitorStatus) UnmarshalJSON ¶
func (s *ProfileMonitorStatus) UnmarshalJSON(bytes []byte) error
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" )
func (*ProfileStatus) UnmarshalJSON ¶
func (s *ProfileStatus) UnmarshalJSON(bytes []byte) error
type ProfilesClient ¶
type ProfilesClient struct {
Client *resourcemanager.Client
}
func NewProfilesClientWithBaseURI ¶
func NewProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*ProfilesClient, error)
func (ProfilesClient) CheckTrafficManagerNameAvailabilityV2 ¶
func (c ProfilesClient) CheckTrafficManagerNameAvailabilityV2(ctx context.Context, id commonids.SubscriptionId, input CheckTrafficManagerRelativeDnsNameAvailabilityParameters) (result CheckTrafficManagerNameAvailabilityV2OperationResponse, err error)
CheckTrafficManagerNameAvailabilityV2 ...
func (ProfilesClient) CheckTrafficManagerRelativeDnsNameAvailability ¶
func (c ProfilesClient) CheckTrafficManagerRelativeDnsNameAvailability(ctx context.Context, input CheckTrafficManagerRelativeDnsNameAvailabilityParameters) (result CheckTrafficManagerRelativeDnsNameAvailabilityOperationResponse, err error)
CheckTrafficManagerRelativeDnsNameAvailability ...
func (ProfilesClient) CreateOrUpdate ¶
func (c ProfilesClient) CreateOrUpdate(ctx context.Context, id TrafficManagerProfileId, input Profile) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProfilesClient) Delete ¶
func (c ProfilesClient) Delete(ctx context.Context, id TrafficManagerProfileId) (result DeleteOperationResponse, err error)
Delete ...
func (ProfilesClient) Get ¶
func (c ProfilesClient) Get(ctx context.Context, id TrafficManagerProfileId) (result GetOperationResponse, err error)
Get ...
func (ProfilesClient) ListByResourceGroup ¶
func (c ProfilesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ProfilesClient) ListBySubscription ¶
func (c ProfilesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ProfilesClient) Update ¶
func (c ProfilesClient) Update(ctx context.Context, id TrafficManagerProfileId, input Profile) (result UpdateOperationResponse, err error)
Update ...
type TrafficManagerProfileId ¶
type TrafficManagerProfileId struct { SubscriptionId string ResourceGroupName string TrafficManagerProfileName string }
TrafficManagerProfileId is a struct representing the Resource ID for a Traffic Manager Profile
func NewTrafficManagerProfileID ¶
func NewTrafficManagerProfileID(subscriptionId string, resourceGroupName string, trafficManagerProfileName 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) FromParseResult ¶
func (id *TrafficManagerProfileId) FromParseResult(input resourceids.ParseResult) error
func (TrafficManagerProfileId) ID ¶
func (id TrafficManagerProfileId) ID() string
ID returns the formatted Traffic Manager Profile ID
func (TrafficManagerProfileId) Segments ¶
func (id TrafficManagerProfileId) Segments() []resourceids.Segment
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" )
func (*TrafficRoutingMethod) UnmarshalJSON ¶
func (s *TrafficRoutingMethod) UnmarshalJSON(bytes []byte) error
type TrafficViewEnrollmentStatus ¶
type TrafficViewEnrollmentStatus string
const ( TrafficViewEnrollmentStatusDisabled TrafficViewEnrollmentStatus = "Disabled" TrafficViewEnrollmentStatusEnabled TrafficViewEnrollmentStatus = "Enabled" )
func (*TrafficViewEnrollmentStatus) UnmarshalJSON ¶
func (s *TrafficViewEnrollmentStatus) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_trafficmanagerprofile.go
- method_checktrafficmanagernameavailabilityv2.go
- method_checktrafficmanagerrelativednsnameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_checktrafficmanagerrelativednsnameavailabilityparameters.go
- model_deleteoperationresult.go
- model_dnsconfig.go
- model_endpoint.go
- model_endpointproperties.go
- model_endpointpropertiescustomheadersinlined.go
- model_endpointpropertiessubnetsinlined.go
- model_monitorconfig.go
- model_monitorconfigcustomheadersinlined.go
- model_monitorconfigexpectedstatuscoderangesinlined.go
- model_profile.go
- model_profilelistresult.go
- model_profileproperties.go
- model_trafficmanagernameavailability.go
- version.go