@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
83 lines • 4.3 kB
TypeScript
import { type TenantAttachRBAC } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type EnableRequestBuilder } from './enable/index.js';
import { type GetStateRequestBuilder } from './getState/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the tenantAttachRBAC property of the microsoft.graph.deviceManagement entity.
*/
export interface TenantAttachRBACRequestBuilder extends BaseRequestBuilder<TenantAttachRBACRequestBuilder> {
/**
* Provides operations to call the enable method.
*/
get enable(): EnableRequestBuilder;
/**
* Provides operations to call the getState method.
*/
get getState(): GetStateRequestBuilder;
/**
* Delete navigation property tenantAttachRBAC 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>;
/**
* TenantAttach RBAC Enablement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TenantAttachRBAC>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<TenantAttachRBACRequestBuilderGetQueryParameters> | undefined): Promise<TenantAttachRBAC | undefined>;
/**
* Update the navigation property tenantAttachRBAC in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TenantAttachRBAC>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: TenantAttachRBAC, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantAttachRBAC | undefined>;
/**
* Delete navigation property tenantAttachRBAC for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* TenantAttach RBAC Enablement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TenantAttachRBACRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property tenantAttachRBAC 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: TenantAttachRBAC, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* TenantAttach RBAC Enablement
*/
export interface TenantAttachRBACRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TenantAttachRBACRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/tenantAttachRBAC{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const TenantAttachRBACRequestBuilderNavigationMetadata: Record<Exclude<keyof TenantAttachRBACRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const TenantAttachRBACRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map