Galleries Interface

public interface Galleries

Resource collection API of Galleries.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Gallery resource.

abstract void delete(String resourceGroupName, String devCenterName, String galleryName)

Deletes a gallery resource.

abstract void delete(String resourceGroupName, String devCenterName, String galleryName, Context context)

Deletes a gallery resource.

abstract void deleteById(String id)

Deletes a gallery resource.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a gallery resource.

abstract Gallery get(String resourceGroupName, String devCenterName, String galleryName)

Gets a gallery.

abstract Gallery getById(String id)

Gets a gallery.

abstract Response<Gallery> getByIdWithResponse(String id, Context context)

Gets a gallery.

abstract Response<Gallery> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, Context context)

Gets a gallery.

abstract PagedIterable<Gallery> listByDevCenter(String resourceGroupName, String devCenterName)

Lists galleries for a devcenter.

abstract PagedIterable<Gallery> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, Context context)

Lists galleries for a devcenter.

Method Details

define

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

Begins definition for a new Gallery resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Gallery definition.

delete

public abstract void delete(String resourceGroupName, String devCenterName, String galleryName)

Deletes a gallery resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
devCenterName - The name of the devcenter.
galleryName - The name of the gallery.

delete

public abstract void delete(String resourceGroupName, String devCenterName, String galleryName, Context context)

Deletes a gallery resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
devCenterName - The name of the devcenter.
galleryName - The name of the gallery.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes a gallery resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a gallery resource.

Parameters:

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

get

public abstract Gallery get(String resourceGroupName, String devCenterName, String galleryName)

Gets a gallery.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
devCenterName - The name of the devcenter.
galleryName - The name of the gallery.

Returns:

a gallery.

getById

public abstract Gallery getById(String id)

Gets a gallery.

Parameters:

id - the resource ID.

Returns:

a gallery along with Response<T>.

getByIdWithResponse

public abstract Response<Gallery> getByIdWithResponse(String id, Context context)

Gets a gallery.

Parameters:

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

Returns:

a gallery along with Response<T>.

getWithResponse

public abstract Response<Gallery> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, Context context)

Gets a gallery.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
devCenterName - The name of the devcenter.
galleryName - The name of the gallery.
context - The context to associate with this operation.

Returns:

a gallery along with Response<T>.

listByDevCenter

public abstract PagedIterable<Gallery> listByDevCenter(String resourceGroupName, String devCenterName)

Lists galleries for a devcenter.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
devCenterName - The name of the devcenter.

Returns:

results of the gallery list operation as paginated response with PagedIterable<T>.

listByDevCenter

public abstract PagedIterable<Gallery> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, Context context)

Lists galleries for a devcenter.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
devCenterName - The name of the devcenter.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

results of the gallery list operation as paginated response with PagedIterable<T>.

Applies to