Skip to content

Instantly share code, notes, and snippets.

@aki-k
Created April 5, 2018 14:59
Show Gist options
  • Save aki-k/45c059b2c87a37c9a6549a926e87f8b3 to your computer and use it in GitHub Desktop.
Save aki-k/45c059b2c87a37c9a6549a926e87f8b3 to your computer and use it in GitHub Desktop.
libcloud driver.ex_create_network_interface response
{'extra': {'dnsSettings': {'appliedDnsServers': [], 'dnsServers': []},
'enableIPForwarding': False,
'ipConfigurations': [{'etag': 'W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"',
'id': '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/providers/Microsoft.Network/networkInterfaces/network_interface_name/ipConfigurations/myip1',
'name': 'myip1',
'properties': {'isInUseWithService': False,
'primary': True,
'privateIPAddress': '10.1.0.10',
'privateIPAllocationMethod': 'Static',
'provisioningState': 'Succeeded',
'publicIPAddress': {'id': '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name'},
'subnet': {'id': '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/providers/Microsoft.Network/virtualNetworks/virtual_network_name/subnets/subnet_name'}}}],
'provisioningState': 'Succeeded',
'resourceGuid': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'},
'id': '/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resource_group_name/providers/Microsoft.Network/networkInterfaces/network_interface_name',
'location': 'northeurope',
'name': 'network_interface_name'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment