Share via


MockableEventGridArmClient.GetTopicEventSubscriptionResource Method

Definition

Gets an object representing a TopicEventSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a TopicEventSubscriptionResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.EventGrid.TopicEventSubscriptionResource GetTopicEventSubscriptionResource (Azure.Core.ResourceIdentifier id);
abstract member GetTopicEventSubscriptionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.EventGrid.TopicEventSubscriptionResource
override this.GetTopicEventSubscriptionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.EventGrid.TopicEventSubscriptionResource
Public Overridable Function GetTopicEventSubscriptionResource (id As ResourceIdentifier) As TopicEventSubscriptionResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a TopicEventSubscriptionResource object.

Applies to