pyaz/sql/db/__init__.py
def copy(dest_name, name, resource_group, server, auto_pause_delay=None, backup_storage_redundancy=None, capacity=None, compute_model=None, dest_resource_group=None, dest_server=None, elastic_pool=None, family=None, license_type=None, min_capacity=None, no_wait=None, read_replicas=None, read_scale=None, service_objective=None, tags=None, zone_redundant=None):
    '''
    Create a copy of a database.

    Required Parameters:
    - dest_name -- Name of the database that will be created as the copy destination.
    - name -- Name of the Azure SQL Database.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - server -- Name of the Azure SQL server. You can configure the default using `az configure --defaults sql-server=<name>`

    Optional Parameters:
    - auto_pause_delay -- Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled.
    - backup_storage_redundancy -- Backup storage redundancy used to store backups. Allowed values include: Local, Zone, Geo.
    - capacity -- The capacity component of the sku in integer number of DTUs or vcores.
    - compute_model -- The compute model of the database.
    - dest_resource_group -- Name of the resouce group to create the copy in. If unspecified, defaults to the origin resource group.
    - dest_server -- Name of the server to create the copy in. If unspecified, defaults to the origin server.
    - elastic_pool -- The name or resource id of the elastic pool to create the database in.
    - family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
    - license_type -- The license type to apply for this database. ``LicenseIncluded`` if you need a license, or ``BasePrice`` if you have a license and are eligible for the Azure Hybrid Benefit. Possible values include: "LicenseIncluded", "BasePrice".
    - min_capacity -- Minimal capacity that database will always have allocated, if not paused
    - no_wait -- Do not wait for the long-running operation to finish.
    - read_replicas -- The number of high availability replicas to provision for the database. Only settable for Hyperscale edition.
    - read_scale -- If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.
    - service_objective -- The service objective for the new database. For example: Basic, S0, P1, GP_Gen4_1, GP_Gen5_S_8, BC_Gen5_2, HS_Gen5_32.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - zone_redundant -- Specifies whether to enable zone redundancy
    '''
    return _call_az("az sql db copy", locals())

    Create a copy of a database.

    Required Parameters:
    - dest_name -- Name of the database that will be created as the copy destination.
    - name -- Name of the Azure SQL Database.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - server -- Name of the Azure SQL server. You can configure the default using `az configure --defaults sql-server=<name>`

    Optional Parameters:
    - auto_pause_delay -- Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled.
    - backup_storage_redundancy -- Backup storage redundancy used to store backups. Allowed values include: Local, Zone, Geo.
    - capacity -- The capacity component of the sku in integer number of DTUs or vcores.
    - compute_model -- The compute model of the database.
    - dest_resource_group -- Name of the resouce group to create the copy in. If unspecified, defaults to the origin resource group.
    - dest_server -- Name of the server to create the copy in. If unspecified, defaults to the origin server.
    - elastic_pool -- The name or resource id of the elastic pool to create the database in.
    - family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
    - license_type -- The license type to apply for this database. ``LicenseIncluded`` if you need a license, or ``BasePrice`` if you have a license and are eligible for the Azure Hybrid Benefit. Possible values include: "LicenseIncluded", "BasePrice".
    - min_capacity -- Minimal capacity that database will always have allocated, if not paused
    - no_wait -- Do not wait for the long-running operation to finish.
    - read_replicas -- The number of high availability replicas to provision for the database. Only settable for Hyperscale edition.
    - read_scale -- If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.
    - service_objective -- The service objective for the new database. For example: Basic, S0, P1, GP_Gen4_1, GP_Gen5_S_8, BC_Gen5_2, HS_Gen5_32.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - zone_redundant -- Specifies whether to enable zone redundancy
    
Create a copy of a database.
Required Parameters:
dest_name -- Name of the database that will be created as the copy destination.
name -- Name of the Azure SQL Database.
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
server -- Name of the Azure SQL server. You can configure the default using `az configure --defaults sql-server=`

Optional Parameters:
auto_pause_delay -- Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled.
backup_storage_redundancy -- Backup storage redundancy used to store backups. Allowed values include: Local, Zone, Geo.
capacity -- The capacity component of the sku in integer number of DTUs or vcores.
compute_model -- The compute model of the database.
dest_resource_group -- Name of the resouce group to create the copy in. If unspecified, defaults to the origin resource group.
dest_server -- Name of the server to create the copy in. If unspecified, defaults to the origin server.
elastic_pool -- The name or resource id of the elastic pool to create the database in.
family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
license_type -- The license type to apply for this database.
Create a copy of a database . Required Parameters : dest_name -- Name of the database that will be created as the copy destination . name -- Name of the Azure SQL Database . resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` server -- Name of the Azure SQL server . You can configure the default using ` az configure -- defaults sql - server = ` Optional Parameters : auto_pause_delay -- Time in minutes after which database is automatically paused . A value of - 1 means that automatic pause is disabled . backup_storage_redundancy -- Backup storage redundancy used to store backups . Allowed values include : Local Zone Geo . capacity -- The capacity component of the sku in integer number of DTUs or vcores . compute_model -- The compute model of the database . dest_resource_group -- Name of the resouce group to create the copy in . If unspecified defaults to the origin resource group . dest_server -- Name of the server to create the copy in . If unspecified defaults to the origin server . elastic_pool -- The name or resource id of the elastic pool to create the database in . family -- The compute generation component of the sku ( for vcore skus only ) . Allowed values include : Gen4 Gen5 . license_type -- The license type to apply for this database .
def copy(dest_name, name, resource_group, server, auto_pause_delay=None, backup_storage_redundancy=None, capacity=None, compute_model=None, dest_resource_group=None, dest_server=None, elastic_pool=None, family=None, license_type=None, min_capacity=None, no_wait=None, read_replicas=None, read_scale=None, service_objective=None, tags=None, zone_redundant=None):
    return _call_az("az sql db copy", locals())
def copy ( dest_name , name , resource_group , server , auto_pause_delay = None , backup_storage_redundancy = None , capacity = None , compute_model = None , dest_resource_group = None , dest_server = None , elastic_pool = None , family = None , license_type = None , min_capacity = None , no_wait = None , read_replicas = None , read_scale = None , service_objective = None , tags = None , zone_redundant = None ) : return _call_az ( "az sql db copy" , locals ( ) )
Create a copy of a database.
Create a copy of a database .
'''
    Create a copy of a database.

    Required Parameters:
    - dest_name -- Name of the database that will be created as the copy destination.
    - name -- Name of the Azure SQL Database.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - server -- Name of the Azure SQL server. You can configure the default using `az configure --defaults sql-server=<name>`

    Optional Parameters:
    - auto_pause_delay -- Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled.
    - backup_storage_redundancy -- Backup storage redundancy used to store backups. Allowed values include: Local, Zone, Geo.
    - capacity -- The capacity component of the sku in integer number of DTUs or vcores.
    - compute_model -- The compute model of the database.
    - dest_resource_group -- Name of the resouce group to create the copy in. If unspecified, defaults to the origin resource group.
    - dest_server -- Name of the server to create the copy in. If unspecified, defaults to the origin server.
    - elastic_pool -- The name or resource id of the elastic pool to create the database in.
    - family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
    - license_type -- The license type to apply for this database. ``LicenseIncluded`` if you need a license, or ``BasePrice`` if you have a license and are eligible for the Azure Hybrid Benefit. Possible values include: "LicenseIncluded", "BasePrice".
    - min_capacity -- Minimal capacity that database will always have allocated, if not paused
    - no_wait -- Do not wait for the long-running operation to finish.
    - read_replicas -- The number of high availability replicas to provision for the database. Only settable for Hyperscale edition.
    - read_scale -- If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.
    - service_objective -- The service objective for the new database. For example: Basic, S0, P1, GP_Gen4_1, GP_Gen5_S_8, BC_Gen5_2, HS_Gen5_32.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - zone_redundant -- Specifies whether to enable zone redundancy
    '''
dest_name
name
resource_group
server
auto_pause_delay
backup_storage_redundancy
capacity
compute_model
dest_resource_group
dest_server
elastic_pool
family
license_type
min_capacity
no_wait
read_replicas
read_scale
service_objective
tags
zone_redundant