Interface ExtensionMetadatas


public interface ExtensionMetadatas
Resource collection API of ExtensionMetadatas.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String location, String publisher, String extensionType, String version)
    Gets an Extension Metadata based on location, publisher, extensionType and version.
    com.azure.core.http.rest.Response<ExtensionValue>
    getWithResponse(String location, String publisher, String extensionType, String version, com.azure.core.util.Context context)
    Gets an Extension Metadata based on location, publisher, extensionType and version.
    com.azure.core.http.rest.PagedIterable<ExtensionValue>
    list(String location, String publisher, String extensionType)
    Gets all Extension versions based on location, publisher, extensionType.
    com.azure.core.http.rest.PagedIterable<ExtensionValue>
    list(String location, String publisher, String extensionType, com.azure.core.util.Context context)
    Gets all Extension versions based on location, publisher, extensionType.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<ExtensionValue> getWithResponse(String location, String publisher, String extensionType, String version, com.azure.core.util.Context context)
      Gets an Extension Metadata based on location, publisher, extensionType and version.
      Parameters:
      location - The location of the Extension being received.
      publisher - The publisher of the Extension being received.
      extensionType - The extensionType of the Extension being received.
      version - The version of the Extension being received.
      context - The context to associate with this operation.
      Returns:
      an Extension Metadata based on location, publisher, extensionType and version along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      ExtensionValue get(String location, String publisher, String extensionType, String version)
      Gets an Extension Metadata based on location, publisher, extensionType and version.
      Parameters:
      location - The location of the Extension being received.
      publisher - The publisher of the Extension being received.
      extensionType - The extensionType of the Extension being received.
      version - The version of the Extension being received.
      Returns:
      an Extension Metadata based on location, publisher, extensionType and version.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<ExtensionValue> list(String location, String publisher, String extensionType)
      Gets all Extension versions based on location, publisher, extensionType.
      Parameters:
      location - The location of the Extension being received.
      publisher - The publisher of the Extension being received.
      extensionType - The extensionType of the Extension being received.
      Returns:
      all Extension versions based on location, publisher, extensionType as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<ExtensionValue> list(String location, String publisher, String extensionType, com.azure.core.util.Context context)
      Gets all Extension versions based on location, publisher, extensionType.
      Parameters:
      location - The location of the Extension being received.
      publisher - The publisher of the Extension being received.
      extensionType - The extensionType of the Extension being received.
      context - The context to associate with this operation.
      Returns:
      all Extension versions based on location, publisher, extensionType as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.