共用方式為


MockableMonitorArmClient.GetActivityLogAlertResource Method

Definition

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

public virtual Azure.ResourceManager.Monitor.ActivityLogAlertResource GetActivityLogAlertResource (Azure.Core.ResourceIdentifier id);
abstract member GetActivityLogAlertResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.ActivityLogAlertResource
override this.GetActivityLogAlertResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Monitor.ActivityLogAlertResource
Public Overridable Function GetActivityLogAlertResource (id As ResourceIdentifier) As ActivityLogAlertResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ActivityLogAlertResource object.

Applies to