ArmSubscriptionModelFactory.SubscriptionAliasProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SubscriptionAliasProperties.
public static Azure.ResourceManager.Subscription.Models.SubscriptionAliasProperties SubscriptionAliasProperties (string subscriptionId = default, string displayName = default, Azure.ResourceManager.Subscription.Models.SubscriptionProvisioningState? provisioningState = default, Uri acceptOwnershipUri = default, Azure.ResourceManager.Subscription.Models.AcceptOwnershipState? acceptOwnershipState = default, string billingScope = default, Azure.ResourceManager.Subscription.Models.SubscriptionWorkload? workload = default, string resellerId = default, string subscriptionOwnerId = default, string managementGroupId = default, DateTimeOffset? createdOn = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member SubscriptionAliasProperties : string * string * Nullable<Azure.ResourceManager.Subscription.Models.SubscriptionProvisioningState> * Uri * Nullable<Azure.ResourceManager.Subscription.Models.AcceptOwnershipState> * string * Nullable<Azure.ResourceManager.Subscription.Models.SubscriptionWorkload> * string * string * string * Nullable<DateTimeOffset> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Subscription.Models.SubscriptionAliasProperties
Public Shared Function SubscriptionAliasProperties (Optional subscriptionId As String = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of SubscriptionProvisioningState) = Nothing, Optional acceptOwnershipUri As Uri = Nothing, Optional acceptOwnershipState As Nullable(Of AcceptOwnershipState) = Nothing, Optional billingScope As String = Nothing, Optional workload As Nullable(Of SubscriptionWorkload) = Nothing, Optional resellerId As String = Nothing, Optional subscriptionOwnerId As String = Nothing, Optional managementGroupId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As SubscriptionAliasProperties
Parameters
- subscriptionId
- String
Newly created subscription Id.
- displayName
- String
The display name of the subscription.
- provisioningState
- Nullable<SubscriptionProvisioningState>
The provisioning state of the resource.
- acceptOwnershipUri
- Uri
Url to accept ownership of the subscription.
- acceptOwnershipState
- Nullable<AcceptOwnershipState>
The accept ownership state of the resource.
- billingScope
- String
Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- workload
- Nullable<SubscriptionWorkload>
The workload type of the subscription. It can be either Production or DevTest.
- resellerId
- String
Reseller Id.
- subscriptionOwnerId
- String
Owner Id of the subscription.
- managementGroupId
- String
The Management Group Id.
- createdOn
- Nullable<DateTimeOffset>
Created Time.
- tags
- IReadOnlyDictionary<String,String>
Tags for the subscription.
Returns
A new SubscriptionAliasProperties instance for mocking.
Applies to
Azure SDK for .NET