network_monitoring_providers
Creates, updates, deletes, gets or lists a network_monitoring_providers
resource.
Overview
Name | network_monitoring_providers |
Type | Resource |
Id | google.networkmanagement.network_monitoring_providers |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} |
createTime | string (google-datetime) | Output only. The time the NetworkMonitoringProvider was created. |
errors | array | Output only. The list of error messages detected for the NetworkMonitoringProvider. |
providerType | string | Required. Type of the NetworkMonitoringProvider. |
providerUri | string | Output only. Link to the provider's UI. |
state | string | Output only. State of the NetworkMonitoringProvider. |
updateTime | string (google-datetime) | Output only. The time the NetworkMonitoringProvider was updated. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} |
createTime | string (google-datetime) | Output only. The time the NetworkMonitoringProvider was created. |
errors | array | Output only. The list of error messages detected for the NetworkMonitoringProvider. |
providerType | string | Required. Type of the NetworkMonitoringProvider. |
providerUri | string | Output only. Link to the provider's UI. |
state | string | Output only. State of the NetworkMonitoringProvider. |
updateTime | string (google-datetime) | Output only. The time the NetworkMonitoringProvider was updated. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , networkMonitoringProvidersId | Gets the NetworkMonitoringProvider resource. | |
list | select | projectsId , locationsId | pageSize , pageToken | Lists NetworkMonitoringProviders for a given project and location. |
create | insert | projectsId , locationsId | networkMonitoringProviderId | Creates a NetworkMonitoringProvider resource. |
delete | delete | projectsId , locationsId , networkMonitoringProvidersId | Deletes a NetworkMonitoringProvider resource and all of its child resources. |
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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
networkMonitoringProvidersId | string | |
projectsId | string | |
networkMonitoringProviderId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- get
- list
Gets the NetworkMonitoringProvider resource.
SELECT
name,
createTime,
errors,
providerType,
providerUri,
state,
updateTime
FROM google.networkmanagement.network_monitoring_providers
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND networkMonitoringProvidersId = '{{ networkMonitoringProvidersId }}' -- required;
Lists NetworkMonitoringProviders for a given project and location.
SELECT
name,
createTime,
errors,
providerType,
providerUri,
state,
updateTime
FROM google.networkmanagement.network_monitoring_providers
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';
INSERT
examples
- create
- Manifest
Creates a NetworkMonitoringProvider resource.
INSERT INTO google.networkmanagement.network_monitoring_providers (
data__providerType,
projectsId,
locationsId,
networkMonitoringProviderId
)
SELECT
'{{ providerType }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ networkMonitoringProviderId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: network_monitoring_providers
props:
- name: projectsId
value: string
description: Required parameter for the network_monitoring_providers resource.
- name: locationsId
value: string
description: Required parameter for the network_monitoring_providers resource.
- name: providerType
value: string
description: >
Required. Type of the NetworkMonitoringProvider.
valid_values: ['PROVIDER_TYPE_UNSPECIFIED', 'EXTERNAL']
- name: networkMonitoringProviderId
value: string
DELETE
examples
- delete
Deletes a NetworkMonitoringProvider resource and all of its child resources.
DELETE FROM google.networkmanagement.network_monitoring_providers
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND networkMonitoringProvidersId = '{{ networkMonitoringProvidersId }}' --required;