Show / Hide Table of Contents

    Interface ISubscriptionFactoryOperations

    SubscriptionFactoryOperations operations.

    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Subscription.dll
    Syntax
    public interface ISubscriptionFactoryOperations

    Methods

    BeginCreateSubscriptionInEnrollmentAccountWithHttpMessagesAsync(String, SubscriptionCreationParameters, Dictionary<String,List<String>>, CancellationToken)

    Creates an Azure subscription

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationResult,Microsoft.Azure.Management.Subscription.Models.SubscriptionFactoryCreateSubscriptionInEnrollmentAccountHeaders>> BeginCreateSubscriptionInEnrollmentAccountWithHttpMessagesAsync (string enrollmentAccountName, Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationParameters body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String enrollmentAccountName

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

    SubscriptionCreationParameters body

    The subscription creation parameters.

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<SubscriptionCreationResult,SubscriptionFactoryCreateSubscriptionInEnrollmentAccountHeaders>>

    Exceptions
    ErrorResponseException

    Thrown when the operation returned an invalid status code

    SerializationException

    Thrown when unable to deserialize the response

    ValidationException

    Thrown when a required parameter is null

    BeginCreateSubscriptionWithHttpMessagesAsync(String, String, ModernSubscriptionCreationParameters, Dictionary<String,List<String>>, CancellationToken)

    The operation to create a new Azure subscription

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationResult,Microsoft.Azure.Management.Subscription.Models.SubscriptionFactoryCreateSubscriptionHeaders>> BeginCreateSubscriptionWithHttpMessagesAsync (string billingAccountName, string invoiceSectionName, Microsoft.Azure.Management.Subscription.Models.ModernSubscriptionCreationParameters body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String billingAccountName

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

    String invoiceSectionName

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

    ModernSubscriptionCreationParameters body

    The subscription creation parameters.

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<SubscriptionCreationResult,SubscriptionFactoryCreateSubscriptionHeaders>>

    Exceptions
    ErrorResponseException

    Thrown when the operation returned an invalid status code

    SerializationException

    Thrown when unable to deserialize the response

    ValidationException

    Thrown when a required parameter is null

    CreateSubscriptionInEnrollmentAccountWithHttpMessagesAsync(String, SubscriptionCreationParameters, Dictionary<String,List<String>>, CancellationToken)

    Creates an Azure subscription

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationResult,Microsoft.Azure.Management.Subscription.Models.SubscriptionFactoryCreateSubscriptionInEnrollmentAccountHeaders>> CreateSubscriptionInEnrollmentAccountWithHttpMessagesAsync (string enrollmentAccountName, Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationParameters body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String enrollmentAccountName

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

    SubscriptionCreationParameters body

    The subscription creation parameters.

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<SubscriptionCreationResult,SubscriptionFactoryCreateSubscriptionInEnrollmentAccountHeaders>>

    Exceptions
    ErrorResponseException

    Thrown when the operation returned an invalid status code

    SerializationException

    Thrown when unable to deserialize the response

    ValidationException

    Thrown when a required parameter is null

    CreateSubscriptionWithHttpMessagesAsync(String, String, ModernSubscriptionCreationParameters, Dictionary<String,List<String>>, CancellationToken)

    The operation to create a new Azure subscription

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationResult,Microsoft.Azure.Management.Subscription.Models.SubscriptionFactoryCreateSubscriptionHeaders>> CreateSubscriptionWithHttpMessagesAsync (string billingAccountName, string invoiceSectionName, Microsoft.Azure.Management.Subscription.Models.ModernSubscriptionCreationParameters body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String billingAccountName

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

    String invoiceSectionName

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

    ModernSubscriptionCreationParameters body

    The subscription creation parameters.

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<SubscriptionCreationResult,SubscriptionFactoryCreateSubscriptionHeaders>>

    Exceptions
    ErrorResponseException

    Thrown when the operation returned an invalid status code

    SerializationException

    Thrown when unable to deserialize the response

    ValidationException

    Thrown when a required parameter is null

    Extension Methods

    SubscriptionFactoryOperationsExtensions.BeginCreateSubscription(ISubscriptionFactoryOperations, String, String, ModernSubscriptionCreationParameters)
    SubscriptionFactoryOperationsExtensions.BeginCreateSubscriptionAsync(ISubscriptionFactoryOperations, String, String, ModernSubscriptionCreationParameters, CancellationToken)
    SubscriptionFactoryOperationsExtensions.BeginCreateSubscriptionInEnrollmentAccount(ISubscriptionFactoryOperations, String, SubscriptionCreationParameters)
    SubscriptionFactoryOperationsExtensions.BeginCreateSubscriptionInEnrollmentAccountAsync(ISubscriptionFactoryOperations, String, SubscriptionCreationParameters, CancellationToken)
    SubscriptionFactoryOperationsExtensions.CreateSubscription(ISubscriptionFactoryOperations, String, String, ModernSubscriptionCreationParameters)
    SubscriptionFactoryOperationsExtensions.CreateSubscriptionAsync(ISubscriptionFactoryOperations, String, String, ModernSubscriptionCreationParameters, CancellationToken)
    SubscriptionFactoryOperationsExtensions.CreateSubscriptionInEnrollmentAccount(ISubscriptionFactoryOperations, String, SubscriptionCreationParameters)
    SubscriptionFactoryOperationsExtensions.CreateSubscriptionInEnrollmentAccountAsync(ISubscriptionFactoryOperations, String, SubscriptionCreationParameters, CancellationToken)
    Back to top Azure SDK for Net