@microsoft/msgraph-sdk-devicemanagement 1.0.0-preview.17 → 1.0.0-preview.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deviceManagement/deviceCompliancePolicies/index.d.ts +7 -7
- package/deviceManagement/deviceCompliancePolicies/item/index.d.ts +7 -7
- package/deviceManagement/deviceConfigurations/index.d.ts +7 -7
- package/deviceManagement/deviceConfigurations/item/index.d.ts +10 -10
- package/deviceManagement/deviceEnrollmentConfigurations/index.d.ts +7 -7
- package/deviceManagement/deviceEnrollmentConfigurations/item/index.d.ts +6 -6
- package/deviceManagement/index.d.ts +2 -2
- package/deviceManagement/roleDefinitions/index.d.ts +3 -3
- package/deviceManagement/roleDefinitions/item/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/auditEvents/index.d.ts +4 -3
- package/deviceManagement/virtualEndpoint/auditEvents/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/auditEvents/item/index.d.ts +4 -3
- package/deviceManagement/virtualEndpoint/auditEvents/item/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/cloudPCs/count/index.d.ts +41 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/count/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/count/index.js +35 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/index.d.ts +98 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/index.js +69 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/endGracePeriod/index.d.ts +28 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/endGracePeriod/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/endGracePeriod/index.js +26 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/index.d.ts +99 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/index.js +81 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/reboot/index.d.ts +28 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/reboot/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/reboot/index.js +26 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/rename/index.d.ts +60 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/rename/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/rename/index.js +58 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/restore/index.d.ts +60 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/restore/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/restore/index.js +58 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/troubleshoot/index.d.ts +28 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/troubleshoot/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/cloudPCs/item/troubleshoot/index.js +26 -0
- package/deviceManagement/virtualEndpoint/deviceImages/count/index.d.ts +41 -0
- package/deviceManagement/virtualEndpoint/deviceImages/count/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/deviceImages/count/index.js +35 -0
- package/deviceManagement/virtualEndpoint/deviceImages/getSourceImages/index.d.ts +76 -0
- package/deviceManagement/virtualEndpoint/deviceImages/getSourceImages/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/deviceImages/getSourceImages/index.js +65 -0
- package/deviceManagement/virtualEndpoint/deviceImages/index.d.ts +104 -0
- package/deviceManagement/virtualEndpoint/deviceImages/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/deviceImages/index.js +72 -0
- package/deviceManagement/virtualEndpoint/deviceImages/item/index.d.ts +71 -0
- package/deviceManagement/virtualEndpoint/deviceImages/item/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/deviceImages/item/index.js +56 -0
- package/deviceManagement/virtualEndpoint/galleryImages/count/index.d.ts +41 -0
- package/deviceManagement/virtualEndpoint/galleryImages/count/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/galleryImages/count/index.js +35 -0
- package/deviceManagement/virtualEndpoint/galleryImages/index.d.ts +98 -0
- package/deviceManagement/virtualEndpoint/galleryImages/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/galleryImages/index.js +68 -0
- package/deviceManagement/virtualEndpoint/galleryImages/item/index.d.ts +70 -0
- package/deviceManagement/virtualEndpoint/galleryImages/item/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/galleryImages/item/index.js +56 -0
- package/deviceManagement/virtualEndpoint/index.d.ts +23 -3
- package/deviceManagement/virtualEndpoint/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/index.js +20 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/count/index.d.ts +41 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/count/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/count/index.js +35 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/index.d.ts +99 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/index.js +69 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/index.d.ts +81 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/index.js +65 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.d.ts +28 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.js +26 -0
- package/deviceManagement/virtualEndpoint/provisioningPolicies/index.d.ts +7 -5
- package/deviceManagement/virtualEndpoint/provisioningPolicies/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assign/index.d.ts +3 -2
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assign/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/assignedUsers/item/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/assignments/item/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/index.d.ts +10 -7
- package/deviceManagement/virtualEndpoint/provisioningPolicies/item/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/userSettings/index.d.ts +7 -5
- package/deviceManagement/virtualEndpoint/userSettings/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/userSettings/item/assign/index.d.ts +3 -2
- package/deviceManagement/virtualEndpoint/userSettings/item/assign/index.d.ts.map +1 -1
- package/deviceManagement/virtualEndpoint/userSettings/item/assignments/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/userSettings/item/assignments/item/index.d.ts +3 -3
- package/deviceManagement/virtualEndpoint/userSettings/item/index.d.ts +10 -7
- package/deviceManagement/virtualEndpoint/userSettings/item/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { type CloudPC, type CloudPCCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type CloudPCItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface CloudPCsRequestBuilder extends BaseRequestBuilder<CloudPCsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity.
|
|
15
|
+
* @param cloudPCId The unique identifier of cloudPC
|
|
16
|
+
* @returns {CloudPCItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byCloudPCId(cloudPCId: string): CloudPCItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* List the cloudPC devices in a tenant.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<CloudPCCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/virtualendpoint-list-cloudpcs?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<CloudPCsRequestBuilderGetQueryParameters> | undefined): Promise<CloudPCCollectionResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create new navigation property to cloudPCs for deviceManagement
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<CloudPC>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
*/
|
|
34
|
+
post(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPC | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* List the cloudPC devices in a tenant.
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns {RequestInformation}
|
|
39
|
+
*/
|
|
40
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPCsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
41
|
+
/**
|
|
42
|
+
* Create new navigation property to cloudPCs for deviceManagement
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {RequestInformation}
|
|
46
|
+
*/
|
|
47
|
+
toPostRequestInformation(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* List the cloudPC devices in a tenant.
|
|
51
|
+
*/
|
|
52
|
+
export interface CloudPCsRequestBuilderGetQueryParameters {
|
|
53
|
+
/**
|
|
54
|
+
* Include count of items
|
|
55
|
+
*/
|
|
56
|
+
count?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Filter items by property values
|
|
63
|
+
*/
|
|
64
|
+
filter?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Order items by property values
|
|
67
|
+
*/
|
|
68
|
+
orderby?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Search items by search phrases
|
|
71
|
+
*/
|
|
72
|
+
search?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Select properties to be returned
|
|
75
|
+
*/
|
|
76
|
+
select?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* Skip the first n items
|
|
79
|
+
*/
|
|
80
|
+
skip?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Show only the first n items
|
|
83
|
+
*/
|
|
84
|
+
top?: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const CloudPCsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
90
|
+
/**
|
|
91
|
+
* Metadata for all the navigation properties in the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const CloudPCsRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudPCsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the requests in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const CloudPCsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
98
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE5M,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACjJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,sIAAsI,CAAC;AAcrL;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudPCsRequestBuilderRequestsMetadata = exports.CloudPCsRequestBuilderNavigationMetadata = exports.CloudPCsRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.CloudPCsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const CloudPCsRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"count": "%24count",
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"filter": "%24filter",
|
|
22
|
+
"orderby": "%24orderby",
|
|
23
|
+
"search": "%24search",
|
|
24
|
+
"select": "%24select",
|
|
25
|
+
"skip": "%24skip",
|
|
26
|
+
"top": "%24top",
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the navigation properties in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
exports.CloudPCsRequestBuilderNavigationMetadata = {
|
|
32
|
+
byCloudPCId: {
|
|
33
|
+
requestsMetadata: item_1.CloudPCItemRequestBuilderRequestsMetadata,
|
|
34
|
+
navigationMetadata: item_1.CloudPCItemRequestBuilderNavigationMetadata,
|
|
35
|
+
pathParametersMappings: ["cloudPC%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
exports.CloudPCsRequestBuilderRequestsMetadata = {
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: exports.CloudPCsRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: models_1.createCloudPCCollectionResponseFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: CloudPCsRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
post: {
|
|
56
|
+
uriTemplate: exports.CloudPCsRequestBuilderUriTemplate,
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "send",
|
|
62
|
+
responseBodyFactory: models_1.createCloudPCFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: models_1.serializeCloudPC,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to call the endGracePeriod method.
|
|
4
|
+
*/
|
|
5
|
+
export interface EndGracePeriodRequestBuilder extends BaseRequestBuilder<EndGracePeriodRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/cloudpc-endgraceperiod?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const EndGracePeriodRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/endGracePeriod";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const EndGracePeriodRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,uFAAuF,CAAC;AAC5I;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAS1D,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EndGracePeriodRequestBuilderRequestsMetadata = exports.EndGracePeriodRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.EndGracePeriodRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/endGracePeriod";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
exports.EndGracePeriodRequestBuilderRequestsMetadata = {
|
|
16
|
+
post: {
|
|
17
|
+
uriTemplate: exports.EndGracePeriodRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendNoResponseContent",
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/* tslint:enable */
|
|
26
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type CloudPC } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type EndGracePeriodRequestBuilder } from './endGracePeriod/';
|
|
3
|
+
import { type RebootRequestBuilder } from './reboot/';
|
|
4
|
+
import { type RenameRequestBuilder } from './rename/';
|
|
5
|
+
import { type RestoreRequestBuilder } from './restore/';
|
|
6
|
+
import { type TroubleshootRequestBuilder } from './troubleshoot/';
|
|
7
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity.
|
|
10
|
+
*/
|
|
11
|
+
export interface CloudPCItemRequestBuilder extends BaseRequestBuilder<CloudPCItemRequestBuilder> {
|
|
12
|
+
/**
|
|
13
|
+
* Provides operations to call the endGracePeriod method.
|
|
14
|
+
*/
|
|
15
|
+
get endGracePeriod(): EndGracePeriodRequestBuilder;
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to call the reboot method.
|
|
18
|
+
*/
|
|
19
|
+
get reboot(): RebootRequestBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to call the rename method.
|
|
22
|
+
*/
|
|
23
|
+
get rename(): RenameRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Provides operations to call the restore method.
|
|
26
|
+
*/
|
|
27
|
+
get restore(): RestoreRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* Provides operations to call the troubleshoot method.
|
|
30
|
+
*/
|
|
31
|
+
get troubleshoot(): TroubleshootRequestBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* Delete navigation property cloudPCs for deviceManagement
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
36
|
+
*/
|
|
37
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Read the properties and relationships of a specific cloudPC object.
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns {Promise<CloudPC>}
|
|
42
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
43
|
+
* @see {@link https://learn.microsoft.com/graph/api/cloudpc-get?view=graph-rest-1.0|Find more info here}
|
|
44
|
+
*/
|
|
45
|
+
get(requestConfiguration?: RequestConfiguration<CloudPCItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPC | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Update the navigation property cloudPCs in deviceManagement
|
|
48
|
+
* @param body The request body
|
|
49
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
|
+
* @returns {Promise<CloudPC>}
|
|
51
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
52
|
+
*/
|
|
53
|
+
patch(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPC | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Delete navigation property cloudPCs for deviceManagement
|
|
56
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
57
|
+
* @returns {RequestInformation}
|
|
58
|
+
*/
|
|
59
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
60
|
+
/**
|
|
61
|
+
* Read the properties and relationships of a specific cloudPC object.
|
|
62
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
63
|
+
* @returns {RequestInformation}
|
|
64
|
+
*/
|
|
65
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPCItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
66
|
+
/**
|
|
67
|
+
* Update the navigation property cloudPCs in deviceManagement
|
|
68
|
+
* @param body The request body
|
|
69
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
70
|
+
* @returns {RequestInformation}
|
|
71
|
+
*/
|
|
72
|
+
toPatchRequestInformation(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Read the properties and relationships of a specific cloudPC object.
|
|
76
|
+
*/
|
|
77
|
+
export interface CloudPCItemRequestBuilderGetQueryParameters {
|
|
78
|
+
/**
|
|
79
|
+
* Expand related entities
|
|
80
|
+
*/
|
|
81
|
+
expand?: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Select properties to be returned
|
|
84
|
+
*/
|
|
85
|
+
select?: string[];
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CloudPCItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}";
|
|
91
|
+
/**
|
|
92
|
+
* Metadata for all the navigation properties in the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const CloudPCItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudPCItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
95
|
+
/**
|
|
96
|
+
* Metadata for all the requests in the request builder.
|
|
97
|
+
*/
|
|
98
|
+
export declare const CloudPCItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
99
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAErH,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACpH,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC5F,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC5F,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC/F,OAAO,EAA8C,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC9G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;IAC/C;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,8FAA8F,CAAC;AAQhJ;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgBhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudPCItemRequestBuilderRequestsMetadata = exports.CloudPCItemRequestBuilderNavigationMetadata = exports.CloudPCItemRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const endGracePeriod_1 = require("./endGracePeriod/");
|
|
10
|
+
const reboot_1 = require("./reboot/");
|
|
11
|
+
const rename_1 = require("./rename/");
|
|
12
|
+
const restore_1 = require("./restore/");
|
|
13
|
+
const troubleshoot_1 = require("./troubleshoot/");
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
exports.CloudPCItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}";
|
|
18
|
+
/**
|
|
19
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
20
|
+
*/
|
|
21
|
+
const CloudPCItemRequestBuilderGetQueryParametersMapper = {
|
|
22
|
+
"expand": "%24expand",
|
|
23
|
+
"select": "%24select",
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the navigation properties in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
exports.CloudPCItemRequestBuilderNavigationMetadata = {
|
|
29
|
+
endGracePeriod: {
|
|
30
|
+
requestsMetadata: endGracePeriod_1.EndGracePeriodRequestBuilderRequestsMetadata,
|
|
31
|
+
},
|
|
32
|
+
reboot: {
|
|
33
|
+
requestsMetadata: reboot_1.RebootRequestBuilderRequestsMetadata,
|
|
34
|
+
},
|
|
35
|
+
rename: {
|
|
36
|
+
requestsMetadata: rename_1.RenameRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
restore: {
|
|
39
|
+
requestsMetadata: restore_1.RestoreRequestBuilderRequestsMetadata,
|
|
40
|
+
},
|
|
41
|
+
troubleshoot: {
|
|
42
|
+
requestsMetadata: troubleshoot_1.TroubleshootRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Metadata for all the requests in the request builder.
|
|
47
|
+
*/
|
|
48
|
+
exports.CloudPCItemRequestBuilderRequestsMetadata = {
|
|
49
|
+
delete: {
|
|
50
|
+
uriTemplate: exports.CloudPCItemRequestBuilderUriTemplate,
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendNoResponseContent",
|
|
56
|
+
},
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: exports.CloudPCItemRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: models_1.createCloudPCFromDiscriminatorValue,
|
|
65
|
+
queryParametersMapper: CloudPCItemRequestBuilderGetQueryParametersMapper,
|
|
66
|
+
},
|
|
67
|
+
patch: {
|
|
68
|
+
uriTemplate: exports.CloudPCItemRequestBuilderUriTemplate,
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
72
|
+
},
|
|
73
|
+
adapterMethodName: "send",
|
|
74
|
+
responseBodyFactory: models_1.createCloudPCFromDiscriminatorValue,
|
|
75
|
+
requestBodyContentType: "application/json",
|
|
76
|
+
requestBodySerializer: models_1.serializeCloudPC,
|
|
77
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
/* tslint:enable */
|
|
81
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to call the reboot method.
|
|
4
|
+
*/
|
|
5
|
+
export interface RebootRequestBuilder extends BaseRequestBuilder<RebootRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Reboot a specific cloudPC object.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/cloudpc-reboot?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Reboot a specific cloudPC object.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const RebootRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reboot";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const RebootRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,+EAA+E,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBASlD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RebootRequestBuilderRequestsMetadata = exports.RebootRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.RebootRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reboot";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
exports.RebootRequestBuilderRequestsMetadata = {
|
|
16
|
+
post: {
|
|
17
|
+
uriTemplate: exports.RebootRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendNoResponseContent",
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/* tslint:enable */
|
|
26
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns {RenamePostRequestBody}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createRenamePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
11
|
+
*/
|
|
12
|
+
export declare function deserializeIntoRenamePostRequestBody(renamePostRequestBody?: Partial<RenamePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
13
|
+
export interface RenamePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
14
|
+
/**
|
|
15
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
16
|
+
*/
|
|
17
|
+
additionalData?: Record<string, unknown>;
|
|
18
|
+
/**
|
|
19
|
+
* Stores model information.
|
|
20
|
+
*/
|
|
21
|
+
backingStoreEnabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The displayName property
|
|
24
|
+
*/
|
|
25
|
+
displayName?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Provides operations to call the rename method.
|
|
29
|
+
*/
|
|
30
|
+
export interface RenameRequestBuilder extends BaseRequestBuilder<RenameRequestBuilder> {
|
|
31
|
+
/**
|
|
32
|
+
* Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity.
|
|
33
|
+
* @param body The request body
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
36
|
+
* @see {@link https://learn.microsoft.com/graph/api/cloudpc-rename?view=graph-rest-1.0|Find more info here}
|
|
37
|
+
*/
|
|
38
|
+
post(body: RenamePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity.
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: RenamePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Serializes information the current object
|
|
49
|
+
* @param writer Serialization writer to use to serialize this model
|
|
50
|
+
*/
|
|
51
|
+
export declare function serializeRenamePostRequestBody(writer: SerializationWriter, renamePostRequestBody?: Partial<RenamePostRequestBody> | undefined): void;
|
|
52
|
+
/**
|
|
53
|
+
* Uri template for the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const RenameRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/rename";
|
|
56
|
+
/**
|
|
57
|
+
* Metadata for all the requests in the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const RenameRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEzK;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvK;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACpH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGzJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,+EAA+E,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RenameRequestBuilderRequestsMetadata = exports.RenameRequestBuilderUriTemplate = exports.serializeRenamePostRequestBody = exports.deserializeIntoRenamePostRequestBody = exports.createRenamePostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {RenamePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
function createRenamePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoRenamePostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createRenamePostRequestBodyFromDiscriminatorValue = createRenamePostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoRenamePostRequestBody(renamePostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { renamePostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"displayName": n => { renamePostRequestBody.displayName = n.getStringValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoRenamePostRequestBody = deserializeIntoRenamePostRequestBody;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeRenamePostRequestBody(writer, renamePostRequestBody = {}) {
|
|
33
|
+
writer.writeStringValue("displayName", renamePostRequestBody.displayName);
|
|
34
|
+
writer.writeAdditionalData(renamePostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeRenamePostRequestBody = serializeRenamePostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.RenameRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/rename";
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
exports.RenameRequestBuilderRequestsMetadata = {
|
|
45
|
+
post: {
|
|
46
|
+
uriTemplate: exports.RenameRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "sendNoResponseContent",
|
|
52
|
+
requestBodyContentType: "application/json",
|
|
53
|
+
requestBodySerializer: serializeRenamePostRequestBody,
|
|
54
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|