Share via


MockableSecurityCenterArmClient.GetSecurityComplianceResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SecurityComplianceResource object.

Applies to