UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
83 lines 4.86 kB
import { type DeviceAndAppManagementRoleAssignment } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type RoleDefinitionRequestBuilder } from './roleDefinition/index.js'; import { type RoleScopeTagsRequestBuilder } from './roleScopeTags/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the roleAssignments property of the microsoft.graph.deviceManagement entity. */ export interface DeviceAndAppManagementRoleAssignmentItemRequestBuilder extends BaseRequestBuilder<DeviceAndAppManagementRoleAssignmentItemRequestBuilder> { /** * Provides operations to manage the roleDefinition property of the microsoft.graph.roleAssignment entity. */ get roleDefinition(): RoleDefinitionRequestBuilder; /** * Provides operations to manage the roleScopeTags property of the microsoft.graph.deviceAndAppManagementRoleAssignment entity. */ get roleScopeTags(): RoleScopeTagsRequestBuilder; /** * Delete navigation property roleAssignments 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 Role Assignments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceAndAppManagementRoleAssignment>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DeviceAndAppManagementRoleAssignmentItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceAndAppManagementRoleAssignment | undefined>; /** * Update the navigation property roleAssignments in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeviceAndAppManagementRoleAssignment>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeviceAndAppManagementRoleAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceAndAppManagementRoleAssignment | undefined>; /** * Delete navigation property roleAssignments 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 Role Assignments. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceAndAppManagementRoleAssignmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property roleAssignments 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: DeviceAndAppManagementRoleAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The Role Assignments. */ export interface DeviceAndAppManagementRoleAssignmentItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeviceAndAppManagementRoleAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignment%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DeviceAndAppManagementRoleAssignmentItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DeviceAndAppManagementRoleAssignmentItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DeviceAndAppManagementRoleAssignmentItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map