/// <summary> /// Initializes a new instance of the ConnectionMonitorEndpoint class. /// </summary> /// <param name="name">The name of the connection monitor /// endpoint.</param> /// <param name="resourceId">Resource ID of the connection monitor /// endpoint.</param> /// <param name="address">Address of the connection monitor endpoint /// (IP or domain name).</param> /// <param name="filter">Filter for sub-items within the /// endpoint.</param> public ConnectionMonitorEndpoint(string name, string resourceId = default(string), string address = default(string), ConnectionMonitorEndpointFilter filter = default(ConnectionMonitorEndpointFilter)) { Name = name; ResourceId = resourceId; Address = address; Filter = filter; CustomInit(); }
/// <summary> /// Initializes a new instance of the ConnectionMonitorEndpoint class. /// </summary> /// <param name="name">The name of the connection monitor /// endpoint.</param> /// <param name="type">The endpoint type. Possible values include: /// 'AzureVM', 'AzureVNet', 'AzureSubnet', 'ExternalAddress', /// 'MMAWorkspaceMachine', 'MMAWorkspaceNetwork'</param> /// <param name="resourceId">Resource ID of the connection monitor /// endpoint.</param> /// <param name="address">Address of the connection monitor endpoint /// (IP or domain name).</param> /// <param name="filter">Filter for sub-items within the /// endpoint.</param> /// <param name="scope">Endpoint scope.</param> /// <param name="coverageLevel">Test coverage for the endpoint. /// Possible values include: 'Default', 'Low', 'BelowAverage', /// 'Average', 'AboveAverage', 'Full'</param> public ConnectionMonitorEndpoint(string name, string type = default(string), string resourceId = default(string), string address = default(string), ConnectionMonitorEndpointFilter filter = default(ConnectionMonitorEndpointFilter), ConnectionMonitorEndpointScope scope = default(ConnectionMonitorEndpointScope), string coverageLevel = default(string)) { Name = name; Type = type; ResourceId = resourceId; Address = address; Filter = filter; Scope = scope; CoverageLevel = coverageLevel; CustomInit(); }