/// <summary> /// Get all consent groups managed by the subscription /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The subscription which owns the consent group /// </param> public static IList <ConsentGroupListResponse> GetAllConsentGroups(this IInternalClient operations, System.Guid subscriptionId) { return(operations.GetAllConsentGroupsAsync(subscriptionId).GetAwaiter().GetResult()); }