MockableSecurityCenterArmClient.GetGovernanceRuleResource Method

Definition

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

public virtual Azure.ResourceManager.SecurityCenter.GovernanceRuleResource GetGovernanceRuleResource (Azure.Core.ResourceIdentifier id);
abstract member GetGovernanceRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.GovernanceRuleResource
override this.GetGovernanceRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.GovernanceRuleResource
Public Overridable Function GetGovernanceRuleResource (id As ResourceIdentifier) As GovernanceRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a GovernanceRuleResource object.

Applies to