-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
failoverGroups.json
157 lines (157 loc) · 4.73 KB
/
failoverGroups.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"swagger": "2.0",
"info": {
"version": "2024-05-01-preview",
"title": "AzureArcDataManagementClient",
"description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources."
},
"paths": {},
"definitions": {
"FailoverGroupListResult": {
"description": "A list of failover groups.",
"type": "object",
"properties": {
"value": {
"description": "Array of failover group results.",
"type": "array",
"items": {
"$ref": "#/definitions/FailoverGroupResource"
},
"readOnly": true
},
"nextLink": {
"description": "Link to retrieve next page of results.",
"type": "string",
"readOnly": true
}
}
},
"FailoverGroupResource": {
"type": "object",
"description": "A failover group resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/FailoverGroupProperties",
"description": "null",
"x-ms-client-flatten": false
}
},
"required": [
"properties"
]
},
"FailoverGroupProperties": {
"type": "object",
"description": "The properties of a failover group resource.",
"properties": {
"provisioningState": {
"type": "string",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"Accepted"
],
"x-ms-enum": {
"name": "provisioningState",
"modelAsString": true
},
"description": "The provisioning state of the failover group resource.",
"readOnly": true
},
"partnerManagedInstanceId": {
"type": "string",
"description": "The resource ID of the partner SQL managed instance."
},
"spec": {
"$ref": "#/definitions/FailoverGroupSpec",
"description": "The specifications of the failover group resource.",
"x-ms-client-flatten": false
},
"status": {
"type": "object",
"description": "The status of the failover group custom resource."
}
},
"additionalProperties": {},
"required": [
"partnerManagedInstanceId",
"spec"
]
},
"FailoverGroupSpec": {
"description": "The specifications of the failover group resource.",
"type": "object",
"properties": {
"sharedName": {
"type": "string",
"description": "The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name."
},
"sourceMI": {
"type": "string",
"description": "The name of the SQL managed instance with this failover group role."
},
"partnerMI": {
"type": "string",
"description": "The name of the partner SQL managed instance."
},
"partnerMirroringURL": {
"type": "string",
"description": "The mirroring endpoint URL of the partner SQL managed instance."
},
"partnerMirroringCert": {
"type": "string",
"description": "The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported."
},
"partnerSyncMode": {
"type": "string",
"enum": [
"async",
"sync"
],
"x-ms-enum": {
"name": "failoverGroupPartnerSyncMode",
"modelAsString": true
},
"default": "async",
"description": "The partner sync mode of the SQL managed instance."
},
"role": {
"type": "string",
"enum": [
"primary",
"secondary",
"force-primary-allow-data-loss",
"force-secondary"
],
"x-ms-enum": {
"name": "instanceFailoverGroupRole",
"modelAsString": true
},
"default": "primary",
"description": "The role of the SQL managed instance in this failover group."
}
},
"additionalProperties": {},
"required": [
"role"
]
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}