Interface ExtensionMetadatasClient
public interface ExtensionMetadatasClient
An instance of this class provides access to all the operations defined in ExtensionMetadatasClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets an Extension Metadata based on location, publisher, extensionType and version.com.azure.core.http.rest.Response<ExtensionValueInner> 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<ExtensionValueInner> Gets all Extension versions based on location, publisher, extensionType.com.azure.core.http.rest.PagedIterable<ExtensionValueInner> Gets all Extension versions based on location, publisher, extensionType.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ExtensionValueInner> 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
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<ExtensionValueInner> 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<ExtensionValueInner> 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.
-