Skip to content

Commit

Permalink
Merge pull request #16 from Microsoft/1812
Browse files Browse the repository at this point in the history
Intune PowerShell SDK Preview 2 release build
  • Loading branch information
nsoy committed Jan 14, 2019
2 parents fb4a19b + c3802b6 commit 45e34e3
Show file tree
Hide file tree
Showing 193 changed files with 2,181 additions and 80,132 deletions.
29 changes: 0 additions & 29 deletions Common/Attributes/ResourceIdPropertyNameAttribute.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public class New_DeviceAppManagementObject : ObjectFactoryCmdletBase
/// <summary>
/// <para type="description">The &quot;managedAppStatuses&quot; property, of type &quot;microsoft.graph.managedAppStatus&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.deviceAppManagement&quot; type.</para>
/// <para type="description">The managed app statuses.</para>
/// </summary>
[ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")]
[Selectable]
Expand Down
103 changes: 32 additions & 71 deletions PowerShellCmdlets/Generated/ObjectFactories/EntityObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2369,19 +2369,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The &quot;resourceScopes&quot; property, of type &quot;Edm.String&quot;.")]
public System.String[] resourceScopes { get; set; }

/// <summary>
/// <para type="description">The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.roleAssignment&quot; type.</para>
/// <para type="description">Role definition this assignment is part of.</para>
/// </summary>
[Selectable]
[Expandable]
[ParameterSetSelector(@"microsoft.graph.roleDefinition")]
[Parameter(ParameterSetName = @"microsoft.graph.roleAssignment", HelpMessage = @"The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleAssignment", HelpMessage = @"The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The &quot;roleDefinition&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
public System.Object roleDefinition { get; set; }

/// <summary>
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.deviceAndAppManagementRoleAssignment&quot; type.</para>
/// </summary>
Expand All @@ -2404,6 +2391,15 @@ public class New_EntityObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.directoryRole", HelpMessage = @"The &quot;members&quot; property, of type &quot;Edm.String&quot;.")]
public System.Object members { get; set; }

/// <summary>
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.roleDefinition&quot; type.</para>
/// </summary>
[Selectable]
[Expandable]
[ParameterSetSelector(@"microsoft.graph.roleDefinition")]
[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.")]
public System.Management.Automation.SwitchParameter roleDefinition { get; set; }

/// <summary>
/// <para type="description">The &quot;rolePermissions&quot; property, of type &quot;microsoft.graph.rolePermission&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.roleDefinition&quot; type.</para>
Expand All @@ -2427,20 +2423,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The &quot;isBuiltIn&quot; property, of type &quot;Edm.Boolean&quot;.")]
public System.Boolean isBuiltIn { get; set; }

/// <summary>
/// <para type="description">The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.roleDefinition&quot; type.</para>
/// <para type="description">List of Role assignments for this role definition.</para>
/// </summary>
[ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.roleDefinition", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.deviceAndAppManagementRoleDefinition", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.roleAssignment&quot;.")]
public System.Object[] roleAssignments { get; set; }

/// <summary>
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.deviceAndAppManagementRoleDefinition&quot; type.</para>
/// </summary>
Expand Down Expand Up @@ -9996,6 +9978,18 @@ public class New_EntityObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The &quot;roleDefinitions&quot; property, of type &quot;microsoft.graph.roleDefinition&quot;.")]
public System.Object[] roleDefinitions { get; set; }

/// <summary>
/// <para type="description">The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.deviceAndAppManagementRoleAssignment&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.deviceManagement&quot; type.</para>
/// <para type="description">The Role Assignments.</para>
/// </summary>
[ODataType("microsoft.graph.deviceAndAppManagementRoleAssignment")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.deviceManagement", HelpMessage = @"The &quot;roleAssignments&quot; property, of type &quot;microsoft.graph.deviceAndAppManagementRoleAssignment&quot;.")]
public System.Object[] roleAssignments { get; set; }

/// <summary>
/// <para type="description">The &quot;resourceOperations&quot; property, of type &quot;microsoft.graph.resourceOperation&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.deviceManagement&quot; type.</para>
Expand Down Expand Up @@ -12596,7 +12590,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
/// <summary>
/// <para type="description">The &quot;managedAppStatuses&quot; property, of type &quot;microsoft.graph.managedAppStatus&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.deviceAppManagement&quot; type.</para>
/// <para type="description">The managed app statuses.</para>
/// </summary>
[ODataType("microsoft.graph.managedAppStatus", "microsoft.graph.managedAppStatusRaw")]
[Selectable]
Expand Down Expand Up @@ -16251,49 +16244,6 @@ public class New_EntityObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;appIdentifier&quot; property, of type &quot;microsoft.graph.mobileAppIdentifier&quot;.")]
public System.Object appIdentifier { get; set; }

/// <summary>
/// <para type="description">The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
/// <para type="description">Zero or more policys already applied on the registered app when it last synchronized with managment service.</para>
/// </summary>
[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")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
public System.Object[] appliedPolicies { get; set; }

/// <summary>
/// <para type="description">The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
/// <para type="description">Zero or more policies admin intended for the app as of now.</para>
/// </summary>
[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")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
public System.Object[] intendedPolicies { get; set; }

/// <summary>
/// <para type="description">The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
/// <para type="description">Zero or more long running operations triggered on the app registration.</para>
/// </summary>
[ODataType("microsoft.graph.onenoteOperation")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
public System.Object[] operations { get; set; }

/// <summary>
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.androidManagedAppRegistration&quot; type.</para>
/// </summary>
Expand Down Expand Up @@ -17274,6 +17224,17 @@ public class New_EntityObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The &quot;resources&quot; property, of type &quot;microsoft.graph.onenoteResource&quot;.")]
public System.Object[] resources { get; set; }

/// <summary>
/// <para type="description">The &quot;operations&quot; property, of type &quot;microsoft.graph.onenoteOperation&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.onenote&quot; type.</para>
/// </summary>
[ODataType("microsoft.graph.onenoteOperation")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.onenote", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.onenoteOperation&quot;.")]
public System.Object[] operations { get; set; }

/// <summary>
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.plannerGroup&quot; type.</para>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,48 +163,6 @@ public class New_ManagedAppRegistrationObject : ObjectFactoryCmdletBase
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;version&quot; property, of type &quot;Edm.String&quot;.")]
public System.String version { get; set; }

/// <summary>
/// <para type="description">The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
/// <para type="description">Zero or more policys already applied on the registered app when it last synchronized with managment service.</para>
/// </summary>
[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")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;appliedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
public System.Object[] appliedPolicies { get; set; }

/// <summary>
/// <para type="description">The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
/// <para type="description">Zero or more policies admin intended for the app as of now.</para>
/// </summary>
[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")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;intendedPolicies&quot; property, of type &quot;microsoft.graph.managedAppPolicy&quot;.")]
public System.Object[] intendedPolicies { get; set; }

/// <summary>
/// <para type="description">The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.</para>
/// <para type="description">This property is on the &quot;microsoft.graph.managedAppRegistration&quot; type.</para>
/// <para type="description">Zero or more long running operations triggered on the app registration.</para>
/// </summary>
[ODataType("microsoft.graph.managedAppOperation")]
[Selectable]
[Expandable]
[AllowEmptyCollection]
[Parameter(ParameterSetName = @"microsoft.graph.managedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.androidManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
[Parameter(ParameterSetName = @"microsoft.graph.iosManagedAppRegistration", HelpMessage = @"The &quot;operations&quot; property, of type &quot;microsoft.graph.managedAppOperation&quot;.")]
public System.Object[] operations { get; set; }

/// <summary>
/// <para type="description">A switch parameter for selecting the parameter set which corresponds to the &quot;microsoft.graph.androidManagedAppRegistration&quot; type.</para>
/// </summary>
Expand Down
Loading

0 comments on commit 45e34e3

Please sign in to comment.