PoliciesClient Interface
public interface PoliciesClient
An instance of this class provides access to all the operations defined in PoliciesClient.
Method Summary
Method Details
beginCreateOrUpdateByBillingAccount
public abstract SyncPoller<PollResult<BillingAccountPolicyInner>,BillingAccountPolicyInner> beginCreateOrUpdateByBillingAccount(String billingAccountName, BillingAccountPolicyInner parameters)
Update the policies for a billing account of Enterprise Agreement type.
Parameters:
Returns:
beginCreateOrUpdateByBillingAccount
public abstract SyncPoller<PollResult<BillingAccountPolicyInner>,BillingAccountPolicyInner> beginCreateOrUpdateByBillingAccount(String billingAccountName, BillingAccountPolicyInner parameters, Context context)
Update the policies for a billing account of Enterprise Agreement type.
Parameters:
Returns:
beginCreateOrUpdateByBillingProfile
public abstract SyncPoller<PollResult<BillingProfilePolicyInner>,BillingProfilePolicyInner> beginCreateOrUpdateByBillingProfile(String billingAccountName, String billingProfileName, BillingProfilePolicyInner parameters)
Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
beginCreateOrUpdateByBillingProfile
public abstract SyncPoller<PollResult<BillingProfilePolicyInner>,BillingProfilePolicyInner> beginCreateOrUpdateByBillingProfile(String billingAccountName, String billingProfileName, BillingProfilePolicyInner parameters, Context context)
Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
beginCreateOrUpdateByCustomer
public abstract SyncPoller<PollResult<CustomerPolicyInner>,CustomerPolicyInner> beginCreateOrUpdateByCustomer(String billingAccountName, String billingProfileName, String customerName, CustomerPolicyInner parameters)
Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
beginCreateOrUpdateByCustomer
public abstract SyncPoller<PollResult<CustomerPolicyInner>,CustomerPolicyInner> beginCreateOrUpdateByCustomer(String billingAccountName, String billingProfileName, String customerName, CustomerPolicyInner parameters, Context context)
Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
beginCreateOrUpdateByCustomerAtBillingAccount
public abstract SyncPoller<PollResult<CustomerPolicyInner>,CustomerPolicyInner> beginCreateOrUpdateByCustomerAtBillingAccount(String billingAccountName, String customerName, CustomerPolicyInner parameters)
Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
beginCreateOrUpdateByCustomerAtBillingAccount
public abstract SyncPoller<PollResult<CustomerPolicyInner>,CustomerPolicyInner> beginCreateOrUpdateByCustomerAtBillingAccount(String billingAccountName, String customerName, CustomerPolicyInner parameters, Context context)
Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
createOrUpdateByBillingAccount
public abstract BillingAccountPolicyInner createOrUpdateByBillingAccount(String billingAccountName, BillingAccountPolicyInner parameters)
Update the policies for a billing account of Enterprise Agreement type.
Parameters:
Returns:
createOrUpdateByBillingAccount
public abstract BillingAccountPolicyInner createOrUpdateByBillingAccount(String billingAccountName, BillingAccountPolicyInner parameters, Context context)
Update the policies for a billing account of Enterprise Agreement type.
Parameters:
Returns:
createOrUpdateByBillingProfile
public abstract BillingProfilePolicyInner createOrUpdateByBillingProfile(String billingAccountName, String billingProfileName, BillingProfilePolicyInner parameters)
Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
createOrUpdateByBillingProfile
public abstract BillingProfilePolicyInner createOrUpdateByBillingProfile(String billingAccountName, String billingProfileName, BillingProfilePolicyInner parameters, Context context)
Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
createOrUpdateByCustomer
public abstract CustomerPolicyInner createOrUpdateByCustomer(String billingAccountName, String billingProfileName, String customerName, CustomerPolicyInner parameters)
Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
createOrUpdateByCustomer
public abstract CustomerPolicyInner createOrUpdateByCustomer(String billingAccountName, String billingProfileName, String customerName, CustomerPolicyInner parameters, Context context)
Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
createOrUpdateByCustomerAtBillingAccount
public abstract CustomerPolicyInner createOrUpdateByCustomerAtBillingAccount(String billingAccountName, String customerName, CustomerPolicyInner parameters)
Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
createOrUpdateByCustomerAtBillingAccount
public abstract CustomerPolicyInner createOrUpdateByCustomerAtBillingAccount(String billingAccountName, String customerName, CustomerPolicyInner parameters, Context context)
Updates the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
getByBillingAccount
public abstract BillingAccountPolicyInner getByBillingAccount(String billingAccountName)
Get the policies for a billing account of Enterprise Agreement type.
Parameters:
Returns:
getByBillingAccountWithResponse
public abstract Response<BillingAccountPolicyInner> getByBillingAccountWithResponse(String billingAccountName, Context context)
Get the policies for a billing account of Enterprise Agreement type.
Parameters:
Returns:
getByBillingProfile
public abstract BillingProfilePolicyInner getByBillingProfile(String billingAccountName, String billingProfileName)
Lists the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
getByBillingProfileWithResponse
public abstract Response<BillingProfilePolicyInner> getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, Context context)
Lists the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
getByCustomer
public abstract CustomerPolicyInner getByCustomer(String billingAccountName, String billingProfileName, String customerName, ServiceDefinedResourceName policyName)
Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
getByCustomerAtBillingAccount
public abstract CustomerPolicyInner getByCustomerAtBillingAccount(String billingAccountName, String customerName)
Lists the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
getByCustomerAtBillingAccountWithResponse
public abstract Response<CustomerPolicyInner> getByCustomerAtBillingAccountWithResponse(String billingAccountName, String customerName, Context context)
Lists the policies for a customer at billing account scope. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
getByCustomerWithResponse
public abstract Response<CustomerPolicyInner> getByCustomerWithResponse(String billingAccountName, String billingProfileName, String customerName, ServiceDefinedResourceName policyName, Context context)
Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
getBySubscription
public abstract SubscriptionPolicyInner 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.
Returns:
getBySubscriptionWithResponse
public abstract Response<SubscriptionPolicyInner> getBySubscriptionWithResponse(Context context)
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.
Parameters:
Returns: