release_tracks: [BETA, GA]

help_text:
  brief: |
    List `AuthzExtension` resources.
  description: |
    List all `AuthzExtension` resources in the specified location of the
    current project.
  examples: |
      To list all `AuthzExtension` resources in the current project located
      in `us-central1` region run:

        $ {command} --location=us-central1

request: &request
  BETA:
    api_version: v1beta1
  GA:
    api_version: v1

  collection: networkservices.projects.locations.authzExtensions

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.service_extensions.resources:location
    help_text: |
      The parent location.

response:
  id_field: name

output:
  format: |
      table(
        name.basename():label=NAME,
        loadBalancingScheme,
        updateTime.date(unit=1000, tz_default=UTC):label=LAST_MODIFIED
      )
