次の方法で共有


Images Interface

public interface Images

Resource collection API of Images.

Method Details

define

public abstract Image.DefinitionStages.Blank define(String name)

Begins definition for a new Image resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Image definition.

get

public abstract Image get(String resourceGroupName, String labPlanName, String imageName)

Gets an image. Gets an image resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
imageName - The image name.

Returns:

an image resource.

getById

public abstract Image getById(String id)

Gets an image. Gets an image resource.

Parameters:

id - the resource ID.

Returns:

an image resource along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Gets an image. Gets an image resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

an image resource along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String labPlanName, String imageName, Context context)

Gets an image. Gets an image resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
imageName - The image name.
context - The context to associate with this operation.

Returns:

an image resource along with Response<T>.

listByLabPlan

public abstract PagedIterable listByLabPlan(String resourceGroupName, String labPlanName)

Gets all images. Gets all images from galleries attached to a lab plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.

Returns:

all images from galleries attached to a lab plan as paginated response with PagedIterable<T>.

listByLabPlan

public abstract PagedIterable listByLabPlan(String resourceGroupName, String labPlanName, String filter, Context context)

Gets all images. Gets all images from galleries attached to a lab plan.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labPlanName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
filter - The filter to apply to the operation.
context - The context to associate with this operation.

Returns:

all images from galleries attached to a lab plan as paginated response with PagedIterable<T>.

Applies to