public interface ImagesClient extends InnerSupportsGet<ImageInner>, InnerSupportsListing<ImageInner>, InnerSupportsDelete<Void>
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> |
beginCreateOrUpdate(String resourceGroupName,
String imageName,
ImageInner parameters)
Create or update an image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> |
beginCreateOrUpdate(String resourceGroupName,
String imageName,
ImageInner parameters,
com.azure.core.util.Context context)
Create or update an image.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String imageName,
ImageInner parameters)
Create or update an image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String imageName)
Deletes an Image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String imageName,
com.azure.core.util.Context context)
Deletes an Image.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String imageName)
Deletes an Image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> |
beginUpdate(String resourceGroupName,
String imageName,
ImageUpdate parameters)
Update an image.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> |
beginUpdate(String resourceGroupName,
String imageName,
ImageUpdate parameters,
com.azure.core.util.Context context)
Update an image.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> |
beginUpdateAsync(String resourceGroupName,
String imageName,
ImageUpdate parameters)
Update an image.
|
ImageInner |
createOrUpdate(String resourceGroupName,
String imageName,
ImageInner parameters)
Create or update an image.
|
ImageInner |
createOrUpdate(String resourceGroupName,
String imageName,
ImageInner parameters,
com.azure.core.util.Context context)
Create or update an image.
|
Mono<ImageInner> |
createOrUpdateAsync(String resourceGroupName,
String imageName,
ImageInner parameters)
Create or update an image.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String imageName,
ImageInner parameters)
Create or update an image.
|
void |
delete(String resourceGroupName,
String imageName)
Deletes an Image.
|
void |
delete(String resourceGroupName,
String imageName,
com.azure.core.util.Context context)
Deletes an Image.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String imageName)
Deletes an Image.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String imageName)
Deletes an Image.
|
ImageInner |
getByResourceGroup(String resourceGroupName,
String imageName)
Gets an image.
|
Mono<ImageInner> |
getByResourceGroupAsync(String resourceGroupName,
String imageName)
Gets an image.
|
Mono<ImageInner> |
getByResourceGroupAsync(String resourceGroupName,
String imageName,
String expand)
Gets an image.
|
com.azure.core.http.rest.Response<ImageInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String imageName,
String expand,
com.azure.core.util.Context context)
Gets an image.
|
Mono<com.azure.core.http.rest.Response<ImageInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String imageName,
String expand)
Gets an image.
|
com.azure.core.http.rest.PagedIterable<ImageInner> |
list()
Gets the list of Images in the subscription.
|
com.azure.core.http.rest.PagedIterable<ImageInner> |
list(com.azure.core.util.Context context)
Gets the list of Images in the subscription.
|
com.azure.core.http.rest.PagedFlux<ImageInner> |
listAsync()
Gets the list of Images in the subscription.
|
com.azure.core.http.rest.PagedIterable<ImageInner> |
listByResourceGroup(String resourceGroupName)
Gets the list of images under a resource group.
|
com.azure.core.http.rest.PagedIterable<ImageInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets the list of images under a resource group.
|
com.azure.core.http.rest.PagedFlux<ImageInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets the list of images under a resource group.
|
ImageInner |
update(String resourceGroupName,
String imageName,
ImageUpdate parameters)
Update an image.
|
ImageInner |
update(String resourceGroupName,
String imageName,
ImageUpdate parameters,
com.azure.core.util.Context context)
Update an image.
|
Mono<ImageInner> |
updateAsync(String resourceGroupName,
String imageName,
ImageUpdate parameters)
Update an image.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String imageName,
ImageUpdate parameters)
Update an image.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String imageName, ImageInner parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> beginCreateOrUpdate(String resourceGroupName, String imageName, ImageInner parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> beginCreateOrUpdate(String resourceGroupName, String imageName, ImageInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.context
- The context to associate with this operation.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.Mono<ImageInner> createOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.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.ImageInner createOrUpdate(String resourceGroupName, String imageName, ImageInner parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.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.ImageInner createOrUpdate(String resourceGroupName, String imageName, ImageInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. The virtual hard disk will be copied before being
attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not
exist.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String imageName, ImageUpdate parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> beginUpdateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ImageInner>,ImageInner> beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.context
- The context to associate with this operation.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.Mono<ImageInner> updateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.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.ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.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.ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.parameters
- The source user image virtual hard disk. Only tags may be updated.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String imageName)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String imageName)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String imageName)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String imageName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.context
- The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String imageName)
deleteAsync
in interface InnerSupportsDelete<Void>
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.void delete(String resourceGroupName, String imageName)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.void delete(String resourceGroupName, String imageName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.context
- The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<ImageInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String imageName, String expand)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.expand
- The expand expression to apply on the operation.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.Mono<ImageInner> getByResourceGroupAsync(String resourceGroupName, String imageName, String expand)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.expand
- The expand expression to apply on the operation.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.Mono<ImageInner> getByResourceGroupAsync(String resourceGroupName, String imageName)
getByResourceGroupAsync
in interface InnerSupportsGet<ImageInner>
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.ImageInner getByResourceGroup(String resourceGroupName, String imageName)
getByResourceGroup
in interface InnerSupportsGet<ImageInner>
resourceGroupName
- The name of the resource group.imageName
- The name of the image.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.com.azure.core.http.rest.Response<ImageInner> getByResourceGroupWithResponse(String resourceGroupName, String imageName, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.imageName
- The name of the image.expand
- The expand expression to apply on the operation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ImageInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync
in interface InnerSupportsListing<ImageInner>
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ImageInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup
in interface InnerSupportsListing<ImageInner>
resourceGroupName
- The name of the resource group.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.com.azure.core.http.rest.PagedIterable<ImageInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<ImageInner> listAsync()
listAsync
in interface InnerSupportsListing<ImageInner>
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.com.azure.core.http.rest.PagedIterable<ImageInner> list()
list
in interface InnerSupportsListing<ImageInner>
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.com.azure.core.http.rest.PagedIterable<ImageInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.