az mysql flexible-server mirroring
Manage Microsoft Fabric Mirroring for Azure Database for MySQL Flexible Server.
Fabric Mirroring allows continuous data replication from MySQL Flexible Server into Microsoft Fabric for analytics and reporting.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az mysql flexible-server mirroring disable |
Disable Fabric Mirroring for a MySQL Flexible Server. |
Core | GA |
| az mysql flexible-server mirroring enable |
Enable Fabric Mirroring for a MySQL Flexible Server. |
Core | GA |
az mysql flexible-server mirroring disable
Disable Fabric Mirroring for a MySQL Flexible Server.
Removes Fabric Mirroring configuration from the server.
az mysql flexible-server mirroring disable --name
--resource-group
[--acquire-policy-token]
[--change-reference]
Examples
Disable Fabric Mirroring for server 'testsvr'.
az mysql flexible-server mirroring disable -g testgroup -n testsvr
Required Parameters
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az mysql flexible-server mirroring enable
Enable Fabric Mirroring for a MySQL Flexible Server.
Configures the server for Fabric Mirroring. Requires a User Assigned Managed Identity (UAMI) resource ID with appropriate permissions.
az mysql flexible-server mirroring enable --identity-resource-id
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
Examples
Enable Fabric Mirroring for server 'testsvr' using a User Assigned Managed Identity.
az mysql flexible-server mirroring enable -g testgroup -n testsvr --identity-resource-id /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<name>
Required Parameters
Resource ID of the User Assigned Managed Identity (UAMI) used for Fabric Mirroring. Example: /subscriptions/{sub-id}/resourceGroups/{rg}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identity-name}.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |