@microsoft/msgraph-sdk-devicemanagement 1.0.0-preview.17 → 1.0.0-preview.18
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 +6 -6
- 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 +7 -7
- package/deviceManagement/index.d.ts +2 -2
- 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 +97 -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 +27 -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 +98 -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 +27 -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 +59 -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 +59 -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 +27 -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 +102 -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 +69 -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 +97 -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 +69 -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 +20 -0
- 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 +97 -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 +78 -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 +27 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.d.ts.map +1 -0
- package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.js +26 -0
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type CloudPcSourceDeviceImage } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {GetSourceImagesGetResponse}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createGetSourceImagesGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoGetSourceImagesGetResponse(getSourceImagesGetResponse?: Partial<GetSourceImagesGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface GetSourceImagesGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* The value property
|
|
17
|
+
*/
|
|
18
|
+
value?: CloudPcSourceDeviceImage[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to call the getSourceImages method.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetSourceImagesRequestBuilder extends BaseRequestBuilder<GetSourceImagesRequestBuilder> {
|
|
24
|
+
/**
|
|
25
|
+
* Invoke function getSourceImages
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns {Promise<GetSourceImagesGetResponse>}
|
|
28
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
*/
|
|
30
|
+
get(requestConfiguration?: RequestConfiguration<GetSourceImagesRequestBuilderGetQueryParameters> | undefined): Promise<GetSourceImagesGetResponse | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Invoke function getSourceImages
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns {RequestInformation}
|
|
35
|
+
*/
|
|
36
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetSourceImagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Invoke function getSourceImages
|
|
40
|
+
*/
|
|
41
|
+
export interface GetSourceImagesRequestBuilderGetQueryParameters {
|
|
42
|
+
/**
|
|
43
|
+
* Include count of items
|
|
44
|
+
*/
|
|
45
|
+
count?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Filter items by property values
|
|
48
|
+
*/
|
|
49
|
+
filter?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Search items by search phrases
|
|
52
|
+
*/
|
|
53
|
+
search?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Skip the first n items
|
|
56
|
+
*/
|
|
57
|
+
skip?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Show only the first n items
|
|
60
|
+
*/
|
|
61
|
+
top?: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Serializes information the current object
|
|
65
|
+
* @param writer Serialization writer to use to serialize this model
|
|
66
|
+
*/
|
|
67
|
+
export declare function serializeGetSourceImagesGetResponse(writer: SerializationWriter, getSourceImagesGetResponse?: Partial<GetSourceImagesGetResponse> | undefined): void;
|
|
68
|
+
/**
|
|
69
|
+
* Uri template for the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const GetSourceImagesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/getSourceImages(){?%24count,%24filter,%24search,%24skip,%24top}";
|
|
72
|
+
/**
|
|
73
|
+
* Metadata for all the requests in the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const GetSourceImagesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiM,KAAK,qCAAqC,EAAE,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE1T,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAA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E,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,MAAM,EAAE,mBAAmB,EAAE,0BAA0B,GAAE,OAAO,CAAC,0BAA0B,CAAC,GAAG,SAAc,GAAI,IAAI,CAGxK;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,6HAA6H,CAAC;AAWnL;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAW3D,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSourceImagesRequestBuilderRequestsMetadata = exports.GetSourceImagesRequestBuilderUriTemplate = exports.serializeGetSourceImagesGetResponse = exports.deserializeIntoGetSourceImagesGetResponse = exports.createGetSourceImagesGetResponseFromDiscriminatorValue = 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
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {GetSourceImagesGetResponse}
|
|
13
|
+
*/
|
|
14
|
+
function createGetSourceImagesGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoGetSourceImagesGetResponse;
|
|
16
|
+
}
|
|
17
|
+
exports.createGetSourceImagesGetResponseFromDiscriminatorValue = createGetSourceImagesGetResponseFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoGetSourceImagesGetResponse(getSourceImagesGetResponse = {}) {
|
|
23
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getSourceImagesGetResponse)), { "value": n => { getSourceImagesGetResponse.value = n.getCollectionOfObjectValues(models_1.createCloudPcSourceDeviceImageFromDiscriminatorValue); } });
|
|
24
|
+
}
|
|
25
|
+
exports.deserializeIntoGetSourceImagesGetResponse = deserializeIntoGetSourceImagesGetResponse;
|
|
26
|
+
/**
|
|
27
|
+
* Serializes information the current object
|
|
28
|
+
* @param writer Serialization writer to use to serialize this model
|
|
29
|
+
*/
|
|
30
|
+
function serializeGetSourceImagesGetResponse(writer, getSourceImagesGetResponse = {}) {
|
|
31
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getSourceImagesGetResponse);
|
|
32
|
+
writer.writeCollectionOfObjectValues("value", getSourceImagesGetResponse.value, models_1.serializeCloudPcSourceDeviceImage);
|
|
33
|
+
}
|
|
34
|
+
exports.serializeGetSourceImagesGetResponse = serializeGetSourceImagesGetResponse;
|
|
35
|
+
/**
|
|
36
|
+
* Uri template for the request builder.
|
|
37
|
+
*/
|
|
38
|
+
exports.GetSourceImagesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/getSourceImages(){?%24count,%24filter,%24search,%24skip,%24top}";
|
|
39
|
+
/**
|
|
40
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
41
|
+
*/
|
|
42
|
+
const GetSourceImagesRequestBuilderGetQueryParametersMapper = {
|
|
43
|
+
"count": "%24count",
|
|
44
|
+
"filter": "%24filter",
|
|
45
|
+
"search": "%24search",
|
|
46
|
+
"skip": "%24skip",
|
|
47
|
+
"top": "%24top",
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the requests in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
exports.GetSourceImagesRequestBuilderRequestsMetadata = {
|
|
53
|
+
get: {
|
|
54
|
+
uriTemplate: exports.GetSourceImagesRequestBuilderUriTemplate,
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "send",
|
|
60
|
+
responseBodyFactory: createGetSourceImagesGetResponseFromDiscriminatorValue,
|
|
61
|
+
queryParametersMapper: GetSourceImagesRequestBuilderGetQueryParametersMapper,
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { type CloudPcDeviceImage, type CloudPcDeviceImageCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type GetSourceImagesRequestBuilder } from './getSourceImages/';
|
|
4
|
+
import { type CloudPcDeviceImageItemRequestBuilder } from './item/';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface DeviceImagesRequestBuilder extends BaseRequestBuilder<DeviceImagesRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to count the resources in the collection.
|
|
12
|
+
*/
|
|
13
|
+
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the getSourceImages method.
|
|
16
|
+
*/
|
|
17
|
+
get getSourceImages(): GetSourceImagesRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity.
|
|
20
|
+
* @param cloudPcDeviceImageId The unique identifier of cloudPcDeviceImage
|
|
21
|
+
* @returns {CloudPcDeviceImageItemRequestBuilder}
|
|
22
|
+
*/
|
|
23
|
+
byCloudPcDeviceImageId(cloudPcDeviceImageId: string): CloudPcDeviceImageItemRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Get deviceImages from deviceManagement
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns {Promise<CloudPcDeviceImageCollectionResponse>}
|
|
28
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
*/
|
|
30
|
+
get(requestConfiguration?: RequestConfiguration<DeviceImagesRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcDeviceImageCollectionResponse | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Create new navigation property to deviceImages for deviceManagement
|
|
33
|
+
* @param body The request body
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns {Promise<CloudPcDeviceImage>}
|
|
36
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
37
|
+
*/
|
|
38
|
+
post(body: CloudPcDeviceImage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcDeviceImage | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Get deviceImages from deviceManagement
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceImagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Create new navigation property to deviceImages for deviceManagement
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPostRequestInformation(body: CloudPcDeviceImage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get deviceImages from deviceManagement
|
|
55
|
+
*/
|
|
56
|
+
export interface DeviceImagesRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Include count of items
|
|
59
|
+
*/
|
|
60
|
+
count?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Expand related entities
|
|
63
|
+
*/
|
|
64
|
+
expand?: string[];
|
|
65
|
+
/**
|
|
66
|
+
* Filter items by property values
|
|
67
|
+
*/
|
|
68
|
+
filter?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Order items by property values
|
|
71
|
+
*/
|
|
72
|
+
orderby?: string[];
|
|
73
|
+
/**
|
|
74
|
+
* Search items by search phrases
|
|
75
|
+
*/
|
|
76
|
+
search?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Select properties to be returned
|
|
79
|
+
*/
|
|
80
|
+
select?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Skip the first n items
|
|
83
|
+
*/
|
|
84
|
+
skip?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Show only the first n items
|
|
87
|
+
*/
|
|
88
|
+
top?: number;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Uri template for the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const DeviceImagesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the navigation properties in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const DeviceImagesRequestBuilderNavigationMetadata: Record<Exclude<keyof DeviceImagesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
98
|
+
/**
|
|
99
|
+
* Metadata for all the requests in the request builder.
|
|
100
|
+
*/
|
|
101
|
+
export declare const DeviceImagesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
102
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;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,qCAAqC,0IAA0I,CAAC;AAc7L;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeviceImagesRequestBuilderRequestsMetadata = exports.DeviceImagesRequestBuilderNavigationMetadata = exports.DeviceImagesRequestBuilderUriTemplate = 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 getSourceImages_1 = require("./getSourceImages/");
|
|
11
|
+
const item_1 = require("./item/");
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
exports.DeviceImagesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const DeviceImagesRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
exports.DeviceImagesRequestBuilderNavigationMetadata = {
|
|
33
|
+
byCloudPcDeviceImageId: {
|
|
34
|
+
requestsMetadata: item_1.CloudPcDeviceImageItemRequestBuilderRequestsMetadata,
|
|
35
|
+
pathParametersMappings: ["cloudPcDeviceImage%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
getSourceImages: {
|
|
41
|
+
requestsMetadata: getSourceImages_1.GetSourceImagesRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.DeviceImagesRequestBuilderRequestsMetadata = {
|
|
48
|
+
get: {
|
|
49
|
+
uriTemplate: exports.DeviceImagesRequestBuilderUriTemplate,
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "send",
|
|
55
|
+
responseBodyFactory: models_1.createCloudPcDeviceImageCollectionResponseFromDiscriminatorValue,
|
|
56
|
+
queryParametersMapper: DeviceImagesRequestBuilderGetQueryParametersMapper,
|
|
57
|
+
},
|
|
58
|
+
post: {
|
|
59
|
+
uriTemplate: exports.DeviceImagesRequestBuilderUriTemplate,
|
|
60
|
+
responseBodyContentType: "application/json",
|
|
61
|
+
errorMappings: {
|
|
62
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
63
|
+
},
|
|
64
|
+
adapterMethodName: "send",
|
|
65
|
+
responseBodyFactory: models_1.createCloudPcDeviceImageFromDiscriminatorValue,
|
|
66
|
+
requestBodyContentType: "application/json",
|
|
67
|
+
requestBodySerializer: models_1.serializeCloudPcDeviceImage,
|
|
68
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
/* tslint:enable */
|
|
72
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type CloudPcDeviceImage } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface CloudPcDeviceImageItemRequestBuilder extends BaseRequestBuilder<CloudPcDeviceImageItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property deviceImages for deviceManagement
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get deviceImages from deviceManagement
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<CloudPcDeviceImage>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<CloudPcDeviceImageItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcDeviceImage | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property deviceImages in deviceManagement
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<CloudPcDeviceImage>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: CloudPcDeviceImage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcDeviceImage | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property deviceImages for deviceManagement
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* Get deviceImages from deviceManagement
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcDeviceImageItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property deviceImages in deviceManagement
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: CloudPcDeviceImage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get deviceImages from deviceManagement
|
|
50
|
+
*/
|
|
51
|
+
export interface CloudPcDeviceImageItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const CloudPcDeviceImageItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}{?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const CloudPcDeviceImageItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;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,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,6GAA6G,CAAC;AAQ1K;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudPcDeviceImageItemRequestBuilderRequestsMetadata = exports.CloudPcDeviceImageItemRequestBuilderUriTemplate = 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
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.CloudPcDeviceImageItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}{?%24expand,%24select}";
|
|
13
|
+
/**
|
|
14
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
|
+
*/
|
|
16
|
+
const CloudPcDeviceImageItemRequestBuilderGetQueryParametersMapper = {
|
|
17
|
+
"expand": "%24expand",
|
|
18
|
+
"select": "%24select",
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Metadata for all the requests in the request builder.
|
|
22
|
+
*/
|
|
23
|
+
exports.CloudPcDeviceImageItemRequestBuilderRequestsMetadata = {
|
|
24
|
+
delete: {
|
|
25
|
+
uriTemplate: exports.CloudPcDeviceImageItemRequestBuilderUriTemplate,
|
|
26
|
+
responseBodyContentType: "application/json",
|
|
27
|
+
errorMappings: {
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
adapterMethodName: "sendNoResponseContent",
|
|
31
|
+
},
|
|
32
|
+
get: {
|
|
33
|
+
uriTemplate: exports.CloudPcDeviceImageItemRequestBuilderUriTemplate,
|
|
34
|
+
responseBodyContentType: "application/json",
|
|
35
|
+
errorMappings: {
|
|
36
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
37
|
+
},
|
|
38
|
+
adapterMethodName: "send",
|
|
39
|
+
responseBodyFactory: models_1.createCloudPcDeviceImageFromDiscriminatorValue,
|
|
40
|
+
queryParametersMapper: CloudPcDeviceImageItemRequestBuilderGetQueryParametersMapper,
|
|
41
|
+
},
|
|
42
|
+
patch: {
|
|
43
|
+
uriTemplate: exports.CloudPcDeviceImageItemRequestBuilderUriTemplate,
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "send",
|
|
49
|
+
responseBodyFactory: models_1.createCloudPcDeviceImageFromDiscriminatorValue,
|
|
50
|
+
requestBodyContentType: "application/json",
|
|
51
|
+
requestBodySerializer: models_1.serializeCloudPcDeviceImage,
|
|
52
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# 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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,2FAA2F,CAAC;AAQvI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = 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.CountRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages/$count{?%24filter,%24search}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"filter": "%24filter",
|
|
17
|
+
"search": "%24search",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
23
|
+
get: {
|
|
24
|
+
uriTemplate: exports.CountRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "sendPrimitive",
|
|
30
|
+
responseBodyFactory: "number",
|
|
31
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type CloudPcGalleryImage, type CloudPcGalleryImageCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type CloudPcGalleryImageItemRequestBuilder } 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 galleryImages property of the microsoft.graph.virtualEndpoint entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface GalleryImagesRequestBuilder extends BaseRequestBuilder<GalleryImagesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity.
|
|
15
|
+
* @param cloudPcGalleryImageId The unique identifier of cloudPcGalleryImage
|
|
16
|
+
* @returns {CloudPcGalleryImageItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byCloudPcGalleryImageId(cloudPcGalleryImageId: string): CloudPcGalleryImageItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get galleryImages from deviceManagement
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<CloudPcGalleryImageCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<GalleryImagesRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcGalleryImageCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to galleryImages for deviceManagement
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {Promise<CloudPcGalleryImage>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
*/
|
|
33
|
+
post(body: CloudPcGalleryImage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcGalleryImage | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Get galleryImages from deviceManagement
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GalleryImagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create new navigation property to galleryImages for deviceManagement
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPostRequestInformation(body: CloudPcGalleryImage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get galleryImages from deviceManagement
|
|
50
|
+
*/
|
|
51
|
+
export interface GalleryImagesRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Include count of items
|
|
54
|
+
*/
|
|
55
|
+
count?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Expand related entities
|
|
58
|
+
*/
|
|
59
|
+
expand?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter items by property values
|
|
62
|
+
*/
|
|
63
|
+
filter?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Order items by property values
|
|
66
|
+
*/
|
|
67
|
+
orderby?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Search items by search phrases
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Select properties to be returned
|
|
74
|
+
*/
|
|
75
|
+
select?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Skip the first n items
|
|
78
|
+
*/
|
|
79
|
+
skip?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Show only the first n items
|
|
82
|
+
*/
|
|
83
|
+
top?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Uri template for the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const GalleryImagesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the navigation properties in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const GalleryImagesRequestBuilderNavigationMetadata: Record<Exclude<keyof GalleryImagesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const GalleryImagesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAyD,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AAC5H,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;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