Skip to content

Commit

Permalink
Adding resourceconnector - Appliance GA API version (Azure#20681)
Browse files Browse the repository at this point in the history
* 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
6 people authored and kayousef committed Dec 21, 2022
1 parent d882f98 commit 469903c
Show file tree
Hide file tree
Showing 15 changed files with 1,653 additions and 4 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
]
}
}
}
}
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>"
}
}
}
}
}
}
Loading

0 comments on commit 469903c

Please sign in to comment.