ResourceManagerModelFactory.EntityData Method

Definition

Initializes a new instance of EntityData.

public static Azure.ResourceManager.ManagementGroups.Models.EntityData EntityData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? tenantId = default, string displayName = default, Azure.Core.ResourceIdentifier parentId = default, Azure.ResourceManager.ManagementGroups.Models.EntityPermission? permissions = default, Azure.ResourceManager.ManagementGroups.Models.EntityPermission? inheritedPermissions = default, int? numberOfDescendants = default, int? numberOfChildren = default, int? numberOfChildGroups = default, System.Collections.Generic.IEnumerable<string> parentDisplayNameChain = default, System.Collections.Generic.IEnumerable<string> parentNameChain = default);
static member EntityData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ManagementGroups.Models.EntityPermission> * Nullable<Azure.ResourceManager.ManagementGroups.Models.EntityPermission> * Nullable<int> * Nullable<int> * Nullable<int> * seq<string> * seq<string> -> Azure.ResourceManager.ManagementGroups.Models.EntityData
Public Shared Function EntityData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional displayName As String = Nothing, Optional parentId As ResourceIdentifier = Nothing, Optional permissions As Nullable(Of EntityPermission) = Nothing, Optional inheritedPermissions As Nullable(Of EntityPermission) = Nothing, Optional numberOfDescendants As Nullable(Of Integer) = Nothing, Optional numberOfChildren As Nullable(Of Integer) = Nothing, Optional numberOfChildGroups As Nullable(Of Integer) = Nothing, Optional parentDisplayNameChain As IEnumerable(Of String) = Nothing, Optional parentNameChain As IEnumerable(Of String) = Nothing) As EntityData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tenantId
Nullable<Guid>

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

displayName
String

The friendly name of the management group.

parentId
ResourceIdentifier

(Optional) The ID of the parent management group.

permissions
Nullable<EntityPermission>

The users specific permissions to this item.

inheritedPermissions
Nullable<EntityPermission>

The users specific permissions to this item.

numberOfDescendants
Nullable<Int32>

Number of Descendants.

numberOfChildren
Nullable<Int32>

Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.

numberOfChildGroups
Nullable<Int32>

Number of children is the number of Groups that are exactly one level underneath the current Group.

parentDisplayNameChain
IEnumerable<String>

The parent display name chain from the root group to the immediate parent.

parentNameChain
IEnumerable<String>

The parent name chain from the root group to the immediate parent.

Returns

A new EntityData instance for mocking.

Applies to