Skip to content

Commit 41c6409

Browse files
youngbuparkLeiWang3
authored andcommitted
[Microsoft.HybridConnectivity] Promote 2021-07-08-privatepreview to 2021-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
1 parent 0322f9c commit 41c6409

18 files changed

+952
-0
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@ exceptiontype
682682
exfiltrate
683683
Exfiltration
684684
experimentids
685+
expiresin
685686
Explainability
686687
explicitlist
687688
exportconfiguration
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "default"
6+
},
7+
"responses": {
8+
"200": {},
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "custom"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom",
11+
"name": "custom",
12+
"type": "Microsoft.HybridConnectivity/endpoints",
13+
"properties": {
14+
"type": "custom",
15+
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"
16+
}
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "default"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
11+
"name": "default",
12+
"type": "Microsoft.HybridConnectivity/endpoints",
13+
"properties": {
14+
"type": "default"
15+
}
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
12+
"name": "default",
13+
"type": "Microsoft.HybridConnectivity/endpoints",
14+
"properties": {
15+
"type": "default"
16+
}
17+
},
18+
{
19+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom",
20+
"name": "custom",
21+
"type": "Microsoft.HybridConnectivity/endpoints",
22+
"properties": {
23+
"type": "custom",
24+
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "default",
6+
"EndpointResource": {
7+
"properties": {
8+
"type": "default"
9+
}
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
16+
"name": "default",
17+
"type": "Microsoft.HybridConnectivity/endpoints",
18+
"properties": {
19+
"type": "default",
20+
"provisioningState": "Succeeded"
21+
}
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "default",
6+
"expiresin": 10800
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"relay": {
12+
"namespaceName": "azgnrelay-eastus-l1",
13+
"namespaceNameSuffix": "servicebus.windows.net",
14+
"hybridConnectionName": "microsoft.kubernetes/connectedclusters/a0e1fd7d1d974ddf6b11a952d67679c9f12c006eee16861857a8268da4eb1498/1619989456957411072",
15+
"accessKey": "SharedAccessSignature sr=http%3A%2F%2Fazgnrelay-eastus-l1.servicebus.windows.net%2Fmicrosoft.kubernetes%2Fconnectedclusters%2Fa0e1fd7d1d974ddf6b11a952d67679c9f12c006eee16861857a8268da4eb1498%2F1619989456957411072%2F&sig=WxDwPF6AmmODaMHNnBGDSm773UG%2B%2Be",
16+
"expiresOn": 1620000256
17+
}
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "custom",
6+
"EndpointResource": {
7+
"properties": {
8+
"type": "custom",
9+
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"
10+
}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/custom",
17+
"name": "custom",
18+
"type": "Microsoft.HybridConnectivity/endpoints",
19+
"properties": {
20+
"type": "custom",
21+
"resourceId": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
22+
"provisioningState": "Succeeded"
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"resourceUri": "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
4+
"api-version": "2021-10-06-preview",
5+
"endpointName": "default",
6+
"EndpointResource": {
7+
"properties": {
8+
"type": "default"
9+
}
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"id": "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
16+
"name": "default",
17+
"type": "Microsoft.HybridConnectivity/endpoints",
18+
"properties": {
19+
"type": "default",
20+
"provisioningState": "Succeeded"
21+
}
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-06-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.HybridConnectivity/operations/read",
11+
"isDataAction": false,
12+
"display": {
13+
"provider": "Microsoft.HybridConnectivity",
14+
"resource": "Operations",
15+
"operation": "Get operations",
16+
"description": "Get the list of Operations"
17+
}
18+
},
19+
{
20+
"name": "Microsoft.HybridConnectivity/endpoints/read",
21+
"isDataAction": false,
22+
"display": {
23+
"provider": "Microsoft.HybridConnectivity",
24+
"resource": "endpoints",
25+
"operation": "Get/List endpoints",
26+
"description": "Get or list of endpoints to the target resource."
27+
}
28+
},
29+
{
30+
"name": "Microsoft.HybridConnectivity/endpoints/write",
31+
"isDataAction": false,
32+
"display": {
33+
"provider": "Microsoft.HybridConnectivity",
34+
"resource": "endpoints",
35+
"operation": "Create/Update endpoint",
36+
"description": "Create or update the endpoint to the target resource."
37+
}
38+
},
39+
{
40+
"name": "Microsoft.HybridConnectivity/endpoints/delete",
41+
"isDataAction": false,
42+
"display": {
43+
"provider": "Microsoft.HybridConnectivity",
44+
"resource": "endpoints",
45+
"operation": "Delete endpoint",
46+
"description": "Deletes the endpoint access to the target resource."
47+
}
48+
},
49+
{
50+
"name": "Microsoft.HybridConnectivity/endpoints/listCredentials/action",
51+
"isDataAction": false,
52+
"display": {
53+
"provider": "Microsoft.HybridConnectivity",
54+
"resource": "endpoints",
55+
"operation": "List credentials for endpoint access",
56+
"description": "List the endpoint access credentials to the resource."
57+
}
58+
},
59+
{
60+
"name": "Microsoft.HybridConnectivity/register/action",
61+
"isDataAction": false,
62+
"display": {
63+
"provider": "Microsoft.HybridConnectivity",
64+
"resource": "Microsoft.HybridConnectivity",
65+
"operation": "Register the Microsoft.HybridConnectivity",
66+
"description": "Register the subscription for Microsoft.HybridConnectivity"
67+
}
68+
},
69+
{
70+
"name": "Microsoft.HybridConnectivity/unregister/action",
71+
"isDataAction": false,
72+
"display": {
73+
"provider": "Microsoft.HybridConnectivity",
74+
"resource": "Microsoft.HybridConnectivity",
75+
"operation": "Unregister the Microsoft.HybridConnectivity",
76+
"description": "Unregister the subscription for Microsoft.HybridConnectivity"
77+
}
78+
}
79+
]
80+
}
81+
}
82+
}
83+
}

0 commit comments

Comments
 (0)