HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/surface/network_services/multicast_domains/create.yaml
release_tracks: [GA, BETA, ALPHA]

help_text:
  brief: |
    Create a multicast domain.
  description: |
    Create a multicast domain in the specified location of the current project.
  examples: |
    Create a multicast domain with the name 'my-multicast-domain',
    admin-network 'path_to_admin_network', connection-type 'SAME_VPC', and location 'global'.

      $ {command} my-multicast-domain --admin-network=path_to_admin_network --connection-type=SAME_VPC --location=global

    Create a multicast domain with the name 'my-multicast-domain',
    admin-network 'path_to_admin_network', connection-type 'NCC', ncc-hub 'path_to_ncc_hub', and location 'global'.

      $ {command} my-multicast-domain --admin-network=path_to_admin_network --connection-type=NCC --ncc-hub=path_to_ncc_hub --location=global

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_services.resources:multicastDomain
    help_text: |
      Name of the multicast domain to be created.
  params:
  - arg_name: description
    api_field: multicastDomain.description
    help_text: The description for the multicast domain.
  - arg_name:  admin-network
    api_field: multicastDomain.adminNetwork
    help_text: The URI of the admin network to be used.
    required: true
  - group:
      required: true
      params:
      - arg_name: connection-type
        api_field: multicastDomain.connection.connectionType
        help_text: The connection type for authorizing multicast traffic.
        default: CONNECTION_TYPE_UNSPECIFIED
      - arg_name: ncc-hub
        api_field: multicastDomain.connection.nccHub
        help_text: The URI of the NCC hub to be used.
  - arg_name: multicast-domain-group
    api_field: multicastDomain.multicastDomainGroup
    help_text: The URI of the multicast domain group to be used.
  labels:
    api_field: multicastDomain.labels

async:
  collection: networkservices.projects.locations.operations

request: &request
  GA:
    api_version: v1
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  collection: networkservices.projects.locations.multicastDomains
  method: create