CreditsOperations interface

Interface representing a Credits operations.

Properties

beginCancel
beginCancelAndWait
beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
cancel

Cancels a credit.

create

Create a credit.

delete

Delete a credit.

get

Get a credit.

listApplicable

List applicable credits for the provided scope. Currently supported scopes: BillingAccountResourceId

listByResourceGroup

List Credits under a resource group from primary service admin.

listBySubscription

List credits under a subscription from primary service tenant.

update

Update a credit.

Property Details

beginCancel

Warning

This API is now deprecated.

use cancel instead

beginCancel: (resourceGroupName: string, creditName: string, options?: CreditsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<Credit>, Credit>>

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<Credit>, Credit>>

beginCancelAndWait

Warning

This API is now deprecated.

use cancel instead

beginCancelAndWait: (resourceGroupName: string, creditName: string, options?: CreditsCancelOptionalParams) => Promise<Credit>

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsCancelOptionalParams) => Promise<Credit>

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, creditName: string, body: Credit, options?: CreditsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Credit>, Credit>>

Property Value

(resourceGroupName: string, creditName: string, body: Credit, options?: CreditsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Credit>, Credit>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, creditName: string, body: Credit, options?: CreditsCreateOptionalParams) => Promise<Credit>

Property Value

(resourceGroupName: string, creditName: string, body: Credit, options?: CreditsCreateOptionalParams) => Promise<Credit>

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, creditName: string, options?: CreditsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, creditName: string, body: CreditPatchRequest, options?: CreditsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Credit>, Credit>>

Property Value

(resourceGroupName: string, creditName: string, body: CreditPatchRequest, options?: CreditsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Credit>, Credit>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, creditName: string, body: CreditPatchRequest, options?: CreditsUpdateOptionalParams) => Promise<Credit>

Property Value

(resourceGroupName: string, creditName: string, body: CreditPatchRequest, options?: CreditsUpdateOptionalParams) => Promise<Credit>

cancel

Cancels a credit.

cancel: (resourceGroupName: string, creditName: string, options?: CreditsCancelOptionalParams) => PollerLike<OperationState<Credit>, Credit>

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsCancelOptionalParams) => PollerLike<OperationState<Credit>, Credit>

create

Create a credit.

create: (resourceGroupName: string, creditName: string, body: Credit, options?: CreditsCreateOptionalParams) => PollerLike<OperationState<Credit>, Credit>

Property Value

(resourceGroupName: string, creditName: string, body: Credit, options?: CreditsCreateOptionalParams) => PollerLike<OperationState<Credit>, Credit>

delete

Delete a credit.

delete: (resourceGroupName: string, creditName: string, options?: CreditsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a credit.

get: (resourceGroupName: string, creditName: string, options?: CreditsGetOptionalParams) => Promise<Credit>

Property Value

(resourceGroupName: string, creditName: string, options?: CreditsGetOptionalParams) => Promise<Credit>

listApplicable

List applicable credits for the provided scope. Currently supported scopes: BillingAccountResourceId

listApplicable: (scope: string, options?: CreditsListApplicableOptionalParams) => PagedAsyncIterableIterator<Credit, Credit[], PageSettings>

Property Value

(scope: string, options?: CreditsListApplicableOptionalParams) => PagedAsyncIterableIterator<Credit, Credit[], PageSettings>

listByResourceGroup

List Credits under a resource group from primary service admin.

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

Property Value

(resourceGroupName: string, options?: CreditsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Credit, Credit[], PageSettings>

listBySubscription

List credits under a subscription from primary service tenant.

listBySubscription: (options?: CreditsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Credit, Credit[], PageSettings>

Property Value

(options?: CreditsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Credit, Credit[], PageSettings>

update

Update a credit.

update: (resourceGroupName: string, creditName: string, body: CreditPatchRequest, options?: CreditsUpdateOptionalParams) => PollerLike<OperationState<Credit>, Credit>

Property Value

(resourceGroupName: string, creditName: string, body: CreditPatchRequest, options?: CreditsUpdateOptionalParams) => PollerLike<OperationState<Credit>, Credit>