共用方式為


SecurityCenterExtensions.GetSecuritySettingResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SecuritySettingResource object.

Exceptions

client is null.

Applies to