Skip to content

Commit 1dc2a75

Browse files
authored
Moving 2021-07-01-preview to public repo for compliance (#15583)
1 parent b5c26c6 commit 1dc2a75

27 files changed

+4062
-0
lines changed

specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2021-07-01-preview/azurearcdata.json

Lines changed: 2283 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "testrg",
5+
"dataControllerName": "testdataController",
6+
"api-version": "2021-07-01-preview",
7+
"dataControllerResource": {
8+
"location": "northeurope",
9+
"tags": {
10+
"mytag": "myval"
11+
},
12+
"extendedLocation": {
13+
"type": "CustomLocation",
14+
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
15+
},
16+
"properties": {
17+
"onPremiseProperty": {
18+
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
19+
"publicSigningKey": "publicOnPremSigningKey"
20+
},
21+
"basicLoginInformation": {
22+
"username": "username",
23+
"password": "********"
24+
},
25+
"logAnalyticsWorkspaceConfig": {
26+
"workspaceId": "00000000-1111-2222-3333-444444444444",
27+
"primaryKey": "********"
28+
},
29+
"uploadServicePrincipal": {
30+
"clientId": "00000000-1111-2222-3333-444444444444",
31+
"tenantId": "00000000-1111-2222-3333-444444444444",
32+
"authority": "https://login.microsoftonline.com/",
33+
"clientSecret": "********"
34+
},
35+
"uploadWatermark": {
36+
"metrics": "2020-01-01T17:18:19.1234567Z",
37+
"logs": "2020-01-01T17:18:19.1234567Z",
38+
"usages": "2020-01-01T17:18:19.1234567Z"
39+
}
40+
}
41+
}
42+
},
43+
"responses": {
44+
"200": {
45+
"body": {
46+
"properties": {
47+
"onPremiseProperty": {
48+
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
49+
"publicSigningKey": "publicOnPremSigningKey",
50+
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
51+
},
52+
"basicLoginInformation": {
53+
"username": "username"
54+
},
55+
"logAnalyticsWorkspaceConfig": {
56+
"workspaceId": "00000000-1111-2222-3333-444444444444"
57+
},
58+
"uploadServicePrincipal": {
59+
"clientId": "00000000-1111-2222-3333-444444444444",
60+
"tenantId": "00000000-1111-2222-3333-444444444444",
61+
"authority": "https://login.microsoftonline.com/"
62+
},
63+
"uploadWatermark": {
64+
"metrics": "2020-01-01T17:18:19.1234567Z",
65+
"logs": "2020-01-01T17:18:19.1234567Z",
66+
"usages": "2020-01-01T17:18:19.1234567Z"
67+
}
68+
},
69+
"extendedLocation": {
70+
"type": "CustomLocation",
71+
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
72+
},
73+
"systemData": {
74+
"createdBy": "user1",
75+
"createdByType": "User",
76+
"createdAt": "2020-01-01T17:18:19.1234567Z",
77+
"lastModifiedBy": "user2",
78+
"lastModifiedByType": "User",
79+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
80+
},
81+
"location": "northeurope",
82+
"tags": {
83+
"mytag": "myval"
84+
},
85+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController",
86+
"name": "testdataController",
87+
"type": "Microsoft.AzureArcData/dataControllers"
88+
}
89+
},
90+
"201": {
91+
"body": {
92+
"properties": {
93+
"onPremiseProperty": {
94+
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
95+
"publicSigningKey": "publicOnPremSigningKey",
96+
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
97+
},
98+
"basicLoginInformation": {
99+
"username": "username"
100+
},
101+
"logAnalyticsWorkspaceConfig": {
102+
"workspaceId": "00000000-1111-2222-3333-444444444444"
103+
},
104+
"uploadServicePrincipal": {
105+
"clientId": "00000000-1111-2222-3333-444444444444",
106+
"tenantId": "00000000-1111-2222-3333-444444444444",
107+
"authority": "https://login.microsoftonline.com/"
108+
},
109+
"uploadWatermark": {
110+
"metrics": "2020-01-01T17:18:19.1234567Z",
111+
"logs": "2020-01-01T17:18:19.1234567Z",
112+
"usages": "2020-01-01T17:18:19.1234567Z"
113+
}
114+
},
115+
"extendedLocation": {
116+
"type": "CustomLocation",
117+
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
118+
},
119+
"location": "northeurope",
120+
"systemData": {
121+
"createdBy": "user1",
122+
"createdByType": "User",
123+
"createdAt": "2020-01-01T17:18:19.1234567Z",
124+
"lastModifiedBy": "user2",
125+
"lastModifiedByType": "User",
126+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
127+
},
128+
"tags": {
129+
"mytag": "myval"
130+
},
131+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController",
132+
"name": "testdataController",
133+
"type": "Microsoft.AzureArcData/dataControllers"
134+
}
135+
}
136+
}
137+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "testrg",
5+
"postgresInstanceName": "testpostgresInstance",
6+
"api-version": "2021-07-01-preview",
7+
"location": "northeurope",
8+
"tags": {
9+
"mytag": "myval"
10+
},
11+
"resource": {
12+
"location": "eastus",
13+
"properties": {
14+
"dataControllerId": "dataControllerId",
15+
"admin": "admin",
16+
"basicLoginInformation": {
17+
"username": "username",
18+
"password": "********"
19+
},
20+
"k8sRaw": {
21+
"apiVersion": "apiVersion",
22+
"kind": "postgresql-12",
23+
"metadata": {
24+
"creationTimestamp": "2020-08-25T14:55:10Z",
25+
"generation": 1,
26+
"name": "pg1",
27+
"namespace": "test",
28+
"resourceVersion": "527780",
29+
"selfLink": "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1",
30+
"uid": "1111aaaa-ffff-ffff-ffff-99999aaaaaaa"
31+
},
32+
"spec": {
33+
"backups": {
34+
"deltaMinutes": 3,
35+
"fullMinutes": 10,
36+
"tiers": [
37+
{
38+
"retention": {
39+
"maximums": [
40+
"6",
41+
"512MB"
42+
],
43+
"minimums": [
44+
"3"
45+
]
46+
},
47+
"storage": {
48+
"volumeSize": "1Gi"
49+
}
50+
}
51+
]
52+
},
53+
"engine": {
54+
"extensions": [
55+
{
56+
"name": "citus"
57+
}
58+
]
59+
},
60+
"scale": {
61+
"shards": 3
62+
},
63+
"scheduling": {
64+
"default": {
65+
"resources": {
66+
"requests": {
67+
"memory": "256Mi"
68+
}
69+
}
70+
}
71+
},
72+
"service": {
73+
"type": "NodePort"
74+
},
75+
"storage": {
76+
"data": {
77+
"className": "local-storage",
78+
"size": "5Gi"
79+
},
80+
"logs": {
81+
"className": "local-storage",
82+
"size": "5Gi"
83+
}
84+
}
85+
},
86+
"status": {
87+
"externalEndpoint": null,
88+
"readyPods": "4/4",
89+
"state": "Ready"
90+
}
91+
}
92+
},
93+
"extendedLocation": {
94+
"type": "CustomLocation",
95+
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
96+
},
97+
"sku": {
98+
"name": "default",
99+
"tier": "Hyperscale",
100+
"dev": true
101+
}
102+
}
103+
},
104+
"responses": {
105+
"200": {
106+
"body": {
107+
"properties": {
108+
"basicLoginInformation": {
109+
"username": "username"
110+
}
111+
},
112+
"location": "northeurope",
113+
"extendedLocation": {
114+
"type": "CustomLocation",
115+
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
116+
},
117+
"systemData": {
118+
"createdBy": "user1",
119+
"createdByType": "User",
120+
"createdAt": "2020-01-01T17:18:19.1234567Z",
121+
"lastModifiedBy": "user2",
122+
"lastModifiedByType": "User",
123+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
124+
},
125+
"tags": {
126+
"mytag": "myval"
127+
},
128+
"sku": {
129+
"name": "default",
130+
"tier": "Hyperscale",
131+
"dev": true
132+
},
133+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance",
134+
"name": "testpostgresInstance",
135+
"type": "Microsoft.AzureArcData/PostgresInstance"
136+
}
137+
},
138+
"201": {
139+
"body": {
140+
"properties": {
141+
"basicLoginInformation": {
142+
"username": "username"
143+
}
144+
},
145+
"location": "northeurope",
146+
"extendedLocation": {
147+
"type": "CustomLocation",
148+
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
149+
},
150+
"systemData": {
151+
"createdBy": "user1",
152+
"createdByType": "User",
153+
"createdAt": "2020-01-01T17:18:19.1234567Z",
154+
"lastModifiedBy": "user2",
155+
"lastModifiedByType": "User",
156+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
157+
},
158+
"tags": {
159+
"mytag": "myval"
160+
},
161+
"sku": {
162+
"name": "default",
163+
"tier": "Hyperscale",
164+
"dev": true
165+
},
166+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance",
167+
"name": "testsqlregistration",
168+
"type": "Microsoft.AzureArcData/PostgresInstance"
169+
}
170+
}
171+
}
172+
}

0 commit comments

Comments
 (0)