// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"

type TrafficManagerProfilesNestedEndpoint_Spec struct {
	// Name: The name of the resource
	Name string `json:"name,omitempty"`

	// Properties: The properties of the Traffic Manager endpoint.
	Properties *EndpointProperties `json:"properties,omitempty"`

	// Type: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
	Type *string `json:"type,omitempty"`
}

var _ genruntime.ARMResourceSpec = &TrafficManagerProfilesNestedEndpoint_Spec{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2022-04-01"
func (endpoint TrafficManagerProfilesNestedEndpoint_Spec) GetAPIVersion() string {
	return "2022-04-01"
}

// GetName returns the Name of the resource
func (endpoint *TrafficManagerProfilesNestedEndpoint_Spec) GetName() string {
	return endpoint.Name
}

// GetType returns the ARM Type of the resource. This is always "Microsoft.Network/trafficmanagerprofiles/NestedEndpoints"
func (endpoint *TrafficManagerProfilesNestedEndpoint_Spec) GetType() string {
	return "Microsoft.Network/trafficmanagerprofiles/NestedEndpoints"
}
