UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
103 lines 5.76 kB
import { type DeviceManagementScript } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type AssignRequestBuilder } from './assign/index.js'; import { type AssignmentsRequestBuilder } from './assignments/index.js'; import { type DeviceRunStatesRequestBuilder } from './deviceRunStates/index.js'; import { type GroupAssignmentsRequestBuilder } from './groupAssignments/index.js'; import { type RunSummaryRequestBuilder } from './runSummary/index.js'; import { type UserRunStatesRequestBuilder } from './userRunStates/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the deviceManagementScripts property of the microsoft.graph.deviceManagement entity. */ export interface DeviceManagementScriptItemRequestBuilder extends BaseRequestBuilder<DeviceManagementScriptItemRequestBuilder> { /** * Provides operations to call the assign method. */ get assign(): AssignRequestBuilder; /** * Provides operations to manage the assignments property of the microsoft.graph.deviceManagementScript entity. */ get assignments(): AssignmentsRequestBuilder; /** * Provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScript entity. */ get deviceRunStates(): DeviceRunStatesRequestBuilder; /** * Provides operations to manage the groupAssignments property of the microsoft.graph.deviceManagementScript entity. */ get groupAssignments(): GroupAssignmentsRequestBuilder; /** * Provides operations to manage the runSummary property of the microsoft.graph.deviceManagementScript entity. */ get runSummary(): RunSummaryRequestBuilder; /** * Provides operations to manage the userRunStates property of the microsoft.graph.deviceManagementScript entity. */ get userRunStates(): UserRunStatesRequestBuilder; /** * Delete navigation property deviceManagementScripts 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 list of device management scripts associated with the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementScript>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DeviceManagementScriptItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceManagementScript | undefined>; /** * Update the navigation property deviceManagementScripts in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceManagementScript>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeviceManagementScript, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceManagementScript | undefined>; /** * Delete navigation property deviceManagementScripts 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 list of device management scripts associated with the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceManagementScriptItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property deviceManagementScripts 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: DeviceManagementScript, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The list of device management scripts associated with the tenant. */ export interface DeviceManagementScriptItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeviceManagementScriptItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DeviceManagementScriptItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DeviceManagementScriptItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DeviceManagementScriptItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map