Share via


EventGridExtensions.GetEventGridTopicPrivateLinkResource Method

Definition

Gets an object representing an EventGridTopicPrivateLinkResource 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 an EventGridTopicPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEventGridTopicPrivateLinkResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource GetEventGridTopicPrivateLinkResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetEventGridTopicPrivateLinkResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.EventGrid.EventGridTopicPrivateLinkResource
<Extension()>
Public Function GetEventGridTopicPrivateLinkResource (client As ArmClient, id As ResourceIdentifier) As EventGridTopicPrivateLinkResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a EventGridTopicPrivateLinkResource object.

Exceptions

client is null.

Applies to