pyaz/sql/midb/ltr_backup/__init__.py
def list(location, database=None, database_state=None, managed_instance=None, only_latest_per_database=None, resource_group=None):
    '''
    List the long term retention backups for a location, instance or database.

    Required Parameters:
    - location -- The location of the desired backup(s).

    Optional Parameters:
    - database -- The name of the Azure SQL Managed Database. If specified (along with instance name), retrieves all requested backups under this database.
    - database_state -- 'All', 'Live', or 'Deleted'. Will fetch backups only from databases of specified state. If no state provied, defaults to 'All'.
    - managed_instance -- Name of the Azure SQL managed instance. If specified, retrieves all requested backups under this managed instance.
    - only_latest_per_database -- If true, will only return the latest backup for each database
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
    return _call_az("az sql midb ltr-backup list", locals())

    List the long term retention backups for a location, instance or database.

    Required Parameters:
    - location -- The location of the desired backup(s).

    Optional Parameters:
    - database -- The name of the Azure SQL Managed Database. If specified (along with instance name), retrieves all requested backups under this database.
    - database_state -- 'All', 'Live', or 'Deleted'. Will fetch backups only from databases of specified state. If no state provied, defaults to 'All'.
    - managed_instance -- Name of the Azure SQL managed instance. If specified, retrieves all requested backups under this managed instance.
    - only_latest_per_database -- If true, will only return the latest backup for each database
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    
List the long term retention backups for a location, instance or database.
Required Parameters:
location -- The location of the desired backup(s).

Optional Parameters:
database -- The name of the Azure SQL Managed Database. If specified (along with instance name), retrieves all requested backups under this database.
List the long term retention backups for a location instance or database . Required Parameters : location -- The location of the desired backup ( s ) . Optional Parameters : database -- The name of the Azure SQL Managed Database . If specified ( along with instance name ) retrieves all requested backups under this database .
def list(location, database=None, database_state=None, managed_instance=None, only_latest_per_database=None, resource_group=None):
    return _call_az("az sql midb ltr-backup list", locals())
def list ( location , database = None , database_state = None , managed_instance = None , only_latest_per_database = None , resource_group = None ) : return _call_az ( "az sql midb ltr-backup list" , locals ( ) )
List the long term retention backups for a location, instance or database.
List the long term retention backups for a location instance or database .
'''
    List the long term retention backups for a location, instance or database.

    Required Parameters:
    - location -- The location of the desired backup(s).

    Optional Parameters:
    - database -- The name of the Azure SQL Managed Database. If specified (along with instance name), retrieves all requested backups under this database.
    - database_state -- 'All', 'Live', or 'Deleted'. Will fetch backups only from databases of specified state. If no state provied, defaults to 'All'.
    - managed_instance -- Name of the Azure SQL managed instance. If specified, retrieves all requested backups under this managed instance.
    - only_latest_per_database -- If true, will only return the latest backup for each database
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
location
database
database_state
managed_instance
only_latest_per_database
resource_group