Skip to content

Commit 3a0425a

Browse files
committed
Merge branch 'main' into eslint-plugin-tsv
2 parents 81f2cc8 + 12492ed commit 3a0425a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3561
-2
lines changed

specification/servicenetworking/ServiceNetworking.Management/client.tsp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ import "@azure-tools/typespec-client-generator-core";
44
using Azure.ClientGenerator.Core;
55

66
@@clientName(Microsoft.ServiceNetworking, "ServiceNetworkingMgmt", "python");
7+
@@clientName(Microsoft.ServiceNetworking,
8+
"ServiceNetworkingManagementClient",
9+
"javascript"
10+
);
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"title": "Delete Association",
3+
"operationId": "AssociationsInterface_Delete",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"associationName": "as1"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"Retry-After": 3,
15+
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1"
16+
}
17+
},
18+
"204": {}
19+
}
20+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"title": "Get Association",
3+
"operationId": "AssociationsInterface_Get",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"associationName": "as1"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"name": "as1",
15+
"type": "Microsoft.ServiceNetworking/trafficControllers/associations",
16+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1",
17+
"location": "NorthCentralUS",
18+
"properties": {
19+
"associationType": "subnets",
20+
"subnet": {
21+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
22+
},
23+
"provisioningState": "Succeeded"
24+
}
25+
}
26+
}
27+
}
28+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"title": "Update Association",
3+
"operationId": "AssociationsInterface_Update",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"associationName": "as1",
10+
"properties": {
11+
"properties": {
12+
"associationType": "subnets",
13+
"subnet": {
14+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
15+
}
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"body": {
22+
"name": "as1",
23+
"type": "Microsoft.ServiceNetworking/trafficControllers/associations",
24+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1",
25+
"location": "NorthCentralUS",
26+
"properties": {
27+
"associationType": "subnets",
28+
"subnet": {
29+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
30+
}
31+
}
32+
}
33+
}
34+
}
35+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"title": "Put Association",
3+
"operationId": "AssociationsInterface_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"associationName": "as1",
10+
"resource": {
11+
"location": "NorthCentralUS",
12+
"properties": {
13+
"associationType": "subnets",
14+
"subnet": {
15+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
16+
}
17+
}
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"name": "associatedvnet-1",
24+
"type": "Microsoft.ServiceNetworking/trafficControllers/associations",
25+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1",
26+
"location": "NorthCentralUS",
27+
"properties": {
28+
"associationType": "subnets",
29+
"subnet": {
30+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
31+
},
32+
"provisioningState": "Accepted"
33+
}
34+
}
35+
},
36+
"201": {
37+
"body": {
38+
"name": "associatedvnet-1",
39+
"type": "Microsoft.ServiceNetworking/trafficControllers/associations",
40+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1",
41+
"location": "NorthCentralUS",
42+
"properties": {
43+
"associationType": "subnets",
44+
"subnet": {
45+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
46+
}
47+
}
48+
}
49+
}
50+
}
51+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"title": "Get Associations",
3+
"operationId": "AssociationsInterface_ListByTrafficController",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"name": "as1",
16+
"type": "Microsoft.ServiceNetworking/trafficControllers/associations",
17+
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1",
18+
"location": "NorthCentralUS",
19+
"properties": {
20+
"associationType": "subnets",
21+
"subnet": {
22+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet"
23+
},
24+
"provisioningState": "Succeeded"
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"title": "Delete Frontend",
3+
"operationId": "FrontendsInterface_Delete",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"frontendName": "fe1"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"Retry-After": 3,
15+
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1"
16+
}
17+
},
18+
"204": {}
19+
}
20+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"title": "Get Frontend",
3+
"operationId": "FrontendsInterface_Get",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"frontendName": "fe1"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"name": "fe1",
15+
"location": "NorthCentralUS",
16+
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends",
17+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1",
18+
"properties": {
19+
"fqdn": "test.net",
20+
"provisioningState": "Succeeded"
21+
}
22+
}
23+
}
24+
}
25+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"title": "Update Frontend",
3+
"operationId": "FrontendsInterface_Update",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"frontendName": "fe1",
10+
"properties": {}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"name": "fe1",
16+
"location": "NorthCentralUS",
17+
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends",
18+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1",
19+
"properties": {
20+
"fqdn": "test.net",
21+
"provisioningState": "Succeeded"
22+
}
23+
}
24+
}
25+
}
26+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"title": "Put Frontend",
3+
"operationId": "FrontendsInterface_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-01-01",
6+
"subscriptionId": "subid",
7+
"resourceGroupName": "rg1",
8+
"trafficControllerName": "tc1",
9+
"frontendName": "fe1",
10+
"resource": {
11+
"location": "NorthCentralUS",
12+
"properties": {}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"name": "fe1",
19+
"location": "NorthCentralUS",
20+
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends",
21+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1",
22+
"properties": {
23+
"fqdn": "test.net",
24+
"provisioningState": "Succeeded"
25+
}
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"name": "fe1",
31+
"location": "NorthCentralUS",
32+
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends",
33+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1",
34+
"properties": {
35+
"fqdn": "test.net",
36+
"provisioningState": "Succeeded"
37+
}
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)