Delete multicast consumer configurations

This page describes how to delete existing multicast consumer configurations.

Before you begin

Set the gcloud CLI to use the project in which you want to delete multicast configurations. Alternatively you can include the --project=PROJECT_ID flag for each command in the following procedures.

    gcloud config set project PROJECT_ID

Replace PROJECT_ID with the ID of the project.

Delete multicast consumer configurations

This section describes how to delete existing multicast consumer configurations.

To delete a multicast consumer association, you must first delete all of its multicast group consumer activations.

Delete multicast group consumer activations

gcloud

To delete a multicast group consumer activation, use the network-services multicast-group-consumer-activations delete command.

  gcloud network-services multicast-group-consumer-activations delete GROUP_CONSUMER_ACTIVATION_NAME \
      --location=ZONE

Replace the following values:

  • GROUP_CONSUMER_ACTIVATION_NAME: the name of the multicast group consumer activation
  • ZONE: the zone in which the multicast consumer VPC network was activated

API

To delete a multicast group consumer activation, use the multicastGroupConsumerActivations.delete method.

DELETE https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupConsumerActivations/GROUP_CONSUMER_ACTIVATION_NAME

Replace the following values:

  • PROJECT_ID: the ID of the project
  • GROUP_CONSUMER_ACTIVATION_NAME: the name of the multicast group consumer activation
  • ZONE: the zone in which the multicast consumer VPC network was activated

Delete multicast consumer associations

gcloud

To delete a multicast consumer association, use the network-services multicast-consumer-associations delete command.

  gcloud network-services multicast-consumer-associations delete CONSUMER_ASSOCIATION_NAME \
      --location=ZONE

Replace the following values:

  • CONSUMER_ASSOCIATION_NAME: the name of the multicast consumer association
  • ZONE: the zone in which the multicast consumer association was created

API

To delete a multicast consumer association, use the multicastConsumerAssociations.delete method.

DELETE https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastConsumerAssociations/CONSUMER_ASSOCIATION_NAME

Replace the following values:

  • PROJECT_ID: the ID of the project
  • CONSUMER_ASSOCIATION_NAME: the name of the multicast consumer association
  • ZONE: the zone in which the multicast consumer association was created