/// <summary> /// Supported regulatory compliance details 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='cancellationToken'> /// The cancellation token. /// </param> public static async Task <RegulatoryComplianceStandard> GetAsync(this IRegulatoryComplianceStandardsOperations operations, string regulatoryComplianceStandardName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(regulatoryComplianceStandardName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Supported regulatory compliance standards details and state /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='filter'> /// OData filter. Optional. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <RegulatoryComplianceStandard> > ListAsync(this IRegulatoryComplianceStandardsOperations operations, string filter = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(filter, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Supported regulatory compliance details 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> public static RegulatoryComplianceStandard Get(this IRegulatoryComplianceStandardsOperations operations, string regulatoryComplianceStandardName) { return(operations.GetAsync(regulatoryComplianceStandardName).GetAwaiter().GetResult()); }
/// <summary> /// Supported regulatory compliance standards details and state /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='filter'> /// OData filter. Optional. /// </param> public static IPage <RegulatoryComplianceStandard> List(this IRegulatoryComplianceStandardsOperations operations, string filter = default(string)) { return(operations.ListAsync(filter).GetAwaiter().GetResult()); }
/// <summary> /// Supported regulatory compliance standards details and state /// </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 <RegulatoryComplianceStandard> ListNext(this IRegulatoryComplianceStandardsOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }