getEventSubscription

Get properties of an event subscription. API Version: 2020-06-01.

Return

Event Subscription

Parameters

argument

null


suspend fun getEventSubscription(eventSubscriptionName: String, scope: String): GetEventSubscriptionResult

Return

Event Subscription

Parameters

eventSubscriptionName

Name of the event subscription.

scope

The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.

See also


Return

Event Subscription

Parameters

argument

Builder for com.pulumi.azurenative.eventgrid.kotlin.inputs.GetEventSubscriptionPlainArgs.

See also