InvoiceSectionsOperations interface
Interface representing a InvoiceSections operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
| delete | Deletes an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement. |
| get | Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
| list |
Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
| validate |
Validates if the invoice section can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement. |
Property Details
beginCreateOrUpdate
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdate: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<InvoiceSection>, InvoiceSection>>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<InvoiceSection>, InvoiceSection>>
beginCreateOrUpdateAndWait
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams) => Promise<InvoiceSection>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams) => Promise<InvoiceSection>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams) => Promise<void>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams) => Promise<void>
createOrUpdate
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
createOrUpdate: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams) => PollerLike<OperationState<InvoiceSection>, InvoiceSection>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams) => PollerLike<OperationState<InvoiceSection>, InvoiceSection>
delete
Deletes an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
delete: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
get: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsGetOptionalParams) => Promise<InvoiceSection>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsGetOptionalParams) => Promise<InvoiceSection>
listByBillingProfile
Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
listByBillingProfile: (billingAccountName: string, billingProfileName: string, options?: InvoiceSectionsListByBillingProfileOptionalParams) => PagedAsyncIterableIterator<InvoiceSection, InvoiceSection[], PageSettings>
Property Value
(billingAccountName: string, billingProfileName: string, options?: InvoiceSectionsListByBillingProfileOptionalParams) => PagedAsyncIterableIterator<InvoiceSection, InvoiceSection[], PageSettings>
validateDeleteEligibility
Validates if the invoice section can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
validateDeleteEligibility: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsValidateDeleteEligibilityOptionalParams) => Promise<DeleteInvoiceSectionEligibilityResult>
Property Value
(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsValidateDeleteEligibilityOptionalParams) => Promise<DeleteInvoiceSectionEligibilityResult>