Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGC-v.2025-01-01 #31902

Merged
merged 8 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"title": "Delete Association",
"operationId": "AssociationsInterface_Delete",
"parameters": {
"api-version": "2025-01-01",
"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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"title": "Get Association",
"operationId": "AssociationsInterface_Get",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"title": "Update Association",
"operationId": "AssociationsInterface_Update",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"title": "Put Association",
"operationId": "AssociationsInterface_CreateOrUpdate",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"title": "Get Associations",
"operationId": "AssociationsInterface_ListByTrafficController",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"title": "Delete Frontend",
"operationId": "FrontendsInterface_Delete",
"parameters": {
"api-version": "2025-01-01",
"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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "Get Frontend",
"operationId": "FrontendsInterface_Get",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "Update Frontend",
"operationId": "FrontendsInterface_Update",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"title": "Put Frontend",
"operationId": "FrontendsInterface_CreateOrUpdate",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"title": "Get Frontends",
"operationId": "FrontendsInterface_ListByTrafficController",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "Get Operations List",
"operationId": "Operations_List",
"parameters": {
"api-version": "2025-01-01"
},
"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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"title": "Get SecurityPolicies",
"operationId": "SecurityPoliciesInterface_ListByTrafficController",
"parameters": {
"api-version": "2025-01-01",
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"title": "Delete SecurityPolicy",
"operationId": "SecurityPoliciesInterface_Delete",
"parameters": {
"api-version": "2025-01-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"trafficControllerName": "tc1",
"securityPolicyName": "sp1"
},
"responses": {
"202": {
"headers": {
"Retry-After": 3,
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/sp1"
}
},
"204": {}
}
}
Loading
Loading