ResourceManagerModelFactory.EntityData 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 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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
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.
Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.
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
Azure SDK for .NET