Udostępnij za pośrednictwem


MockableEventGridArmClient.GetEventSubscriptionResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a EventSubscriptionResource object.

Applies to