/// <summary> /// Implements Csm operations Api to exposes the list of available Csm Apis /// under the resource provider /// </summary> /// <remarks> /// Implements Csm operations Api to exposes the list of available Csm Apis /// under the resource provider /// </remarks> /// <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 <CsmOperationDescription> ListOperationsNext(this ICertificateRegistrationProviderOperations operations, string nextPageLink) { return(operations.ListOperationsNextAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Implements Csm operations Api to exposes the list of available Csm Apis /// under the resource provider /// </summary> /// <remarks> /// Implements Csm operations Api to exposes the list of available Csm Apis /// under the resource provider /// </remarks> /// <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 <CsmOperationDescription> > ListOperationsNextAsync(this ICertificateRegistrationProviderOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListOperationsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Implements Csm operations Api to exposes the list of available Csm Apis /// under the resource provider /// </summary> /// <remarks> /// Implements Csm operations Api to exposes the list of available Csm Apis /// under the resource provider /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IPage <CsmOperationDescription> ListOperations(this ICertificateRegistrationProviderOperations operations) { return(operations.ListOperationsAsync().GetAwaiter().GetResult()); }