UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
113 lines 6.64 kB
import { type WindowsAutopilotDeviceIdentity } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AllowNextEnrollmentRequestBuilder } from './allowNextEnrollment/index.js'; import { type AssignResourceAccountToDeviceRequestBuilder } from './assignResourceAccountToDevice/index.js'; import { type AssignUserToDeviceRequestBuilder } from './assignUserToDevice/index.js'; import { type DeploymentProfileRequestBuilder } from './deploymentProfile/index.js'; import { type IntendedDeploymentProfileRequestBuilder } from './intendedDeploymentProfile/index.js'; import { type UnassignResourceAccountFromDeviceRequestBuilder } from './unassignResourceAccountFromDevice/index.js'; import { type UnassignUserFromDeviceRequestBuilder } from './unassignUserFromDevice/index.js'; import { type UpdateDevicePropertiesRequestBuilder } from './updateDeviceProperties/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. */ export interface WindowsAutopilotDeviceIdentityItemRequestBuilder extends BaseRequestBuilder<WindowsAutopilotDeviceIdentityItemRequestBuilder> { /** * Provides operations to call the allowNextEnrollment method. */ get allowNextEnrollment(): AllowNextEnrollmentRequestBuilder; /** * Provides operations to call the assignResourceAccountToDevice method. */ get assignResourceAccountToDevice(): AssignResourceAccountToDeviceRequestBuilder; /** * Provides operations to call the assignUserToDevice method. */ get assignUserToDevice(): AssignUserToDeviceRequestBuilder; /** * Provides operations to manage the deploymentProfile property of the microsoft.graph.windowsAutopilotDeviceIdentity entity. */ get deploymentProfile(): DeploymentProfileRequestBuilder; /** * Provides operations to manage the intendedDeploymentProfile property of the microsoft.graph.windowsAutopilotDeviceIdentity entity. */ get intendedDeploymentProfile(): IntendedDeploymentProfileRequestBuilder; /** * Provides operations to call the unassignResourceAccountFromDevice method. */ get unassignResourceAccountFromDevice(): UnassignResourceAccountFromDeviceRequestBuilder; /** * Provides operations to call the unassignUserFromDevice method. */ get unassignUserFromDevice(): UnassignUserFromDeviceRequestBuilder; /** * Provides operations to call the updateDeviceProperties method. */ get updateDeviceProperties(): UpdateDevicePropertiesRequestBuilder; /** * Delete navigation property windowsAutopilotDeviceIdentities for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * The Windows autopilot device identities contained collection. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WindowsAutopilotDeviceIdentity>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<WindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters> | undefined): Promise<WindowsAutopilotDeviceIdentity | undefined>; /** * Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WindowsAutopilotDeviceIdentity>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: WindowsAutopilotDeviceIdentity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WindowsAutopilotDeviceIdentity | undefined>; /** * Delete navigation property windowsAutopilotDeviceIdentities for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The Windows autopilot device identities contained collection. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: WindowsAutopilotDeviceIdentity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The Windows autopilot device identities contained collection. */ export interface WindowsAutopilotDeviceIdentityItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const WindowsAutopilotDeviceIdentityItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WindowsAutopilotDeviceIdentityItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WindowsAutopilotDeviceIdentityItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WindowsAutopilotDeviceIdentityItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map