View multicast consumer configurations
This page describes how to list and view the details of multicast consumer configurations.
The commands on this page for listing resources show all multicast configurations, including for Ultra Low Latency (ULL) Multicast and Cloud Multicast.
For more information about the multicast resources mentioned on this page, see Multicast resource model.
Before you begin
Set the gcloud CLI to use the project for which you want to
view multicast resources. 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.
About multicast resource states
The multicast resources that you have configured include a read-only property that
describes their current state. When you view multicast configurations by using
the procedures on this page, you can view the state of individual resources in the
state field in the output of the command or request.
The following table describes the possible states:
| State | Description |
|---|---|
CREATING |
The resource is being created. |
ACTIVE |
The resource is in a normal state and ready to use. |
DELETING |
The resource is being deleted. |
DELETE_FAILED |
An attempt to delete the resource failed. |
UPDATING |
The resource is being updated. |
UPDATE_FAILED |
An attempt to update the resource failed. |
INACTIVE |
This state applies to multicast consumer configurations. It indicates that the multicast administrator performed an action that deactivated a multicast consumer resource, such as by revoking access to a domain or group range. An existing multicast consumer resource that has an |
View multicast consumer configurations
This section describes how to view existing multicast consumer configurations.
View multicast consumer associations
gcloud
To list multicast consumer associations, use the
network-services multicast-consumer-associations listcommand.gcloud network-services multicast-consumer-associations list --location=ZONE
Replace
ZONEwith the zone for which to list multicast consumer associations.To describe a multicast consumer association, use the
network-services multicast-consumer-associations describecommand.gcloud network-services multicast-consumer-associations describe CONSUMER_ASSOCIATION_NAME \ --location=ZONEReplace the following values:
CONSUMER_ASSOCIATION_NAME: the name of the multicast consumer associationZONE: the zone in which the multicast consumer association was created
API
To list multicast consumer associations, use the
multicastConsumerAssociations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastConsumerAssociations
Replace
ZONEwith the zone for which to list multicast consumer associations.To describe a multicast consumer association, use the
multicastConsumerAssociations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastConsumerAssociations/CONSUMER_ASSOCIATION_NAME
Replace the following values:
CONSUMER_ASSOCIATION_NAME: the name of the multicast consumer associationZONE: the zone in which the multicast consumer association was created
View multicast group consumer activations
gcloud
To list multicast group consumer activations, use the
network-services multicast-group-consumer-activations listcommand.gcloud network-services multicast-group-consumer-activations list --location=ZONE
Replace
ZONEwith the zone for which to list multicast group consumer activations.To describe a multicast group consumer activation, use the
network-services multicast-group-consumer-activations describecommand.gcloud network-services multicast-group-consumer-activations describe GROUP_CONSUMER_ACTIVATION_NAME \ --location=ZONEReplace the following values:
GROUP_CONSUMER_ACTIVATION_NAME: the name of the multicast group consumer activationZONE: the zone in which the multicast consumer network was activated
API
To list multicast group consumer activations, use the
multicastGroupConsumerActivations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupConsumerActivations
Replace
ZONEwith the zone for which to list multicast group consumer activations.To describe a multicast group consumer activation, use the
multicastGroupConsumerActivations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupConsumerActivations/GROUP_CONSUMER_ACTIVATION_NAME
Replace the following values:
GROUP_CONSUMER_ACTIVATION_NAME: the name of the multicast group consumer activationZONE: the zone in which the multicast consumer network was activated