Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/azure-cli/azure/cli/command_modules/sql/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@
text: az sql db create -g mygroup -s myserver -n mydb -e Hyperscale -f Gen5 -c 2 --read-replicas 2
- name: Create a GeneralPurpose database with locally redundant backup storage
text: az sql db create -g mygroup -s myserver -n mydb -e GeneralPurpose --backup-storage-redundancy Local
- name: Create a database with VBS enclave enabled.
text: az sql db create -g mygroup -s myserver -n mydb --preferred-enclave-type VBS
"""

helps['sql db delete'] = """
Expand Down Expand Up @@ -531,6 +533,8 @@
text: az sql db update -g mygroup -s myserver -n mydb --edition GeneralPurpose --capacity 2 --family Gen5 --compute-model Serverless
- name: Update database with locally redundant backup storage
text: az sql db update -g mygroup -s myserver -n mydb --backup-storage-redundancy Local
- name: Update database with VBS enclave enabled.
text: az sql db update -g mygroup -s myserver -n mydb --preferred-enclave-type VBS

"""

Expand Down Expand Up @@ -603,6 +607,8 @@
text: az sql elastic-pool create -g mygroup -s myserver -n mydb -e GeneralPurpose -f Gen4 -c 1
- name: Create an elastic pool with Hyperscale edition, Gen5 hardware, 4 vcore and 2 high availability replicas.
text: az sql elastic-pool create -g mygroup -s myserver -n mydb -e Hyperscale -f Gen5 -c 4 --ha-replicas 2
- name: Create an elastic pool with VBS enclave.
text: az sql elastic-pool create -g mygroup -s myserver -n mydb --preferred-enclave-type VBS
"""

helps['sql elastic-pool list-editions'] = """
Expand Down Expand Up @@ -642,6 +648,8 @@
text: az sql elastic-pool update -g mygroup -s myserver -n mypool -z false
- name: Update elastic pool with 2 high availability replicas
text: az sql elastic-pool update -g mygroup -s myserver -n mypool --ha-replicas 2
- name: Update elastic pool with VBS enclave
text: az sql elastic-pool update -g mygroup -s myserver -n mypool --preferred-enclave-type VBS
"""

helps['sql failover-group'] = """
Expand Down
4 changes: 3 additions & 1 deletion src/azure-cli/azure/cli/command_modules/sql/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,9 @@ def _configure_security_policy_storage_params(arg_ctx):
arg_type=read_replicas_param_type)

c.argument('preferred_enclave_type',
arg_type=preferred_enclave_param_type)
arg_type=preferred_enclave_param_type,
help='The preferred enclave type for the Azure SQL Elastic Pool. '
'Allowed values include: Default, VBS.')

with self.argument_context('sql elastic-pool create') as c:
# Create args that will be used to build up the ElasticPool object
Expand Down
Loading