Share via


RegulatoryComplianceControlCollection.GetAsync Method

Definition

Selected regulatory compliance control details and state

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}
  • Operation Id: RegulatoryComplianceControls_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: RegulatoryComplianceControlResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.RegulatoryComplianceControlResource>> GetAsync (string regulatoryComplianceControlName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.RegulatoryComplianceControlResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.RegulatoryComplianceControlResource>>
Public Overridable Function GetAsync (regulatoryComplianceControlName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RegulatoryComplianceControlResource))

Parameters

regulatoryComplianceControlName
String

Name of the regulatory compliance control object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

regulatoryComplianceControlName is an empty string, and was expected to be non-empty.

regulatoryComplianceControlName is null.

Applies to