Sdílet prostřednictvím


MockableSecurityCenterArmClient.GetSecurityCenterLocationResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SecurityCenterLocationResource object.

Applies to