DevCenters Interface

public interface DevCenters

Resource collection API of DevCenters.

Method Summary

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

Begins definition for a new DevCenter resource.

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

Deletes a devcenter.

abstract void deleteById(String id)

Deletes a devcenter.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a devcenter.

abstract void deleteByResourceGroup(String resourceGroupName, String devCenterName)

Deletes a devcenter.

abstract DevCenter getById(String id)

Gets a devcenter.

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

Gets a devcenter.

abstract DevCenter getByResourceGroup(String resourceGroupName, String devCenterName)

Gets a devcenter.

abstract Response<DevCenter> getByResourceGroupWithResponse(String resourceGroupName, String devCenterName, Context context)

Gets a devcenter.

abstract PagedIterable<DevCenter> list()

Lists all devcenters in a subscription.

abstract PagedIterable<DevCenter> list(Integer top, Context context)

Lists all devcenters in a subscription.

abstract PagedIterable<DevCenter> listByResourceGroup(String resourceGroupName)

Lists all devcenters in a resource group.

abstract PagedIterable<DevCenter> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists all devcenters in a resource group.

Method Details

define

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

Begins definition for a new DevCenter resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DevCenter definition.

delete

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

Deletes a devcenter.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Deletes a devcenter.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a devcenter.

Parameters:

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

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String devCenterName)

Deletes a devcenter.

Parameters:

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

getById

public abstract DevCenter getById(String id)

Gets a devcenter.

Parameters:

id - the resource ID.

Returns:

a devcenter along with Response<T>.

getByIdWithResponse

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

Gets a devcenter.

Parameters:

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

Returns:

a devcenter along with Response<T>.

getByResourceGroup

public abstract DevCenter getByResourceGroup(String resourceGroupName, String devCenterName)

Gets a devcenter.

Parameters:

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

Returns:

a devcenter.

getByResourceGroupWithResponse

public abstract Response<DevCenter> getByResourceGroupWithResponse(String resourceGroupName, String devCenterName, Context context)

Gets a devcenter.

Parameters:

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

Returns:

a devcenter along with Response<T>.

list

public abstract PagedIterable<DevCenter> list()

Lists all devcenters in a subscription.

Returns:

result of the list devcenters operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<DevCenter> list(Integer top, Context context)

Lists all devcenters in a subscription.

Parameters:

top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

result of the list devcenters operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DevCenter> listByResourceGroup(String resourceGroupName)

Lists all devcenters in a resource group.

Parameters:

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

Returns:

result of the list devcenters operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DevCenter> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists all devcenters in a resource group.

Parameters:

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

Returns:

result of the list devcenters operation as paginated response with PagedIterable<T>.

Applies to