- NAME
-
- gcloud assured workloads enable-resource-monitoring - enables Resource Monitoring for an Assured Workloads environment
- SYNOPSIS
-
-
gcloud assured workloads enable-resource-monitoring(WORKLOAD:--location=LOCATION--organization=ORGANIZATION) [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Enable resource violation monitoring for a workload.
- EXAMPLES
- To enable resource violation monitoring for a workload in the us-central1
region, belonging to an organization with ID 123, with workload ID 456, run:
gcloud assured workloads enable-resource-monitoring organizations/123/locations/us-central1/workloads/456 - POSITIONAL ARGUMENTS
-
- Workload resource - The Assured Workloads environment resource to
enable-resource-monitoring. The arguments in this group can be used to specify
the attributes of this resource.
This must be specified.
-
WORKLOAD - ID of the workload or fully qualified identifier for the workload.
To set the
workloadattribute:- provide the argument
workloadon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- provide the argument
-
--location=LOCATION - The location for the workload.
To set the
locationattribute:- provide the argument
workloadon the command line with a fully specified name; - provide the argument
--locationon the command line.
- provide the argument
-
--organization=ORGANIZATION - The parent organization for the workload.
To set the
organizationattribute:- provide the argument
workloadon the command line with a fully specified name; - provide the argument
--organizationon the command line.
- provide the argument
-
- Workload resource - The Assured Workloads environment resource to
enable-resource-monitoring. The arguments in this group can be used to specify
the attributes of this resource.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- These variants are also available:
gcloud alpha assured workloads enable-resource-monitoringgcloud beta assured workloads enable-resource-monitoring
gcloud assured workloads enable-resource-monitoring
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

