UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

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