HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/active_directory/operations/list.yaml
- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: |
      List Managed Microsoft AD operations.
    description: |
      List all Managed Microsoft AD operations in the specified project.

      You can specify the maximum number of operations to list using the
      `--limit` flag.
    examples: |
      The following command lists a maximum of five operations:

          $ {command} --limit=5

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.active_directory.resources:project
      help_text: |
        Region of the operations to display.

  request: &request
    api_version: v1
    collection: managedidentities.projects.locations.global.operations
    modify_request_hooks:
    - googlecloudsdk.command_lib.active_directory.util:UpdateOperationRequestNameVariable

  output:
    format: |
       table(
          name.basename():label=OPERATION_NAME,
          metadata.verb:label=TYPE,
          metadata.target.basename(),
          done,
          metadata.createTime.date():sort=1,
          duration(start=metadata.createTime,end=metadata.endTime,precision=0,calendar=false).slice(2:).join("").yesno(no="<1S"):label=DURATION
        )