ResourceManagerModelFactory.ManagementGroupInfo 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 ManagementGroupInfo.
public static Azure.ResourceManager.ManagementGroups.Models.ManagementGroupInfo ManagementGroupInfo (int? version = default, DateTimeOffset? updatedOn = default, string updatedBy = default, Azure.ResourceManager.ManagementGroups.Models.ParentManagementGroupInfo parent = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPathElement> path = default, System.Collections.Generic.IEnumerable<string> managementGroupAncestors = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPathElement> managementGroupAncestorChain = default);
static member ManagementGroupInfo : Nullable<int> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.ManagementGroups.Models.ParentManagementGroupInfo * seq<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPathElement> * seq<string> * seq<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupPathElement> -> Azure.ResourceManager.ManagementGroups.Models.ManagementGroupInfo
Public Shared Function ManagementGroupInfo (Optional version As Nullable(Of Integer) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedBy As String = Nothing, Optional parent As ParentManagementGroupInfo = Nothing, Optional path As IEnumerable(Of ManagementGroupPathElement) = Nothing, Optional managementGroupAncestors As IEnumerable(Of String) = Nothing, Optional managementGroupAncestorChain As IEnumerable(Of ManagementGroupPathElement) = Nothing) As ManagementGroupInfo
Parameters
- updatedOn
- Nullable<DateTimeOffset>
The date and time when this object was last updated.
- updatedBy
- String
The identity of the principal or process that updated the object.
- parent
- ParentManagementGroupInfo
(Optional) The ID of the parent management group.
The path from the root to the current group.
- managementGroupAncestors
- IEnumerable<String>
The ancestors of the management group.
- managementGroupAncestorChain
- IEnumerable<ManagementGroupPathElement>
The ancestors of the management group displayed in reversed order, from immediate parent to the root.
Returns
A new ManagementGroupInfo instance for mocking.
Applies to
Azure SDK for .NET