Language

ArmNetworkModelFactory.ConnectionMonitorData Method

Definition

public static Azure.ResourceManager.Network.ConnectionMonitorData ConnectionMonitorData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.Network.Models.ConnectionMonitorSource source, Azure.ResourceManager.Network.Models.ConnectionMonitorDestination destination, bool? autoStart, int? monitoringIntervalInSeconds, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorEndpoint> endpoints, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfiguration> testConfigurations, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorTestGroup> testGroups, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ConnectionMonitorOutput> outputs, string notes, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState, DateTimeOffset? startOn, string monitoringStatus, Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointType? connectionMonitorType, Azure.ETag? eTag, Azure.Core.AzureLocation? location, System.Collections.Generic.IReadOnlyDictionary<string,string> tags);
static member ConnectionMonitorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Network.Models.ConnectionMonitorSource * Azure.ResourceManager.Network.Models.ConnectionMonitorDestination * Nullable<bool> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorEndpoint> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorTestConfiguration> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorTestGroup> * seq<Azure.ResourceManager.Network.Models.ConnectionMonitorOutput> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointType> * Nullable<Azure.ETag> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Network.ConnectionMonitorData
Public Shared Function ConnectionMonitorData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, source As ConnectionMonitorSource, destination As ConnectionMonitorDestination, autoStart As Nullable(Of Boolean), monitoringIntervalInSeconds As Nullable(Of Integer), endpoints As IEnumerable(Of ConnectionMonitorEndpoint), testConfigurations As IEnumerable(Of ConnectionMonitorTestConfiguration), testGroups As IEnumerable(Of ConnectionMonitorTestGroup), outputs As IEnumerable(Of ConnectionMonitorOutput), notes As String, provisioningState As Nullable(Of NetworkProvisioningState), startOn As Nullable(Of DateTimeOffset), monitoringStatus As String, connectionMonitorType As Nullable(Of ConnectionMonitorEndpointType), eTag As Nullable(Of ETag), location As Nullable(Of AzureLocation), tags As IReadOnlyDictionary(Of String, String)) As ConnectionMonitorData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

source
ConnectionMonitorSource

Describes the source of connection monitor.

destination
ConnectionMonitorDestination

Describes the destination of connection monitor.

autoStart
Nullable<Boolean>

Determines if the connection monitor will start automatically once created.

monitoringIntervalInSeconds
Nullable<Int32>

Monitoring interval in seconds.

endpoints
IEnumerable<ConnectionMonitorEndpoint>

List of connection monitor endpoints.

testConfigurations
IEnumerable<ConnectionMonitorTestConfiguration>

List of connection monitor test configurations.

testGroups
IEnumerable<ConnectionMonitorTestGroup>

List of connection monitor test groups.

outputs
IEnumerable<ConnectionMonitorOutput>

List of connection monitor outputs.

notes
String

Optional notes to be associated with the connection monitor.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the connection monitor.

startOn
Nullable<DateTimeOffset>

The date and time when the connection monitor was started.

monitoringStatus
String

The monitoring status of the connection monitor.

connectionMonitorType
Nullable<ConnectionMonitorEndpointType>

Type of connection monitor.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

location
Nullable<AzureLocation>

Connection monitor location.

tags
IReadOnlyDictionary<String,String>

Connection monitor tags.

Returns

A new ConnectionMonitorData instance for mocking.

Applies to