Microsoft.Network networkWatchers/connectionMonitors 2017-10-01
이 문서의 내용
Bicep resource definition
The networkWatchers/connectionMonitors resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Network/networkWatchers/connectionMonitors resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/networkWatchers/connectionMonitors@2017-10-01' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
autoStart: bool
destination: {
address: 'string'
port: int
resourceId: 'string'
}
monitoringIntervalInSeconds: int
source: {
port: int
resourceId: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
Property values
ConnectionMonitorDestination
Name
Description
Value
address
Address of the connection monitor destination (IP or domain name).
string
port
The destination port used by connection monitor.
int
resourceId
The ID of the resource used as the destination by connection monitor.
string
ConnectionMonitorParametersOrConnectionMonitorResultProperties
Name
Description
Value
autoStart
Determines if the connection monitor will start automatically once created.
bool
destination
Describes the destination of connection monitor.
ConnectionMonitorDestination (required)
monitoringIntervalInSeconds
Monitoring interval in seconds.
int
source
Describes the source of connection monitor.
ConnectionMonitorSource (required)
ConnectionMonitorSource
Name
Description
Value
port
The source port used by connection monitor.
int
resourceId
The ID of the resource used as the source by connection monitor.
string (required)
Microsoft.Network/networkWatchers/connectionMonitors
ARM template resource definition
The networkWatchers/connectionMonitors resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Network/networkWatchers/connectionMonitors resource, add the following JSON to your template.
{
"type": "Microsoft.Network/networkWatchers/connectionMonitors",
"apiVersion": "2017-10-01",
"name": "string",
"location": "string",
"properties": {
"autoStart": "bool",
"destination": {
"address": "string",
"port": "int",
"resourceId": "string"
},
"monitoringIntervalInSeconds": "int",
"source": {
"port": "int",
"resourceId": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
Property values
ConnectionMonitorDestination
Name
Description
Value
address
Address of the connection monitor destination (IP or domain name).
string
port
The destination port used by connection monitor.
int
resourceId
The ID of the resource used as the destination by connection monitor.
string
ConnectionMonitorParametersOrConnectionMonitorResultProperties
Name
Description
Value
autoStart
Determines if the connection monitor will start automatically once created.
bool
destination
Describes the destination of connection monitor.
ConnectionMonitorDestination (required)
monitoringIntervalInSeconds
Monitoring interval in seconds.
int
source
Describes the source of connection monitor.
ConnectionMonitorSource (required)
ConnectionMonitorSource
Name
Description
Value
port
The source port used by connection monitor.
int
resourceId
The ID of the resource used as the source by connection monitor.
string (required)
Microsoft.Network/networkWatchers/connectionMonitors
Name
Description
Value
apiVersion
The api version
'2017-10-01'
location
Connection monitor location.
string
name
The resource name
string (required)
properties
Parameters that define the operation to create a connection monitor.
ConnectionMonitorParametersOrConnectionMonitorResultProperties (required)
tags
Resource tags
Dictionary of tag names and values. See Tags in templates
type
The resource type
'Microsoft.Network/networkWatchers/connectionMonitors'
The networkWatchers/connectionMonitors resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Network/networkWatchers/connectionMonitors resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/networkWatchers/connectionMonitors@2017-10-01"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
autoStart = bool
destination = {
address = "string"
port = int
resourceId = "string"
}
monitoringIntervalInSeconds = int
source = {
port = int
resourceId = "string"
}
}
})
}
Property values
ConnectionMonitorDestination
Name
Description
Value
address
Address of the connection monitor destination (IP or domain name).
string
port
The destination port used by connection monitor.
int
resourceId
The ID of the resource used as the destination by connection monitor.
string
ConnectionMonitorParametersOrConnectionMonitorResultProperties
Name
Description
Value
autoStart
Determines if the connection monitor will start automatically once created.
bool
destination
Describes the destination of connection monitor.
ConnectionMonitorDestination (required)
monitoringIntervalInSeconds
Monitoring interval in seconds.
int
source
Describes the source of connection monitor.
ConnectionMonitorSource (required)
ConnectionMonitorSource
Name
Description
Value
port
The source port used by connection monitor.
int
resourceId
The ID of the resource used as the source by connection monitor.
string (required)
Microsoft.Network/networkWatchers/connectionMonitors
Name
Description
Value
location
Connection monitor location.
string
name
The resource name
string (required)
parent_id
The ID of the resource that is the parent for this resource.
ID for resource of type: networkWatchers
properties
Parameters that define the operation to create a connection monitor.
ConnectionMonitorParametersOrConnectionMonitorResultProperties (required)
tags
Resource tags
Dictionary of tag names and values.
type
The resource type
"Microsoft.Network/networkWatchers/connectionMonitors@2017-10-01"