Skip to content

Commit

Permalink
[Microsoft.HybridConnectivity] Promote 2021-07-08-privatepreview to 2…
Browse files Browse the repository at this point in the history
…021-10-06-preview (PublicPreview) (Azure#16301)

* Copy from 2021-07-08-privatepreview api from private repo

* Promote 2021-07-08-privatepreview to 2021-10-06-preview

* add expiresin custom word for linter fix

* fix sdk generation failures
  • Loading branch information
youngbupark authored Oct 14, 2021
1 parent 60723d1 commit b0ba6b6
Show file tree
Hide file tree
Showing 18 changed files with 952 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ exceptiontype
exfiltrate
Exfiltration
experimentids
expiresin
Explainability
explicitlist
exportconfiguration
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "default"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "custom"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom",
"name": "custom",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "custom",
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "default"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
"name": "default",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "default"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
"name": "default",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "default"
}
},
{
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom",
"name": "custom",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "custom",
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "default",
"EndpointResource": {
"properties": {
"type": "default"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
"name": "default",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "default",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "default",
"expiresin": 10800
},
"responses": {
"200": {
"body": {
"relay": {
"namespaceName": "azgnrelay-eastus-l1",
"namespaceNameSuffix": "servicebus.windows.net",
"hybridConnectionName": "microsoft.kubernetes/connectedclusters/a0e1fd7d1d974ddf6b11a952d67679c9f12c006eee16861857a8268da4eb1498/1619989456957411072",
"accessKey": "SharedAccessSignature sr=http%3A%2F%2Fazgnrelay-eastus-l1.servicebus.windows.net%2Fmicrosoft.kubernetes%2Fconnectedclusters%2Fa0e1fd7d1d974ddf6b11a952d67679c9f12c006eee16861857a8268da4eb1498%2F1619989456957411072%2F&sig=WxDwPF6AmmODaMHNnBGDSm773UG%2B%2Be",
"expiresOn": 1620000256
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "custom",
"EndpointResource": {
"properties": {
"type": "custom",
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom",
"name": "custom",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "custom",
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
"api-version": "2021-10-06-preview",
"endpointName": "default",
"EndpointResource": {
"properties": {
"type": "default"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
"name": "default",
"type": "Microsoft.HybridConnectivity/endpoints",
"properties": {
"type": "default",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"parameters": {
"api-version": "2021-10-06-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.HybridConnectivity/operations/read",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "Operations",
"operation": "Get operations",
"description": "Get the list of Operations"
}
},
{
"name": "Microsoft.HybridConnectivity/endpoints/read",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "endpoints",
"operation": "Get/List endpoints",
"description": "Get or list of endpoints to the target resource."
}
},
{
"name": "Microsoft.HybridConnectivity/endpoints/write",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "endpoints",
"operation": "Create/Update endpoint",
"description": "Create or update the endpoint to the target resource."
}
},
{
"name": "Microsoft.HybridConnectivity/endpoints/delete",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "endpoints",
"operation": "Delete endpoint",
"description": "Deletes the endpoint access to the target resource."
}
},
{
"name": "Microsoft.HybridConnectivity/endpoints/listCredentials/action",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "endpoints",
"operation": "List credentials for endpoint access",
"description": "List the endpoint access credentials to the resource."
}
},
{
"name": "Microsoft.HybridConnectivity/register/action",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "Microsoft.HybridConnectivity",
"operation": "Register the Microsoft.HybridConnectivity",
"description": "Register the subscription for Microsoft.HybridConnectivity"
}
},
{
"name": "Microsoft.HybridConnectivity/unregister/action",
"isDataAction": false,
"display": {
"provider": "Microsoft.HybridConnectivity",
"resource": "Microsoft.HybridConnectivity",
"operation": "Unregister the Microsoft.HybridConnectivity",
"description": "Unregister the subscription for Microsoft.HybridConnectivity"
}
}
]
}
}
}
}
Loading

0 comments on commit b0ba6b6

Please sign in to comment.