ToSDKEndpointType() public static method

public static ToSDKEndpointType ( string type ) : string
type string
return string
 public Endpoint ToSDKEndpointForPatch()
 {
     return(new Endpoint
     {
         Id = this.Id,
         Name = this.Name,
         Type = TrafficManagerEndpoint.ToSDKEndpointType(this.Type),
         Properties = new EndpointProperties
         {
         }
     });
 }
 public Endpoint ToSDKEndpoint()
 {
     return(new Endpoint
     {
         Id = this.Id,
         Name = this.Name,
         Type = TrafficManagerEndpoint.ToSDKEndpointType(this.Type),
         Properties = new EndpointProperties
         {
             EndpointLocation = this.Location,
             EndpointStatus = this.EndpointStatus,
             GeoMapping = this.GeoMapping,
             MinChildEndpoints = this.MinChildEndpoints,
             Priority = this.Priority,
             Target = this.Target,
             TargetResourceId = this.TargetResourceId,
             Weight = this.Weight,
         }
     });
 }