SharedLimits Interface

public interface SharedLimits

Resource collection API of SharedLimits.

Method Summary

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

Begins definition for a new SharedLimit resource.

abstract void deleteById(String id)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

abstract void deleteByResourceGroup(String location, String name)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

abstract Response<Void> deleteByResourceGroupWithResponse(String location, String name, Context context)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

abstract SharedLimit get(String location, String name)

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

abstract SharedLimit getById(String id)

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

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

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

abstract Response<SharedLimit> getWithResponse(String location, String name, Context context)

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

abstract PagedIterable<SharedLimit> listBySubscriptionLocationResource(String location)

Lists all compute limits shared by the host subscription with its guest subscriptions.

abstract PagedIterable<SharedLimit> listBySubscriptionLocationResource(String location, Context context)

Lists all compute limits shared by the host subscription with its guest subscriptions.

Method Details

define

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

Begins definition for a new SharedLimit resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SharedLimit definition.

deleteById

public abstract void deleteById(String id)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

Parameters:

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

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String location, String name)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

Parameters:

location - The name of the Azure region.
name - The name of the SharedLimit.

deleteByResourceGroupWithResponse

public abstract Response<Void> deleteByResourceGroupWithResponse(String location, String name, Context context)

Disables sharing of a compute limit by the host subscription with its guest subscriptions.

Parameters:

location - The name of the Azure region.
name - The name of the SharedLimit.
context - The context to associate with this operation.

Returns:

get

public abstract SharedLimit get(String location, String name)

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

Parameters:

location - The name of the Azure region.
name - The name of the SharedLimit.

Returns:

the properties of a compute limit shared by the host subscription with its guest subscriptions.

getById

public abstract SharedLimit getById(String id)

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

Parameters:

id - the resource ID.

Returns:

the properties of a compute limit shared by the host subscription with its guest subscriptions along with Response<T>.

getByIdWithResponse

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

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

Parameters:

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

Returns:

the properties of a compute limit shared by the host subscription with its guest subscriptions along with Response<T>.

getWithResponse

public abstract Response<SharedLimit> getWithResponse(String location, String name, Context context)

Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.

Parameters:

location - The name of the Azure region.
name - The name of the SharedLimit.
context - The context to associate with this operation.

Returns:

the properties of a compute limit shared by the host subscription with its guest subscriptions along with Response<T>.

listBySubscriptionLocationResource

public abstract PagedIterable<SharedLimit> listBySubscriptionLocationResource(String location)

Lists all compute limits shared by the host subscription with its guest subscriptions.

Parameters:

location - The name of the Azure region.

Returns:

the response of a SharedLimit list operation as paginated response with PagedIterable<T>.

listBySubscriptionLocationResource

public abstract PagedIterable<SharedLimit> listBySubscriptionLocationResource(String location, Context context)

Lists all compute limits shared by the host subscription with its guest subscriptions.

Parameters:

location - The name of the Azure region.
context - The context to associate with this operation.

Returns:

the response of a SharedLimit list operation as paginated response with PagedIterable<T>.

Applies to