Share via


MockableSecurityCenterArmClient.GetSecurityAssessmentResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SecurityAssessmentResource object.

Applies to