/// <summary> /// Initializes a new instance of the EndpointUpdateParameters class /// with required arguments. /// </summary> public EndpointUpdateParameters(Endpoint endpoint) : this() { if (endpoint == null) { throw new ArgumentNullException("endpoint"); } this.Endpoint = endpoint; }
public static Profile BuildProfile(string id, string name, string type, string location, Dictionary<string, string> tags, string profileStatus, string trafficRoutingMethod, DnsConfig dnsConfig, MonitorConfig monitorConfig, Endpoint[] endpoints) { return new Microsoft.Azure.Management.TrafficManager.Models.Profile { Id = id, Name = name, Type = type, Location = location, Tags = tags, Properties = new Microsoft.Azure.Management.TrafficManager.Models.ProfileProperties { ProfileStatus = profileStatus, TrafficRoutingMethod = trafficRoutingMethod, DnsConfig = dnsConfig, MonitorConfig = monitorConfig, Endpoints = endpoints } }; }