@microsoft/msgraph-beta-sdk-security
Version:
Security fluent API for Microsoft Graph
42 lines • 2.19 kB
TypeScript
import { type DepartmentTemplate } from '@microsoft/msgraph-beta-sdk/models/security/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the departmentTemplate property of the microsoft.graph.security.filePlanDescriptor entity.
*/
export interface DepartmentTemplateRequestBuilder extends BaseRequestBuilder<DepartmentTemplateRequestBuilder> {
/**
* Specifies the department or business unit of an organization to which a label belongs.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DepartmentTemplate>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<DepartmentTemplateRequestBuilderGetQueryParameters> | undefined): Promise<DepartmentTemplate | undefined>;
/**
* Specifies the department or business unit of an organization to which a label belongs.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DepartmentTemplateRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Specifies the department or business unit of an organization to which a label belongs.
*/
export interface DepartmentTemplateRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const DepartmentTemplateRequestBuilderUriTemplate = "{+baseurl}/security/labels/retentionLabels/{retentionLabel%2Did}/descriptors/departmentTemplate{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const DepartmentTemplateRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map