共用方式為


MockableSecurityInsightsArmClient.GetSecurityInsightsAlertRuleResource Method

Definition

Gets an object representing a SecurityInsightsAlertRuleResource 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 a SecurityInsightsAlertRuleResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleResource GetSecurityInsightsAlertRuleResource (Azure.Core.ResourceIdentifier id);
abstract member GetSecurityInsightsAlertRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleResource
override this.GetSecurityInsightsAlertRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleResource
Public Overridable Function GetSecurityInsightsAlertRuleResource (id As ResourceIdentifier) As SecurityInsightsAlertRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SecurityInsightsAlertRuleResource object.

Applies to