Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[policheck] fix swagger examples for mysql service #19715

Merged
merged 1 commit into from
Jul 12, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@
{
"properties": {
"value": "OFF",
"description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.",
"description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the replica.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_slave_statements",
"name": "log_slow_slave_statements",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_replica_statements",
"name": "log_slow_replica_statements",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down Expand Up @@ -246,7 +246,7 @@
{
"properties": {
"value": "1381286943",
"description": "The server ID, used in replication to give each master and slave a unique identity.",
"description": "The server ID, used in replication to give each primary and replica a unique identity.",
"defaultValue": "1000",
"dataType": "Integer",
"allowedValues": "1000-4294967295",
Expand All @@ -272,14 +272,14 @@
{
"properties": {
"value": "60",
"description": "The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.",
"description": "The number of seconds to wait for more data from the primary before the replica considers the connection broken, aborts the read, and tries to reconnect.",
"defaultValue": "60",
"dataType": "Integer",
"allowedValues": "30-3600",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_net_timeout",
"name": "slave_net_timeout",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/replica_net_timeout",
"name": "replica_net_timeout",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down Expand Up @@ -376,14 +376,14 @@
{
"properties": {
"value": "OFF",
"description": "This option places an upper limit on the total size in bytes of all relay logs on the slave.",
"description": "This option places an upper limit on the total size in bytes of all relay logs on the replica.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_compressed_protocol",
"name": "slave_compressed_protocol",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/replica_compressed_protocol",
"name": "replica_compressed_protocol",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@
{
"properties": {
"value": "OFF",
"description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.",
"description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the replica.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_slave_statements",
"name": "log_slow_slave_statements",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_replica_statements",
"name": "log_slow_replica_statements",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down Expand Up @@ -246,7 +246,7 @@
{
"properties": {
"value": "1381286943",
"description": "The server ID, used in replication to give each master and slave a unique identity.",
"description": "The server ID, used in replication to give each primary and replica a unique identity.",
"defaultValue": "1000",
"dataType": "Integer",
"allowedValues": "1000-4294967295",
Expand All @@ -272,14 +272,14 @@
{
"properties": {
"value": "60",
"description": "The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.",
"description": "The number of seconds to wait for more data from the primary before the replica considers the connection broken, aborts the read, and tries to reconnect.",
"defaultValue": "60",
"dataType": "Integer",
"allowedValues": "30-3600",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_net_timeout",
"name": "slave_net_timeout",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/replica_net_timeout",
"name": "replica_net_timeout",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down Expand Up @@ -376,14 +376,14 @@
{
"properties": {
"value": "OFF",
"description": "This option places an upper limit on the total size in bytes of all relay logs on the slave.",
"description": "This option places an upper limit on the total size in bytes of all relay logs on the replica.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_compressed_protocol",
"name": "slave_compressed_protocol",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/replica_compressed_protocol",
"name": "replica_compressed_protocol",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@
{
"properties": {
"value": "OFF",
"description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.",
"description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the replica.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_slave_statements",
"name": "log_slow_slave_statements",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/log_slow_replica_statements",
"name": "log_slow_replica_statements",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down Expand Up @@ -246,7 +246,7 @@
{
"properties": {
"value": "1381286943",
"description": "The server ID, used in replication to give each master and slave a unique identity.",
"description": "The server ID, used in replication to give each primary and replica a unique identity.",
"defaultValue": "1000",
"dataType": "Integer",
"allowedValues": "1000-4294967295",
Expand All @@ -272,14 +272,14 @@
{
"properties": {
"value": "60",
"description": "The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.",
"description": "The number of seconds to wait for more data from the primary before the replica considers the connection broken, aborts the read, and tries to reconnect.",
"defaultValue": "60",
"dataType": "Integer",
"allowedValues": "30-3600",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_net_timeout",
"name": "slave_net_timeout",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/replica_net_timeout",
"name": "replica_net_timeout",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down Expand Up @@ -376,14 +376,14 @@
{
"properties": {
"value": "OFF",
"description": "This option places an upper limit on the total size in bytes of all relay logs on the slave.",
"description": "This option places an upper limit on the total size in bytes of all relay logs on the replica.",
"defaultValue": "OFF",
"dataType": "Enumeration",
"allowedValues": "ON,OFF",
"source": "system-default"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/slave_compressed_protocol",
"name": "slave_compressed_protocol",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc1/configurations/replica_compressed_protocol",
"name": "replica_compressed_protocol",
"type": "Microsoft.DBforMySQL/servers/configurations"
},
{
Expand Down