@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
194 lines • 9.5 kB
TypeScript
import { type CloudPC } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ChangeUserAccountTypeRequestBuilder } from './changeUserAccountType/index.js';
import { type CreateSnapshotRequestBuilder } from './createSnapshot/index.js';
import { type EndGracePeriodRequestBuilder } from './endGracePeriod/index.js';
import { type GetCloudPcConnectivityHistoryRequestBuilder } from './getCloudPcConnectivityHistory/index.js';
import { type GetCloudPcLaunchInfoRequestBuilder } from './getCloudPcLaunchInfo/index.js';
import { type GetFrontlineCloudPcAccessStateRequestBuilder } from './getFrontlineCloudPcAccessState/index.js';
import { type GetSupportedCloudPcRemoteActionsRequestBuilder } from './getSupportedCloudPcRemoteActions/index.js';
import { type PowerOffRequestBuilder } from './powerOff/index.js';
import { type PowerOnRequestBuilder } from './powerOn/index.js';
import { type RebootRequestBuilder } from './reboot/index.js';
import { type RenameRequestBuilder } from './rename/index.js';
import { type ReprovisionRequestBuilder } from './reprovision/index.js';
import { type ResizeRequestBuilder } from './resize/index.js';
import { type RestoreRequestBuilder } from './restore/index.js';
import { type RetrieveCloudPcLaunchDetailRequestBuilder } from './retrieveCloudPcLaunchDetail/index.js';
import { type RetrieveCloudPCRemoteActionResultsRequestBuilder } from './retrieveCloudPCRemoteActionResults/index.js';
import { type RetrieveFrontlineCloudPcDetailRequestBuilder } from './retrieveFrontlineCloudPcDetail/index.js';
import { type RetrieveReviewStatusRequestBuilder } from './retrieveReviewStatus/index.js';
import { type RetrieveSnapshotsRequestBuilder } from './retrieveSnapshots/index.js';
import { type RetryPartnerAgentInstallationRequestBuilder } from './retryPartnerAgentInstallation/index.js';
import { type SetReviewStatusRequestBuilder } from './setReviewStatus/index.js';
import { type StartRequestBuilder } from './start/index.js';
import { type StopRequestBuilder } from './stop/index.js';
import { type TroubleshootRequestBuilder } from './troubleshoot/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity.
*/
export interface CloudPCItemRequestBuilder extends BaseRequestBuilder<CloudPCItemRequestBuilder> {
/**
* Provides operations to call the changeUserAccountType method.
*/
get changeUserAccountType(): ChangeUserAccountTypeRequestBuilder;
/**
* Provides operations to call the createSnapshot method.
*/
get createSnapshot(): CreateSnapshotRequestBuilder;
/**
* Provides operations to call the endGracePeriod method.
*/
get endGracePeriod(): EndGracePeriodRequestBuilder;
/**
* Provides operations to call the getCloudPcConnectivityHistory method.
*/
get getCloudPcConnectivityHistory(): GetCloudPcConnectivityHistoryRequestBuilder;
/**
* Provides operations to call the getCloudPcLaunchInfo method.
*/
get getCloudPcLaunchInfo(): GetCloudPcLaunchInfoRequestBuilder;
/**
* Provides operations to call the getFrontlineCloudPcAccessState method.
*/
get getFrontlineCloudPcAccessState(): GetFrontlineCloudPcAccessStateRequestBuilder;
/**
* Provides operations to call the getSupportedCloudPcRemoteActions method.
*/
get getSupportedCloudPcRemoteActions(): GetSupportedCloudPcRemoteActionsRequestBuilder;
/**
* Provides operations to call the powerOff method.
*/
get powerOff(): PowerOffRequestBuilder;
/**
* Provides operations to call the powerOn method.
*/
get powerOn(): PowerOnRequestBuilder;
/**
* Provides operations to call the reboot method.
*/
get reboot(): RebootRequestBuilder;
/**
* Provides operations to call the rename method.
*/
get rename(): RenameRequestBuilder;
/**
* Provides operations to call the reprovision method.
*/
get reprovision(): ReprovisionRequestBuilder;
/**
* Provides operations to call the resize method.
*/
get resize(): ResizeRequestBuilder;
/**
* Provides operations to call the restore method.
*/
get restore(): RestoreRequestBuilder;
/**
* Provides operations to call the retrieveCloudPcLaunchDetail method.
*/
get retrieveCloudPcLaunchDetail(): RetrieveCloudPcLaunchDetailRequestBuilder;
/**
* Provides operations to call the retrieveCloudPCRemoteActionResults method.
*/
get retrieveCloudPCRemoteActionResults(): RetrieveCloudPCRemoteActionResultsRequestBuilder;
/**
* Provides operations to call the retrieveFrontlineCloudPcDetail method.
*/
get retrieveFrontlineCloudPcDetail(): RetrieveFrontlineCloudPcDetailRequestBuilder;
/**
* Provides operations to call the retrieveReviewStatus method.
*/
get retrieveReviewStatus(): RetrieveReviewStatusRequestBuilder;
/**
* Provides operations to call the retrieveSnapshots method.
*/
get retrieveSnapshots(): RetrieveSnapshotsRequestBuilder;
/**
* Provides operations to call the retryPartnerAgentInstallation method.
*/
get retryPartnerAgentInstallation(): RetryPartnerAgentInstallationRequestBuilder;
/**
* Provides operations to call the setReviewStatus method.
*/
get setReviewStatus(): SetReviewStatusRequestBuilder;
/**
* Provides operations to call the start method.
*/
get start(): StartRequestBuilder;
/**
* Provides operations to call the stop method.
*/
get stop(): StopRequestBuilder;
/**
* Provides operations to call the troubleshoot method.
*/
get troubleshoot(): TroubleshootRequestBuilder;
/**
* Delete navigation property cloudPCs 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>;
/**
* Read the properties and relationships of a specific cloudPC object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPC>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/cloudpc-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<CloudPCItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPC | undefined>;
/**
* Update the navigation property cloudPCs in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPC>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPC | undefined>;
/**
* Delete navigation property cloudPCs for deviceManagement
* @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 specific cloudPC object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPCItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property cloudPCs 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: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a specific cloudPC object.
*/
export interface CloudPCItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const CloudPCItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const CloudPCItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudPCItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const CloudPCItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map