Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SubscriptionFactory

Package version

Class representing a SubscriptionFactory.

Hierarchy

  • SubscriptionFactory

Index

Constructors

constructor

Methods

beginCreateSubscription

  • beginCreateSubscription(billingAccountName: string, invoiceSectionName: string, body: ModernSubscriptionCreationParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • The operation to create a new Azure subscription

    Parameters

    • billingAccountName: string

      The name of the Microsoft Customer Agreement billing account for which you want to create the subscription.

    • invoiceSectionName: string

      The name of the invoice section in the billing account for which you want to create the subscription.

    • body: ModernSubscriptionCreationParameters

      The subscription creation parameters.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginCreateSubscriptionInEnrollmentAccount

  • beginCreateSubscriptionInEnrollmentAccount(enrollmentAccountName: string, body: SubscriptionCreationParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates an Azure subscription

    Parameters

    • enrollmentAccountName: string

      The name of the enrollment account to which the subscription will be billed.

    • body: SubscriptionCreationParameters

      The subscription creation parameters.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createSubscription

  • createSubscription(billingAccountName: string, invoiceSectionName: string, body: ModernSubscriptionCreationParameters, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionFactoryCreateSubscriptionResponse>
  • The operation to create a new Azure subscription

    Parameters

    • billingAccountName: string

      The name of the Microsoft Customer Agreement billing account for which you want to create the subscription.

    • invoiceSectionName: string

      The name of the invoice section in the billing account for which you want to create the subscription.

    • body: ModernSubscriptionCreationParameters

      The subscription creation parameters.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubscriptionFactoryCreateSubscriptionResponse>

    Promise<Models.SubscriptionFactoryCreateSubscriptionResponse>

createSubscriptionInEnrollmentAccount

  • createSubscriptionInEnrollmentAccount(enrollmentAccountName: string, body: SubscriptionCreationParameters, options?: msRest.RequestOptionsBase): Promise<Models.SubscriptionFactoryCreateSubscriptionInEnrollmentAccountResponse>
  • Creates an Azure subscription

    Parameters

    • enrollmentAccountName: string

      The name of the enrollment account to which the subscription will be billed.

    • body: SubscriptionCreationParameters

      The subscription creation parameters.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubscriptionFactoryCreateSubscriptionInEnrollmentAccountResponse>

    Promise<Models.SubscriptionFactoryCreateSubscriptionInEnrollmentAccountResponse>

Generated using TypeDoc