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

Managed Network Resource Provider OpenAPI Specs #6891

Merged
merged 3 commits into from
Aug 8, 2019
Merged
Show file tree
Hide file tree
Changes from all 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,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