-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
postgresInstances.json
174 lines (174 loc) · 5.04 KB
/
postgresInstances.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"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": {
"PostgresInstanceSku": {
"description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc",
"type": "object",
"properties": {
"tier": {
"type": "string",
"enum": [
"Hyperscale"
],
"x-ms-enum": {
"name": "PostgresInstanceSkuTier",
"modelAsString": false
},
"default": "Hyperscale",
"description": "This field is required to be implemented by the Resource Provider if the service has more than one tier."
}
},
"allOf": [
{
"$ref": "./common.json#/definitions/CommonSku"
}
]
},
"PostgresInstanceProperties": {
"description": "Postgres Instance properties.",
"type": "object",
"properties": {
"dataControllerId": {
"type": "string",
"description": "The data controller id"
},
"admin": {
"type": "string",
"description": "The instance admin"
},
"basicLoginInformation": {
"$ref": "./common.json#/definitions/BasicLoginInformation",
"description": "Username and password for basic authentication."
},
"k8sRaw": {
"type": "object",
"description": "The raw kubernetes information"
},
"lastUploadedDate": {
"type": "string",
"format": "date-time",
"description": "Last uploaded date from Kubernetes cluster. Defaults to current date time"
},
"provisioningState": {
"type": "string",
"readOnly": true,
"description": "The provisioning state of the Azure Arc-enabled PostgreSQL instance."
}
}
},
"PostgresInstance": {
"description": "A Postgres Instance.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
}
],
"properties": {
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
"description": "The extendedLocation of the resource."
},
"properties": {
"$ref": "#/definitions/PostgresInstanceProperties",
"x-ms-client-flatten": false,
"description": "null"
},
"sku": {
"$ref": "#/definitions/PostgresInstanceSku",
"description": "Resource sku."
}
},
"required": [
"properties"
]
},
"PostgresInstanceUpdate": {
"description": "An update to a Postgres Instance.",
"type": "object",
"properties": {
"tags": {
"description": "Resource tags.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"properties": {
"$ref": "#/definitions/PostgresInstanceProperties",
"x-ms-client-flatten": false
}
}
},
"PostgresInstanceListResult": {
"description": "A list of PostgresInstance.",
"type": "object",
"properties": {
"value": {
"description": "Array of results.",
"type": "array",
"items": {
"$ref": "#/definitions/PostgresInstance"
},
"readOnly": true
},
"nextLink": {
"description": "Link to retrieve next page of results.",
"type": "string",
"readOnly": true
}
}
}
},
"parameters": {
"subscriptionId": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "The ID of the Azure subscription",
"x-ms-parameter-location": "client"
},
"resourceGroupName": {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Azure resource group",
"x-ms-parameter-location": "method"
},
"location": {
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The Azure region to use for the request",
"x-ms-parameter-location": "method"
},
"apiVersion": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The API version to use for the request",
"x-ms-parameter-location": "client"
}
},
"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"
}
}
}
}