gcloud beta assured workloads enable-resource-monitoring Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta assured workloads enable-resource-monitoring - enables Resource Monitoring for an Assured Workloads environment
- SYNOPSIS
gcloud beta assured workloads enable-resource-monitoring(WORKLOAD:--location=LOCATION--organization=ORGANIZATION)[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Enable resource violation monitoring for a workload.- EXAMPLES
- To enable resource violation monitoring for a workload in the us-central1region, belonging to an organization with ID 123, with workload ID 456, run:
gcloudbetaassuredworkloadsenable-resource-monitoringorganizations/123/locations/us-central1/workloads/456 - POSITIONAL ARGUMENTS
- Workload resource - The Assured Workloads environment resource toenable-resource-monitoring. The arguments in this group can be used to specifythe 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 thisgroup 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 fullyspecified 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 fullyspecified name; - provide the argument
--organizationon the command line.
- provide the argument
- Workload resource - The Assured Workloads environment resource toenable-resource-monitoring. The arguments in this group can be used to specifythe 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
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudassuredworkloadsenable-resource-monitoringgcloudalphaassuredworkloadsenable-resource-monitoring
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.