MaccsOperations interface

Interface representing a Maccs operations.

Properties

beginCancel
beginCancelAndWait
beginChargeShortfall
beginChargeShortfallAndWait
beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
beginWriteOff
beginWriteOffAndWait
cancel

Represents an operation to cancel MACC contract. This operation does not indicate deletion of the MACC, but rather stops applying the benefit to the account.

chargeShortfall

Operation to charge shortfall to a customer's account, ensuring they are charged for the outstanding amount of MACC credit.

create

Create MACC.

delete

Delete MACC.

get

Get a MACC.

listByResourceGroup

List MACCs under a resource group for primary service admin.

listBySubscription

List MACCs under a subscription from primary service tenant.

update

Update MACC.

writeOff

Operation to waive a customer's pending MACC balance (Shortfall) from their account, ensuring they are not charged for the outstanding amount.

Property Details

beginCancel

Warning

This API is now deprecated.

use cancel instead

beginCancel: (resourceGroupName: string, maccName: string, options?: MaccsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

beginCancelAndWait

Warning

This API is now deprecated.

use cancel instead

beginCancelAndWait: (resourceGroupName: string, maccName: string, options?: MaccsCancelOptionalParams) => Promise<Macc>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsCancelOptionalParams) => Promise<Macc>

beginChargeShortfall

Warning

This API is now deprecated.

use chargeShortfall instead

beginChargeShortfall: (resourceGroupName: string, maccName: string, body: ChargeShortfallRequest, options?: MaccsChargeShortfallOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

Property Value

(resourceGroupName: string, maccName: string, body: ChargeShortfallRequest, options?: MaccsChargeShortfallOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

beginChargeShortfallAndWait

Warning

This API is now deprecated.

use chargeShortfall instead

beginChargeShortfallAndWait: (resourceGroupName: string, maccName: string, body: ChargeShortfallRequest, options?: MaccsChargeShortfallOptionalParams) => Promise<Macc>

Property Value

(resourceGroupName: string, maccName: string, body: ChargeShortfallRequest, options?: MaccsChargeShortfallOptionalParams) => Promise<Macc>

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, maccName: string, body: Macc, options?: MaccsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

Property Value

(resourceGroupName: string, maccName: string, body: Macc, options?: MaccsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, maccName: string, body: Macc, options?: MaccsCreateOptionalParams) => Promise<Macc>

Property Value

(resourceGroupName: string, maccName: string, body: Macc, options?: MaccsCreateOptionalParams) => Promise<Macc>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, maccName: string, options?: MaccsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, maccName: string, options?: MaccsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, maccName: string, body: MaccPatchRequest, options?: MaccsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

Property Value

(resourceGroupName: string, maccName: string, body: MaccPatchRequest, options?: MaccsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, maccName: string, body: MaccPatchRequest, options?: MaccsUpdateOptionalParams) => Promise<Macc>

Property Value

(resourceGroupName: string, maccName: string, body: MaccPatchRequest, options?: MaccsUpdateOptionalParams) => Promise<Macc>

beginWriteOff

Warning

This API is now deprecated.

use writeOff instead

beginWriteOff: (resourceGroupName: string, maccName: string, options?: MaccsWriteOffOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsWriteOffOptionalParams) => Promise<SimplePollerLike<OperationState<Macc>, Macc>>

beginWriteOffAndWait

Warning

This API is now deprecated.

use writeOff instead

beginWriteOffAndWait: (resourceGroupName: string, maccName: string, options?: MaccsWriteOffOptionalParams) => Promise<Macc>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsWriteOffOptionalParams) => Promise<Macc>

cancel

Represents an operation to cancel MACC contract. This operation does not indicate deletion of the MACC, but rather stops applying the benefit to the account.

cancel: (resourceGroupName: string, maccName: string, options?: MaccsCancelOptionalParams) => PollerLike<OperationState<Macc>, Macc>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsCancelOptionalParams) => PollerLike<OperationState<Macc>, Macc>

chargeShortfall

Operation to charge shortfall to a customer's account, ensuring they are charged for the outstanding amount of MACC credit.

chargeShortfall: (resourceGroupName: string, maccName: string, body: ChargeShortfallRequest, options?: MaccsChargeShortfallOptionalParams) => PollerLike<OperationState<Macc>, Macc>

Property Value

(resourceGroupName: string, maccName: string, body: ChargeShortfallRequest, options?: MaccsChargeShortfallOptionalParams) => PollerLike<OperationState<Macc>, Macc>

create

Create MACC.

create: (resourceGroupName: string, maccName: string, body: Macc, options?: MaccsCreateOptionalParams) => PollerLike<OperationState<Macc>, Macc>

Property Value

(resourceGroupName: string, maccName: string, body: Macc, options?: MaccsCreateOptionalParams) => PollerLike<OperationState<Macc>, Macc>

delete

Delete MACC.

delete: (resourceGroupName: string, maccName: string, options?: MaccsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a MACC.

get: (resourceGroupName: string, maccName: string, options?: MaccsGetOptionalParams) => Promise<Macc>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsGetOptionalParams) => Promise<Macc>

listByResourceGroup

List MACCs under a resource group for primary service admin.

listByResourceGroup: (resourceGroupName: string, options?: MaccsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Macc, Macc[], PageSettings>

Property Value

(resourceGroupName: string, options?: MaccsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Macc, Macc[], PageSettings>

listBySubscription

List MACCs under a subscription from primary service tenant.

listBySubscription: (options?: MaccsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Macc, Macc[], PageSettings>

Property Value

(options?: MaccsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Macc, Macc[], PageSettings>

update

Update MACC.

update: (resourceGroupName: string, maccName: string, body: MaccPatchRequest, options?: MaccsUpdateOptionalParams) => PollerLike<OperationState<Macc>, Macc>

Property Value

(resourceGroupName: string, maccName: string, body: MaccPatchRequest, options?: MaccsUpdateOptionalParams) => PollerLike<OperationState<Macc>, Macc>

writeOff

Operation to waive a customer's pending MACC balance (Shortfall) from their account, ensuring they are not charged for the outstanding amount.

writeOff: (resourceGroupName: string, maccName: string, options?: MaccsWriteOffOptionalParams) => PollerLike<OperationState<Macc>, Macc>

Property Value

(resourceGroupName: string, maccName: string, options?: MaccsWriteOffOptionalParams) => PollerLike<OperationState<Macc>, Macc>