@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
81 lines • 5.49 kB
TypeScript
import { type HardwareOathTokenAuthenticationMethodDevice } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type AssignToRequestBuilder } from './assignTo/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity.
*/
export interface HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder extends BaseRequestBuilder<HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder> {
/**
* Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity.
*/
get assignTo(): AssignToRequestBuilder;
/**
* Delete a Hardware OATH token. Token needs to be unassigned.
* @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/authenticationmethoddevice-delete-hardwareoathdevices?view=graph-rest-beta|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of a hardwareOathTokenAuthenticationMethodDevice object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<HardwareOathTokenAuthenticationMethodDevice>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/hardwareoathtokenauthenticationmethoddevice-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters> | undefined): Promise<HardwareOathTokenAuthenticationMethodDevice | undefined>;
/**
* Update the properties of a hardwareOathTokenAuthenticationMethodDevice object. The token needs to unassigned.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<HardwareOathTokenAuthenticationMethodDevice>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/hardwareoathtokenauthenticationmethoddevice-update?view=graph-rest-beta|Find more info here}
*/
patch(body: HardwareOathTokenAuthenticationMethodDevice, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<HardwareOathTokenAuthenticationMethodDevice | undefined>;
/**
* Delete a Hardware OATH token. Token needs to be unassigned.
* @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 hardwareOathTokenAuthenticationMethodDevice object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the properties of a hardwareOathTokenAuthenticationMethodDevice object. The token needs to unassigned.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: HardwareOathTokenAuthenticationMethodDevice, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a hardwareOathTokenAuthenticationMethodDevice object.
*/
export interface HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderUriTemplate = "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map