get-resource-subscription¶
- subtitle
GetResourceSubscription
- version
0.9.141
Description¶
Fetches existing resource subscription with events and channel preferences.
Synopsis¶
get-resource-subscription
--resource-crn <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--resource-crn
(string)
The resource crn for which the subscription is requested.
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton
(boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json
.
Output¶
resourceSubscription -> (object)
ResourceSubscription holds a list of subscribed events and delivery details for a particular resource.
resourceCrn -> (string)
CRN of resource for which the event is subscribed.
serviceName -> (string)
Name of the service for which the event is scoped to. This should be service name as represented in a CRN.
resourceName -> (string)
Name of the resource for which the event is scoped to. This should be resource name as represented in a CRN.
subscribedEvents -> (array)
List of all events subscribed under the given resource.
item -> (object)
Details related to a subscribed event.
eventName -> (string)
Name of an event.
description -> (string)
Description of the event.
channels -> (array)
Subscribed channel preferences of the event.
item -> (string)
Represents the types of channels.
eventTypeId -> (string)
ID of an event.
eventSeverityLists -> (array)
The list of severity for the event.
item -> (string)
subscriptionId -> (string)
The Subscription identifier.
parentResourceCrn -> (string)
CRN of the parent resource of the resource for which the notification event is subscribed.
Form Factors¶
public, private