Dela via


ResourceManagerModelFactory.ManagementGroupSubscriptionData Method

Definition

Initializes a new instance of ManagementGroupSubscriptionData.

public static Azure.ResourceManager.ManagementGroups.ManagementGroupSubscriptionData ManagementGroupSubscriptionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string tenant = default, string displayName = default, Azure.Core.ResourceIdentifier parentId = default, string state = default);
static member ManagementGroupSubscriptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.ManagementGroups.ManagementGroupSubscriptionData
Public Shared Function ManagementGroupSubscriptionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tenant As String = Nothing, Optional displayName As String = Nothing, Optional parentId As ResourceIdentifier = Nothing, Optional state As String = Nothing) As ManagementGroupSubscriptionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tenant
String

The AAD Tenant ID associated with the subscription. For example, 00000000-0000-0000-0000-000000000000.

displayName
String

The friendly name of the subscription.

parentId
ResourceIdentifier

The ID of the parent management group.

state
String

The state of the subscription.

Returns

A new ManagementGroupSubscriptionData instance for mocking.

Applies to