@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
108 lines • 5.91 kB
TypeScript
import { type DeviceHealthScript } 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 GetGlobalScriptHighestAvailableVersionRequestBuilder } from './getGlobalScriptHighestAvailableVersion/index.js';
import { type GetRemediationHistoryRequestBuilder } from './getRemediationHistory/index.js';
import { type RunSummaryRequestBuilder } from './runSummary/index.js';
import { type UpdateGlobalScriptRequestBuilder } from './updateGlobalScript/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the deviceHealthScripts property of the microsoft.graph.deviceManagement entity.
*/
export interface DeviceHealthScriptItemRequestBuilder extends BaseRequestBuilder<DeviceHealthScriptItemRequestBuilder> {
/**
* Provides operations to call the assign method.
*/
get assign(): AssignRequestBuilder;
/**
* Provides operations to manage the assignments property of the microsoft.graph.deviceHealthScript entity.
*/
get assignments(): AssignmentsRequestBuilder;
/**
* Provides operations to manage the deviceRunStates property of the microsoft.graph.deviceHealthScript entity.
*/
get deviceRunStates(): DeviceRunStatesRequestBuilder;
/**
* Provides operations to call the getGlobalScriptHighestAvailableVersion method.
*/
get getGlobalScriptHighestAvailableVersion(): GetGlobalScriptHighestAvailableVersionRequestBuilder;
/**
* Provides operations to call the getRemediationHistory method.
*/
get getRemediationHistory(): GetRemediationHistoryRequestBuilder;
/**
* Provides operations to manage the runSummary property of the microsoft.graph.deviceHealthScript entity.
*/
get runSummary(): RunSummaryRequestBuilder;
/**
* Provides operations to call the updateGlobalScript method.
*/
get updateGlobalScript(): UpdateGlobalScriptRequestBuilder;
/**
* Delete navigation property deviceHealthScripts 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 health scripts associated with the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeviceHealthScript>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<DeviceHealthScriptItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceHealthScript | undefined>;
/**
* Update the navigation property deviceHealthScripts in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeviceHealthScript>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: DeviceHealthScript, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceHealthScript | undefined>;
/**
* Delete navigation property deviceHealthScripts 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 health scripts associated with the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceHealthScriptItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property deviceHealthScripts 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: DeviceHealthScript, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The list of device health scripts associated with the tenant.
*/
export interface DeviceHealthScriptItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const DeviceHealthScriptItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const DeviceHealthScriptItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DeviceHealthScriptItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const DeviceHealthScriptItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map