Skip to content
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c5caef4
Micrsoft.DelegatedNetwork RP restapi spec
tamilmani1989 Aug 10, 2020
9b063ca
updated version
tamilmani1989 Aug 10, 2020
f2b161e
added default error response
tamilmani1989 Aug 10, 2020
52ddc7e
added list api and fixed other issues
tamilmani1989 Aug 10, 2020
a1d88ea
fixed copy paste error
tamilmani1989 Aug 10, 2020
a973678
updated operation response spec
tamilmani1989 Aug 11, 2020
434a7a6
fixed errorresposne and styling issues
tamilmani1989 Aug 11, 2020
4af2675
updated operation response
tamilmani1989 Aug 11, 2020
7ba1958
updated operation response spec
tamilmani1989 Aug 11, 2020
74b4949
updated readme
tamilmani1989 Aug 11, 2020
142418f
addressed review comments
tamilmani1989 Aug 12, 2020
b0ca3c4
updated output folder
tamilmani1989 Aug 12, 2020
366decd
updated api spec with new changes
tamilmani1989 Aug 18, 2020
a021ca7
updated order
tamilmani1989 Aug 18, 2020
bfd0584
fixed issues
tamilmani1989 Aug 18, 2020
94d612d
fixes
tamilmani1989 Aug 18, 2020
9a22a18
fixed issue
tamilmani1989 Aug 18, 2020
1dffff3
fixed allof parameter
tamilmani1989 Aug 18, 2020
2268722
fixed description and params
tamilmani1989 Aug 18, 2020
f010f77
removed enum
tamilmani1989 Aug 18, 2020
ba46776
fixed examples/createController.json
tamilmani1989 Aug 18, 2020
a903ebb
pretty fix
tamilmani1989 Aug 18, 2020
ad61d45
fixed with prettier tool
tamilmani1989 Aug 18, 2020
c8a281d
Addressed feedback comments
tamilmani1989 Aug 19, 2020
e9489b6
fixed issue
tamilmani1989 Aug 19, 2020
b469ea1
added list api for new resource
tamilmani1989 Aug 19, 2020
81f6fb6
added isDataAction back
tamilmani1989 Aug 19, 2020
8cdba1c
prettier fix
tamilmani1989 Aug 19, 2020
1eae403
updated to array
tamilmani1989 Aug 19, 2020
87c1f06
updated list url
tamilmani1989 Aug 19, 2020
135b5d6
updated the name as per recommendation
tamilmani1989 Aug 20, 2020
a4c5b66
updated operation id
tamilmani1989 Aug 20, 2020
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e",
"api-version": "2020-08-08-preview",
"resourceGroupName": "testRG"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller1",
"location": "West US",
"name": "dnctestcontroller1",
"type": "Microsoft.DelegatedNetwork/controller",
"properties": {
"state": "Succeeded",
"type": "Kubernetes",
"resourceGuid": "a182cbcf-e8ea-4175-ac2b-ad36a73f9801",
"dncAppID": "ac6192d7-503f-477a-9cfe-4efc3ee2b645",
"dncEndpoint": "https://uscentral.dnc.azure.com/"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e",
"api-version": "2020-08-08-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller1",
"location": "West US",
"name": "dnctestcontroller1",
"type": "Microsoft.DelegatedNetwork/controller",
"properties": {
"state": "Succeeded",
"type": "Kubernetes",
"resourceGuid": "a182cbcf-e8ea-4175-ac2b-ad36a73f9801",
"dncAppID": "ac6192d7-503f-477a-9cfe-4efc3ee2b645"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parameters": {
"api-version": "2020-08-08-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "Microsoft.DelegatedNetwork/controller/write",
"display": {
"provider": "Microsoft Delegated Network Service",
"resource": "Microsoft Delegated Network Controller Service instance",
"operation": "Create or update a Controller Service instance.",
"description": "Create or update a Controller Service instance."
}
},
{
"name": "Microsoft.DelegatedNetwork/controller/read",
"display": {
"provider": "Microsoft Delegated Network Service",
"resource": "Microsoft Delegated Network Controller Service instance",
"operation": "Get a Controller Service instance.",
"description": "Get a Controller Service instance."
}
},
{
"name": "Microsoft.DelegatedNetwork/controller/delete",
"display": {
"provider": "Microsoft Delegated Network Service",
"resource": "Microsoft Delegated Network Controller Service instance",
"operation": "Delete a Controller Service instance.",
"description": "Delete a Controller Service instance."
}
},
{
"name": "Microsoft.DelegatedNetwork/delegatedSubnets/write",
"display": {
"provider": "Microsoft Delegated Network Service",
"resource": "Microsoft Delegated subnet instance",
"operation": "Create or update a Delegated subnet instance.",
"description": "Create or update a Delegated subnet instance."
}
},
{
"name": "Microsoft.DelegatedNetwork/delegatedSubnets/read",
"display": {
"provider": "Microsoft Delegated Network Service",
"resource": "Microsoft Delegated subnet instance",
"operation": "Get a Delegated subnet instance.",
"description": "Get a Delegated subnet instance."
}
},
{
"name": "Microsoft.DelegatedNetwork/delegatedSubnets/delete",
"display": {
"provider": "Microsoft Delegated Network Controller Service",
"resource": "Microsoft Delegated subnet instance",
"operation": "Delete a Delegated subnet instance.",
"description": "Delete a Delegated subnet instance."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e",
"api-version": "2020-08-08-preview",
"resourceGroupName": "testRG"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet/providers/Microsoft.DelegatedNetwork/delegatedSubnets/delegated1",
"location": "West US",
"name": "delegated1",
"type": "Microsoft.DelegatedNetwork/delegatedSubnets",
"properties": {
"state": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "50016170-c839-41ba-a724-51e9df440b9e",
"api-version": "2020-08-08-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet/providers/Microsoft.DelegatedNetwork/delegatedSubnets/delegated1",
"location": "West US",
"name": "delegated1",
"type": "Microsoft.DelegatedNetwork/delegatedSubnets",
"properties": {
"state": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"resourceName": "dnctestcontroller",
"api-version": "2020-08-08-preview"
},
"responses": {
"200": {
"headers": {},
"description": "OK."
},
"202": {
"headers": {},
"description": "Accepted."
},
"204": {
"headers": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"vnetName": "testvnet",
"subnetName": "testsubnet",
"resourceName": "delegated1",
"api-version": "2020-08-08-preview",
"delegatedSubnetParameters": {
"controllerID": "a182cbcf-e8ea-4175-ac2b-ad36a73f9801"
}
},
"responses": {
"200": {
"headers": {},
"description": "OK."
},
"202": {
"headers": {},
"description": "Accepted."
},
"204": {
"headers": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"resourceName": "dnctestcontroller",
"api-version": "2020-08-08-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller",
"location": "West US",
"name": "dnctestcontroller",
"type": "Microsoft.DelegatedNetwork/controller",
"properties": {
"state": "Succeeded",
"type": "Kubernetes",
"resourceGuid": "a182cbcf-e8ea-4175-ac2b-ad36a73f9801",
"dncAppID": "ac6192d7-503f-477a-9cfe-4efc3ee2b645",
"dncEndpoint": "https://uscentral.dnc.azure.com/"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"vnetName": "testvnet",
"subnetName": "testsubnet",
"resourceName": "delegated1",
"api-version": "2020-08-08-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet/providers/Microsoft.DelegatedNetwork/delegatedSubnets/delegated1",
"location": "West US",
"name": "delegated1",
"type": "Microsoft.DelegatedNetwork/delegatedSubnets",
"properties": {
"state": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"resourceName": "dnctestcontroller",
"api-version": "2020-08-08-preview",
"controllerParameters": {
"controllerType": "Kubernetes",
"kubernetesProperties": {
"serverAppID": "546192d7-503f-477a-9cfe-4efc3ee2b6e1",
"serverTenantID": "da6192d7-503f-477a-9cfe-4efc3ee2b6c3",
"clusterRootCA": "ddsadsad344mfdsfdl",
"apiServerEndpoint": "https://testk8s.cloudapp.net"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller",
"location": "West US",
"name": "dnctestcontroller",
"type": "Microsoft.DelegatedNetwork/controller",
"properties": {
"state": "Succeeded",
"type": "Kubernetes",
"resourceGuid": "a182cbcf-e8ea-4175-ac2b-ad36a73f9801",
"dncAppID": "ac6192d7-503f-477a-9cfe-4efc3ee2b645",
"dncEndpoint": "https://uscentral.dnc.azure.com/"
}
}
},
"201": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller",
"location": "West US",
"name": "dnctestcontroller",
"type": "Microsoft.DelegatedNetwork/controller",
"properties": {
"state": "Provisioning",
"type": "Kubernetes"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"vnetName": "testvnet",
"subnetName": "testsubnet",
"resourceName": "delegated1",
"api-version": "2020-08-08-preview",
"delegatedSubnetParameters": {
"controllerID": "a182cbcf-e8ea-4175-ac2b-ad36a73f9801"
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet/providers/Microsoft.DelegatedNetwork/delegatedSubnets/delegated1",
"location": "West US",
"name": "delegated1",
"type": "Microsoft.DelegatedNetwork/delegatedSubnets",
"properties": {
"state": "Succeeded"
}
}
},
"201": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet/providers/Microsoft.DelegatedNetwork/delegatedSubnets/delegated1",
"location": "West US",
"name": "delegated1",
"type": "Microsoft.DelegatedNetwork/delegatedSubnets",
"properties": {
"state": "Provisioning"
}
}
}
}
}
Loading