@microsoft/msgraph-sdk-deviceappmanagement 1.0.0-preview.54 → 1.0.0-preview.57
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/README.md +189 -4
- package/deviceAppManagement/index.d.ts +1 -1
- package/deviceAppManagement/managedAppPolicies/index.d.ts +4 -4
- package/deviceAppManagement/managedAppPolicies/item/index.d.ts +4 -4
- package/deviceAppManagement/managedAppPolicies/item/targetApps/index.d.ts +1 -1
- package/deviceAppManagement/managedAppRegistrations/index.d.ts +4 -4
- package/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.d.ts +1 -1
- package/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.d.ts +1 -1
- package/deviceAppManagement/managedAppStatuses/item/index.d.ts +4 -4
- package/deviceAppManagement/managedEBooks/index.d.ts +4 -4
- package/deviceAppManagement/managedEBooks/item/assignments/index.d.ts +3 -3
- package/deviceAppManagement/managedEBooks/item/assignments/item/index.d.ts +7 -7
- package/deviceAppManagement/managedEBooks/item/index.d.ts +4 -4
- package/deviceAppManagement/mobileAppConfigurations/item/index.d.ts +4 -4
- package/deviceAppManagement/mobileApps/index.d.ts +7 -7
- package/deviceAppManagement/mobileApps/item/index.d.ts +10 -10
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,196 @@
|
|
|
1
1
|
# `@microsoft/msgraph-sdk-deviceAppManagement`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Get started with the Microsoft Graph SDK for TypeScript by integrating the [Microsoft Graph API](https://learn.microsoft.com/graph/overview) into your TypeScript application!
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This package provides a fluent API for interacting with Microsoft Graph administrative functions.
|
|
6
6
|
|
|
7
|
+
> [!NOTE]
|
|
8
|
+
> This package requires the `@microsoft/msgraph-sdk` package. It allows you to build applications using the [v1.0](https://learn.microsoft.com/graph/use-the-api#version) of Microsoft Graph. If you want to try the latest Microsoft Graph APIs, use our [beta SDK](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript) instead.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## 1. Installation
|
|
12
|
+
|
|
13
|
+
To install the package, use npm:
|
|
14
|
+
|
|
15
|
+
```shell
|
|
16
|
+
# this will install the main package
|
|
17
|
+
npm install @microsoft/msgraph-sdk
|
|
18
|
+
# this will install the authentication provider for Azure Identity / Microsoft Entra
|
|
19
|
+
npm install @microsoft/kiota-authentication-azure @azure/identity
|
|
20
|
+
# this will install the fluent API package for the administrative API paths
|
|
21
|
+
npm install @microsoft/msgraph-sdk-deviceAppManagement
|
|
7
22
|
```
|
|
8
|
-
const msgraphSdkJavascriptDeviceAppManagement = require('@microsoft/msgraph-sdk-deviceAppManagement');
|
|
9
23
|
|
|
10
|
-
|
|
24
|
+
## 2. Getting started
|
|
25
|
+
|
|
26
|
+
> Note: we are working to add the getting started information for Typescript to our public documentation, in the meantime the following sample should help you getting started.
|
|
27
|
+
|
|
28
|
+
### 2.1 Register your application
|
|
29
|
+
|
|
30
|
+
Register your application by following the steps at [Register your app with the Microsoft Identity Platform](https://learn.microsoft.com/graph/auth-register-app-v2).
|
|
31
|
+
|
|
32
|
+
### 2.2 Create an AuthenticationProvider object
|
|
33
|
+
|
|
34
|
+
An instance of the **GraphServiceClient** class handles building client. To create a new instance of this class, you need to provide an instance of **AuthenticationProvider**, which can authenticate requests to Microsoft Graph.
|
|
35
|
+
|
|
36
|
+
<!-- TODO restore that and remove the snippets below once the SDK hits GA and the public documentation has been updated -->
|
|
37
|
+
<!-- For an example of how to get an authentication provider, see [choose a Microsoft Graph authentication provider](https://learn.microsoft.com/graph/sdks/choose-authentication-providers?tabs=typescript). -->
|
|
38
|
+
|
|
39
|
+
#### 2.2.1 Authorization Code Provider
|
|
40
|
+
|
|
41
|
+
```TypeScript
|
|
42
|
+
// @azure/identity
|
|
43
|
+
const credential = new AuthorizationCodeCredential(
|
|
44
|
+
'YOUR_TENANT_ID',
|
|
45
|
+
'YOUR_CLIENT_ID',
|
|
46
|
+
'YOUR_CLIENT_SECRET',
|
|
47
|
+
'AUTHORIZATION_CODE',
|
|
48
|
+
'REDIRECT_URL',
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
// @microsoft/kiota-authentication-azure
|
|
52
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
11
53
|
```
|
|
54
|
+
|
|
55
|
+
#### 2.2.2 Client Credentials Provider
|
|
56
|
+
|
|
57
|
+
##### With a certificate
|
|
58
|
+
|
|
59
|
+
```TypeScript
|
|
60
|
+
// @azure/identity
|
|
61
|
+
const credential = new ClientCertificateCredential(
|
|
62
|
+
'YOUR_TENANT_ID',
|
|
63
|
+
'YOUR_CLIENT_ID',
|
|
64
|
+
'YOUR_CERTIFICATE_PATH',
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
// @microsoft/kiota-authentication-azure
|
|
68
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
##### With a secret
|
|
72
|
+
|
|
73
|
+
```TypeScript
|
|
74
|
+
// @azure/identity
|
|
75
|
+
const credential = new ClientSecretCredential(
|
|
76
|
+
'YOUR_TENANT_ID',
|
|
77
|
+
'YOUR_CLIENT_ID',
|
|
78
|
+
'YOUR_CLIENT_SECRET',
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
// @microsoft/kiota-authentication-azure
|
|
82
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
#### 2.2.3 On-behalf-of provider
|
|
86
|
+
|
|
87
|
+
```TypeScript
|
|
88
|
+
// @azure/identity
|
|
89
|
+
const credential = new OnBehalfOfCredential({
|
|
90
|
+
tenantId: 'YOUR_TENANT_ID',
|
|
91
|
+
clientId: 'YOUR_CLIENT_ID',
|
|
92
|
+
clientSecret: 'YOUR_CLIENT_SECRET',
|
|
93
|
+
userAssertionToken: 'JWT_TOKEN_TO_EXCHANGE',
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
// @microsoft/kiota-authentication-azure
|
|
97
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["https://graph.microsoft.com/.default"]);
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### 2.2.4 Device code provider
|
|
101
|
+
|
|
102
|
+
```TypeScript
|
|
103
|
+
// @azure/identity
|
|
104
|
+
const credential = new DeviceCodeCredential({
|
|
105
|
+
tenantId: 'YOUR_TENANT_ID',
|
|
106
|
+
clientId: 'YOUR_CLIENT_ID',
|
|
107
|
+
userPromptCallback: (info) => {
|
|
108
|
+
console.log(info.message);
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
// @microsoft/kiota-authentication-azure
|
|
113
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
#### 2.2.5 Interactive provider
|
|
117
|
+
|
|
118
|
+
```TypeScript
|
|
119
|
+
// @azure/identity
|
|
120
|
+
const credential = new InteractiveBrowserCredential({
|
|
121
|
+
tenantId: 'YOUR_TENANT_ID',
|
|
122
|
+
clientId: 'YOUR_CLIENT_ID',
|
|
123
|
+
redirectUri: 'http://localhost',
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
// @microsoft/kiota-authentication-azure
|
|
127
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### 2.2.6 Username/password provider
|
|
131
|
+
|
|
132
|
+
```TypeScript
|
|
133
|
+
// @azure/identity
|
|
134
|
+
const credential = new UsernamePasswordCredential(
|
|
135
|
+
'YOUR_TENANT_ID',
|
|
136
|
+
'YOUR_CLIENT_ID',
|
|
137
|
+
'YOUR_USER_NAME',
|
|
138
|
+
'YOUR_PASSWORD',
|
|
139
|
+
);
|
|
140
|
+
|
|
141
|
+
// @microsoft/kiota-authentication-azure
|
|
142
|
+
const authProvider = new AzureIdentityAuthenticationProvider(credential, ["User.Read"]);
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### 2.3 Get a Graph Service Client Adapter object
|
|
146
|
+
|
|
147
|
+
You must get a **GraphServiceClient** object to make requests against the service.
|
|
148
|
+
|
|
149
|
+
```typescript
|
|
150
|
+
const requestAdapter = new GraphRequestAdapter(authProvider);
|
|
151
|
+
const graphServiceClient = createGraphServiceClient(requestAdapter);
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## 3. Make requests against the service
|
|
155
|
+
|
|
156
|
+
After you have a **GraphServiceClient** that is authenticated, you can begin making calls against the service. The requests against the service look like our [REST API](https://learn.microsoft.com/graph/api/overview?view=graph-rest-1.0).
|
|
157
|
+
|
|
158
|
+
### 3.1 Get user's detailed information
|
|
159
|
+
|
|
160
|
+
To retrieve the user's detailed information:
|
|
161
|
+
|
|
162
|
+
```typescript
|
|
163
|
+
import { createGraphServiceClient, GraphRequestAdapter } from "@microsoft/msgraph-sdk";
|
|
164
|
+
import "@microsoft/msgraph-sdk-deviceAppManagement"
|
|
165
|
+
|
|
166
|
+
const requestAdapter = new GraphRequestAdapter(authProvider);
|
|
167
|
+
const graphServiceClient = createGraphServiceClient(requestAdapter);
|
|
168
|
+
|
|
169
|
+
const deviceAppManagement = graphServiceClient.deviceAppManagement.get();
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## 4. Documentation
|
|
173
|
+
|
|
174
|
+
For more detailed documentation, see:
|
|
175
|
+
|
|
176
|
+
* [Overview](https://learn.microsoft.com/graph/overview)
|
|
177
|
+
* [Collections](https://learn.microsoft.com/graph/sdks/paging)
|
|
178
|
+
* [Making requests](https://learn.microsoft.com/graph/sdks/create-requests)
|
|
179
|
+
* [Known issues](https://github.com/MicrosoftGraph/msgraph-sdk-typescript/issues)
|
|
180
|
+
* [Contributions](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/CONTRIBUTING.md)
|
|
181
|
+
|
|
182
|
+
## 5. Issues
|
|
183
|
+
|
|
184
|
+
For known issues, see [issues](https://github.com/MicrosoftGraph/msgraph-sdk-typescript/issues).
|
|
185
|
+
|
|
186
|
+
## 6. Contributions
|
|
187
|
+
|
|
188
|
+
The Microsoft Graph SDK is open for contribution. To contribute to this project, see [Contributing](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/CONTRIBUTING.md).
|
|
189
|
+
|
|
190
|
+
## 7. License
|
|
191
|
+
|
|
192
|
+
Licensed under the [MIT license](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/LICENSE).
|
|
193
|
+
|
|
194
|
+
## 8. Third-party notices
|
|
195
|
+
|
|
196
|
+
[Third-party notices](https://github.com/microsoftgraph/msgraph-sdk-typescript/blob/main/LICENSE)
|
|
@@ -84,7 +84,7 @@ export interface DeviceAppManagementRequestBuilder extends BaseRequestBuilder<De
|
|
|
84
84
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
85
85
|
* @returns {Promise<DeviceAppManagement>}
|
|
86
86
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
87
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-
|
|
87
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
|
|
88
88
|
*/
|
|
89
89
|
get(requestConfiguration?: RequestConfiguration<DeviceAppManagementRequestBuilderGetQueryParameters> | undefined): Promise<DeviceAppManagement | undefined>;
|
|
90
90
|
/**
|
|
@@ -17,11 +17,11 @@ export interface ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Man
|
|
|
17
17
|
*/
|
|
18
18
|
byManagedAppPolicyId(managedAppPolicyId: string): ManagedAppPolicyItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
* List properties and relationships of the
|
|
20
|
+
* List properties and relationships of the managedAppProtection objects.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ManagedAppPolicyCollectionResponse>}
|
|
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-mam-
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0|Find more info here}
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<ManagedAppPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<ManagedAppPolicyCollectionResponse | undefined>;
|
|
27
27
|
/**
|
|
@@ -33,7 +33,7 @@ export interface ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Man
|
|
|
33
33
|
*/
|
|
34
34
|
post(body: ManagedAppPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedAppPolicy | undefined>;
|
|
35
35
|
/**
|
|
36
|
-
* List properties and relationships of the
|
|
36
|
+
* List properties and relationships of the managedAppProtection objects.
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {RequestInformation}
|
|
39
39
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Man
|
|
|
47
47
|
toPostRequestInformation(body: ManagedAppPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* List properties and relationships of the
|
|
50
|
+
* List properties and relationships of the managedAppProtection objects.
|
|
51
51
|
*/
|
|
52
52
|
export interface ManagedAppPoliciesRequestBuilderGetQueryParameters {
|
|
53
53
|
/**
|
|
@@ -16,11 +16,11 @@ export interface ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
16
16
|
*/
|
|
17
17
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
18
|
/**
|
|
19
|
-
* Read properties and relationships of the
|
|
19
|
+
* Read properties and relationships of the managedAppConfiguration object.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {Promise<ManagedAppPolicy>}
|
|
22
22
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0|Find more info here}
|
|
24
24
|
*/
|
|
25
25
|
get(requestConfiguration?: RequestConfiguration<ManagedAppPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<ManagedAppPolicy | undefined>;
|
|
26
26
|
/**
|
|
@@ -38,7 +38,7 @@ export interface ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
38
38
|
*/
|
|
39
39
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
40
40
|
/**
|
|
41
|
-
* Read properties and relationships of the
|
|
41
|
+
* Read properties and relationships of the managedAppConfiguration object.
|
|
42
42
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
43
|
* @returns {RequestInformation}
|
|
44
44
|
*/
|
|
@@ -52,7 +52,7 @@ export interface ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
52
52
|
toPatchRequestInformation(body: ManagedAppPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* Read properties and relationships of the
|
|
55
|
+
* Read properties and relationships of the managedAppConfiguration object.
|
|
56
56
|
*/
|
|
57
57
|
export interface ManagedAppPolicyItemRequestBuilderGetQueryParameters {
|
|
58
58
|
/**
|
|
@@ -39,7 +39,7 @@ export interface TargetAppsRequestBuilder extends BaseRequestBuilder<TargetAppsR
|
|
|
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
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
42
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-
|
|
42
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
|
|
43
43
|
*/
|
|
44
44
|
post(body: TargetAppsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
45
45
|
/**
|
|
@@ -22,11 +22,11 @@ export interface ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilde
|
|
|
22
22
|
*/
|
|
23
23
|
byManagedAppRegistrationId(managedAppRegistrationId: string): ManagedAppRegistrationItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
* List properties and relationships of the
|
|
25
|
+
* List properties and relationships of the managedAppRegistration objects.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<ManagedAppRegistrationCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<ManagedAppRegistrationsRequestBuilderGetQueryParameters> | undefined): Promise<ManagedAppRegistrationCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
@@ -39,7 +39,7 @@ export interface ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilde
|
|
|
39
39
|
*/
|
|
40
40
|
post(body: ManagedAppRegistration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedAppRegistration | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* List properties and relationships of the
|
|
42
|
+
* List properties and relationships of the managedAppRegistration objects.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
@@ -53,7 +53,7 @@ export interface ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilde
|
|
|
53
53
|
toPostRequestInformation(body: ManagedAppRegistration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* List properties and relationships of the
|
|
56
|
+
* List properties and relationships of the managedAppRegistration objects.
|
|
57
57
|
*/
|
|
58
58
|
export interface ManagedAppRegistrationsRequestBuilderGetQueryParameters {
|
|
59
59
|
/**
|
package/deviceAppManagement/managedAppRegistrations/item/appliedPolicies/item/targetApps/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface TargetAppsRequestBuilder extends BaseRequestBuilder<TargetAppsR
|
|
|
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
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
42
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-
|
|
42
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
|
|
43
43
|
*/
|
|
44
44
|
post(body: TargetAppsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
45
45
|
/**
|
package/deviceAppManagement/managedAppRegistrations/item/intendedPolicies/item/targetApps/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface TargetAppsRequestBuilder extends BaseRequestBuilder<TargetAppsR
|
|
|
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
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
42
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-
|
|
42
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
|
|
43
43
|
*/
|
|
44
44
|
post(body: TargetAppsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
45
45
|
/**
|
|
@@ -11,11 +11,11 @@ export interface ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Read properties and relationships of the
|
|
14
|
+
* Read properties and relationships of the managedAppStatusRaw object.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<ManagedAppStatus>}
|
|
17
17
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-
|
|
18
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0|Find more info here}
|
|
19
19
|
*/
|
|
20
20
|
get(requestConfiguration?: RequestConfiguration<ManagedAppStatusItemRequestBuilderGetQueryParameters> | undefined): Promise<ManagedAppStatus | undefined>;
|
|
21
21
|
/**
|
|
@@ -33,7 +33,7 @@ export interface ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
33
33
|
*/
|
|
34
34
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
35
|
/**
|
|
36
|
-
* Read properties and relationships of the
|
|
36
|
+
* Read properties and relationships of the managedAppStatusRaw object.
|
|
37
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
38
|
* @returns {RequestInformation}
|
|
39
39
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
47
47
|
toPatchRequestInformation(body: ManagedAppStatus, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* Read properties and relationships of the
|
|
50
|
+
* Read properties and relationships of the managedAppStatusRaw object.
|
|
51
51
|
*/
|
|
52
52
|
export interface ManagedAppStatusItemRequestBuilderGetQueryParameters {
|
|
53
53
|
/**
|
|
@@ -17,11 +17,11 @@ export interface ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedE
|
|
|
17
17
|
*/
|
|
18
18
|
byManagedEBookId(managedEBookId: string): ManagedEBookItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
* List properties and relationships of the
|
|
20
|
+
* List properties and relationships of the managedEBook objects.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ManagedEBookCollectionResponse>}
|
|
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-books-
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0|Find more info here}
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<ManagedEBooksRequestBuilderGetQueryParameters> | undefined): Promise<ManagedEBookCollectionResponse | undefined>;
|
|
27
27
|
/**
|
|
@@ -34,7 +34,7 @@ export interface ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedE
|
|
|
34
34
|
*/
|
|
35
35
|
post(body: ManagedEBook, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedEBook | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
* List properties and relationships of the
|
|
37
|
+
* List properties and relationships of the managedEBook 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 ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedE
|
|
|
48
48
|
toPostRequestInformation(body: ManagedEBook, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* List properties and relationships of the
|
|
51
|
+
* List properties and relationships of the managedEBook objects.
|
|
52
52
|
*/
|
|
53
53
|
export interface ManagedEBooksRequestBuilderGetQueryParameters {
|
|
54
54
|
/**
|
|
@@ -25,12 +25,12 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<AssignmentsRequestBuilderGetQueryParameters> | undefined): Promise<ManagedEBookAssignmentCollectionResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Create a new
|
|
28
|
+
* Create a new iosVppEBookAssignment 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<ManagedEBookAssignment>}
|
|
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-books-
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0|Find more info here}
|
|
34
34
|
*/
|
|
35
35
|
post(body: ManagedEBookAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedEBookAssignment | undefined>;
|
|
36
36
|
/**
|
|
@@ -40,7 +40,7 @@ export interface AssignmentsRequestBuilder extends BaseRequestBuilder<Assignment
|
|
|
40
40
|
*/
|
|
41
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AssignmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
42
|
/**
|
|
43
|
-
* Create a new
|
|
43
|
+
* Create a new iosVppEBookAssignment 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}
|
|
@@ -12,20 +12,20 @@ export interface ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBui
|
|
|
12
12
|
*/
|
|
13
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
14
14
|
/**
|
|
15
|
-
* Read properties and relationships of the
|
|
15
|
+
* Read properties and relationships of the managedEBookAssignment object.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<ManagedEBookAssignment>}
|
|
18
18
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-books-
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0|Find more info here}
|
|
20
20
|
*/
|
|
21
21
|
get(requestConfiguration?: RequestConfiguration<ManagedEBookAssignmentItemRequestBuilderGetQueryParameters> | undefined): Promise<ManagedEBookAssignment | undefined>;
|
|
22
22
|
/**
|
|
23
|
-
* Update the properties of a
|
|
23
|
+
* Update the properties of a iosVppEBookAssignment object.
|
|
24
24
|
* @param body The request body
|
|
25
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
26
|
* @returns {Promise<ManagedEBookAssignment>}
|
|
27
27
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-books-
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0|Find more info here}
|
|
29
29
|
*/
|
|
30
30
|
patch(body: ManagedEBookAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ManagedEBookAssignment | undefined>;
|
|
31
31
|
/**
|
|
@@ -35,13 +35,13 @@ export interface ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBui
|
|
|
35
35
|
*/
|
|
36
36
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
37
|
/**
|
|
38
|
-
* Read properties and relationships of the
|
|
38
|
+
* Read properties and relationships of the managedEBookAssignment object.
|
|
39
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
40
|
* @returns {RequestInformation}
|
|
41
41
|
*/
|
|
42
42
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ManagedEBookAssignmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
43
|
/**
|
|
44
|
-
* Update the properties of a
|
|
44
|
+
* Update the properties of a iosVppEBookAssignment object.
|
|
45
45
|
* @param body The request body
|
|
46
46
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
47
|
* @returns {RequestInformation}
|
|
@@ -49,7 +49,7 @@ export interface ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBui
|
|
|
49
49
|
toPatchRequestInformation(body: ManagedEBookAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Read properties and relationships of the
|
|
52
|
+
* Read properties and relationships of the managedEBookAssignment object.
|
|
53
53
|
*/
|
|
54
54
|
export interface ManagedEBookAssignmentItemRequestBuilderGetQueryParameters {
|
|
55
55
|
/**
|
|
@@ -37,11 +37,11 @@ export interface ManagedEBookItemRequestBuilder extends BaseRequestBuilder<Manag
|
|
|
37
37
|
*/
|
|
38
38
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
39
39
|
/**
|
|
40
|
-
* Read properties and relationships of the
|
|
40
|
+
* Read properties and relationships of the managedEBook object.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {Promise<ManagedEBook>}
|
|
43
43
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
44
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-books-
|
|
44
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0|Find more info here}
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<ManagedEBookItemRequestBuilderGetQueryParameters> | undefined): Promise<ManagedEBook | undefined>;
|
|
47
47
|
/**
|
|
@@ -60,7 +60,7 @@ export interface ManagedEBookItemRequestBuilder extends BaseRequestBuilder<Manag
|
|
|
60
60
|
*/
|
|
61
61
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
62
62
|
/**
|
|
63
|
-
* Read properties and relationships of the
|
|
63
|
+
* Read properties and relationships of the managedEBook object.
|
|
64
64
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
65
65
|
* @returns {RequestInformation}
|
|
66
66
|
*/
|
|
@@ -74,7 +74,7 @@ export interface ManagedEBookItemRequestBuilder extends BaseRequestBuilder<Manag
|
|
|
74
74
|
toPatchRequestInformation(body: ManagedEBook, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
|
-
* Read properties and relationships of the
|
|
77
|
+
* Read properties and relationships of the managedEBook object.
|
|
78
78
|
*/
|
|
79
79
|
export interface ManagedEBookItemRequestBuilderGetQueryParameters {
|
|
80
80
|
/**
|
|
@@ -42,11 +42,11 @@ export interface ManagedDeviceMobileAppConfigurationItemRequestBuilder extends B
|
|
|
42
42
|
*/
|
|
43
43
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
44
44
|
/**
|
|
45
|
-
* Read properties and relationships of the
|
|
45
|
+
* Read properties and relationships of the managedDeviceMobileAppConfiguration object.
|
|
46
46
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
47
|
* @returns {Promise<ManagedDeviceMobileAppConfiguration>}
|
|
48
48
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
49
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-
|
|
49
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0|Find more info here}
|
|
50
50
|
*/
|
|
51
51
|
get(requestConfiguration?: RequestConfiguration<ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters> | undefined): Promise<ManagedDeviceMobileAppConfiguration | undefined>;
|
|
52
52
|
/**
|
|
@@ -65,7 +65,7 @@ export interface ManagedDeviceMobileAppConfigurationItemRequestBuilder extends B
|
|
|
65
65
|
*/
|
|
66
66
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
67
67
|
/**
|
|
68
|
-
* Read properties and relationships of the
|
|
68
|
+
* Read properties and relationships of the managedDeviceMobileAppConfiguration object.
|
|
69
69
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
70
70
|
* @returns {RequestInformation}
|
|
71
71
|
*/
|
|
@@ -79,7 +79,7 @@ export interface ManagedDeviceMobileAppConfigurationItemRequestBuilder extends B
|
|
|
79
79
|
toPatchRequestInformation(body: ManagedDeviceMobileAppConfiguration, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Read properties and relationships of the
|
|
82
|
+
* Read properties and relationships of the managedDeviceMobileAppConfiguration object.
|
|
83
83
|
*/
|
|
84
84
|
export interface ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters {
|
|
85
85
|
/**
|
|
@@ -97,30 +97,30 @@ export interface MobileAppsRequestBuilder extends BaseRequestBuilder<MobileAppsR
|
|
|
97
97
|
*/
|
|
98
98
|
byMobileAppId(mobileAppId: string): MobileAppItemRequestBuilder;
|
|
99
99
|
/**
|
|
100
|
-
* List properties and relationships of the
|
|
100
|
+
* List properties and relationships of the iosStoreApp objects.
|
|
101
101
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
102
102
|
* @returns {Promise<MobileAppCollectionResponse>}
|
|
103
103
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
104
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-
|
|
104
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-list?view=graph-rest-1.0|Find more info here}
|
|
105
105
|
*/
|
|
106
106
|
get(requestConfiguration?: RequestConfiguration<MobileAppsRequestBuilderGetQueryParameters> | undefined): Promise<MobileAppCollectionResponse | undefined>;
|
|
107
107
|
/**
|
|
108
|
-
* Create a new
|
|
108
|
+
* Create a new windowsAppX object.
|
|
109
109
|
* @param body The request body
|
|
110
110
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
111
111
|
* @returns {Promise<MobileApp>}
|
|
112
112
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
113
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-
|
|
113
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-windowsappx-create?view=graph-rest-1.0|Find more info here}
|
|
114
114
|
*/
|
|
115
115
|
post(body: MobileApp, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MobileApp | undefined>;
|
|
116
116
|
/**
|
|
117
|
-
* List properties and relationships of the
|
|
117
|
+
* List properties and relationships of the iosStoreApp objects.
|
|
118
118
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
119
119
|
* @returns {RequestInformation}
|
|
120
120
|
*/
|
|
121
121
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MobileAppsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
122
122
|
/**
|
|
123
|
-
* Create a new
|
|
123
|
+
* Create a new windowsAppX object.
|
|
124
124
|
* @param body The request body
|
|
125
125
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
126
126
|
* @returns {RequestInformation}
|
|
@@ -128,7 +128,7 @@ export interface MobileAppsRequestBuilder extends BaseRequestBuilder<MobileAppsR
|
|
|
128
128
|
toPostRequestInformation(body: MobileApp, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* List properties and relationships of the
|
|
131
|
+
* List properties and relationships of the iosStoreApp objects.
|
|
132
132
|
*/
|
|
133
133
|
export interface MobileAppsRequestBuilderGetQueryParameters {
|
|
134
134
|
/**
|