共用方式為


MockableEventGridArmClient.GetEventGridDomainResource Method

Definition

Gets an object representing an EventGridDomainResource 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 EventGridDomainResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a EventGridDomainResource object.

Applies to