/// <summary> /// Get the list of all ProtectionContainers for the given server. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.SiteRecovery.IPolicyOperations. /// </param> /// <param name='customRequestHeaders'> /// Optional. Request header parameters. /// </param> /// <returns> /// The response model for the list policies operation. /// </returns> public static Task <PolicyListResponse> ListAsync(this IPolicyOperations operations, CustomRequestHeaders customRequestHeaders) { return(operations.ListAsync(customRequestHeaders, CancellationToken.None)); }