Azure Networking Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
az network vnet create --resource-group <rg-name> --name <vnet-name> --address-prefixes 10.0.0.0/16
az network vnet create --resource-group <rg-name> --name <vnet-name> --address-prefixes 10.0.0.0/16
</syntaxhighlight>
Result:
<syntaxhighlight lang='json'>
{
  "newVNet": {
    "addressSpace": {
      "addressPrefixes": [
        "10.0.0.0/16"
      ]
    },
    "bgpCommunities": null,
    "ddosProtectionPlan": null,
    "dhcpOptions": {
      "dnsServers": []
    },
    "enableDdosProtection": false,
    "enableVmProtection": false,
    "etag": "W/\"a7eb586f-1bb6-409a-aac3-6313a613dffb\"",
    "id": "/subscriptions/c23f02b9-3dff-48a8-bde9-1508d5ab84ab/resourceGroups/platform-cloud-aro-01-rg/providers/Microsoft.Network/virtualNetworks/platform-cloud-aro-01-aro-vnet",
    "ipAllocations": null,
    "location": "eastus2",
    "name": "platform-cloud-aro-01-aro-vnet",
    "provisioningState": "Succeeded",
    "resourceGroup": "platform-cloud-aro-01-rg",
    "resourceGuid": "76c7f842-6400-4ea6-a8fe-f109511e64d7",
    "subnets": [],
    "tags": {},
    "type": "Microsoft.Network/virtualNetworks",
    "virtualNetworkPeerings": []
  }
</syntaxhighlight>
</syntaxhighlight>

Revision as of 23:51, 18 November 2020

Internal

Virtual Network

Virtual Network Operations

Create Virtual Network

az network vnet create --resource-group <rg-name> --name <vnet-name> --address-prefixes 10.0.0.0/16

Result:

{
  "newVNet": {
    "addressSpace": {
      "addressPrefixes": [
        "10.0.0.0/16"
      ]
    },
    "bgpCommunities": null,
    "ddosProtectionPlan": null,
    "dhcpOptions": {
      "dnsServers": []
    },
    "enableDdosProtection": false,
    "enableVmProtection": false,
    "etag": "W/\"a7eb586f-1bb6-409a-aac3-6313a613dffb\"",
    "id": "/subscriptions/c23f02b9-3dff-48a8-bde9-1508d5ab84ab/resourceGroups/platform-cloud-aro-01-rg/providers/Microsoft.Network/virtualNetworks/platform-cloud-aro-01-aro-vnet",
    "ipAllocations": null,
    "location": "eastus2",
    "name": "platform-cloud-aro-01-aro-vnet",
    "provisioningState": "Succeeded",
    "resourceGroup": "platform-cloud-aro-01-rg",
    "resourceGuid": "76c7f842-6400-4ea6-a8fe-f109511e64d7",
    "subnets": [],
    "tags": {},
    "type": "Microsoft.Network/virtualNetworks",
    "virtualNetworkPeerings": []
  }