Skip to main content

monitoring_points

Creates, updates, deletes, gets or lists a monitoring_points resource.

Overview

Namemonitoring_points
TypeResource
Idgoogle.networkmanagement.monitoring_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}
autoGeoLocationEnabledbooleanOutput only. Indicates if automaitic geographic location is enabled for the MonitoringPoint.
connectionStatusstringOutput only. Connection status of the MonitoringPoint. (CONNECTION_STATUS_UNSPECIFIED, ONLINE, OFFLINE)
createTimestring (google-datetime)Output only. The time the MonitoringPoint was created.
deploymentTypestringOutput only. The deployment type of the MonitoringPoint. (DEPLOYMENT_TYPE_UNSPECIFIED, DOCKER, PODMAN, HELM)
displayNamestringOutput only. Display name of the MonitoringPoint.
errorsarrayOutput only. The codes of errors detected in the MonitoringPoint.
geoLocationobjectOutput only. The geographical location of the MonitoringPoint. (id: GeoLocation)
guidstringOutput only. The GUID of the MonitoringPoint.
hostobjectOutput only. The host information of the MonitoringPoint. (id: Host)
hostnamestringOutput only. The hostname of the MonitoringPoint.
networkInterfacesarrayOutput only. The network interfaces of the MonitoringPoint.
originatingIpstringOutput only. IP address visible when MonitoringPoint connects to the provider.
providerTagsarrayOutput only. The provider tags of the MonitoringPoint.
typestringOutput only. Deployment type of the MonitoringPoint.
updateTimestring (google-datetime)Output only. The time the MonitoringPoint was updated.
upgradeAvailablebooleanOutput only. Indicates if an upgrade is available for the MonitoringPoint.
upgradeTypestringOutput only. The type of upgrade available for the MonitoringPoint. (UPGRADE_TYPE_UNSPECIFIED, MANUAL, MANAGED, SCHEDULED, AUTO, EXTERNAL)
versionstringOutput only. Version of the software running on the MonitoringPoint.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, networkMonitoringProvidersId, monitoringPointsIdGets the MonitoringPoint resource.
listselectprojectsId, locationsId, networkMonitoringProvidersIdpageSize, pageTokenLists MonitoringPoints for a given network monitoring provider.
download_install_scriptexecprojectsId, locationsId, networkMonitoringProvidersIdstaticIpAddress.domain, privateConnectivityEnabled, _password, timeZone.version, hostname, staticIpAddress.ipAddress, staticIpAddress.netmask, ntpServerAddress, ntpServerSecondaryAddress, staticIpAddress.gatewayAddress, staticIpAddress.dnsServerAddress, timeZone.id, monitoringPointType, staticIpAddress.dnsServerSecondaryAddress, useDhcpDownloads an install script for MonitoringPoints for a given network monitoring provider.
download_server_connect_configexecprojectsId, locationsId, networkMonitoringProvidersIdDownloads the server connect configuration for a given network monitoring provider.
download_recreate_install_scriptexecprojectsId, locationsId, networkMonitoringProvidersId, monitoringPointsIdhostnameDownloads an install script for a specific Container MonitoringPoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
monitoringPointsIdstring
networkMonitoringProvidersIdstring
projectsIdstring
_passwordstring
hostnamestring
monitoringPointTypestring
ntpServerAddressstring
ntpServerSecondaryAddressstring
pageSizeinteger (int32)
pageTokenstring
privateConnectivityEnabledboolean
staticIpAddress.dnsServerAddressstring
staticIpAddress.dnsServerSecondaryAddressstring
staticIpAddress.domainstring
staticIpAddress.gatewayAddressstring
staticIpAddress.ipAddressstring
staticIpAddress.netmaskstring
timeZone.idstring
timeZone.versionstring
useDhcpboolean

SELECT examples

Gets the MonitoringPoint resource.

SELECT
name,
autoGeoLocationEnabled,
connectionStatus,
createTime,
deploymentType,
displayName,
errors,
geoLocation,
guid,
host,
hostname,
networkInterfaces,
originatingIp,
providerTags,
type,
updateTime,
upgradeAvailable,
upgradeType,
version
FROM google.networkmanagement.monitoring_points
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND networkMonitoringProvidersId = '{{ networkMonitoringProvidersId }}' -- required
AND monitoringPointsId = '{{ monitoringPointsId }}' -- required
;

Lifecycle Methods

Downloads an install script for MonitoringPoints for a given network monitoring provider.

EXEC google.networkmanagement.monitoring_points.download_install_script
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@networkMonitoringProvidersId='{{ networkMonitoringProvidersId }}' --required,
@staticIpAddress.domain='{{ staticIpAddress.domain }}',
@privateConnectivityEnabled={{ privateConnectivityEnabled }},
@_password='{{ _password }}',
@timeZone.version='{{ timeZone.version }}',
@hostname='{{ hostname }}',
@staticIpAddress.ipAddress='{{ staticIpAddress.ipAddress }}',
@staticIpAddress.netmask='{{ staticIpAddress.netmask }}',
@ntpServerAddress='{{ ntpServerAddress }}',
@ntpServerSecondaryAddress='{{ ntpServerSecondaryAddress }}',
@staticIpAddress.gatewayAddress='{{ staticIpAddress.gatewayAddress }}',
@staticIpAddress.dnsServerAddress='{{ staticIpAddress.dnsServerAddress }}',
@timeZone.id='{{ timeZone.id }}',
@monitoringPointType='{{ monitoringPointType }}',
@staticIpAddress.dnsServerSecondaryAddress='{{ staticIpAddress.dnsServerSecondaryAddress }}',
@useDhcp={{ useDhcp }}
;