@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
103 lines • 5.25 kB
TypeScript
import { type LabelsRoot } from '@microsoft/msgraph-sdk/models/security/index.js';
import { type AuthoritiesRequestBuilder } from './authorities/index.js';
import { type CategoriesRequestBuilder } from './categories/index.js';
import { type CitationsRequestBuilder } from './citations/index.js';
import { type DepartmentsRequestBuilder } from './departments/index.js';
import { type FilePlanReferencesRequestBuilder } from './filePlanReferences/index.js';
import { type RetentionLabelsRequestBuilder } from './retentionLabels/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the labels property of the microsoft.graph.security entity.
*/
export interface LabelsRequestBuilder extends BaseRequestBuilder<LabelsRequestBuilder> {
/**
* Provides operations to manage the authorities property of the microsoft.graph.security.labelsRoot entity.
*/
get authorities(): AuthoritiesRequestBuilder;
/**
* Provides operations to manage the categories property of the microsoft.graph.security.labelsRoot entity.
*/
get categories(): CategoriesRequestBuilder;
/**
* Provides operations to manage the citations property of the microsoft.graph.security.labelsRoot entity.
*/
get citations(): CitationsRequestBuilder;
/**
* Provides operations to manage the departments property of the microsoft.graph.security.labelsRoot entity.
*/
get departments(): DepartmentsRequestBuilder;
/**
* Provides operations to manage the filePlanReferences property of the microsoft.graph.security.labelsRoot entity.
*/
get filePlanReferences(): FilePlanReferencesRequestBuilder;
/**
* Provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity.
*/
get retentionLabels(): RetentionLabelsRequestBuilder;
/**
* Delete navigation property labels for security
* @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>;
/**
* Get labels from security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<LabelsRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<LabelsRequestBuilderGetQueryParameters> | undefined): Promise<LabelsRoot | undefined>;
/**
* Update the navigation property labels in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<LabelsRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: LabelsRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LabelsRoot | undefined>;
/**
* Delete navigation property labels for security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get labels from security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<LabelsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property labels in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: LabelsRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get labels from security
*/
export interface LabelsRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const LabelsRequestBuilderUriTemplate = "{+baseurl}/security/labels{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const LabelsRequestBuilderNavigationMetadata: Record<Exclude<keyof LabelsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const LabelsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map