DiscountsOperations interface
Interface representing a Discounts operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| cancel | Cancel discount. Stops applying the benefit. |
| create | Create discount. |
| delete | Delete discount. Clears the metadata from the user's view. |
| resource |
List discounts at resource group level |
| scope |
List discounts that are applicable for a given scope. Currently supported scopes: billing accounts |
| subscription |
List discounts at subscription level |
Property Details
beginCancel
Warning
This API is now deprecated.
use cancel instead
beginCancel: (resourceGroupName: string, discountName: string, options?: DiscountsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<Discount>, Discount>>
Property Value
(resourceGroupName: string, discountName: string, options?: DiscountsCancelOptionalParams) => Promise<SimplePollerLike<OperationState<Discount>, Discount>>
beginCancelAndWait
Warning
This API is now deprecated.
use cancel instead
beginCancelAndWait: (resourceGroupName: string, discountName: string, options?: DiscountsCancelOptionalParams) => Promise<Discount>
Property Value
(resourceGroupName: string, discountName: string, options?: DiscountsCancelOptionalParams) => Promise<Discount>
beginCreate
Warning
This API is now deprecated.
use create instead
beginCreate: (resourceGroupName: string, discountName: string, body: Discount, options?: DiscountsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Discount>, Discount>>
Property Value
(resourceGroupName: string, discountName: string, body: Discount, options?: DiscountsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Discount>, Discount>>
beginCreateAndWait
Warning
This API is now deprecated.
use create instead
beginCreateAndWait: (resourceGroupName: string, discountName: string, body: Discount, options?: DiscountsCreateOptionalParams) => Promise<Discount>
Property Value
(resourceGroupName: string, discountName: string, body: Discount, options?: DiscountsCreateOptionalParams) => Promise<Discount>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, discountName: string, options?: DiscountsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, discountName: string, options?: DiscountsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, discountName: string, options?: DiscountsDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, discountName: string, options?: DiscountsDeleteOptionalParams) => Promise<void>
cancel
Cancel discount. Stops applying the benefit.
cancel: (resourceGroupName: string, discountName: string, options?: DiscountsCancelOptionalParams) => PollerLike<OperationState<Discount>, Discount>
Property Value
(resourceGroupName: string, discountName: string, options?: DiscountsCancelOptionalParams) => PollerLike<OperationState<Discount>, Discount>
create
Create discount.
create: (resourceGroupName: string, discountName: string, body: Discount, options?: DiscountsCreateOptionalParams) => PollerLike<OperationState<Discount>, Discount>
Property Value
(resourceGroupName: string, discountName: string, body: Discount, options?: DiscountsCreateOptionalParams) => PollerLike<OperationState<Discount>, Discount>
delete
Delete discount. Clears the metadata from the user's view.
delete: (resourceGroupName: string, discountName: string, options?: DiscountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, discountName: string, options?: DiscountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
resourceGroupList
List discounts at resource group level
resourceGroupList: (resourceGroupName: string, options?: DiscountsResourceGroupListOptionalParams) => PagedAsyncIterableIterator<Discount, Discount[], PageSettings>
Property Value
(resourceGroupName: string, options?: DiscountsResourceGroupListOptionalParams) => PagedAsyncIterableIterator<Discount, Discount[], PageSettings>
scopeList
List discounts that are applicable for a given scope. Currently supported scopes: billing accounts
scopeList: (scope: string, options?: DiscountsScopeListOptionalParams) => PagedAsyncIterableIterator<Discount, Discount[], PageSettings>
Property Value
(scope: string, options?: DiscountsScopeListOptionalParams) => PagedAsyncIterableIterator<Discount, Discount[], PageSettings>
subscriptionList
List discounts at subscription level
subscriptionList: (options?: DiscountsSubscriptionListOptionalParams) => PagedAsyncIterableIterator<Discount, Discount[], PageSettings>
Property Value
(options?: DiscountsSubscriptionListOptionalParams) => PagedAsyncIterableIterator<Discount, Discount[], PageSettings>