InternalChecker(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An internal checker allows Uptime checks to run on private/internal GCP resources.
Attributes | |
---|---|
Name | Description |
name |
str
A unique resource name for this InternalChecker. The format is: :: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics
Scope project for the Uptime check config associated with
the internal checker.
|
display_name |
str
The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced. |
network |
str
The `GCP VPC network |
gcp_zone |
str
The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified. |
peer_project_id |
str
The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project. |
state |
google.cloud.monitoring_v3.types.InternalChecker.State
The current operational state of the internal checker. |
Classes
State
State(value)
Operational states for an internal checker.
Values:
UNSPECIFIED (0):
An internal checker should never be in the
unspecified state.
CREATING (1):
The checker is being created, provisioned, and configured. A
checker in this state can be returned by
ListInternalCheckers
or GetInternalChecker
, as well
as by examining the long running
Operation <https://cloud.google.com/apis/design/design_patterns#long_running_operations>
that created it.
RUNNING (2):
The checker is running and available for use. A checker in
this state can be returned by ListInternalCheckers
or
GetInternalChecker
as well as by examining the long
running
Operation <https://cloud.google.com/apis/design/design_patterns#long_running_operations>
that created it. If a checker is being torn down, it is
neither visible nor usable, so there is no "deleting" or
"down" state.