62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# File 'lib/fog/azurerm/models/network/network_interface.rb', line 62
def save(async = false)
requires :name
requires :location
requires :resource_group
requires :subnet_id
requires :ip_configuration_name
requires :private_ip_allocation_method
nic_response = service.create_or_update_network_interface(resource_group, name, location, subnet_id, public_ip_address_id, network_security_group_id, ip_configuration_name, private_ip_allocation_method, private_ip_address, load_balancer_backend_address_pools_ids, load_balancer_inbound_nat_rules_ids, tags, enable_accelerated_networking, async)
if async
nic_response
else
merge_attributes(Fog::Network::AzureRM::NetworkInterface.parse(nic_response))
end
end
|