File: //snap/google-cloud-cli/current/lib/surface/zone_management/services/enable.yaml
- release_tracks: [ALPHA]
command_type: CREATE
help_text:
brief: enable zonal service
description: Enables a zonal service.
examples: |
To enable `vertex` service in location `us-central1` in `test-project` project and `test-zone` zone, run:
$ {command} vertex --location=us-central1 --project=test-project --zone=test-zone
request:
collection: edgecontainer.projects.locations.zonalServices
api_version: v1alpha
method: enable
display_resource_type: zonal service on location
arguments:
resource:
help_text: location.
spec: !REF googlecloudsdk.command_lib.zone_management.service.resources:location
is_parent_resource: true
is_positional: false
params:
- arg_name: id
api_field: enableZonalServiceRequest.zonalServiceId
required: false
help_text: Zonal service ID.
- arg_name: zone
api_field: enableZonalServiceRequest.zonalService.zone
help_text: |
Distributed Cloud Zone.
- arg_name: cluster
api_field: enableZonalServiceRequest.zonalService.cluster
help_text: Cluster name.
- arg_name: service_selector
api_field: enableZonalServiceRequest.zonalService.serviceSelector
required: true
is_positional: true
help_text: |
service name.
async:
collection: edgecontainer.projects.locations.operations