Skip to content

Commit 469903c

Browse files
aditimalladimarkcowlAlancerehilalevi170msyyc
authored andcommitted
Adding resourceconnector - Appliance GA API version (Azure#20681)
* Adding resourceconnector - appliance GA API verson * Update swagger PR to add ArtifactURL and Another SSHKey type - ScopesAccessKey * Commiting previous API Version 2022-04-15-preview * Commiting latest API Version 2022-10-27 * Update to v3 types: * Adding words to custom-words.txt * run prettier check * Use v3 for appliance resource type too * resolve merge conflicts in custom words.txt * add in readmes * Add blockchain to latest profile * Add additional types * track2 modify eventhub readme.go.md (Azure#15338) * track2 modify operationalinsights readme.go.md (Azure#15354) * track2 modify security readme.go.md (Azure#15357) * track2 modify eventgrid readme.go.md (Azure#15358) * [Hub Generated] Public private branch 'dev-azure-kusto-Microsoft.Kusto-2021-08-27' (Azure#15905) * Adds base for updating Microsoft.Kusto from version stable/2021-01-01 to version 2021-08-27 * Updates readme * Updates API version in new specs and examples * Swagger changes * it1 * hh * it2 * it3 * it5 * it6 * it7 * readme * it10 * it11 * it11 * it 12 * it 13 * prettier * python * allowedIpRangeList - remove default * bassel changes * checkNameAvailability * fix lint * checkName * fix * managedPrivate check name * prettier * Update readme.python.md * add attached enum * Dor comments * fix description * readOnly Co-authored-by: msyyc <[email protected]> * update the format to int64 for creationtimestamp and expirationtimestamp * Updating Delete example to include location header for 202 response * fix header in delete example Co-authored-by: Mark Cowlishaw <[email protected]> Co-authored-by: JiahuiPeng <[email protected]> Co-authored-by: hila levi <[email protected]> Co-authored-by: msyyc <[email protected]> Co-authored-by: Aditi Malladi <[email protected]>
1 parent d882f98 commit 469903c

15 files changed

+1653
-4
lines changed

specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/appliances.json

Lines changed: 1090 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "appliance01",
7+
"identity": {
8+
"type": "SystemAssigned"
9+
},
10+
"parameters": {
11+
"location": "West US",
12+
"properties": {
13+
"distro": "AKSEdge",
14+
"infrastructureConfig": {
15+
"provider": "VMWare"
16+
}
17+
}
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01",
24+
"name": "appliance01",
25+
"type": "Microsoft.ResourceConnector/appliances",
26+
"location": "West US",
27+
"properties": {
28+
"distro": "AKSEdge",
29+
"version": "1.0.1",
30+
"provisioningState": "Succeeded",
31+
"status": "Connected",
32+
"infrastructureConfig": {
33+
"provider": "VMWare"
34+
}
35+
},
36+
"identity": {
37+
"type": "SystemAssigned",
38+
"principalId": "11111111-1111-1111-1111-111111111111",
39+
"tenantId": "111111-1111-1111-1111-111111111111"
40+
},
41+
"systemData": {
42+
"createdBy": "string",
43+
"createdByType": "Application",
44+
"createdAt": "2020-04-24T18:53:29.0928001Z",
45+
"lastModifiedBy": "string",
46+
"lastModifiedByType": "Application",
47+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
48+
}
49+
}
50+
},
51+
"201": {
52+
"body": {
53+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01",
54+
"name": "appliance01",
55+
"type": "Microsoft.ResourceConnector/appliances",
56+
"location": "West US",
57+
"properties": {
58+
"distro": "AKSEdge",
59+
"version": "1.0.1",
60+
"provisioningState": "Creating",
61+
"status": "WaitingForHeartbeat",
62+
"infrastructureConfig": {
63+
"provider": "VMWare"
64+
}
65+
},
66+
"identity": {
67+
"type": "SystemAssigned",
68+
"principalId": "11111111-1111-1111-1111-111111111111",
69+
"tenantId": "111111-1111-1111-1111-111111111111"
70+
},
71+
"systemData": {
72+
"createdBy": "string",
73+
"createdByType": "Application",
74+
"createdAt": "2020-04-24T18:53:29.0928001Z",
75+
"lastModifiedBy": "string",
76+
"lastModifiedByType": "Application",
77+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
78+
}
79+
}
80+
}
81+
}
82+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "appliance01"
7+
},
8+
"responses": {
9+
"202": {
10+
"headers": {
11+
"Location": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2022-10-27",
12+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27"
13+
}
14+
},
15+
"204": {
16+
"headers": {
17+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27"
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "appliance01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01",
12+
"name": "appliance01",
13+
"type": "Microsoft.ResourceConnector/appliances",
14+
"location": "West US",
15+
"properties": {
16+
"distro": "AKSEdge",
17+
"version": "1.0.1",
18+
"provisioningState": "Succeeded",
19+
"status": "Connected",
20+
"infrastructureConfig": {
21+
"provider": "VMWare"
22+
}
23+
},
24+
"identity": {
25+
"type": "SystemAssigned",
26+
"principalId": "11111111-1111-1111-1111-111111111111",
27+
"tenantId": "111111-1111-1111-1111-111111111111"
28+
},
29+
"systemData": {
30+
"createdBy": "string",
31+
"createdByType": "Application",
32+
"createdAt": "2020-04-24T18:53:29.0928001Z",
33+
"lastModifiedBy": "string",
34+
"lastModifiedByType": "Application",
35+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
36+
}
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01",
13+
"name": "appliance01",
14+
"type": "Microsoft.ResourceConnector/appliances",
15+
"location": "West US",
16+
"properties": {
17+
"distro": "AKSEdge",
18+
"version": "1.0.1",
19+
"provisioningState": "Succeeded",
20+
"status": "Connected",
21+
"infrastructureConfig": {
22+
"provider": "VMWare"
23+
}
24+
},
25+
"systemData": {
26+
"createdBy": "string",
27+
"createdByType": "Application",
28+
"createdAt": "2020-04-24T18:53:29.0928001Z",
29+
"lastModifiedBy": "string",
30+
"lastModifiedByType": "Application",
31+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
32+
}
33+
},
34+
{
35+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02",
36+
"name": "appliance02",
37+
"type": "Microsoft.ResourceConnector/appliances",
38+
"location": "West US",
39+
"properties": {
40+
"distro": "AKSEdge",
41+
"version": "1.0.1",
42+
"provisioningState": "Succeeded",
43+
"status": "Connected",
44+
"infrastructureConfig": {
45+
"provider": "VMWare"
46+
}
47+
},
48+
"systemData": {
49+
"createdBy": "string",
50+
"createdByType": "Application",
51+
"createdAt": "2020-04-24T18:53:29.0928001Z",
52+
"lastModifiedBy": "string",
53+
"lastModifiedByType": "Application",
54+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
55+
}
56+
}
57+
]
58+
}
59+
}
60+
}
61+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01",
12+
"name": "appliance01",
13+
"type": "Microsoft.ResourceConnector/appliances",
14+
"location": "West US",
15+
"properties": {
16+
"distro": "AKSEdge",
17+
"version": "1.0.1",
18+
"provisioningState": "Succeeded",
19+
"status": "Connected",
20+
"infrastructureConfig": {
21+
"provider": "VMWare"
22+
}
23+
},
24+
"systemData": {
25+
"createdBy": "string",
26+
"createdByType": "Application",
27+
"createdAt": "2020-04-24T18:53:29.0928001Z",
28+
"lastModifiedBy": "string",
29+
"lastModifiedByType": "Application",
30+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
31+
}
32+
},
33+
{
34+
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02",
35+
"name": "appliance02",
36+
"type": "Microsoft.ResourceConnector/appliances",
37+
"location": "West US",
38+
"properties": {
39+
"distro": "AKSEdge",
40+
"version": "1.0.1",
41+
"provisioningState": "Succeeded",
42+
"status": "Connected",
43+
"infrastructureConfig": {
44+
"provider": "VMWare"
45+
}
46+
},
47+
"systemData": {
48+
"createdBy": "string",
49+
"createdByType": "Application",
50+
"createdAt": "2020-04-24T18:53:29.0928001Z",
51+
"lastModifiedBy": "string",
52+
"lastModifiedByType": "Application",
53+
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
54+
}
55+
}
56+
]
57+
}
58+
}
59+
}
60+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "appliance01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"hybridConnectionConfig": {
12+
"expirationTime": 123456789,
13+
"hybridConnectionName": "provider/type/bc36ffcf318d5bedfc05ba8b0628dba",
14+
"token": "mockSecretOtherprovider/type/bc36ffcf318d5bedfc05ba91c157ReceiverToken",
15+
"relay": "relayName"
16+
},
17+
"kubeconfigs": [
18+
{
19+
"name": "kubeconfigName1",
20+
"value": "xxxxxxxxxxxxx"
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-10-27",
4+
"subscriptionId": "11111111-2222-3333-4444-555555555555",
5+
"resourceGroupName": "testresourcegroup",
6+
"resourceName": "appliance01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"artifactProfiles": {
12+
"LogsArtifactType": {
13+
"endpoint": "https://<storage-account-name>.blob.core.windows.net/<container-name>?<SAS-token>"
14+
}
15+
},
16+
"kubeconfigs": [
17+
{
18+
"name": "kubeconfigName1",
19+
"value": "xxxxxxxxxxxxx"
20+
}
21+
],
22+
"sshKeys": {
23+
"SSHCustomerUser": {
24+
"privateKey": "xxxxxxxx",
25+
"publicKey": "xxxxxxxx"
26+
},
27+
"ManagementCAKey": {
28+
"publicKey": "<Generated Public Key>"
29+
},
30+
"LogsKey": {
31+
"privateKey": "<Generated Private Key>",
32+
"creationTimeStamp": 1660946559,
33+
"expirationTimeStamp": 1724119358,
34+
"certificate": "<Generated Certificate>"
35+
},
36+
"ScopedAccessKey": {
37+
"privateKey": "<Generated Private Key>",
38+
"creationTimeStamp": 1660946559,
39+
"expirationTimeStamp": 1724119358,
40+
"certificate": "<Generated Certificate>"
41+
}
42+
}
43+
}
44+
}
45+
}
46+
}

0 commit comments

Comments
 (0)