-
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.
* AGC v.2025-03-01-preview * change naming * add FrontendSecurityPolicyConfigurations and update examples * udpate restriction for number of prefixes per rule * update readme * unify sp configurations * change descriptions * fix CI --------- Co-authored-by: Mike Harder <[email protected]>
- Loading branch information
1 parent
5f01188
commit bfb94c8
Showing
53 changed files
with
3,959 additions
and
11 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...etworking/ServiceNetworking.Management/examples/2025-03-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": "2025-03-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/2025-03-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": "2025-03-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/2025-03-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": "2025-03-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/2025-03-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": "2025-03-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/2025-03-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": "2025-03-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/2025-03-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": "2025-03-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": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...rvicenetworking/ServiceNetworking.Management/examples/2025-03-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,30 @@ | ||
{ | ||
"title": "Get Frontend", | ||
"operationId": "FrontendsInterface_Get", | ||
"parameters": { | ||
"api-version": "2025-03-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", | ||
"securityPolicyConfigurations": { | ||
"ipAccessRulesSecurityPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...icenetworking/ServiceNetworking.Management/examples/2025-03-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,31 @@ | ||
{ | ||
"title": "Update Frontend", | ||
"operationId": "FrontendsInterface_Update", | ||
"parameters": { | ||
"api-version": "2025-03-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", | ||
"securityPolicyConfigurations": { | ||
"ipAccessRulesSecurityPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...rvicenetworking/ServiceNetworking.Management/examples/2025-03-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,51 @@ | ||
{ | ||
"title": "Put Frontend", | ||
"operationId": "FrontendsInterface_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2025-03-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", | ||
"securityPolicyConfigurations": { | ||
"ipAccessRulesSecurityPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" | ||
} | ||
}, | ||
"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", | ||
"securityPolicyConfigurations": { | ||
"ipAccessRulesSecurityPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...vicenetworking/ServiceNetworking.Management/examples/2025-03-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,33 @@ | ||
{ | ||
"title": "Get Frontends", | ||
"operationId": "FrontendsInterface_ListByTrafficController", | ||
"parameters": { | ||
"api-version": "2025-03-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", | ||
"securityPolicyConfigurations": { | ||
"ipAccessRulesSecurityPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" | ||
} | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ceNetworking.Management/examples/2025-03-01-preview/IpAccessRulesSecurityPolicyPatch.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 IpAccessRules SecurityPolicy", | ||
"operationId": "SecurityPoliciesInterface_Update", | ||
"parameters": { | ||
"api-version": "2025-03-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"securityPolicyName": "sp1", | ||
"properties": { | ||
"properties": { | ||
"ipAccessRulesPolicy": { | ||
"rules": [] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "ipAccessRules-0", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0", | ||
"location": "eastus", | ||
"properties": { | ||
"policyType": "ipAccessRules", | ||
"ipAccessRulesPolicy": { | ||
"rules": [] | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.