trafficmanager

package
v17.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package trafficmanager implements the Azure ARM Trafficmanager service API version .

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Trafficmanager
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient deprecated

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. BaseClient is the base client for Trafficmanager.

func New deprecated

func New(subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewWithBaseURI creates an instance of the BaseClient client.

type CheckTrafficManagerRelativeDNSNameAvailabilityParameters deprecated

type CheckTrafficManagerRelativeDNSNameAvailabilityParameters struct {
	// Name - The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CheckTrafficManagerRelativeDNSNameAvailabilityParameters parameters supplied to check Traffic Manager name operation.

type CloudError deprecated

type CloudError struct {
	// Error - The content of the error.
	Error *CloudErrorBody `json:"error,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CloudError an error returned by the Azure Resource Manager

type CloudErrorBody deprecated

type CloudErrorBody struct {
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Message - Error message
	Message *string `json:"message,omitempty"`
	// Target - Error target
	Target *string `json:"target,omitempty"`
	// Details - Error details
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CloudErrorBody the content of an error returned by the Azure Resource Manager

type DNSConfig deprecated

type DNSConfig struct {
	// RelativeName - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
	RelativeName *string `json:"relativeName,omitempty"`
	// Fqdn - The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
	Fqdn *string `json:"fqdn,omitempty"`
	// TTL - The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
	TTL *int64 `json:"ttl,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DNSConfig class containing DNS settings in a Traffic Manager profile.

type DeleteOperationResult deprecated

type DeleteOperationResult struct {
	autorest.Response `json:"-"`
	// OperationResult - The result of the operation or request.
	OperationResult *bool `json:"boolean,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteOperationResult the result of the request or operation.

type Endpoint deprecated

type Endpoint struct {
	autorest.Response `json:"-"`
	// EndpointProperties - The properties of the Traffic Manager endpoint.
	*EndpointProperties `json:"properties,omitempty"`
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Endpoint class representing a Traffic Manager endpoint.

func (Endpoint) MarshalJSON deprecated

func (e Endpoint) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MarshalJSON is the custom marshaler for Endpoint.

func (*Endpoint) UnmarshalJSON deprecated

func (e *Endpoint) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UnmarshalJSON is the custom unmarshaler for Endpoint struct.

type EndpointMonitorStatus deprecated

type EndpointMonitorStatus string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. EndpointMonitorStatus enumerates the values for endpoint monitor status.

const (
	// CheckingEndpoint ...
	CheckingEndpoint EndpointMonitorStatus = "CheckingEndpoint"
	// Degraded ...
	Degraded EndpointMonitorStatus = "Degraded"
	// Disabled ...
	Disabled EndpointMonitorStatus = "Disabled"
	// Inactive ...
	Inactive EndpointMonitorStatus = "Inactive"
	// Online ...
	Online EndpointMonitorStatus = "Online"
	// Stopped ...
	Stopped EndpointMonitorStatus = "Stopped"
)

func PossibleEndpointMonitorStatusValues deprecated

func PossibleEndpointMonitorStatusValues() []EndpointMonitorStatus

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. PossibleEndpointMonitorStatusValues returns an array of possible values for the EndpointMonitorStatus const type.

type EndpointProperties deprecated

type EndpointProperties struct {
	// TargetResourceID - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// Target - The fully-qualified DNS name of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
	Target *string `json:"target,omitempty"`
	// EndpointStatus - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. Possible values include: 'EndpointStatusEnabled', 'EndpointStatusDisabled'
	EndpointStatus EndpointStatus `json:"endpointStatus,omitempty"`
	// Weight - The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
	Weight *int64 `json:"weight,omitempty"`
	// Priority - The priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter.  If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
	Priority *int64 `json:"priority,omitempty"`
	// EndpointLocation - Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method.
	EndpointLocation *string `json:"endpointLocation,omitempty"`
	// EndpointMonitorStatus - The monitoring status of the endpoint. Possible values include: 'CheckingEndpoint', 'Online', 'Degraded', 'Disabled', 'Inactive', 'Stopped'
	EndpointMonitorStatus EndpointMonitorStatus `json:"endpointMonitorStatus,omitempty"`
	// MinChildEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
	MinChildEndpoints *int64 `json:"minChildEndpoints,omitempty"`
	// GeoMapping - The list of countries/regions mapped to this endpoint when using the ‘Geographic’ traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
	GeoMapping *[]string `json:"geoMapping,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. EndpointProperties class representing a Traffic Manager endpoint properties.

type EndpointStatus deprecated

type EndpointStatus string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. EndpointStatus enumerates the values for endpoint status.

const (
	// EndpointStatusDisabled ...
	EndpointStatusDisabled EndpointStatus = "Disabled"
	// EndpointStatusEnabled ...
	EndpointStatusEnabled EndpointStatus = "Enabled"
)

func PossibleEndpointStatusValues deprecated

func PossibleEndpointStatusValues() []EndpointStatus

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. PossibleEndpointStatusValues returns an array of possible values for the EndpointStatus const type.

type EndpointsClient deprecated

type EndpointsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. EndpointsClient is the client for the Endpoints methods of the Trafficmanager service.

func NewEndpointsClient deprecated

func NewEndpointsClient(subscriptionID string) EndpointsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewEndpointsClient creates an instance of the EndpointsClient client.

func NewEndpointsClientWithBaseURI deprecated

func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.

func (EndpointsClient) CreateOrUpdate deprecated

func (client EndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string, parameters Endpoint) (result Endpoint, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdate create or update a Traffic Manager endpoint.

resourceGroupName is the name of the resource group containing the Traffic Manager endpoint to be created or updated. profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint to be created or updated. endpointName is the name of the Traffic Manager endpoint to be created or updated. parameters is the Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.

func (EndpointsClient) CreateOrUpdatePreparer deprecated

func (client EndpointsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string, parameters Endpoint) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EndpointsClient) CreateOrUpdateResponder deprecated

func (client EndpointsClient) CreateOrUpdateResponder(resp *http.Response) (result Endpoint, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EndpointsClient) CreateOrUpdateSender deprecated

func (client EndpointsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) Delete deprecated

func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string) (result DeleteOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Delete deletes a Traffic Manager endpoint.

resourceGroupName is the name of the resource group containing the Traffic Manager endpoint to be deleted. profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint to be deleted. endpointName is the name of the Traffic Manager endpoint to be deleted.

func (EndpointsClient) DeletePreparer deprecated

func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeletePreparer prepares the Delete request.

func (EndpointsClient) DeleteResponder deprecated

func (client EndpointsClient) DeleteResponder(resp *http.Response) (result DeleteOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EndpointsClient) DeleteSender deprecated

func (client EndpointsClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) Get deprecated

func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string) (result Endpoint, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Get gets a Traffic Manager endpoint.

resourceGroupName is the name of the resource group containing the Traffic Manager endpoint. profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint. endpointName is the name of the Traffic Manager endpoint.

func (EndpointsClient) GetPreparer deprecated

func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetPreparer prepares the Get request.

func (EndpointsClient) GetResponder deprecated

func (client EndpointsClient) GetResponder(resp *http.Response) (result Endpoint, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EndpointsClient) GetSender deprecated

func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EndpointsClient) Update deprecated

func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string, parameters Endpoint) (result Endpoint, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Update update a Traffic Manager endpoint.

resourceGroupName is the name of the resource group containing the Traffic Manager endpoint to be updated. profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint to be updated. endpointName is the name of the Traffic Manager endpoint to be updated. parameters is the Traffic Manager endpoint parameters supplied to the Update operation.

func (EndpointsClient) UpdatePreparer deprecated

func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string, parameters Endpoint) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UpdatePreparer prepares the Update request.

func (EndpointsClient) UpdateResponder deprecated

func (client EndpointsClient) UpdateResponder(resp *http.Response) (result Endpoint, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EndpointsClient) UpdateSender deprecated

func (client EndpointsClient) UpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GeographicHierarchiesClient deprecated

type GeographicHierarchiesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GeographicHierarchiesClient is the client for the GeographicHierarchies methods of the Trafficmanager service.

func NewGeographicHierarchiesClient deprecated

func NewGeographicHierarchiesClient(subscriptionID string) GeographicHierarchiesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewGeographicHierarchiesClient creates an instance of the GeographicHierarchiesClient client.

func NewGeographicHierarchiesClientWithBaseURI deprecated

func NewGeographicHierarchiesClientWithBaseURI(baseURI string, subscriptionID string) GeographicHierarchiesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewGeographicHierarchiesClientWithBaseURI creates an instance of the GeographicHierarchiesClient client.

func (GeographicHierarchiesClient) GetDefault deprecated

func (client GeographicHierarchiesClient) GetDefault(ctx context.Context) (result GeographicHierarchy, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetDefault gets the default Geographic Hierarchy used by the Geographic traffic routing method.

func (GeographicHierarchiesClient) GetDefaultPreparer deprecated

func (client GeographicHierarchiesClient) GetDefaultPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetDefaultPreparer prepares the GetDefault request.

func (GeographicHierarchiesClient) GetDefaultResponder deprecated

func (client GeographicHierarchiesClient) GetDefaultResponder(resp *http.Response) (result GeographicHierarchy, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetDefaultResponder handles the response to the GetDefault request. The method always closes the http.Response Body.

func (GeographicHierarchiesClient) GetDefaultSender deprecated

func (client GeographicHierarchiesClient) GetDefaultSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetDefaultSender sends the GetDefault request. The method will close the http.Response Body if it receives an error.

type GeographicHierarchy deprecated

type GeographicHierarchy struct {
	autorest.Response `json:"-"`
	// GeographicHierarchyProperties - The properties of the Geographic Hierarchy resource.
	*GeographicHierarchyProperties `json:"properties,omitempty"`
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GeographicHierarchy class representing the Geographic hierarchy used with the Geographic traffic routing method.

func (GeographicHierarchy) MarshalJSON deprecated

func (gh GeographicHierarchy) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MarshalJSON is the custom marshaler for GeographicHierarchy.

func (*GeographicHierarchy) UnmarshalJSON deprecated

func (gh *GeographicHierarchy) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UnmarshalJSON is the custom unmarshaler for GeographicHierarchy struct.

type GeographicHierarchyProperties deprecated

type GeographicHierarchyProperties struct {
	// GeographicHierarchy - The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.
	GeographicHierarchy *Region `json:"geographicHierarchy,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GeographicHierarchyProperties class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method.

type HeatMapClient deprecated

type HeatMapClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. HeatMapClient is the client for the HeatMap methods of the Trafficmanager service.

func NewHeatMapClient deprecated

func NewHeatMapClient(subscriptionID string) HeatMapClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewHeatMapClient creates an instance of the HeatMapClient client.

func NewHeatMapClientWithBaseURI deprecated

func NewHeatMapClientWithBaseURI(baseURI string, subscriptionID string) HeatMapClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewHeatMapClientWithBaseURI creates an instance of the HeatMapClient client.

func (HeatMapClient) Get deprecated

func (client HeatMapClient) Get(ctx context.Context, resourceGroupName string, profileName string, topLeft []float64, botRight []float64) (result HeatMapModel, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Get gets latest heatmap for Traffic Manager profile.

resourceGroupName is the name of the resource group containing the Traffic Manager endpoint. profileName is the name of the Traffic Manager profile. topLeft is the top left latitude,longitude pair of the rectangular viewport to query for. botRight is the bottom right latitude,longitude pair of the rectangular viewport to query for.

func (HeatMapClient) GetPreparer deprecated

func (client HeatMapClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, topLeft []float64, botRight []float64) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetPreparer prepares the Get request.

func (HeatMapClient) GetResponder deprecated

func (client HeatMapClient) GetResponder(resp *http.Response) (result HeatMapModel, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (HeatMapClient) GetSender deprecated

func (client HeatMapClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type HeatMapEndpoint deprecated

type HeatMapEndpoint struct {
	// ResourceID - The ARM Resource ID of this Traffic Manager endpoint.
	ResourceID *string `json:"resourceId,omitempty"`
	// EndpointID - A number uniquely identifying this endpoint in query experiences.
	EndpointID *int32 `json:"endpointId,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. HeatMapEndpoint class which is a sparse representation of a Traffic Manager endpoint.

type HeatMapModel deprecated

type HeatMapModel struct {
	autorest.Response `json:"-"`
	// HeatMapProperties - The properties of the Traffic Manager HeatMap.
	*HeatMapProperties `json:"properties,omitempty"`
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. HeatMapModel class representing a Traffic Manager HeatMap.

func (HeatMapModel) MarshalJSON deprecated

func (hmm HeatMapModel) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MarshalJSON is the custom marshaler for HeatMapModel.

func (*HeatMapModel) UnmarshalJSON deprecated

func (hmm *HeatMapModel) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UnmarshalJSON is the custom unmarshaler for HeatMapModel struct.

type HeatMapProperties deprecated

type HeatMapProperties struct {
	// StartTime - The beginning of the time window for this HeatMap, inclusive.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The ending of the time window for this HeatMap, exclusive.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Endpoints - The endpoints used in this HeatMap calculation.
	Endpoints *[]HeatMapEndpoint `json:"endpoints,omitempty"`
	// TrafficFlows - The traffic flows produced in this HeatMap calculation.
	TrafficFlows *[]TrafficFlow `json:"trafficFlows,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. HeatMapProperties class representing a Traffic Manager HeatMap properties.

type MonitorConfig deprecated

type MonitorConfig struct {
	// ProfileMonitorStatus - The profile-level monitoring status of the Traffic Manager profile. Possible values include: 'ProfileMonitorStatusCheckingEndpoints', 'ProfileMonitorStatusOnline', 'ProfileMonitorStatusDegraded', 'ProfileMonitorStatusDisabled', 'ProfileMonitorStatusInactive'
	ProfileMonitorStatus ProfileMonitorStatus `json:"profileMonitorStatus,omitempty"`
	// Protocol - The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Possible values include: 'HTTP', 'HTTPS', 'TCP'
	Protocol MonitorProtocol `json:"protocol,omitempty"`
	// Port - The TCP port used to probe for endpoint health.
	Port *int64 `json:"port,omitempty"`
	// Path - The path relative to the endpoint domain name used to probe for endpoint health.
	Path *string `json:"path,omitempty"`
	// IntervalInSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
	IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty"`
	// TimeoutInSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty"`
	// ToleratedNumberOfFailures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
	ToleratedNumberOfFailures *int64 `json:"toleratedNumberOfFailures,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MonitorConfig class containing endpoint monitoring settings in a Traffic Manager profile.

type MonitorProtocol deprecated

type MonitorProtocol string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MonitorProtocol enumerates the values for monitor protocol.

const (
	// HTTP ...
	HTTP MonitorProtocol = "HTTP"
	// HTTPS ...
	HTTPS MonitorProtocol = "HTTPS"
	// TCP ...
	TCP MonitorProtocol = "TCP"
)

func PossibleMonitorProtocolValues deprecated

func PossibleMonitorProtocolValues() []MonitorProtocol

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. PossibleMonitorProtocolValues returns an array of possible values for the MonitorProtocol const type.

type NameAvailability deprecated

type NameAvailability struct {
	autorest.Response `json:"-"`
	// Name - The relative name.
	Name *string `json:"name,omitempty"`
	// Type - Traffic Manager profile resource type.
	Type *string `json:"type,omitempty"`
	// NameAvailable - Describes whether the relative name is available or not.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - The reason why the name is not available, when applicable.
	Reason *string `json:"reason,omitempty"`
	// Message - Descriptive message that explains why the name is not available, when applicable.
	Message *string `json:"message,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NameAvailability class representing a Traffic Manager Name Availability response.

type Profile deprecated

type Profile struct {
	autorest.Response `json:"-"`
	// ProfileProperties - The properties of the Traffic Manager profile.
	*ProfileProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Profile class representing a Traffic Manager profile.

func (Profile) MarshalJSON deprecated

func (p Profile) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MarshalJSON is the custom marshaler for Profile.

func (*Profile) UnmarshalJSON deprecated

func (p *Profile) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UnmarshalJSON is the custom unmarshaler for Profile struct.

type ProfileListResult deprecated

type ProfileListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets the list of Traffic manager profiles.
	Value *[]Profile `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ProfileListResult the list Traffic Manager profiles operation response.

type ProfileMonitorStatus deprecated

type ProfileMonitorStatus string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ProfileMonitorStatus enumerates the values for profile monitor status.

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

func PossibleProfileMonitorStatusValues deprecated

func PossibleProfileMonitorStatusValues() []ProfileMonitorStatus

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. PossibleProfileMonitorStatusValues returns an array of possible values for the ProfileMonitorStatus const type.

type ProfileProperties deprecated

type ProfileProperties struct {
	// ProfileStatus - The status of the Traffic Manager profile. Possible values include: 'ProfileStatusEnabled', 'ProfileStatusDisabled'
	ProfileStatus ProfileStatus `json:"profileStatus,omitempty"`
	// TrafficRoutingMethod - The traffic routing method of the Traffic Manager profile. Possible values include: 'Performance', 'Priority', 'Weighted', 'Geographic'
	TrafficRoutingMethod TrafficRoutingMethod `json:"trafficRoutingMethod,omitempty"`
	// DNSConfig - The DNS settings of the Traffic Manager profile.
	DNSConfig *DNSConfig `json:"dnsConfig,omitempty"`
	// MonitorConfig - The endpoint monitoring settings of the Traffic Manager profile.
	MonitorConfig *MonitorConfig `json:"monitorConfig,omitempty"`
	// Endpoints - The list of endpoints in the Traffic Manager profile.
	Endpoints *[]Endpoint `json:"endpoints,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ProfileProperties class representing the Traffic Manager profile properties.

type ProfileStatus deprecated

type ProfileStatus string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ProfileStatus enumerates the values for profile status.

const (
	// ProfileStatusDisabled ...
	ProfileStatusDisabled ProfileStatus = "Disabled"
	// ProfileStatusEnabled ...
	ProfileStatusEnabled ProfileStatus = "Enabled"
)

func PossibleProfileStatusValues deprecated

func PossibleProfileStatusValues() []ProfileStatus

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. PossibleProfileStatusValues returns an array of possible values for the ProfileStatus const type.

type ProfilesClient deprecated

type ProfilesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ProfilesClient is the client for the Profiles methods of the Trafficmanager service.

func NewProfilesClient deprecated

func NewProfilesClient(subscriptionID string) ProfilesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewProfilesClient creates an instance of the ProfilesClient client.

func NewProfilesClientWithBaseURI deprecated

func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client.

func (ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailability deprecated

func (client ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailability(ctx context.Context, parameters CheckTrafficManagerRelativeDNSNameAvailabilityParameters) (result NameAvailability, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CheckTrafficManagerRelativeDNSNameAvailability checks the availability of a Traffic Manager Relative DNS name.

parameters is the Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation.

func (ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilityPreparer deprecated

func (client ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilityPreparer(ctx context.Context, parameters CheckTrafficManagerRelativeDNSNameAvailabilityParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CheckTrafficManagerRelativeDNSNameAvailabilityPreparer prepares the CheckTrafficManagerRelativeDNSNameAvailability request.

func (ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilityResponder deprecated

func (client ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilityResponder(resp *http.Response) (result NameAvailability, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CheckTrafficManagerRelativeDNSNameAvailabilityResponder handles the response to the CheckTrafficManagerRelativeDNSNameAvailability request. The method always closes the http.Response Body.

func (ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilitySender deprecated

func (client ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilitySender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CheckTrafficManagerRelativeDNSNameAvailabilitySender sends the CheckTrafficManagerRelativeDNSNameAvailability request. The method will close the http.Response Body if it receives an error.

func (ProfilesClient) CreateOrUpdate deprecated

func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, profileName string, parameters Profile) (result Profile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdate create or update a Traffic Manager profile.

resourceGroupName is the name of the resource group containing the Traffic Manager profile. profileName is the name of the Traffic Manager profile. parameters is the Traffic Manager profile parameters supplied to the CreateOrUpdate operation.

func (ProfilesClient) CreateOrUpdatePreparer deprecated

func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, parameters Profile) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ProfilesClient) CreateOrUpdateResponder deprecated

func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result Profile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ProfilesClient) CreateOrUpdateSender deprecated

func (client ProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ProfilesClient) Delete deprecated

func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, profileName string) (result DeleteOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Delete deletes a Traffic Manager profile.

resourceGroupName is the name of the resource group containing the Traffic Manager profile to be deleted. profileName is the name of the Traffic Manager profile to be deleted.

func (ProfilesClient) DeletePreparer deprecated

func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeletePreparer prepares the Delete request.

func (ProfilesClient) DeleteResponder deprecated

func (client ProfilesClient) DeleteResponder(resp *http.Response) (result DeleteOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ProfilesClient) DeleteSender deprecated

func (client ProfilesClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ProfilesClient) Get deprecated

func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string) (result Profile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Get gets a Traffic Manager profile.

resourceGroupName is the name of the resource group containing the Traffic Manager profile. profileName is the name of the Traffic Manager profile.

func (ProfilesClient) GetPreparer deprecated

func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetPreparer prepares the Get request.

func (ProfilesClient) GetResponder deprecated

func (client ProfilesClient) GetResponder(resp *http.Response) (result Profile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ProfilesClient) GetSender deprecated

func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ProfilesClient) ListByResourceGroup deprecated

func (client ProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListByResourceGroup lists all Traffic Manager profiles within a resource group.

resourceGroupName is the name of the resource group containing the Traffic Manager profiles to be listed.

func (ProfilesClient) ListByResourceGroupPreparer deprecated

func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ProfilesClient) ListByResourceGroupResponder deprecated

func (client ProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ProfileListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ProfilesClient) ListByResourceGroupSender deprecated

func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ProfilesClient) ListBySubscription deprecated

func (client ProfilesClient) ListBySubscription(ctx context.Context) (result ProfileListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListBySubscription lists all Traffic Manager profiles within a subscription.

func (ProfilesClient) ListBySubscriptionPreparer deprecated

func (client ProfilesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ProfilesClient) ListBySubscriptionResponder deprecated

func (client ProfilesClient) ListBySubscriptionResponder(resp *http.Response) (result ProfileListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ProfilesClient) ListBySubscriptionSender deprecated

func (client ProfilesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ProfilesClient) Update deprecated

func (client ProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, parameters Profile) (result Profile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Update update a Traffic Manager profile.

resourceGroupName is the name of the resource group containing the Traffic Manager profile. profileName is the name of the Traffic Manager profile. parameters is the Traffic Manager profile parameters supplied to the Update operation.

func (ProfilesClient) UpdatePreparer deprecated

func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, parameters Profile) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UpdatePreparer prepares the Update request.

func (ProfilesClient) UpdateResponder deprecated

func (client ProfilesClient) UpdateResponder(resp *http.Response) (result Profile, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ProfilesClient) UpdateSender deprecated

func (client ProfilesClient) UpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ProxyResource deprecated

type ProxyResource struct {
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type QueryExperience deprecated

type QueryExperience struct {
	// EndpointID - The id of the endpoint from the 'endpoints' array which these queries were routed to.
	EndpointID *int32 `json:"endpointId,omitempty"`
	// QueryCount - The number of queries originating from this location.
	QueryCount *int32 `json:"queryCount,omitempty"`
	// Latency - The latency experienced by queries originating from this location.
	Latency *float64 `json:"latency,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. QueryExperience class representing a Traffic Manager HeatMap query experience properties.

type Region deprecated

type Region struct {
	// Code - The code of the region
	Code *string `json:"code,omitempty"`
	// Name - The name of the region
	Name *string `json:"name,omitempty"`
	// Regions - The list of Regions grouped under this Region in the Geographic Hierarchy.
	Regions *[]Region `json:"regions,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Region class representing a region in the Geographic hierarchy used with the Geographic traffic routing method.

type Resource deprecated

type Resource struct {
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Resource the core properties of ARM resources

type TrackedResource deprecated

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON deprecated

func (tr TrackedResource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. MarshalJSON is the custom marshaler for TrackedResource.

type TrafficFlow deprecated

type TrafficFlow struct {
	// SourceIP - The IP address that this query experience originated from.
	SourceIP *string `json:"sourceIp,omitempty"`
	// Latitude - The approximate latitude that these queries originated from.
	Latitude *float64 `json:"latitude,omitempty"`
	// Longitude - The approximate longitude that these queries originated from.
	Longitude *float64 `json:"longitude,omitempty"`
	// QueryExperiences - The query experiences produced in this HeatMap calculation.
	QueryExperiences *[]QueryExperience `json:"queryExperiences,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. TrafficFlow class representing a Traffic Manager HeatMap traffic flow properties.

type TrafficRoutingMethod deprecated

type TrafficRoutingMethod string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. TrafficRoutingMethod enumerates the values for traffic routing method.

const (
	// Geographic ...
	Geographic TrafficRoutingMethod = "Geographic"
	// Performance ...
	Performance TrafficRoutingMethod = "Performance"
	// Priority ...
	Priority TrafficRoutingMethod = "Priority"
	// Weighted ...
	Weighted TrafficRoutingMethod = "Weighted"
)

func PossibleTrafficRoutingMethodValues deprecated

func PossibleTrafficRoutingMethodValues() []TrafficRoutingMethod

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. PossibleTrafficRoutingMethodValues returns an array of possible values for the TrafficRoutingMethod const type.

type UserMetricsKeyModel deprecated

type UserMetricsKeyModel struct {
	autorest.Response `json:"-"`
	// Key - The key returned by the Real User Metrics operation.
	Key *string `json:"key,omitempty"`
	// ID - Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UserMetricsKeyModel class representing a Traffic Manager Real User Metrics key response.

type UserMetricsKeysClient deprecated

type UserMetricsKeysClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. UserMetricsKeysClient is the client for the UserMetricsKeys methods of the Trafficmanager service.

func NewUserMetricsKeysClient deprecated

func NewUserMetricsKeysClient(subscriptionID string) UserMetricsKeysClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewUserMetricsKeysClient creates an instance of the UserMetricsKeysClient client.

func NewUserMetricsKeysClientWithBaseURI deprecated

func NewUserMetricsKeysClientWithBaseURI(baseURI string, subscriptionID string) UserMetricsKeysClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. NewUserMetricsKeysClientWithBaseURI creates an instance of the UserMetricsKeysClient client.

func (UserMetricsKeysClient) CreateOrUpdate deprecated

func (client UserMetricsKeysClient) CreateOrUpdate(ctx context.Context) (result UserMetricsKeyModel, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdate create or update a subscription-level key used for Real User Metrics collection.

func (UserMetricsKeysClient) CreateOrUpdatePreparer deprecated

func (client UserMetricsKeysClient) CreateOrUpdatePreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (UserMetricsKeysClient) CreateOrUpdateResponder deprecated

func (client UserMetricsKeysClient) CreateOrUpdateResponder(resp *http.Response) (result UserMetricsKeyModel, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (UserMetricsKeysClient) CreateOrUpdateSender deprecated

func (client UserMetricsKeysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (UserMetricsKeysClient) Delete deprecated

func (client UserMetricsKeysClient) Delete(ctx context.Context) (result DeleteOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Delete delete a subscription-level key used for Real User Metrics collection.

func (UserMetricsKeysClient) DeletePreparer deprecated

func (client UserMetricsKeysClient) DeletePreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeletePreparer prepares the Delete request.

func (UserMetricsKeysClient) DeleteResponder deprecated

func (client UserMetricsKeysClient) DeleteResponder(resp *http.Response) (result DeleteOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (UserMetricsKeysClient) DeleteSender deprecated

func (client UserMetricsKeysClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (UserMetricsKeysClient) Get deprecated

func (client UserMetricsKeysClient) Get(ctx context.Context) (result UserMetricsKeyModel, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. Get get the subscription-level key used for Real User Metrics collection.

func (UserMetricsKeysClient) GetPreparer deprecated

func (client UserMetricsKeysClient) GetPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetPreparer prepares the Get request.

func (UserMetricsKeysClient) GetResponder deprecated

func (client UserMetricsKeysClient) GetResponder(resp *http.Response) (result UserMetricsKeyModel, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (UserMetricsKeysClient) GetSender deprecated

func (client UserMetricsKeysClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

Jump to

Keyboard shortcuts

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