diff options
Diffstat (limited to 'lib/azure_ex.ex')
-rw-r--r-- | lib/azure_ex.ex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/azure_ex.ex b/lib/azure_ex.ex index c284809..a9ab514 100644 --- a/lib/azure_ex.ex +++ b/lib/azure_ex.ex @@ -47,11 +47,31 @@ defmodule AzureEx do ) defendpoint( + "InstanceViewVirtualMachines", + "GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView?api-version=2020-06-01" + ) + + defendpoint( "CreateOrUpdateNetworkInterfaces", "PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}?api-version=2020-05-01" ) defendpoint( + "GetVirtualNetworks", + "GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}?api-version=2020-05-01" + ) + + defendpoint( + "CreateOrUpdateVirtualNetworks", + "PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}?api-version=2020-05-01" + ) + + defendpoint( + "GetSubnet", + "GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}?api-version=2020-05-01" + ) + + defendpoint( "CreateOrUpdateSubnets", "PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}?api-version=2020-05-01" ) |