GroupQuotaSubscriptionsClient Interface

public interface GroupQuotaSubscriptionsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName)

Adds a subscription to GroupQuotas.

abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, Context context)

Adds a subscription to GroupQuotas.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName)

Removes the subscription from GroupQuotas.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName, Context context)

Removes the subscription from GroupQuotas.

abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginUpdate(String managementGroupId, String groupQuotaName)

Updates the GroupQuotas with the subscription to add to the subscriptions list.

abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginUpdate(String managementGroupId, String groupQuotaName, Context context)

Updates the GroupQuotas with the subscription to add to the subscriptions list.

abstract GroupQuotaSubscriptionIdInner createOrUpdate(String managementGroupId, String groupQuotaName)

Adds a subscription to GroupQuotas.

abstract GroupQuotaSubscriptionIdInner createOrUpdate(String managementGroupId, String groupQuotaName, Context context)

Adds a subscription to GroupQuotas.

abstract void delete(String managementGroupId, String groupQuotaName)

Removes the subscription from GroupQuotas.

abstract void delete(String managementGroupId, String groupQuotaName, Context context)

Removes the subscription from GroupQuotas.

abstract GroupQuotaSubscriptionIdInner get(String managementGroupId, String groupQuotaName)

Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota.

abstract Response<GroupQuotaSubscriptionIdInner> getWithResponse(String managementGroupId, String groupQuotaName, Context context)

Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota.

abstract PagedIterable<GroupQuotaSubscriptionIdInner> list(String managementGroupId, String groupQuotaName)

Returns a list of the subscriptionIds associated with the GroupQuotas.

abstract PagedIterable<GroupQuotaSubscriptionIdInner> list(String managementGroupId, String groupQuotaName, Context context)

Returns a list of the subscriptionIds associated with the GroupQuotas.

abstract GroupQuotaSubscriptionIdInner update(String managementGroupId, String groupQuotaName)

Updates the GroupQuotas with the subscription to add to the subscriptions list.

abstract GroupQuotaSubscriptionIdInner update(String managementGroupId, String groupQuotaName, Context context)

Updates the GroupQuotas with the subscription to add to the subscriptions list.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName)

Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the SyncPoller<T,U> for polling of this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, Context context)

Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName)

Removes the subscription from GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName, Context context)

Removes the subscription from GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginUpdate(String managementGroupId, String groupQuotaName)

Updates the GroupQuotas with the subscription to add to the subscriptions list. The subscriptions will be validated if additionalAttributes are defined in the GroupQuota. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the SyncPoller<T,U> for polling of this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

beginUpdate

public abstract SyncPoller<PollResult<GroupQuotaSubscriptionIdInner>,GroupQuotaSubscriptionIdInner> beginUpdate(String managementGroupId, String groupQuotaName, Context context)

Updates the GroupQuotas with the subscription to add to the subscriptions list. The subscriptions will be validated if additionalAttributes are defined in the GroupQuota. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

createOrUpdate

public abstract GroupQuotaSubscriptionIdInner createOrUpdate(String managementGroupId, String groupQuotaName)

Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

createOrUpdate

public abstract GroupQuotaSubscriptionIdInner createOrUpdate(String managementGroupId, String groupQuotaName, Context context)

Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

delete

public abstract void delete(String managementGroupId, String groupQuotaName)

Removes the subscription from GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

delete

public abstract void delete(String managementGroupId, String groupQuotaName, Context context)

Removes the subscription from GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

get

public abstract GroupQuotaSubscriptionIdInner get(String managementGroupId, String groupQuotaName)

Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota. If the subscription is not a member of GroupQuota, it will return 404, else 200.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

getWithResponse

public abstract Response<GroupQuotaSubscriptionIdInner> getWithResponse(String managementGroupId, String groupQuotaName, Context context)

Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota. If the subscription is not a member of GroupQuota, it will return 404, else 200.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

this represents a Azure subscriptionId that is associated with a GroupQuotasEntity along with Response<T>.

list

public abstract PagedIterable<GroupQuotaSubscriptionIdInner> list(String managementGroupId, String groupQuotaName)

Returns a list of the subscriptionIds associated with the GroupQuotas.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

list of GroupQuotaSubscriptionIds as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<GroupQuotaSubscriptionIdInner> list(String managementGroupId, String groupQuotaName, Context context)

Returns a list of the subscriptionIds associated with the GroupQuotas.

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

list of GroupQuotaSubscriptionIds as paginated response with PagedIterable<T>.

update

public abstract GroupQuotaSubscriptionIdInner update(String managementGroupId, String groupQuotaName)

Updates the GroupQuotas with the subscription to add to the subscriptions list. The subscriptions will be validated if additionalAttributes are defined in the GroupQuota. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

update

public abstract GroupQuotaSubscriptionIdInner update(String managementGroupId, String groupQuotaName, Context context)

Updates the GroupQuotas with the subscription to add to the subscriptions list. The subscriptions will be validated if additionalAttributes are defined in the GroupQuota. The request's TenantId is validated against the subscription's TenantId.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

this represents a Azure subscriptionId that is associated with a GroupQuotasEntity.

Applies to