Share via


MockableEventGridArmClient.GetEventGridTopicResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a EventGridTopicResource object.

Applies to