-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Managed Network Resource Provider OpenAPI Specs (#6891)
* Managed Network Resource Provider OpenAPI Specs * add readme go * fix readme go
- Loading branch information
1 parent
af9780e
commit 619174d
Showing
21 changed files
with
2,418 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...agedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...review/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
...nagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
...ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...k/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} | ||
|
||
|
||
|
||
|
Oops, something went wrong.