Share via


MockableAlertsManagementArmClient.GetServiceAlertResource Method

Definition

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

public virtual Azure.ResourceManager.AlertsManagement.ServiceAlertResource GetServiceAlertResource (Azure.Core.ResourceIdentifier id);
abstract member GetServiceAlertResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.AlertsManagement.ServiceAlertResource
override this.GetServiceAlertResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.AlertsManagement.ServiceAlertResource
Public Overridable Function GetServiceAlertResource (id As ResourceIdentifier) As ServiceAlertResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceAlertResource object.

Applies to