ArmNetworkModelFactory.ConnectionMonitorEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.ConnectionMonitorEndpoint ConnectionMonitorEndpoint(string name = default, Azure.ResourceManager.Network.Models.EndpointType? type = default, Azure.Core.ResourceIdentifier resourceId = default, string address = default, Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilter filter = default, Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointScope scope = default, Azure.ResourceManager.Network.Models.CoverageLevel? coverageLevel = default, string locationDetailsRegion = default, Guid? subscriptionId = default);
static member ConnectionMonitorEndpoint : string * Nullable<Azure.ResourceManager.Network.Models.EndpointType> * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilter * Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointScope * Nullable<Azure.ResourceManager.Network.Models.CoverageLevel> * string * Nullable<Guid> -> Azure.ResourceManager.Network.Models.ConnectionMonitorEndpoint
Public Shared Function ConnectionMonitorEndpoint (Optional name As String = Nothing, Optional type As Nullable(Of EndpointType) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional address As String = Nothing, Optional filter As ConnectionMonitorEndpointFilter = Nothing, Optional scope As ConnectionMonitorEndpointScope = Nothing, Optional coverageLevel As Nullable(Of CoverageLevel) = Nothing, Optional locationDetailsRegion As String = Nothing, Optional subscriptionId As Nullable(Of Guid) = Nothing) As ConnectionMonitorEndpoint
Parameters
- name
- String
The name of the connection monitor endpoint.
- type
- Nullable<EndpointType>
The endpoint type.
- resourceId
- ResourceIdentifier
Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- address
- String
Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- coverageLevel
- Nullable<CoverageLevel>
Test coverage for the endpoint.
- locationDetailsRegion
- String
Region for connection monitor endpoint.
Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
Returns
A new ConnectionMonitorEndpoint instance for mocking.