|
| 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 | +} |
0 commit comments