/// <summary> /// Selected regulatory compliance control details and state /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='regulatoryComplianceStandardName'> /// Name of the regulatory compliance standard object /// </param> /// <param name='regulatoryComplianceControlName'> /// Name of the regulatory compliance control object /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <RegulatoryComplianceControl> GetAsync(this IRegulatoryComplianceControlsOperations operations, string regulatoryComplianceStandardName, string regulatoryComplianceControlName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(regulatoryComplianceStandardName, regulatoryComplianceControlName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// All supported regulatory compliance controls details and state for selected /// standard /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the user's subscription. The name is /// case insensitive. /// </param> /// <param name='regulatoryComplianceStandardName'> /// Name of the regulatory compliance standard object /// </param> /// <param name='filter'> /// OData filter. Optional. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <RegulatoryComplianceControl> > ListAsync(this IRegulatoryComplianceControlsOperations operations, string resourceGroupName, string regulatoryComplianceStandardName, string filter = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, regulatoryComplianceStandardName, filter, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Selected regulatory compliance control details and state /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='regulatoryComplianceStandardName'> /// Name of the regulatory compliance standard object /// </param> /// <param name='regulatoryComplianceControlName'> /// Name of the regulatory compliance control object /// </param> public static RegulatoryComplianceControl Get(this IRegulatoryComplianceControlsOperations operations, string regulatoryComplianceStandardName, string regulatoryComplianceControlName) { return(operations.GetAsync(regulatoryComplianceStandardName, regulatoryComplianceControlName).GetAwaiter().GetResult()); }
/// <summary> /// All supported regulatory compliance controls details and state for selected /// standard /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='regulatoryComplianceStandardName'> /// Name of the regulatory compliance standard object /// </param> /// <param name='filter'> /// OData filter. Optional. /// </param> public static IPage <RegulatoryComplianceControl> List(this IRegulatoryComplianceControlsOperations operations, string regulatoryComplianceStandardName, string filter = default(string)) { return(operations.ListAsync(regulatoryComplianceStandardName, filter).GetAwaiter().GetResult()); }
/// <summary> /// All supported regulatory compliance controls details and state for selected /// standard /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <RegulatoryComplianceControl> > ListNextAsync(this IRegulatoryComplianceControlsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// All supported regulatory compliance controls details and state for selected /// standard /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <RegulatoryComplianceControl> ListNext(this IRegulatoryComplianceControlsOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }