@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.
Files changed (69) hide show
  1. package/deviceManagement/deviceCompliancePolicies/index.d.ts +7 -7
  2. package/deviceManagement/deviceCompliancePolicies/item/index.d.ts +6 -6
  3. package/deviceManagement/deviceConfigurations/index.d.ts +7 -7
  4. package/deviceManagement/deviceConfigurations/item/index.d.ts +10 -10
  5. package/deviceManagement/deviceEnrollmentConfigurations/index.d.ts +7 -7
  6. package/deviceManagement/deviceEnrollmentConfigurations/item/index.d.ts +7 -7
  7. package/deviceManagement/index.d.ts +2 -2
  8. package/deviceManagement/virtualEndpoint/cloudPCs/count/index.d.ts +41 -0
  9. package/deviceManagement/virtualEndpoint/cloudPCs/count/index.d.ts.map +1 -0
  10. package/deviceManagement/virtualEndpoint/cloudPCs/count/index.js +35 -0
  11. package/deviceManagement/virtualEndpoint/cloudPCs/index.d.ts +97 -0
  12. package/deviceManagement/virtualEndpoint/cloudPCs/index.d.ts.map +1 -0
  13. package/deviceManagement/virtualEndpoint/cloudPCs/index.js +69 -0
  14. package/deviceManagement/virtualEndpoint/cloudPCs/item/endGracePeriod/index.d.ts +27 -0
  15. package/deviceManagement/virtualEndpoint/cloudPCs/item/endGracePeriod/index.d.ts.map +1 -0
  16. package/deviceManagement/virtualEndpoint/cloudPCs/item/endGracePeriod/index.js +26 -0
  17. package/deviceManagement/virtualEndpoint/cloudPCs/item/index.d.ts +98 -0
  18. package/deviceManagement/virtualEndpoint/cloudPCs/item/index.d.ts.map +1 -0
  19. package/deviceManagement/virtualEndpoint/cloudPCs/item/index.js +81 -0
  20. package/deviceManagement/virtualEndpoint/cloudPCs/item/reboot/index.d.ts +27 -0
  21. package/deviceManagement/virtualEndpoint/cloudPCs/item/reboot/index.d.ts.map +1 -0
  22. package/deviceManagement/virtualEndpoint/cloudPCs/item/reboot/index.js +26 -0
  23. package/deviceManagement/virtualEndpoint/cloudPCs/item/rename/index.d.ts +59 -0
  24. package/deviceManagement/virtualEndpoint/cloudPCs/item/rename/index.d.ts.map +1 -0
  25. package/deviceManagement/virtualEndpoint/cloudPCs/item/rename/index.js +58 -0
  26. package/deviceManagement/virtualEndpoint/cloudPCs/item/restore/index.d.ts +59 -0
  27. package/deviceManagement/virtualEndpoint/cloudPCs/item/restore/index.d.ts.map +1 -0
  28. package/deviceManagement/virtualEndpoint/cloudPCs/item/restore/index.js +58 -0
  29. package/deviceManagement/virtualEndpoint/cloudPCs/item/troubleshoot/index.d.ts +27 -0
  30. package/deviceManagement/virtualEndpoint/cloudPCs/item/troubleshoot/index.d.ts.map +1 -0
  31. package/deviceManagement/virtualEndpoint/cloudPCs/item/troubleshoot/index.js +26 -0
  32. package/deviceManagement/virtualEndpoint/deviceImages/count/index.d.ts +41 -0
  33. package/deviceManagement/virtualEndpoint/deviceImages/count/index.d.ts.map +1 -0
  34. package/deviceManagement/virtualEndpoint/deviceImages/count/index.js +35 -0
  35. package/deviceManagement/virtualEndpoint/deviceImages/getSourceImages/index.d.ts +76 -0
  36. package/deviceManagement/virtualEndpoint/deviceImages/getSourceImages/index.d.ts.map +1 -0
  37. package/deviceManagement/virtualEndpoint/deviceImages/getSourceImages/index.js +65 -0
  38. package/deviceManagement/virtualEndpoint/deviceImages/index.d.ts +102 -0
  39. package/deviceManagement/virtualEndpoint/deviceImages/index.d.ts.map +1 -0
  40. package/deviceManagement/virtualEndpoint/deviceImages/index.js +72 -0
  41. package/deviceManagement/virtualEndpoint/deviceImages/item/index.d.ts +69 -0
  42. package/deviceManagement/virtualEndpoint/deviceImages/item/index.d.ts.map +1 -0
  43. package/deviceManagement/virtualEndpoint/deviceImages/item/index.js +56 -0
  44. package/deviceManagement/virtualEndpoint/galleryImages/count/index.d.ts +41 -0
  45. package/deviceManagement/virtualEndpoint/galleryImages/count/index.d.ts.map +1 -0
  46. package/deviceManagement/virtualEndpoint/galleryImages/count/index.js +35 -0
  47. package/deviceManagement/virtualEndpoint/galleryImages/index.d.ts +97 -0
  48. package/deviceManagement/virtualEndpoint/galleryImages/index.d.ts.map +1 -0
  49. package/deviceManagement/virtualEndpoint/galleryImages/index.js +68 -0
  50. package/deviceManagement/virtualEndpoint/galleryImages/item/index.d.ts +69 -0
  51. package/deviceManagement/virtualEndpoint/galleryImages/item/index.d.ts.map +1 -0
  52. package/deviceManagement/virtualEndpoint/galleryImages/item/index.js +56 -0
  53. package/deviceManagement/virtualEndpoint/index.d.ts +20 -0
  54. package/deviceManagement/virtualEndpoint/index.d.ts.map +1 -1
  55. package/deviceManagement/virtualEndpoint/index.js +20 -0
  56. package/deviceManagement/virtualEndpoint/onPremisesConnections/count/index.d.ts +41 -0
  57. package/deviceManagement/virtualEndpoint/onPremisesConnections/count/index.d.ts.map +1 -0
  58. package/deviceManagement/virtualEndpoint/onPremisesConnections/count/index.js +35 -0
  59. package/deviceManagement/virtualEndpoint/onPremisesConnections/index.d.ts +97 -0
  60. package/deviceManagement/virtualEndpoint/onPremisesConnections/index.d.ts.map +1 -0
  61. package/deviceManagement/virtualEndpoint/onPremisesConnections/index.js +69 -0
  62. package/deviceManagement/virtualEndpoint/onPremisesConnections/item/index.d.ts +78 -0
  63. package/deviceManagement/virtualEndpoint/onPremisesConnections/item/index.d.ts.map +1 -0
  64. package/deviceManagement/virtualEndpoint/onPremisesConnections/item/index.js +65 -0
  65. package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.d.ts +27 -0
  66. package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.d.ts.map +1 -0
  67. package/deviceManagement/virtualEndpoint/onPremisesConnections/item/runHealthChecks/index.js +26 -0
  68. package/package.json +3 -3
  69. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GalleryImagesRequestBuilderRequestsMetadata = exports.GalleryImagesRequestBuilderNavigationMetadata = exports.GalleryImagesRequestBuilderUriTemplate = 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.GalleryImagesRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages{?%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 GalleryImagesRequestBuilderGetQueryParametersMapper = {
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.GalleryImagesRequestBuilderNavigationMetadata = {
32
+ byCloudPcGalleryImageId: {
33
+ requestsMetadata: item_1.CloudPcGalleryImageItemRequestBuilderRequestsMetadata,
34
+ pathParametersMappings: ["cloudPcGalleryImage%2Did"],
35
+ },
36
+ count: {
37
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
38
+ },
39
+ };
40
+ /**
41
+ * Metadata for all the requests in the request builder.
42
+ */
43
+ exports.GalleryImagesRequestBuilderRequestsMetadata = {
44
+ get: {
45
+ uriTemplate: exports.GalleryImagesRequestBuilderUriTemplate,
46
+ responseBodyContentType: "application/json",
47
+ errorMappings: {
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ },
50
+ adapterMethodName: "send",
51
+ responseBodyFactory: models_1.createCloudPcGalleryImageCollectionResponseFromDiscriminatorValue,
52
+ queryParametersMapper: GalleryImagesRequestBuilderGetQueryParametersMapper,
53
+ },
54
+ post: {
55
+ uriTemplate: exports.GalleryImagesRequestBuilderUriTemplate,
56
+ responseBodyContentType: "application/json",
57
+ errorMappings: {
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ },
60
+ adapterMethodName: "send",
61
+ responseBodyFactory: models_1.createCloudPcGalleryImageFromDiscriminatorValue,
62
+ requestBodyContentType: "application/json",
63
+ requestBodySerializer: models_1.serializeCloudPcGalleryImage,
64
+ requestInformationContentSetMethod: "setContentFromParsable",
65
+ },
66
+ };
67
+ /* tslint:enable */
68
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type CloudPcGalleryImage } 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 galleryImages property of the microsoft.graph.virtualEndpoint entity.
5
+ */
6
+ export interface CloudPcGalleryImageItemRequestBuilder extends BaseRequestBuilder<CloudPcGalleryImageItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property galleryImages 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 galleryImages from deviceManagement
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<CloudPcGalleryImage>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<CloudPcGalleryImageItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcGalleryImage | undefined>;
20
+ /**
21
+ * Update the navigation property galleryImages 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<CloudPcGalleryImage>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ patch(body: CloudPcGalleryImage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcGalleryImage | undefined>;
28
+ /**
29
+ * Delete navigation property galleryImages 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 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<CloudPcGalleryImageItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property galleryImages 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: CloudPcGalleryImage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get galleryImages from deviceManagement
50
+ */
51
+ export interface CloudPcGalleryImageItemRequestBuilderGetQueryParameters {
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 CloudPcGalleryImageItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages/{cloudPcGalleryImage%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const CloudPcGalleryImageItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":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,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,+GAA+G,CAAC;AAQ7K;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudPcGalleryImageItemRequestBuilderRequestsMetadata = exports.CloudPcGalleryImageItemRequestBuilderUriTemplate = 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.CloudPcGalleryImageItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages/{cloudPcGalleryImage%2Did}{?%24expand,%24select}";
13
+ /**
14
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
+ */
16
+ const CloudPcGalleryImageItemRequestBuilderGetQueryParametersMapper = {
17
+ "expand": "%24expand",
18
+ "select": "%24select",
19
+ };
20
+ /**
21
+ * Metadata for all the requests in the request builder.
22
+ */
23
+ exports.CloudPcGalleryImageItemRequestBuilderRequestsMetadata = {
24
+ delete: {
25
+ uriTemplate: exports.CloudPcGalleryImageItemRequestBuilderUriTemplate,
26
+ responseBodyContentType: "application/json",
27
+ errorMappings: {
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ },
30
+ adapterMethodName: "sendNoResponseContent",
31
+ },
32
+ get: {
33
+ uriTemplate: exports.CloudPcGalleryImageItemRequestBuilderUriTemplate,
34
+ responseBodyContentType: "application/json",
35
+ errorMappings: {
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
37
+ },
38
+ adapterMethodName: "send",
39
+ responseBodyFactory: models_1.createCloudPcGalleryImageFromDiscriminatorValue,
40
+ queryParametersMapper: CloudPcGalleryImageItemRequestBuilderGetQueryParametersMapper,
41
+ },
42
+ patch: {
43
+ uriTemplate: exports.CloudPcGalleryImageItemRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "send",
49
+ responseBodyFactory: models_1.createCloudPcGalleryImageFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: models_1.serializeCloudPcGalleryImage,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -1,5 +1,9 @@
1
1
  import { type VirtualEndpoint } from '@microsoft/msgraph-sdk/models/';
2
2
  import { type AuditEventsRequestBuilder } from './auditEvents/';
3
+ import { type CloudPCsRequestBuilder } from './cloudPCs/';
4
+ import { type DeviceImagesRequestBuilder } from './deviceImages/';
5
+ import { type GalleryImagesRequestBuilder } from './galleryImages/';
6
+ import { type OnPremisesConnectionsRequestBuilder } from './onPremisesConnections/';
3
7
  import { type ProvisioningPoliciesRequestBuilder } from './provisioningPolicies/';
4
8
  import { type UserSettingsRequestBuilder } from './userSettings/';
5
9
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
@@ -11,6 +15,22 @@ export interface VirtualEndpointRequestBuilder extends BaseRequestBuilder<Virtua
11
15
  * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
12
16
  */
13
17
  get auditEvents(): AuditEventsRequestBuilder;
18
+ /**
19
+ * Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity.
20
+ */
21
+ get cloudPCs(): CloudPCsRequestBuilder;
22
+ /**
23
+ * Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity.
24
+ */
25
+ get deviceImages(): DeviceImagesRequestBuilder;
26
+ /**
27
+ * Provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity.
28
+ */
29
+ get galleryImages(): GalleryImagesRequestBuilder;
30
+ /**
31
+ * Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
32
+ */
33
+ get onPremisesConnections(): OnPremisesConnectionsRequestBuilder;
14
34
  /**
15
35
  * Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity.
16
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACxJ,OAAO,EAA4G,KAAK,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC5L,OAAO,EAAE,KAAK,0BAA0B,EAA4F,MAAM,iBAAiB,CAAC;AAC5J,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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,oBAAoB,IAAI,kCAAkC,CAAC;IAC/D;;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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,e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AC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtI;;;;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,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,sEAAsE,CAAC;AAQ5H;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA6BxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBA+B3D,CAAC"}
@@ -7,6 +7,10 @@ exports.VirtualEndpointRequestBuilderRequestsMetadata = exports.VirtualEndpointR
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const auditEvents_1 = require("./auditEvents/");
10
+ const cloudPCs_1 = require("./cloudPCs/");
11
+ const deviceImages_1 = require("./deviceImages/");
12
+ const galleryImages_1 = require("./galleryImages/");
13
+ const onPremisesConnections_1 = require("./onPremisesConnections/");
10
14
  const provisioningPolicies_1 = require("./provisioningPolicies/");
11
15
  const userSettings_1 = require("./userSettings/");
12
16
  /**
@@ -28,6 +32,22 @@ exports.VirtualEndpointRequestBuilderNavigationMetadata = {
28
32
  requestsMetadata: auditEvents_1.AuditEventsRequestBuilderRequestsMetadata,
29
33
  navigationMetadata: auditEvents_1.AuditEventsRequestBuilderNavigationMetadata,
30
34
  },
35
+ cloudPCs: {
36
+ requestsMetadata: cloudPCs_1.CloudPCsRequestBuilderRequestsMetadata,
37
+ navigationMetadata: cloudPCs_1.CloudPCsRequestBuilderNavigationMetadata,
38
+ },
39
+ deviceImages: {
40
+ requestsMetadata: deviceImages_1.DeviceImagesRequestBuilderRequestsMetadata,
41
+ navigationMetadata: deviceImages_1.DeviceImagesRequestBuilderNavigationMetadata,
42
+ },
43
+ galleryImages: {
44
+ requestsMetadata: galleryImages_1.GalleryImagesRequestBuilderRequestsMetadata,
45
+ navigationMetadata: galleryImages_1.GalleryImagesRequestBuilderNavigationMetadata,
46
+ },
47
+ onPremisesConnections: {
48
+ requestsMetadata: onPremisesConnections_1.OnPremisesConnectionsRequestBuilderRequestsMetadata,
49
+ navigationMetadata: onPremisesConnections_1.OnPremisesConnectionsRequestBuilderNavigationMetadata,
50
+ },
31
51
  provisioningPolicies: {
32
52
  requestsMetadata: provisioningPolicies_1.ProvisioningPoliciesRequestBuilderRequestsMetadata,
33
53
  navigationMetadata: provisioningPolicies_1.ProvisioningPoliciesRequestBuilderNavigationMetadata,
@@ -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/onPremisesConnections/$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,mGAAmG,CAAC;AAQ/I;;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/onPremisesConnections/$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 CloudPcOnPremisesConnection, type CloudPcOnPremisesConnectionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type CloudPcOnPremisesConnectionItemRequestBuilder } 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 onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
7
+ */
8
+ export interface OnPremisesConnectionsRequestBuilder extends BaseRequestBuilder<OnPremisesConnectionsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
15
+ * @param cloudPcOnPremisesConnectionId The unique identifier of cloudPcOnPremisesConnection
16
+ * @returns {CloudPcOnPremisesConnectionItemRequestBuilder}
17
+ */
18
+ byCloudPcOnPremisesConnectionId(cloudPcOnPremisesConnectionId: string): CloudPcOnPremisesConnectionItemRequestBuilder;
19
+ /**
20
+ * Get onPremisesConnections from deviceManagement
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<CloudPcOnPremisesConnectionCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<OnPremisesConnectionsRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcOnPremisesConnectionCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to onPremisesConnections 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<CloudPcOnPremisesConnection>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: CloudPcOnPremisesConnection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcOnPremisesConnection | undefined>;
34
+ /**
35
+ * Get onPremisesConnections 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<OnPremisesConnectionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to onPremisesConnections 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: CloudPcOnPremisesConnection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get onPremisesConnections from deviceManagement
50
+ */
51
+ export interface OnPremisesConnectionsRequestBuilderGetQueryParameters {
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 OnPremisesConnectionsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections{?%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 OnPremisesConnectionsRequestBuilderNavigationMetadata: Record<Exclude<keyof OnPremisesConnectionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const OnPremisesConnectionsRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[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AAO,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,8CAA8C,mJAAmJ,CAAC;AAc/M;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnPremisesConnectionsRequestBuilderRequestsMetadata = exports.OnPremisesConnectionsRequestBuilderNavigationMetadata = exports.OnPremisesConnectionsRequestBuilderUriTemplate = 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.OnPremisesConnectionsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections{?%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 OnPremisesConnectionsRequestBuilderGetQueryParametersMapper = {
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.OnPremisesConnectionsRequestBuilderNavigationMetadata = {
32
+ byCloudPcOnPremisesConnectionId: {
33
+ requestsMetadata: item_1.CloudPcOnPremisesConnectionItemRequestBuilderRequestsMetadata,
34
+ navigationMetadata: item_1.CloudPcOnPremisesConnectionItemRequestBuilderNavigationMetadata,
35
+ pathParametersMappings: ["cloudPcOnPremisesConnection%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.OnPremisesConnectionsRequestBuilderRequestsMetadata = {
45
+ get: {
46
+ uriTemplate: exports.OnPremisesConnectionsRequestBuilderUriTemplate,
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "send",
52
+ responseBodyFactory: models_1.createCloudPcOnPremisesConnectionCollectionResponseFromDiscriminatorValue,
53
+ queryParametersMapper: OnPremisesConnectionsRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ post: {
56
+ uriTemplate: exports.OnPremisesConnectionsRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "send",
62
+ responseBodyFactory: models_1.createCloudPcOnPremisesConnectionFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: models_1.serializeCloudPcOnPremisesConnection,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */
@@ -0,0 +1,78 @@
1
+ import { type CloudPcOnPremisesConnection } from '@microsoft/msgraph-sdk/models/';
2
+ import { type RunHealthChecksRequestBuilder } from './runHealthChecks/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
6
+ */
7
+ export interface CloudPcOnPremisesConnectionItemRequestBuilder extends BaseRequestBuilder<CloudPcOnPremisesConnectionItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to call the runHealthChecks method.
10
+ */
11
+ get runHealthChecks(): RunHealthChecksRequestBuilder;
12
+ /**
13
+ * Delete navigation property onPremisesConnections for deviceManagement
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
+ */
17
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Get onPremisesConnections from deviceManagement
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<CloudPcOnPremisesConnection>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<CloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcOnPremisesConnection | undefined>;
25
+ /**
26
+ * Update the navigation property onPremisesConnections in deviceManagement
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<CloudPcOnPremisesConnection>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ */
32
+ patch(body: CloudPcOnPremisesConnection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcOnPremisesConnection | undefined>;
33
+ /**
34
+ * Delete navigation property onPremisesConnections for deviceManagement
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
+ /**
40
+ * Get onPremisesConnections 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<CloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Update the navigation property onPremisesConnections in 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
+ toPatchRequestInformation(body: CloudPcOnPremisesConnection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Get onPremisesConnections from deviceManagement
55
+ */
56
+ export interface CloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Expand related entities
59
+ */
60
+ expand?: string[];
61
+ /**
62
+ * Select properties to be returned
63
+ */
64
+ select?: string[];
65
+ }
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ export declare const CloudPcOnPremisesConnectionItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections/{cloudPcOnPremisesConnection%2Did}{?%24expand,%24select}";
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const CloudPcOnPremisesConnectionItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudPcOnPremisesConnectionItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const CloudPcOnPremisesConnectionItemRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ //# sourceMappingURL=index.d.ts.map
@@ -0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