Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam Malpani committed Apr 17, 2024
1 parent 665e7c3 commit 8287ea8
Show file tree
Hide file tree
Showing 22 changed files with 2,154 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title": "Delete Association",
"operationId": "AssociationsInterface_Delete",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"trafficControllerName": "tc1",
"associationName": "as1"
},
"responses": {
"200": {},
"202": {
"headers": {
"Retry-After": 3,
"location": "https://blobLocation.com"
}
},
"204": {}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title": "Delete Frontend",
"operationId": "FrontendsInterface_Delete",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"trafficControllerName": "tc1",
"frontendName": "fe1"
},
"responses": {
"200": {},
"202": {
"headers": {
"Retry-After": 3,
"location": "https://blobLocation.com"
}
},
"204": {}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "Get Operations List",
"operationId": "Operations_List",
"parameters": {
"api-version": "2023-11-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,21 @@
{
"title": "Delete SecurityPolicy",
"operationId": "SecurityPoliciesInterface_Delete",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"trafficControllerName": "tc1",
"securityPolicyName": "sp1"
},
"responses": {
"200": {},
"202": {
"headers": {
"Retry-After": 3,
"location": "https://blobLocation.com"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"title": "Get SecurityPolicy",
"operationId": "SecurityPoliciesInterface_Get",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"trafficControllerName": "tc1",
"securityPolicyName": "sp1"
},
"responses": {
"200": {
"body": {
"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",
"webApplicationFirewallPolicy": {
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0"
},
"provisioningState": "Succeeded"
}
}
}
}
}
Loading

0 comments on commit 8287ea8

Please sign in to comment.