Interface VirtualNetworkApi
-
@Path("") @Consumes("application/json") public interface VirtualNetworkApi
The Virtual Networks API includes operations for managing Azure virtual networks in your subscription.- See Also:
- docs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IpAddressAvailabilityResult
checkIPAddressAvailability(String virtualnetworkname, String ipAddress)
VirtualNetwork
createOrUpdate(String virtualnetworkname, String location, Map<String,String> tags, VirtualNetwork.VirtualNetworkProperties properties)
boolean
delete(String virtualnetworkname)
VirtualNetwork
get(String virtualnetworkname)
List<VirtualNetwork>
list()
List<VirtualNetwork>
listAll()
-
-
-
Method Detail
-
list
@Named("virtualnetwork:list") @Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks") @GET List<VirtualNetwork> list()
-
listAll
@Named("loadbalancer:listall") @GET @Path("/providers/Microsoft.Network/virtualNetworks") List<VirtualNetwork> listAll()
-
createOrUpdate
@Named("virtualnetwork:create_or_update") @Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{virtualnetworkname}") @PUT VirtualNetwork createOrUpdate(@PathParam("virtualnetworkname") String virtualnetworkname, String location, @Nullable Map<String,String> tags, VirtualNetwork.VirtualNetworkProperties properties)
-
get
@Named("virtualnetwork:get") @Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{virtualnetworkname}") @GET VirtualNetwork get(@PathParam("virtualnetworkname") String virtualnetworkname)
-
delete
@Named("virtualnetwork:delete") @Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{virtualnetworkname}") @DELETE boolean delete(@PathParam("virtualnetworkname") String virtualnetworkname)
-
checkIPAddressAvailability
@Named("virtualnetwork:check_ip_address_availability") @Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{virtualnetworkname}/CheckIPAddressAvailability") @GET IpAddressAvailabilityResult checkIPAddressAvailability(@PathParam("virtualnetworkname") String virtualnetworkname, @QueryParam("ipAddress") String ipAddress)
-
-