-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init * examples ref + security config * readme changes * main + examples * addressing arm review comments * fixing validation errors from comment fixes * remmoving ddos changes * adding documentation and addressing warnings * securitypolicy config !readonly + validation * validation errors * securityconfig array -> field * v5 + examples * example operation id * readme fixes * keeping stable version as well * reverting 2023-11-01 changes * adding docs for PR pipeline * new line * reverting * updating to latest tsp syntax * versioning * removing 200s from 2023-11-01 * push * description space
- Loading branch information
malpaniHMC
authored
May 23, 2024
1 parent
9a19f9c
commit 306da47
Showing
54 changed files
with
3,703 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
"associationName": "as1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Retry-After": 3, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
"frontendName": "fe1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Retry-After": 3, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
"trafficControllerName": "tc1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Retry-After": 3, | ||
|
20 changes: 20 additions & 0 deletions
20
...etworking/ServiceNetworking.Management/examples/2024-05-01-preview/AssociationDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"title": "Delete Association", | ||
"operationId": "AssociationsInterface_Delete", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"associationName": "as1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": 3, | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...cenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/AssociationGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"title": "Get Association", | ||
"operationId": "AssociationsInterface_Get", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"associationName": "as1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "as1", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/associations", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...networking/ServiceNetworking.Management/examples/2024-05-01-preview/AssociationPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"title": "Update Association", | ||
"operationId": "AssociationsInterface_Update", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"associationName": "as1", | ||
"properties": { | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "as1", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/associations", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...cenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/AssociationPut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"title": "Put Association", | ||
"operationId": "AssociationsInterface_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"associationName": "as1", | ||
"resource": { | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "associatedvnet-1", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/associations", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
}, | ||
"provisioningState": "Accepted" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "associatedvnet-1", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/associations", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...enetworking/ServiceNetworking.Management/examples/2024-05-01-preview/AssociationsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"title": "Get Associations", | ||
"operationId": "AssociationsInterface_ListByTrafficController", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "as1", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/associations", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1", | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...cenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/FrontendDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"title": "Delete Frontend", | ||
"operationId": "FrontendsInterface_Delete", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"frontendName": "fe1" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": 3, | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...rvicenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/FrontendGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"title": "Get Frontend", | ||
"operationId": "FrontendsInterface_Get", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"frontendName": "fe1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "fe1", | ||
"location": "NorthCentralUS", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", | ||
"properties": { | ||
"fqdn": "test.net", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...icenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/FrontendPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"title": "Update Frontend", | ||
"operationId": "FrontendsInterface_Update", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"frontendName": "fe1", | ||
"properties": {} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "fe1", | ||
"location": "NorthCentralUS", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", | ||
"properties": { | ||
"fqdn": "test.net", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...rvicenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/FrontendPut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"title": "Put Frontend", | ||
"operationId": "FrontendsInterface_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"frontendName": "fe1", | ||
"resource": { | ||
"location": "NorthCentralUS", | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "fe1", | ||
"location": "NorthCentralUS", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", | ||
"properties": { | ||
"fqdn": "test.net", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "fe1", | ||
"location": "NorthCentralUS", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", | ||
"properties": { | ||
"fqdn": "test.net", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...vicenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/FrontendsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"title": "Get Frontends", | ||
"operationId": "FrontendsInterface_ListByTrafficController", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "fe1", | ||
"location": "NorthCentralUS", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/frontends", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1", | ||
"properties": { | ||
"fqdn": "test.net", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...cenetworking/ServiceNetworking.Management/examples/2024-05-01-preview/OperationsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"title": "Get Operations List", | ||
"operationId": "Operations_List", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.ServiceNetworking/trafficControllers/read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft Service Networking", | ||
"resource": "Traffic Controller", | ||
"operation": "Get Traffic Controller configuration", | ||
"description": "Traffic Controller is a L7 Load Balancing solution for a Multi Cluster setup" | ||
}, | ||
"origin": "user,system" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ing/ServiceNetworking.Management/examples/2024-05-01-preview/SecurityPoliciesGetList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"title": "Get SecurityPolicies", | ||
"operationId": "SecurityPoliciesInterface_ListByTrafficController", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "waf-0", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0", | ||
"location": "eastus", | ||
"properties": { | ||
"policyType": "waf", | ||
"wafPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.