ArmSubscriptionModelFactory.AcceptOwnershipStatus Method

Definition

Initializes a new instance of AcceptOwnershipStatus.

public static Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus AcceptOwnershipStatus (string subscriptionId = default, Azure.ResourceManager.Subscription.Models.AcceptOwnershipState? acceptOwnershipState = default, Azure.ResourceManager.Subscription.Models.AcceptOwnershipProvisioningState? provisioningState = default, string billingOwner = default, Guid? subscriptionTenantId = default, string displayName = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member AcceptOwnershipStatus : string * Nullable<Azure.ResourceManager.Subscription.Models.AcceptOwnershipState> * Nullable<Azure.ResourceManager.Subscription.Models.AcceptOwnershipProvisioningState> * string * Nullable<Guid> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Subscription.Models.AcceptOwnershipStatus
Public Shared Function AcceptOwnershipStatus (Optional subscriptionId As String = Nothing, Optional acceptOwnershipState As Nullable(Of AcceptOwnershipState) = Nothing, Optional provisioningState As Nullable(Of AcceptOwnershipProvisioningState) = Nothing, Optional billingOwner As String = Nothing, Optional subscriptionTenantId As Nullable(Of Guid) = Nothing, Optional displayName As String = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As AcceptOwnershipStatus

Parameters

subscriptionId
String

Newly created subscription Id.

acceptOwnershipState
Nullable<AcceptOwnershipState>

The accept ownership state of the resource.

provisioningState
Nullable<AcceptOwnershipProvisioningState>

The provisioning state of the resource.

billingOwner
String

UPN of the billing owner.

subscriptionTenantId
Nullable<Guid>

Tenant Id of the subscription.

displayName
String

The display name of the subscription.

tags
IReadOnlyDictionary<String,String>

Tags for the subscription.

Returns

A new AcceptOwnershipStatus instance for mocking.

Applies to