SharedLimitsClient Interface

public interface SharedLimitsClient

An instance of this class provides access to all the operations defined in SharedLimitsClient.

Method Summary

Modifier and Type Method and Description
abstract SharedLimitInner create(String location, String name, SharedLimitInner resource)

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

abstract Response<SharedLimitInner> createWithResponse(String location, String name, SharedLimitInner resource, Context context)

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

abstract void delete(String location, String name)

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

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

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

abstract SharedLimitInner get(String location, String name)

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

abstract Response<SharedLimitInner> 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<SharedLimitInner> listBySubscriptionLocationResource(String location)

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

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

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

Method Details

create

public abstract SharedLimitInner create(String location, String name, SharedLimitInner resource)

Enables 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.
resource - Resource create parameters.

Returns:

compute limits shared by the subscription.

createWithResponse

public abstract Response<SharedLimitInner> createWithResponse(String location, String name, SharedLimitInner resource, Context context)

Enables 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.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

compute limits shared by the subscription along with Response<T>.

delete

public abstract void delete(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.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(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 SharedLimitInner 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.

getWithResponse

public abstract Response<SharedLimitInner> 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<SharedLimitInner> 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<SharedLimitInner> 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