Skip to content

Commit c3802b6

Browse files
committed
Intune PowerShell SDK Preview 2 release build
1 parent fb4a19b commit c3802b6

File tree

193 files changed

+2181
-80132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+2181
-80132
lines changed

Common/Attributes/ResourceIdPropertyNameAttribute.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

PowerShellCmdlets/Generated/ObjectFactories/DeviceAppManagementObject.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ public class New_DeviceAppManagementObject : ObjectFactoryCmdletBase
200200
/// <summary>
201201
/// <para type="description">The &quot;managedAppStatuses&quot; property, of type &quot;microsoft.graph.managedAppStatus&quot;.</para>
202202
/// <para type="description">This property is on the &quot;microsoft.graph.deviceAppManagement&quot; type.</para>
203-
/// <para type="description">The managed app statuses.</para>
204203
/// </summary>
205204
[ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")]
206205
[Selectable]

PowerShellCmdlets/Generated/ObjectFactories/EntityObject.cs

Lines changed: 32 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,19 +2369,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
23692369
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The &quot;resourceScopes&quot; property, of type &quot;Edm.String&quot;.")]
23702370
public System.String[] resourceScopes { get; set; }
23712371

2372-
/// <summary>
2373-
/// <para type="description">The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.</para>
2374-
/// <para type="description">This property is on the &quot;microsoft.graph.roleAssignment&quot; type.</para>
2375-
/// <para type="description">Role definition this assignment is part of.</para>
2376-
/// </summary>
2377-
[Selectable]
2378-
[Expandable]
2379-
[ParameterSetSelector(@"microsoft.graph.roleDefinition")]
2380-
[Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
2381-
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
2382-
[Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
2383-
public System.Object roleDefinition { get; set; }
2384-
23852372
/// <summary>
23862373
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.deviceAndAppManagementRoleAssignment&quot; type.</para>
23872374
/// </summary>
@@ -2404,6 +2391,15 @@ public class New_EntityObject : ObjectFactoryCmdletBase
24042391
[Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The &quot;members&quot; property, of type &quot;Edm.String&quot;.")]
24052392
public System.Object members { get; set; }
24062393

2394+
/// <summary>
2395+
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.roleDefinition&quot; type.</para>
2396+
/// </summary>
2397+
[Selectable]
2398+
[Expandable]
2399+
[ParameterSetSelector(@"microsoft.graph.roleDefinition")]
2400+
[Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", Mandatory = true, HelpMessage = @"A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.roleDefinition&quot; type.")]
2401+
public System.Management.Automation.SwitchParameter roleDefinition { get; set; }
2402+
24072403
/// <summary>
24082404
/// <para type="description">The &quot;rolePermissions&quot; property, of type &quot;microsoft.graph.rolePermission&quot;.</para>
24092405
/// <para type="description">This property is on the &quot;microsoft.graph.roleDefinition&quot; type.</para>
@@ -2427,20 +2423,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
24272423
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The &quot;isBuiltIn&quot; property, of type &quot;Edm.Boolean&quot;.")]
24282424
public System.Boolean isBuiltIn { get; set; }
24292425

2430-
/// <summary>
2431-
/// <para type="description">The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.</para>
2432-
/// <para type="description">This property is on the &quot;microsoft.graph.roleDefinition&quot; type.</para>
2433-
/// <para type="description">List of Role assignments for this role definition.</para>
2434-
/// </summary>
2435-
[ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")]
2436-
[Selectable]
2437-
[Expandable]
2438-
[AllowEmptyCollection]
2439-
[Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.")]
2440-
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.")]
2441-
[Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.")]
2442-
public System.Object[] roleAssignments { get; set; }
2443-
24442426
/// <summary>
24452427
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.deviceAndAppManagementRoleDefinition&quot; type.</para>
24462428
/// </summary>
@@ -9996,6 +9978,18 @@ public class New_EntityObject : ObjectFactoryCmdletBase
99969978
[Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The &quot;roleDefinitions&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
99979979
public System.Object[] roleDefinitions { get; set; }
99989980

9981+
/// <summary>
9982+
/// <para type="description">The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.deviceAndAppManagementRoleAssignment&quot;.</para>
9983+
/// <para type="description">This property is on the &quot;microsoft.graph.deviceManagement&quot; type.</para>
9984+
/// <para type="description">The Role Assignments.</para>
9985+
/// </summary>
9986+
[ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")]
9987+
[Selectable]
9988+
[Expandable]
9989+
[AllowEmptyCollection]
9990+
[Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.deviceAndAppManagementRoleAssignment&quot;.")]
9991+
public System.Object[] roleAssignments { get; set; }
9992+
99999993
/// <summary>
100009994
/// <para type="description">The &quot;resourceOperations&quot; property, of type &quot;microsoft.graph.resourceOperation&quot;.</para>
100019995
/// <para type="description">This property is on the &quot;microsoft.graph.deviceManagement&quot; type.</para>
@@ -12596,7 +12590,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
1259612590
/// <summary>
1259712591
/// <para type="description">The &quot;managedAppStatuses&quot; property, of type &quot;microsoft.graph.managedAppStatus&quot;.</para>
1259812592
/// <para type="description">This property is on the &quot;microsoft.graph.deviceAppManagement&quot; type.</para>
12599-
/// <para type="description">The managed app statuses.</para>
1260012593
/// </summary>
1260112594
[ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")]
1260212595
[Selectable]
@@ -16251,49 +16244,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
1625116244
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;appIdentifier&quot; property, of type &quot;microsoft.graph.mobileAppIdentifier&quot;.")]
1625216245
public System.Object appIdentifier { get; set; }
1625316246

16254-
/// <summary>
16255-
/// <para type="description">The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
16256-
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
16257-
/// <para type="description">Zero or more policys already applied on the registered app when it last synchronized with managment service.</para>
16258-
/// </summary>
16259-
[ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")]
16260-
[Selectable]
16261-
[Expandable]
16262-
[AllowEmptyCollection]
16263-
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
16264-
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
16265-
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
16266-
public System.Object[] appliedPolicies { get; set; }
16267-
16268-
/// <summary>
16269-
/// <para type="description">The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
16270-
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
16271-
/// <para type="description">Zero or more policies admin intended for the app as of now.</para>
16272-
/// </summary>
16273-
[ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")]
16274-
[Selectable]
16275-
[Expandable]
16276-
[AllowEmptyCollection]
16277-
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
16278-
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
16279-
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
16280-
public System.Object[] intendedPolicies { get; set; }
16281-
16282-
/// <summary>
16283-
/// <para type="description">The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.</para>
16284-
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
16285-
/// <para type="description">Zero or more long running operations triggered on the app registration.</para>
16286-
/// </summary>
16287-
[ODataType("microsoft.graph.onenoteOperation")]
16288-
[Selectable]
16289-
[Expandable]
16290-
[AllowEmptyCollection]
16291-
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
16292-
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
16293-
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
16294-
[Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
16295-
public System.Object[] operations { get; set; }
16296-
1629716247
/// <summary>
1629816248
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.androidManagedAppRegistration&quot; type.</para>
1629916249
/// </summary>
@@ -17274,6 +17224,17 @@ public class New_EntityObject : ObjectFactoryCmdletBase
1727417224
[Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The &quot;resources&quot; property, of type &quot;microsoft.graph.onenoteResource&quot;.")]
1727517225
public System.Object[] resources { get; set; }
1727617226

17227+
/// <summary>
17228+
/// <para type="description">The &quot;operations&quot; property, of type &quot;microsoft.graph.onenoteOperation&quot;.</para>
17229+
/// <para type="description">This property is on the &quot;microsoft.graph.onenote&quot; type.</para>
17230+
/// </summary>
17231+
[ODataType("microsoft.graph.onenoteOperation")]
17232+
[Selectable]
17233+
[Expandable]
17234+
[AllowEmptyCollection]
17235+
[Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.onenoteOperation&quot;.")]
17236+
public System.Object[] operations { get; set; }
17237+
1727717238
/// <summary>
1727817239
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.plannerGroup&quot; type.</para>
1727917240
/// </summary>

PowerShellCmdlets/Generated/ObjectFactories/ManagedAppRegistrationObject.cs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -163,48 +163,6 @@ public class New_ManagedAppRegistrationObject : ObjectFactoryCmdletBase
163163
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;version&quot; property, of type &quot;Edm.String&quot;.")]
164164
public System.String version { get; set; }
165165

166-
/// <summary>
167-
/// <para type="description">The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
168-
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
169-
/// <para type="description">Zero or more policys already applied on the registered app when it last synchronized with managment service.</para>
170-
/// </summary>
171-
[ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")]
172-
[Selectable]
173-
[Expandable]
174-
[AllowEmptyCollection]
175-
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
176-
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
177-
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
178-
public System.Object[] appliedPolicies { get; set; }
179-
180-
/// <summary>
181-
/// <para type="description">The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
182-
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
183-
/// <para type="description">Zero or more policies admin intended for the app as of now.</para>
184-
/// </summary>
185-
[ODataType("microsoft.graph.managedAppPolicy", "microsoft.graph.windowsInformationProtection", "microsoft.graph.windowsInformationProtectionPolicy", "microsoft.graph.mdmWindowsInformationProtectionPolicy", "microsoft.graph.managedAppConfiguration", "microsoft.graph.targetedManagedAppConfiguration", "microsoft.graph.managedAppProtection", "microsoft.graph.defaultManagedAppProtection", "microsoft.graph.targetedManagedAppProtection", "microsoft.graph.androidManagedAppProtection", "microsoft.graph.iosManagedAppProtection")]
186-
[Selectable]
187-
[Expandable]
188-
[AllowEmptyCollection]
189-
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
190-
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
191-
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
192-
public System.Object[] intendedPolicies { get; set; }
193-
194-
/// <summary>
195-
/// <para type="description">The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.</para>
196-
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
197-
/// <para type="description">Zero or more long running operations triggered on the app registration.</para>
198-
/// </summary>
199-
[ODataType("microsoft.graph.managedAppOperation")]
200-
[Selectable]
201-
[Expandable]
202-
[AllowEmptyCollection]
203-
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
204-
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
205-
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
206-
public System.Object[] operations { get; set; }
207-
208166
/// <summary>
209167
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.androidManagedAppRegistration&quot; type.</para>
210168
/// </summary>

0 commit comments

Comments
 (0)