Skip to content

Commit

Permalink
Managed Network Resource Provider OpenAPI Specs (#6891)
Browse files Browse the repository at this point in the history
* Managed Network Resource Provider OpenAPI Specs

* add readme go

* fix readme go
  • Loading branch information
yanfa317 authored and michaeljqzq committed Aug 8, 2019
1 parent af9780e commit 619174d
Show file tree
Hide file tree
Showing 21 changed files with 2,418 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Delete Managed Network",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"managedNetworkName": "myManagedNetwork"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"title": "Get Managed Network",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"managedNetworkName": "myManagedNetwork"
},
"responses": {
"200": {
"body": {
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"title": "Get Managed Network",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
],
"nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"title": "Get Managed Network",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
],
"nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"title": "Create/Update Managed Network",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"managedNetworkName": "myManagedNetwork",
"parameters": {
"tags": {}
}
},
"responses": {
"200": {
"body": {
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
},
"201": {
"body": {
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"title": "Create/Update Managed Network",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"managedNetworkName": "myManagedNetwork",
"managedNetwork": {
"tags": {},
"location": "eastus",
"properties": {
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
}
}
}
},
"responses": {
"200": {
"body": {
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
},
"201": {
"body": {
"name": "myManagedNetwork",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
"type": "Microsoft.ManagedNetwork/managedNetworks",
"tags": {},
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"etag": "sadf-asdf-asdf-asdf",
"scope": {
"managementGroups": [
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000" },
{ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000" }
],
"subscriptions": [
{ "id": "subscriptionA" },
{ "id": "subscriptionB" }
],
"virtualNetworks": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB" }
],
"subnets": [
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA" },
{ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB" }
]
},
"connectivity": {
"groups": [],
"peerings": []
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"title": "Delete Managed Network Group",
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"managedNetworkName": "myManagedNetwork",
"managedNetworkGroupName": "myManagedNetworkGroup1"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}




Loading

0 comments on commit 619174d

Please sign in to comment.