release_tracks: [ALPHA]
help_text:
  brief: |
    Import an `LbObservabilityExtension` resource.
  description: |
    Import an `LbObservabilityExtension` resource defined in a YAML file.
  examples: |
    To import an `LbObservabilityExtension` resource named
    `my-observability-extension` from a YAML file in `us-central1`, run:

        $ {command} my-observability-extension --source=my-observability-extension.yaml --location=us-central1

request:
  collection: networkservices.projects.locations.lbObservabilityExtensions
  ALPHA:
    api_version: v1alpha1

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.service_extensions.resources:lbObservabilityExtension
    help_text: |
      The ID of the new or updated `LbObservabilityExtension` resource.

async:
  collection: networkservices.projects.locations.operations

import:
  abort_if_equivalent: true
  create_if_not_exists: true
  create_request:
    collection: networkservices.projects.locations.lbObservabilityExtensions
    ALPHA:
      api_version: v1alpha1
    method: create
