public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String imageName, String expand)
Gets an image.
Parameters:
resourceGroupName
- The name of the resource group.
imageName
- The name of the image.
expand
- The expand expression to apply on the operation.
Returns:
an image along with Response<T> on successful completion of Mono.
list
public abstract PagedIterable list()
Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.
Returns:
the list of Images in the subscription as paginated response with PagedIterable<T>.
list
public abstract PagedIterable list(Context context)
Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.
Parameters:
context
- The context to associate with this operation.
Returns:
the list of Images in the subscription as paginated response with PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync()
Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.
Returns:
the list of Images in the subscription as paginated response with PagedFlux<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
the list of images under a resource group as paginated response with PagedIterable<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.
Parameters:
resourceGroupName
- The name of the resource group.
context
- The context to associate with this operation.
Returns:
the list of images under a resource group as paginated response with PagedIterable<T>.
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
the list of images under a resource group as paginated response with PagedFlux<T>.
update
public abstract ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters)
Update an image.
Parameters:
resourceGroupName
- The name of the resource group.
imageName
- The name of the image.
parameters
- Parameters supplied to the Update Image operation.
resourceGroupName
- The name of the resource group.
imageName
- The name of the image.
parameters
- Parameters supplied to the Update Image operation.
context
- The context to associate with this operation.
Returns:
the source user image virtual hard disk.
updateAsync
public abstract Mono updateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)
Update an image.
Parameters:
resourceGroupName
- The name of the resource group.
imageName
- The name of the image.
parameters
- Parameters supplied to the Update Image operation.
Returns:
the source user image virtual hard disk on successful completion of Mono.
updateWithResponseAsync
public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String imageName, ImageUpdate parameters)
Update an image.
Parameters:
resourceGroupName
- The name of the resource group.
imageName
- The name of the image.
parameters
- Parameters supplied to the Update Image operation.
Returns:
the source user image virtual hard disk along with Response<T> on successful completion of
Mono.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.