PoliciesOperations interface
Interface representing a Policies operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Update the policies for a billing account of Enterprise Agreement type. |
| create |
Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
| create |
Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
| create |
Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
| get |
Get the policies for a billing account of Enterprise Agreement type. |
| get |
Lists the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
| get |
Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
| get |
Lists the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
| get |
Lists the policies that are managed by the Billing Admin for the defined subscriptions. This is supported for Microsoft Online Services Program, Microsoft Customer Agreement and Microsoft Partner Agreement. |
Property Details
beginCreateOrUpdateByBillingAccount
Warning
This API is now deprecated.
use createOrUpdateByBillingAccount instead
beginCreateOrUpdateByBillingAccount: (billingAccountName: string, parameters: BillingAccountPolicy, options?: PoliciesCreateOrUpdateByBillingAccountOptionalParams) => Promise<SimplePollerLike<OperationState<BillingAccountPolicy>, BillingAccountPolicy>>
Property Value
(billingAccountName: string, parameters: BillingAccountPolicy, options?: PoliciesCreateOrUpdateByBillingAccountOptionalParams) => Promise<SimplePollerLike<OperationState<BillingAccountPolicy>, BillingAccountPolicy>>
beginCreateOrUpdateByBillingAccountAndWait
Warning
This API is now deprecated.
use createOrUpdateByBillingAccount instead
beginCreateOrUpdateByBillingAccountAndWait: (billingAccountName: string, parameters: BillingAccountPolicy, options?: PoliciesCreateOrUpdateByBillingAccountOptionalParams) => Promise<BillingAccountPolicy>
Property Value
(billingAccountName: string, parameters: BillingAccountPolicy, options?: PoliciesCreateOrUpdateByBillingAccountOptionalParams) => Promise<BillingAccountPolicy>
beginCreateOrUpdateByBillingProfile
Warning
This API is now deprecated.
use createOrUpdateByBillingProfile instead
beginCreateOrUpdateByBillingProfile: (billingAccountName: string, billingProfileName: string, parameters: BillingProfilePolicy, options?: PoliciesCreateOrUpdateByBillingProfileOptionalParams) => Promise<SimplePollerLike<OperationState<BillingProfilePolicy>, BillingProfilePolicy>>
Property Value
(billingAccountName: string, billingProfileName: string, parameters: BillingProfilePolicy, options?: PoliciesCreateOrUpdateByBillingProfileOptionalParams) => Promise<SimplePollerLike<OperationState<BillingProfilePolicy>, BillingProfilePolicy>>
beginCreateOrUpdateByBillingProfileAndWait
Warning
This API is now deprecated.
use createOrUpdateByBillingProfile instead
beginCreateOrUpdateByBillingProfileAndWait: (billingAccountName: string, billingProfileName: string, parameters: BillingProfilePolicy, options?: PoliciesCreateOrUpdateByBillingProfileOptionalParams) => Promise<BillingProfilePolicy>
Property Value
(billingAccountName: string, billingProfileName: string, parameters: BillingProfilePolicy, options?: PoliciesCreateOrUpdateByBillingProfileOptionalParams) => Promise<BillingProfilePolicy>
beginCreateOrUpdateByCustomer
Warning
This API is now deprecated.
use createOrUpdateByCustomer instead
beginCreateOrUpdateByCustomer: (billingAccountName: string, billingProfileName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerOptionalParams) => Promise<SimplePollerLike<OperationState<CustomerPolicy>, CustomerPolicy>>
Property Value
(billingAccountName: string, billingProfileName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerOptionalParams) => Promise<SimplePollerLike<OperationState<CustomerPolicy>, CustomerPolicy>>
beginCreateOrUpdateByCustomerAndWait
Warning
This API is now deprecated.
use createOrUpdateByCustomer instead
beginCreateOrUpdateByCustomerAndWait: (billingAccountName: string, billingProfileName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerOptionalParams) => Promise<CustomerPolicy>
Property Value
(billingAccountName: string, billingProfileName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerOptionalParams) => Promise<CustomerPolicy>
beginCreateOrUpdateByCustomerAtBillingAccount
Warning
This API is now deprecated.
use createOrUpdateByCustomerAtBillingAccount instead
beginCreateOrUpdateByCustomerAtBillingAccount: (billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerAtBillingAccountOptionalParams) => Promise<SimplePollerLike<OperationState<CustomerPolicy>, CustomerPolicy>>
Property Value
(billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerAtBillingAccountOptionalParams) => Promise<SimplePollerLike<OperationState<CustomerPolicy>, CustomerPolicy>>
beginCreateOrUpdateByCustomerAtBillingAccountAndWait
Warning
This API is now deprecated.
use createOrUpdateByCustomerAtBillingAccount instead
beginCreateOrUpdateByCustomerAtBillingAccountAndWait: (billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerAtBillingAccountOptionalParams) => Promise<CustomerPolicy>
Property Value
(billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerAtBillingAccountOptionalParams) => Promise<CustomerPolicy>
createOrUpdateByBillingAccount
Update the policies for a billing account of Enterprise Agreement type.
createOrUpdateByBillingAccount: (billingAccountName: string, parameters: BillingAccountPolicy, options?: PoliciesCreateOrUpdateByBillingAccountOptionalParams) => PollerLike<OperationState<BillingAccountPolicy>, BillingAccountPolicy>
Property Value
(billingAccountName: string, parameters: BillingAccountPolicy, options?: PoliciesCreateOrUpdateByBillingAccountOptionalParams) => PollerLike<OperationState<BillingAccountPolicy>, BillingAccountPolicy>
createOrUpdateByBillingProfile
Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
createOrUpdateByBillingProfile: (billingAccountName: string, billingProfileName: string, parameters: BillingProfilePolicy, options?: PoliciesCreateOrUpdateByBillingProfileOptionalParams) => PollerLike<OperationState<BillingProfilePolicy>, BillingProfilePolicy>
Property Value
(billingAccountName: string, billingProfileName: string, parameters: BillingProfilePolicy, options?: PoliciesCreateOrUpdateByBillingProfileOptionalParams) => PollerLike<OperationState<BillingProfilePolicy>, BillingProfilePolicy>
createOrUpdateByCustomer
Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
createOrUpdateByCustomer: (billingAccountName: string, billingProfileName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerOptionalParams) => PollerLike<OperationState<CustomerPolicy>, CustomerPolicy>
Property Value
(billingAccountName: string, billingProfileName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerOptionalParams) => PollerLike<OperationState<CustomerPolicy>, CustomerPolicy>
createOrUpdateByCustomerAtBillingAccount
Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
createOrUpdateByCustomerAtBillingAccount: (billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerAtBillingAccountOptionalParams) => PollerLike<OperationState<CustomerPolicy>, CustomerPolicy>
Property Value
(billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesCreateOrUpdateByCustomerAtBillingAccountOptionalParams) => PollerLike<OperationState<CustomerPolicy>, CustomerPolicy>
getByBillingAccount
Get the policies for a billing account of Enterprise Agreement type.
getByBillingAccount: (billingAccountName: string, options?: PoliciesGetByBillingAccountOptionalParams) => Promise<BillingAccountPolicy>
Property Value
(billingAccountName: string, options?: PoliciesGetByBillingAccountOptionalParams) => Promise<BillingAccountPolicy>
getByBillingProfile
Lists the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
getByBillingProfile: (billingAccountName: string, billingProfileName: string, options?: PoliciesGetByBillingProfileOptionalParams) => Promise<BillingProfilePolicy>
Property Value
(billingAccountName: string, billingProfileName: string, options?: PoliciesGetByBillingProfileOptionalParams) => Promise<BillingProfilePolicy>
getByCustomer
Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
getByCustomer: (billingAccountName: string, billingProfileName: string, customerName: string, policyName: string, options?: PoliciesGetByCustomerOptionalParams) => Promise<CustomerPolicy>
Property Value
(billingAccountName: string, billingProfileName: string, customerName: string, policyName: string, options?: PoliciesGetByCustomerOptionalParams) => Promise<CustomerPolicy>
getByCustomerAtBillingAccount
Lists the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
getByCustomerAtBillingAccount: (billingAccountName: string, customerName: string, options?: PoliciesGetByCustomerAtBillingAccountOptionalParams) => Promise<CustomerPolicy>
Property Value
(billingAccountName: string, customerName: string, options?: PoliciesGetByCustomerAtBillingAccountOptionalParams) => Promise<CustomerPolicy>
getBySubscription
Lists the policies that are managed by the Billing Admin for the defined subscriptions. This is supported for Microsoft Online Services Program, Microsoft Customer Agreement and Microsoft Partner Agreement.
getBySubscription: (options?: PoliciesGetBySubscriptionOptionalParams) => Promise<SubscriptionPolicy>
Property Value
(options?: PoliciesGetBySubscriptionOptionalParams) => Promise<SubscriptionPolicy>