forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <70930885+msyyc@users.noreply.github.com> * 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 <markcowl@microsoft.com> Co-authored-by: JiahuiPeng <46921893+804873052@users.noreply.github.com> Co-authored-by: hila levi <88654259+hilalevi170@users.noreply.github.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Aditi Malladi <amalladi@Aditis-MacBook-Pro.local>
- Loading branch information
Showing
15 changed files
with
1,653 additions
and
4 deletions.
There are no files selected for viewing
1,090 changes: 1,090 additions & 0 deletions
1,090
...econnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/appliances.json
Large diffs are not rendered by default.
Oops, something went wrong.
82 changes: 82 additions & 0 deletions
82
...nager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesCreate_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "appliance01", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"parameters": { | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", | ||
"name": "appliance01", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Succeeded", | ||
"status": "Connected", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "11111111-1111-1111-1111-111111111111", | ||
"tenantId": "111111-1111-1111-1111-111111111111" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", | ||
"name": "appliance01", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Creating", | ||
"status": "WaitingForHeartbeat", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "11111111-1111-1111-1111-111111111111", | ||
"tenantId": "111111-1111-1111-1111-111111111111" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...urce-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "appliance01" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"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", | ||
"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" | ||
} | ||
}, | ||
"204": { | ||
"headers": { | ||
"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" | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...esource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "appliance01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", | ||
"name": "appliance01", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Succeeded", | ||
"status": "Connected", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "11111111-1111-1111-1111-111111111111", | ||
"tenantId": "111111-1111-1111-1111-111111111111" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", | ||
"name": "appliance01", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Succeeded", | ||
"status": "Connected", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", | ||
"name": "appliance02", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Succeeded", | ||
"status": "Connected", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
.../Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", | ||
"name": "appliance01", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Succeeded", | ||
"status": "Connected", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", | ||
"name": "appliance02", | ||
"type": "Microsoft.ResourceConnector/appliances", | ||
"location": "West US", | ||
"properties": { | ||
"distro": "AKSEdge", | ||
"version": "1.0.1", | ||
"provisioningState": "Succeeded", | ||
"status": "Connected", | ||
"infrastructureConfig": { | ||
"provider": "VMWare" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...oft.ResourceConnector/stable/2022-10-27/examples/AppliancesListClusterUserCredential.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "appliance01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"hybridConnectionConfig": { | ||
"expirationTime": 123456789, | ||
"hybridConnectionName": "provider/type/bc36ffcf318d5bedfc05ba8b0628dba", | ||
"token": "mockSecretOtherprovider/type/bc36ffcf318d5bedfc05ba91c157ReceiverToken", | ||
"relay": "relayName" | ||
}, | ||
"kubeconfigs": [ | ||
{ | ||
"name": "kubeconfigName1", | ||
"value": "xxxxxxxxxxxxx" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...ce-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListKeys.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-27", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "appliance01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"artifactProfiles": { | ||
"LogsArtifactType": { | ||
"endpoint": "https://<storage-account-name>.blob.core.windows.net/<container-name>?<SAS-token>" | ||
} | ||
}, | ||
"kubeconfigs": [ | ||
{ | ||
"name": "kubeconfigName1", | ||
"value": "xxxxxxxxxxxxx" | ||
} | ||
], | ||
"sshKeys": { | ||
"SSHCustomerUser": { | ||
"privateKey": "xxxxxxxx", | ||
"publicKey": "xxxxxxxx" | ||
}, | ||
"ManagementCAKey": { | ||
"publicKey": "<Generated Public Key>" | ||
}, | ||
"LogsKey": { | ||
"privateKey": "<Generated Private Key>", | ||
"creationTimeStamp": 1660946559, | ||
"expirationTimeStamp": 1724119358, | ||
"certificate": "<Generated Certificate>" | ||
}, | ||
"ScopedAccessKey": { | ||
"privateKey": "<Generated Private Key>", | ||
"creationTimeStamp": 1660946559, | ||
"expirationTimeStamp": 1724119358, | ||
"certificate": "<Generated Certificate>" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.