pyaz/sql/db/__init__.py
def update(name, resource_group, server, add=None, auto_pause_delay=None, backup_storage_redundancy=None, capacity=None, compute_model=None, elastic_pool=None, family=None, force_string=None, maint_config_id=None, max_size=None, min_capacity=None, no_wait=None, read_replicas=None, read_scale=None, remove=None, service_objective=None, set=None, tier=None, zone_redundant=None):
    '''
    Update a database.

    Required Parameters:
    - 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:
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - 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.
    - elastic_pool -- The name or resource id of the elastic pool to move the database into.
    - family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - maint_config_id -- Specified maintenance configuration id or name for this resource.
    - max_size -- The new maximum size of the database expressed in bytes.
    - 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.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - service_objective -- The name of the new service objective. If this is a standalone db service objective and the db is currently in an elastic pool, then the db is removed from the pool.
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - tier -- The edition component of the sku. Allowed values include: Basic, Standard, Premium, GeneralPurpose, BusinessCritical, Hyperscale.
    - zone_redundant -- Specifies whether to enable zone redundancy
    '''
    return _call_az("az sql db update", locals())

    Update a database.

    Required Parameters:
    - 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:
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - 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.
    - elastic_pool -- The name or resource id of the elastic pool to move the database into.
    - family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - maint_config_id -- Specified maintenance configuration id or name for this resource.
    - max_size -- The new maximum size of the database expressed in bytes.
    - 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.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - service_objective -- The name of the new service objective. If this is a standalone db service objective and the db is currently in an elastic pool, then the db is removed from the pool.
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - tier -- The edition component of the sku. Allowed values include: Basic, Standard, Premium, GeneralPurpose, BusinessCritical, Hyperscale.
    - zone_redundant -- Specifies whether to enable zone redundancy
    
Update a database.
Required Parameters:
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:
add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty 
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.
elastic_pool -- The name or resource id of the elastic pool to move the database into.
family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
maint_config_id -- Specified maintenance configuration id or name for this resource.
max_size -- The new maximum size of the database expressed in bytes.
Update a database . Required Parameters : 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 : add -- Add an object to a list of objects by specifying a path and key value pairs . Example : -- add property . listProperty 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 . elastic_pool -- The name or resource id of the elastic pool to move the database into . family -- The compute generation component of the sku ( for vcore skus only ) . Allowed values include : Gen4 Gen5 . force_string -- When using ' set ' or ' add ' preserve string literals instead of attempting to convert to JSON . maint_config_id -- Specified maintenance configuration id or name for this resource . max_size -- The new maximum size of the database expressed in bytes .
def update(name, resource_group, server, add=None, auto_pause_delay=None, backup_storage_redundancy=None, capacity=None, compute_model=None, elastic_pool=None, family=None, force_string=None, maint_config_id=None, max_size=None, min_capacity=None, no_wait=None, read_replicas=None, read_scale=None, remove=None, service_objective=None, set=None, tier=None, zone_redundant=None):
    return _call_az("az sql db update", locals())
def update ( name , resource_group , server , add = None , auto_pause_delay = None , backup_storage_redundancy = None , capacity = None , compute_model = None , elastic_pool = None , family = None , force_string = None , maint_config_id = None , max_size = None , min_capacity = None , no_wait = None , read_replicas = None , read_scale = None , remove = None , service_objective = None , set = None , tier = None , zone_redundant = None ) : return _call_az ( "az sql db update" , locals ( ) )
Update a database.
Update a database .
'''
    Update a database.

    Required Parameters:
    - 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:
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - 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.
    - elastic_pool -- The name or resource id of the elastic pool to move the database into.
    - family -- The compute generation component of the sku (for vcore skus only). Allowed values include: Gen4, Gen5.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - maint_config_id -- Specified maintenance configuration id or name for this resource.
    - max_size -- The new maximum size of the database expressed in bytes.
    - 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.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - service_objective -- The name of the new service objective. If this is a standalone db service objective and the db is currently in an elastic pool, then the db is removed from the pool.
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - tier -- The edition component of the sku. Allowed values include: Basic, Standard, Premium, GeneralPurpose, BusinessCritical, Hyperscale.
    - zone_redundant -- Specifies whether to enable zone redundancy
    '''
name
resource_group
server
add
auto_pause_delay
backup_storage_redundancy
capacity
compute_model
elastic_pool
family
force_string
maint_config_id
max_size
min_capacity
no_wait
read_replicas
read_scale
remove
service_objective
set
tier
zone_redundant