@microsoft/msgraph-beta-sdk-security
Version:
Security fluent API for Microsoft Graph
81 lines • 4.41 kB
TypeScript
import { type Sensor } from '@microsoft/msgraph-beta-sdk/models/security/index.js';
import { type HealthIssuesRequestBuilder } from './healthIssues/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity.
*/
export interface SensorItemRequestBuilder extends BaseRequestBuilder<SensorItemRequestBuilder> {
/**
* Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity.
*/
get healthIssues(): HealthIssuesRequestBuilder;
/**
* Delete a sensor object.
* @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
* @see {@link https://learn.microsoft.com/graph/api/security-sensor-delete?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of a sensor object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Sensor>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/security-sensor-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<SensorItemRequestBuilderGetQueryParameters> | undefined): Promise<Sensor | undefined>;
/**
* Update the properties of a sensor object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Sensor>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/security-sensor-update?view=graph-rest-beta|Find more info here}
*/
patch(body: Sensor, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Sensor | undefined>;
/**
* Delete a sensor object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties and relationships of a sensor object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of a sensor object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Sensor, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a sensor object.
*/
export interface SensorItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const SensorItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/sensors/{sensor%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const SensorItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SensorItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const SensorItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map