SecurityCenterExtensions.GetSensitivitySettingResource Method

Definition

Gets an object representing a SensitivitySettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier() to create a SensitivitySettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSensitivitySettingResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.SecurityCenter.SensitivitySettingResource GetSensitivitySettingResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetSensitivitySettingResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SecurityCenter.SensitivitySettingResource
<Extension()>
Public Function GetSensitivitySettingResource (client As ArmClient, id As ResourceIdentifier) As SensitivitySettingResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SensitivitySettingResource object.

Exceptions

client is null.

Applies to