@microsoft/msgraph-sdk-devicemanagement 1.0.0-preview.65 → 1.0.0-preview.67

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.
@@ -25,12 +25,12 @@ export interface DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuild
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<DeviceCompliancePoliciesRequestBuilderGetQueryParameters> | undefined): Promise<DeviceCompliancePolicyCollectionResponse | undefined>;
27
27
  /**
28
- * Create a new windows81CompliancePolicy object.
28
+ * Create a new windows10MobileCompliancePolicy object.
29
29
  * @param body The request body
30
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
31
  * @returns {Promise<DeviceCompliancePolicy>}
32
32
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0|Find more info here}
33
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-create?view=graph-rest-1.0|Find more info here}
34
34
  */
35
35
  post(body: DeviceCompliancePolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceCompliancePolicy | undefined>;
36
36
  /**
@@ -40,7 +40,7 @@ export interface DeviceCompliancePoliciesRequestBuilder extends BaseRequestBuild
40
40
  */
41
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceCompliancePoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
42
  /**
43
- * Create a new windows81CompliancePolicy object.
43
+ * Create a new windows10MobileCompliancePolicy object.
44
44
  * @param body The request body
45
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
46
  * @returns {RequestInformation}
@@ -50,43 +50,43 @@ export interface DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBui
50
50
  */
51
51
  get userStatusOverview(): UserStatusOverviewRequestBuilder;
52
52
  /**
53
- * Deletes a windows10MobileCompliancePolicy.
53
+ * Deletes a windows10CompliancePolicy.
54
54
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
55
55
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
56
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0|Find more info here}
56
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-delete?view=graph-rest-1.0|Find more info here}
57
57
  */
58
58
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
59
59
  /**
60
- * Read properties and relationships of the windowsPhone81CompliancePolicy object.
60
+ * Read properties and relationships of the deviceCompliancePolicy object.
61
61
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
62
62
  * @returns {Promise<DeviceCompliancePolicy>}
63
63
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
64
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0|Find more info here}
64
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0|Find more info here}
65
65
  */
66
66
  get(requestConfiguration?: RequestConfiguration<DeviceCompliancePolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceCompliancePolicy | undefined>;
67
67
  /**
68
- * Update the properties of a androidWorkProfileCompliancePolicy object.
68
+ * Update the properties of a androidCompliancePolicy object.
69
69
  * @param body The request body
70
70
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
71
71
  * @returns {Promise<DeviceCompliancePolicy>}
72
72
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
73
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0|Find more info here}
73
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0|Find more info here}
74
74
  */
75
75
  patch(body: DeviceCompliancePolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceCompliancePolicy | undefined>;
76
76
  /**
77
- * Deletes a windows10MobileCompliancePolicy.
77
+ * Deletes a windows10CompliancePolicy.
78
78
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
79
79
  * @returns {RequestInformation}
80
80
  */
81
81
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
82
82
  /**
83
- * Read properties and relationships of the windowsPhone81CompliancePolicy object.
83
+ * Read properties and relationships of the deviceCompliancePolicy object.
84
84
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
85
85
  * @returns {RequestInformation}
86
86
  */
87
87
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceCompliancePolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
88
88
  /**
89
- * Update the properties of a androidWorkProfileCompliancePolicy object.
89
+ * Update the properties of a androidCompliancePolicy object.
90
90
  * @param body The request body
91
91
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
92
92
  * @returns {RequestInformation}
@@ -94,7 +94,7 @@ export interface DeviceCompliancePolicyItemRequestBuilder extends BaseRequestBui
94
94
  toPatchRequestInformation(body: DeviceCompliancePolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
95
95
  }
96
96
  /**
97
- * Read properties and relationships of the windowsPhone81CompliancePolicy object.
97
+ * Read properties and relationships of the deviceCompliancePolicy object.
98
98
  */
99
99
  export interface DeviceCompliancePolicyItemRequestBuilderGetQueryParameters {
100
100
  /**
@@ -17,30 +17,30 @@ export interface DeviceConfigurationsRequestBuilder extends BaseRequestBuilder<D
17
17
  */
18
18
  byDeviceConfigurationId(deviceConfigurationId: string): DeviceConfigurationItemRequestBuilder;
19
19
  /**
20
- * List properties and relationships of the macOSDeviceFeaturesConfiguration objects.
20
+ * List properties and relationships of the windows10SecureAssessmentConfiguration objects.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<DeviceConfigurationCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-list?view=graph-rest-1.0|Find more info here}
24
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-list?view=graph-rest-1.0|Find more info here}
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<DeviceConfigurationsRequestBuilderGetQueryParameters> | undefined): Promise<DeviceConfigurationCollectionResponse | undefined>;
27
27
  /**
28
- * Create a new windowsUpdateForBusinessConfiguration object.
28
+ * Create a new iosDeviceFeaturesConfiguration object.
29
29
  * @param body The request body
30
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
31
  * @returns {Promise<DeviceConfiguration>}
32
32
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-create?view=graph-rest-1.0|Find more info here}
33
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-create?view=graph-rest-1.0|Find more info here}
34
34
  */
35
35
  post(body: DeviceConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceConfiguration | undefined>;
36
36
  /**
37
- * List properties and relationships of the macOSDeviceFeaturesConfiguration objects.
37
+ * List properties and relationships of the windows10SecureAssessmentConfiguration objects.
38
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
39
  * @returns {RequestInformation}
40
40
  */
41
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceConfigurationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
42
  /**
43
- * Create a new windowsUpdateForBusinessConfiguration object.
43
+ * Create a new iosDeviceFeaturesConfiguration object.
44
44
  * @param body The request body
45
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
46
  * @returns {RequestInformation}
@@ -48,7 +48,7 @@ export interface DeviceConfigurationsRequestBuilder extends BaseRequestBuilder<D
48
48
  toPostRequestInformation(body: DeviceConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
49
  }
50
50
  /**
51
- * List properties and relationships of the macOSDeviceFeaturesConfiguration objects.
51
+ * List properties and relationships of the windows10SecureAssessmentConfiguration objects.
52
52
  */
53
53
  export interface DeviceConfigurationsRequestBuilderGetQueryParameters {
54
54
  /**
@@ -41,18 +41,18 @@ export interface DeviceConfigurationItemRequestBuilder extends BaseRequestBuilde
41
41
  */
42
42
  get userStatusOverview(): UserStatusOverviewRequestBuilder;
43
43
  /**
44
- * Deletes a windowsPhone81CustomConfiguration.
44
+ * Deletes a windows10GeneralConfiguration.
45
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
46
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
47
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-delete?view=graph-rest-1.0|Find more info here}
47
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0|Find more info here}
48
48
  */
49
49
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
50
50
  /**
51
- * Read properties and relationships of the windows81GeneralConfiguration object.
51
+ * Read properties and relationships of the windows10TeamGeneralConfiguration object.
52
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
53
  * @returns {Promise<DeviceConfiguration>}
54
54
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
55
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-get?view=graph-rest-1.0|Find more info here}
55
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10teamgeneralconfiguration-get?view=graph-rest-1.0|Find more info here}
56
56
  */
57
57
  get(requestConfiguration?: RequestConfiguration<DeviceConfigurationItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceConfiguration | undefined>;
58
58
  /**
@@ -62,28 +62,28 @@ export interface DeviceConfigurationItemRequestBuilder extends BaseRequestBuilde
62
62
  */
63
63
  getOmaSettingPlainTextValueWithSecretReferenceValueId(secretReferenceValueId: string | undefined): GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder;
64
64
  /**
65
- * Update the properties of a macOSCustomConfiguration object.
65
+ * Update the properties of a windowsPhone81GeneralConfiguration object.
66
66
  * @param body The request body
67
67
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
68
68
  * @returns {Promise<DeviceConfiguration>}
69
69
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
70
- * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-update?view=graph-rest-1.0|Find more info here}
70
+ * @see {@link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-update?view=graph-rest-1.0|Find more info here}
71
71
  */
72
72
  patch(body: DeviceConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceConfiguration | undefined>;
73
73
  /**
74
- * Deletes a windowsPhone81CustomConfiguration.
74
+ * Deletes a windows10GeneralConfiguration.
75
75
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
76
76
  * @returns {RequestInformation}
77
77
  */
78
78
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
79
79
  /**
80
- * Read properties and relationships of the windows81GeneralConfiguration object.
80
+ * Read properties and relationships of the windows10TeamGeneralConfiguration object.
81
81
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
82
82
  * @returns {RequestInformation}
83
83
  */
84
84
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceConfigurationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
85
85
  /**
86
- * Update the properties of a macOSCustomConfiguration object.
86
+ * Update the properties of a windowsPhone81GeneralConfiguration object.
87
87
  * @param body The request body
88
88
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
89
89
  * @returns {RequestInformation}
@@ -91,7 +91,7 @@ export interface DeviceConfigurationItemRequestBuilder extends BaseRequestBuilde
91
91
  toPatchRequestInformation(body: DeviceConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
92
92
  }
93
93
  /**
94
- * Read properties and relationships of the windows81GeneralConfiguration object.
94
+ * Read properties and relationships of the windows10TeamGeneralConfiguration object.
95
95
  */
96
96
  export interface DeviceConfigurationItemRequestBuilderGetQueryParameters {
97
97
  /**
@@ -17,11 +17,11 @@ export interface DeviceEnrollmentConfigurationsRequestBuilder extends BaseReques
17
17
  */
18
18
  byDeviceEnrollmentConfigurationId(deviceEnrollmentConfigurationId: string): DeviceEnrollmentConfigurationItemRequestBuilder;
19
19
  /**
20
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
20
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<DeviceEnrollmentConfigurationCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
- * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0|Find more info here}
24
+ * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0|Find more info here}
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters> | undefined): Promise<DeviceEnrollmentConfigurationCollectionResponse | undefined>;
27
27
  /**
@@ -34,7 +34,7 @@ export interface DeviceEnrollmentConfigurationsRequestBuilder extends BaseReques
34
34
  */
35
35
  post(body: DeviceEnrollmentConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceEnrollmentConfiguration | undefined>;
36
36
  /**
37
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
37
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
38
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
39
  * @returns {RequestInformation}
40
40
  */
@@ -48,7 +48,7 @@ export interface DeviceEnrollmentConfigurationsRequestBuilder extends BaseReques
48
48
  toPostRequestInformation(body: DeviceEnrollmentConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
49
  }
50
50
  /**
51
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
51
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
52
52
  */
53
53
  export interface DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters {
54
54
  /**
@@ -20,10 +20,10 @@ export interface DeviceEnrollmentConfigurationItemRequestBuilder extends BaseReq
20
20
  */
21
21
  get setPriority(): SetPriorityRequestBuilder;
22
22
  /**
23
- * Deletes a deviceEnrollmentLimitConfiguration.
23
+ * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
25
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
- * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0|Find more info here}
26
+ * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0|Find more info here}
27
27
  */
28
28
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
29
29
  /**
@@ -35,16 +35,16 @@ export interface DeviceEnrollmentConfigurationItemRequestBuilder extends BaseReq
35
35
  */
36
36
  get(requestConfiguration?: RequestConfiguration<DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters> | undefined): Promise<DeviceEnrollmentConfiguration | undefined>;
37
37
  /**
38
- * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object.
38
+ * Update the properties of a deviceEnrollmentLimitConfiguration object.
39
39
  * @param body The request body
40
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
41
  * @returns {Promise<DeviceEnrollmentConfiguration>}
42
42
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
43
- * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0|Find more info here}
43
+ * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0|Find more info here}
44
44
  */
45
45
  patch(body: DeviceEnrollmentConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeviceEnrollmentConfiguration | undefined>;
46
46
  /**
47
- * Deletes a deviceEnrollmentLimitConfiguration.
47
+ * Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
48
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
49
  * @returns {RequestInformation}
50
50
  */
@@ -56,7 +56,7 @@ export interface DeviceEnrollmentConfigurationItemRequestBuilder extends BaseReq
56
56
  */
57
57
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
58
58
  /**
59
- * Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object.
59
+ * Update the properties of a deviceEnrollmentLimitConfiguration object.
60
60
  * @param body The request body
61
61
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
62
62
  * @returns {RequestInformation}
@@ -306,7 +306,7 @@ export interface DeviceManagementRequestBuilder extends BaseRequestBuilder<Devic
306
306
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
307
307
  * @returns {Promise<DeviceManagement>}
308
308
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
309
- * @see {@link https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-get?view=graph-rest-1.0|Find more info here}
309
+ * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-get?view=graph-rest-1.0|Find more info here}
310
310
  */
311
311
  get(requestConfiguration?: RequestConfiguration<DeviceManagementRequestBuilderGetQueryParameters> | undefined): Promise<DeviceManagement | undefined>;
312
312
  /**
@@ -17,11 +17,11 @@ export interface RoleDefinitionsRequestBuilder extends BaseRequestBuilder<RoleDe
17
17
  */
18
18
  byRoleDefinitionId(roleDefinitionId: string): RoleDefinitionItemRequestBuilder;
19
19
  /**
20
- * List properties and relationships of the roleDefinition objects.
20
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<RoleDefinitionCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
- * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0|Find more info here}
24
+ * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0|Find more info here}
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<RoleDefinitionsRequestBuilderGetQueryParameters> | undefined): Promise<RoleDefinitionCollectionResponse | undefined>;
27
27
  /**
@@ -34,7 +34,7 @@ export interface RoleDefinitionsRequestBuilder extends BaseRequestBuilder<RoleDe
34
34
  */
35
35
  post(body: RoleDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RoleDefinition | undefined>;
36
36
  /**
37
- * List properties and relationships of the roleDefinition objects.
37
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
38
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
39
  * @returns {RequestInformation}
40
40
  */
@@ -48,7 +48,7 @@ export interface RoleDefinitionsRequestBuilder extends BaseRequestBuilder<RoleDe
48
48
  toPostRequestInformation(body: RoleDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
49
  }
50
50
  /**
51
- * List properties and relationships of the roleDefinition objects.
51
+ * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
52
52
  */
53
53
  export interface RoleDefinitionsRequestBuilderGetQueryParameters {
54
54
  /**
@@ -10,43 +10,43 @@ export interface RoleDefinitionItemRequestBuilder extends BaseRequestBuilder<Rol
10
10
  */
11
11
  get roleAssignments(): RoleAssignmentsRequestBuilder;
12
12
  /**
13
- * Deletes a roleDefinition.
13
+ * Deletes a deviceAndAppManagementRoleDefinition.
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
15
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
- * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0|Find more info here}
16
+ * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0|Find more info here}
17
17
  */
18
18
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
19
19
  /**
20
- * Read properties and relationships of the roleDefinition object.
20
+ * Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<RoleDefinition>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
- * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0|Find more info here}
24
+ * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0|Find more info here}
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<RoleDefinitionItemRequestBuilderGetQueryParameters> | undefined): Promise<RoleDefinition | undefined>;
27
27
  /**
28
- * Update the properties of a deviceAndAppManagementRoleDefinition object.
28
+ * Update the properties of a roleDefinition object.
29
29
  * @param body The request body
30
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
31
  * @returns {Promise<RoleDefinition>}
32
32
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
- * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0|Find more info here}
33
+ * @see {@link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0|Find more info here}
34
34
  */
35
35
  patch(body: RoleDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RoleDefinition | undefined>;
36
36
  /**
37
- * Deletes a roleDefinition.
37
+ * Deletes a deviceAndAppManagementRoleDefinition.
38
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
39
  * @returns {RequestInformation}
40
40
  */
41
41
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
42
42
  /**
43
- * Read properties and relationships of the roleDefinition object.
43
+ * Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
44
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
45
  * @returns {RequestInformation}
46
46
  */
47
47
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoleDefinitionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
48
48
  /**
49
- * Update the properties of a deviceAndAppManagementRoleDefinition object.
49
+ * Update the properties of a roleDefinition object.
50
50
  * @param body The request body
51
51
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
52
  * @returns {RequestInformation}
@@ -54,7 +54,7 @@ export interface RoleDefinitionItemRequestBuilder extends BaseRequestBuilder<Rol
54
54
  toPatchRequestInformation(body: RoleDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
55
55
  }
56
56
  /**
57
- * Read properties and relationships of the roleDefinition object.
57
+ * Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
58
58
  */
59
59
  export interface RoleDefinitionItemRequestBuilderGetQueryParameters {
60
60
  /**
@@ -2,6 +2,7 @@ import { type CloudPC } from '@microsoft/msgraph-sdk/models/index.js';
2
2
  import { type EndGracePeriodRequestBuilder } from './endGracePeriod/index.js';
3
3
  import { type RebootRequestBuilder } from './reboot/index.js';
4
4
  import { type RenameRequestBuilder } from './rename/index.js';
5
+ import { type ResizeRequestBuilder } from './resize/index.js';
5
6
  import { type RestoreRequestBuilder } from './restore/index.js';
6
7
  import { type TroubleshootRequestBuilder } from './troubleshoot/index.js';
7
8
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
@@ -21,6 +22,10 @@ export interface CloudPCItemRequestBuilder extends BaseRequestBuilder<CloudPCIte
21
22
  * Provides operations to call the rename method.
22
23
  */
23
24
  get rename(): RenameRequestBuilder;
25
+ /**
26
+ * Provides operations to call the resize method.
27
+ */
28
+ get resize(): ResizeRequestBuilder;
24
29
  /**
25
30
  * Provides operations to call the restore method.
26
31
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAA8C,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEtH,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;;GAE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AE,kBAAkB,CAmBhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC"}
@@ -12,6 +12,8 @@ import { RebootRequestBuilderRequestsMetadata } from './reboot/index.js';
12
12
  // @ts-ignore
13
13
  import { RenameRequestBuilderRequestsMetadata } from './rename/index.js';
14
14
  // @ts-ignore
15
+ import { ResizeRequestBuilderRequestsMetadata } from './resize/index.js';
16
+ // @ts-ignore
15
17
  import { RestoreRequestBuilderRequestsMetadata } from './restore/index.js';
16
18
  // @ts-ignore
17
19
  import { TroubleshootRequestBuilderRequestsMetadata } from './troubleshoot/index.js';
@@ -39,6 +41,9 @@ export const CloudPCItemRequestBuilderNavigationMetadata = {
39
41
  rename: {
40
42
  requestsMetadata: RenameRequestBuilderRequestsMetadata,
41
43
  },
44
+ resize: {
45
+ requestsMetadata: ResizeRequestBuilderRequestsMetadata,
46
+ },
42
47
  restore: {
43
48
  requestsMetadata: RestoreRequestBuilderRequestsMetadata,
44
49
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AAC5H,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAmC,MAAM,yBAAyB,CAAC;AAmFtH;;GAEG;AAC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AAE;QACJ,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,qBAAqB,EAAE,iDAAiD;KAC3E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,58 @@
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 {ResizePostRequestBody}
6
+ */
7
+ export declare function createResizePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
8
+ /**
9
+ * The deserialization information for the current model
10
+ * @param ResizePostRequestBody The instance to deserialize into.
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
+ */
13
+ export declare function deserializeIntoResizePostRequestBody(resizePostRequestBody?: Partial<ResizePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface ResizePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
15
+ /**
16
+ * Stores model information.
17
+ */
18
+ backingStoreEnabled?: boolean | null;
19
+ /**
20
+ * The targetServicePlanId property
21
+ */
22
+ targetServicePlanId?: string | null;
23
+ }
24
+ /**
25
+ * Provides operations to call the resize method.
26
+ */
27
+ export interface ResizeRequestBuilder extends BaseRequestBuilder<ResizeRequestBuilder> {
28
+ /**
29
+ * Invoke action resize
30
+ * @param body The request body
31
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
+ */
34
+ post(body: ResizePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
35
+ /**
36
+ * Invoke action resize
37
+ * @param body The request body
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns {RequestInformation}
40
+ */
41
+ toPostRequestInformation(body: ResizePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
42
+ }
43
+ /**
44
+ * Serializes information the current object
45
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
46
+ * @param ResizePostRequestBody The instance to serialize from.
47
+ * @param writer Serialization writer to use to serialize this model
48
+ */
49
+ export declare function serializeResizePostRequestBody(writer: SerializationWriter, resizePostRequestBody?: Partial<ResizePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
50
+ /**
51
+ * Uri template for the request builder.
52
+ */
53
+ export declare const ResizeRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/resize";
54
+ /**
55
+ * Metadata for all the requests in the request builder.
56
+ */
57
+ export declare const ResizeRequestBuilderRequestsMetadata: RequestsMetadata;
58
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK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AqB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI3M;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,+EAA+E,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC"}
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {ResizePostRequestBody}
10
+ */
11
+ // @ts-ignore
12
+ export function createResizePostRequestBodyFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoResizePostRequestBody;
14
+ }
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @param ResizePostRequestBody The instance to deserialize into.
18
+ * @returns {Record<string, (node: ParseNode) => void>}
19
+ */
20
+ // @ts-ignore
21
+ export function deserializeIntoResizePostRequestBody(resizePostRequestBody = {}) {
22
+ return {
23
+ "backingStoreEnabled": n => { resizePostRequestBody.backingStoreEnabled = true; },
24
+ "targetServicePlanId": n => { resizePostRequestBody.targetServicePlanId = n.getStringValue(); },
25
+ };
26
+ }
27
+ /**
28
+ * Serializes information the current object
29
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
30
+ * @param ResizePostRequestBody The instance to serialize from.
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ // @ts-ignore
34
+ export function serializeResizePostRequestBody(writer, resizePostRequestBody = {}, isSerializingDerivedType = false) {
35
+ if (!resizePostRequestBody || isSerializingDerivedType) {
36
+ return;
37
+ }
38
+ writer.writeStringValue("targetServicePlanId", resizePostRequestBody.targetServicePlanId);
39
+ writer.writeAdditionalData(resizePostRequestBody.additionalData);
40
+ }
41
+ /**
42
+ * Uri template for the request builder.
43
+ */
44
+ export const ResizeRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/resize";
45
+ /**
46
+ * Metadata for all the requests in the request builder.
47
+ */
48
+ export const ResizeRequestBuilderRequestsMetadata = {
49
+ post: {
50
+ uriTemplate: ResizeRequestBuilderUriTemplate,
51
+ responseBodyContentType: "application/json",
52
+ errorMappings: {
53
+ XXX: createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "sendNoResponseContent",
56
+ requestBodyContentType: "application/json",
57
+ requestBodySerializer: serializeResizePostRequestBody,
58
+ requestInformationContentSetMethod: "setContentFromParsable",
59
+ },
60
+ };
61
+ /* tslint:enable */
62
+ /* eslint-enable */
63
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,iDAAiD,CAAC,SAAgC;IAC9F,OAAO,oCAAoC,CAAC;AAChD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,oCAAoC,CAAC,wBAAoE,EAAE;IACvH,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,qBAAqB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACjF,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,qBAAqB,CAAC,mBAAmB,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;KAClG,CAAA;AACL,CAAC;AA8BD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,8BAA8B,CAAC,MAA2B,EAAE,wBAA2E,EAAE,EAAE,2BAAoC,KAAK;IAChM,IAAI,CAAC,qBAAqB,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACnE,MAAM,CAAC,gBAAgB,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;IAC1F,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;AACrE,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,4EAA4E,CAAC;AAC5H;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,8BAA8B;QACrD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-devicemanagement",
3
- "version": "1.0.0-preview.65",
3
+ "version": "1.0.0-preview.67",
4
4
  "description": "DeviceManagement fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,5 +37,5 @@
37
37
  "typescript": "^5.3.3"
38
38
  },
39
39
  "type": "module",
40
- "gitHead": "5d044a693af781fb247a471169db52d8c38d43bf"
40
+ "gitHead": "ad52e4cb6450c8ce96118040c1d6ef86a42d1bad"
41
41
  }