@Path(value="/providers/Microsoft.Compute/locations/{location}")
@Consumes(value="application/json")
public interface OSImageApi
Modifier and Type | Method and Description |
---|---|
Version |
getVersion(String publisher,
String offer,
String sku,
String version)
Get the details of a Version
|
List<Offer> |
listOffers(String publisher)
List Offers in publisher
|
List<Publisher> |
listPublishers()
List Publishers in location
|
List<SKU> |
listSKUs(String publisher,
String offer)
List SKUs in offer
|
List<Version> |
listVersions(String publisher,
String offer,
String sku)
List Versions in SKU
|
@Named(value="publisher:list") @GET @Path(value="/publishers") List<Publisher> listPublishers()
@Named(value="offer:list") @GET @Path(value="/publishers/{publisher}/artifacttypes/vmimage/offers") List<Offer> listOffers(@PathParam(value="publisher") String publisher)
@Named(value="sku:list") @GET @Path(value="/publishers/{publisher}/artifacttypes/vmimage/offers/{offer}/skus") List<SKU> listSKUs(@PathParam(value="publisher") String publisher, @PathParam(value="offer") String offer)
@Named(value="version:list") @GET @Path(value="/publishers/{publisher}/artifacttypes/vmimage/offers/{offer}/skus/{sku}/versions") List<Version> listVersions(@PathParam(value="publisher") String publisher, @PathParam(value="offer") String offer, @PathParam(value="sku") String sku)
@Named(value="version:get") @GET @Path(value="/publishers/{publisher}/artifacttypes/vmimage/offers/{offer}/skus/{sku}/versions/{version}") Version getVersion(@PathParam(value="publisher") String publisher, @PathParam(value="offer") String offer, @PathParam(value="sku") String sku, @PathParam(value="version") String version)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.