@microsoft/msgraph-sdk-serviceprincipals 1.0.0-preview.79 → 1.0.0-preview.82
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/package.json +1 -1
- package/servicePrincipals/index.d.ts +5 -5
- package/servicePrincipals/item/index.d.ts +7 -7
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/count/index.d.ts +41 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/count/index.d.ts.map +1 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/count/index.js +34 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/count/index.js.map +1 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.d.ts +99 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.d.ts.map +1 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.js +70 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.js.map +1 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/item/index.d.ts +72 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/item/index.d.ts.map +1 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/item/index.js +56 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/item/index.js.map +1 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/index.d.ts +5 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/index.d.ts.map +1 -1
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/index.js +6 -0
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/index.js.map +1 -1
- package/servicePrincipals/item/remoteDesktopSecurityConfiguration/targetDeviceGroups/index.d.ts +2 -2
- package/servicePrincipals/item/restore/index.d.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@ export interface ServicePrincipalsRequestBuilder extends BaseRequestBuilder<Serv
|
|
|
37
37
|
*/
|
|
38
38
|
byServicePrincipalId(servicePrincipalId: string): ServicePrincipalItemRequestBuilder;
|
|
39
39
|
/**
|
|
40
|
-
* Retrieve a list of servicePrincipal objects.
|
|
40
|
+
* Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {Promise<ServicePrincipalCollectionResponse>}
|
|
43
43
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -45,7 +45,7 @@ export interface ServicePrincipalsRequestBuilder extends BaseRequestBuilder<Serv
|
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<ServicePrincipalsRequestBuilderGetQueryParameters> | undefined): Promise<ServicePrincipalCollectionResponse | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Create a new servicePrincipal object.
|
|
48
|
+
* Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {Promise<ServicePrincipal>}
|
|
@@ -54,13 +54,13 @@ export interface ServicePrincipalsRequestBuilder extends BaseRequestBuilder<Serv
|
|
|
54
54
|
*/
|
|
55
55
|
post(body: ServicePrincipal, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServicePrincipal | undefined>;
|
|
56
56
|
/**
|
|
57
|
-
* Retrieve a list of servicePrincipal objects.
|
|
57
|
+
* Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
58
58
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
59
|
* @returns {RequestInformation}
|
|
60
60
|
*/
|
|
61
61
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServicePrincipalsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
62
62
|
/**
|
|
63
|
-
* Create a new servicePrincipal object.
|
|
63
|
+
* Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
64
64
|
* @param body The request body
|
|
65
65
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
66
66
|
* @returns {RequestInformation}
|
|
@@ -68,7 +68,7 @@ export interface ServicePrincipalsRequestBuilder extends BaseRequestBuilder<Serv
|
|
|
68
68
|
toPostRequestInformation(body: ServicePrincipal, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* Retrieve a list of servicePrincipal objects.
|
|
71
|
+
* Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
72
72
|
*/
|
|
73
73
|
export interface ServicePrincipalsRequestBuilderGetQueryParameters {
|
|
74
74
|
/**
|
|
@@ -146,7 +146,7 @@ export interface ServicePrincipalItemRequestBuilder extends BaseRequestBuilder<S
|
|
|
146
146
|
*/
|
|
147
147
|
get transitiveMemberOf(): TransitiveMemberOfRequestBuilder;
|
|
148
148
|
/**
|
|
149
|
-
* Delete a servicePrincipal object.
|
|
149
|
+
* Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID.
|
|
150
150
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
151
151
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
152
152
|
* @see {@link https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-1.0|Find more info here}
|
|
@@ -159,7 +159,7 @@ export interface ServicePrincipalItemRequestBuilder extends BaseRequestBuilder<S
|
|
|
159
159
|
*/
|
|
160
160
|
federatedIdentityCredentialsWithName(name: string | undefined): FederatedIdentityCredentialsWithNameRequestBuilder;
|
|
161
161
|
/**
|
|
162
|
-
* Retrieve the properties and relationships of a servicePrincipal object.
|
|
162
|
+
* Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID.
|
|
163
163
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
164
164
|
* @returns {Promise<ServicePrincipal>}
|
|
165
165
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -167,7 +167,7 @@ export interface ServicePrincipalItemRequestBuilder extends BaseRequestBuilder<S
|
|
|
167
167
|
*/
|
|
168
168
|
get(requestConfiguration?: RequestConfiguration<ServicePrincipalItemRequestBuilderGetQueryParameters> | undefined): Promise<ServicePrincipal | undefined>;
|
|
169
169
|
/**
|
|
170
|
-
* Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.
|
|
170
|
+
* Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
171
171
|
* @param body The request body
|
|
172
172
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
173
173
|
* @returns {Promise<ServicePrincipal>}
|
|
@@ -176,19 +176,19 @@ export interface ServicePrincipalItemRequestBuilder extends BaseRequestBuilder<S
|
|
|
176
176
|
*/
|
|
177
177
|
patch(body: ServicePrincipal, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServicePrincipal | undefined>;
|
|
178
178
|
/**
|
|
179
|
-
* Delete a servicePrincipal object.
|
|
179
|
+
* Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID.
|
|
180
180
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
181
181
|
* @returns {RequestInformation}
|
|
182
182
|
*/
|
|
183
183
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
184
184
|
/**
|
|
185
|
-
* Retrieve the properties and relationships of a servicePrincipal object.
|
|
185
|
+
* Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID.
|
|
186
186
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
187
187
|
* @returns {RequestInformation}
|
|
188
188
|
*/
|
|
189
189
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServicePrincipalItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
190
190
|
/**
|
|
191
|
-
* Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.
|
|
191
|
+
* Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal.
|
|
192
192
|
* @param body The request body
|
|
193
193
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
194
194
|
* @returns {RequestInformation}
|
|
@@ -196,7 +196,7 @@ export interface ServicePrincipalItemRequestBuilder extends BaseRequestBuilder<S
|
|
|
196
196
|
toPatchRequestInformation(body: ServicePrincipal, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* Retrieve the properties and relationships of a servicePrincipal object.
|
|
199
|
+
* Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID.
|
|
200
200
|
*/
|
|
201
201
|
export interface ServicePrincipalItemRequestBuilderGetQueryParameters {
|
|
202
202
|
/**
|
|
@@ -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}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/approvedClientApps/$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":"AAMA,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,4IAA4I,CAAC;AAQxL;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/count/index.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/approvedClientApps/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# 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;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,yIAAyI,CAAC;AACxL;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type ApprovedClientApp, type ApprovedClientAppCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type ApprovedClientAppItemRequestBuilder } from './item/index.js';
|
|
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 approvedClientApps property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface ApprovedClientAppsRequestBuilder extends BaseRequestBuilder<ApprovedClientAppsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the approvedClientApps property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
|
|
15
|
+
* @param approvedClientAppId The unique identifier of approvedClientApp
|
|
16
|
+
* @returns {ApprovedClientAppItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byApprovedClientAppId(approvedClientAppId: string): ApprovedClientAppItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The collection of approved client apps that are associated with the RDS configuration. Supports $expand.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<ApprovedClientAppCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-list-approvedclientapps?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<ApprovedClientAppsRequestBuilderGetQueryParameters> | undefined): Promise<ApprovedClientAppCollectionResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a new approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. You can configure a maximum of 20 approved client apps.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<ApprovedClientApp>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-post-approvedclientapps?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
post(body: ApprovedClientApp, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ApprovedClientApp | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The collection of approved client apps that are associated with the RDS configuration. Supports $expand.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {RequestInformation}
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApprovedClientAppsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Create a new approvedClientApp object for the remoteDesktopSecurityConfiguration object on a service principal. You can configure a maximum of 20 approved client apps.
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(body: ApprovedClientApp, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The collection of approved client apps that are associated with the RDS configuration. Supports $expand.
|
|
52
|
+
*/
|
|
53
|
+
export interface ApprovedClientAppsRequestBuilderGetQueryParameters {
|
|
54
|
+
/**
|
|
55
|
+
* Include count of items
|
|
56
|
+
*/
|
|
57
|
+
count?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Expand related entities
|
|
60
|
+
*/
|
|
61
|
+
expand?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* Filter items by property values
|
|
64
|
+
*/
|
|
65
|
+
filter?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Order items by property values
|
|
68
|
+
*/
|
|
69
|
+
orderby?: string[];
|
|
70
|
+
/**
|
|
71
|
+
* Search items by search phrases
|
|
72
|
+
*/
|
|
73
|
+
search?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Select properties to be returned
|
|
76
|
+
*/
|
|
77
|
+
select?: string[];
|
|
78
|
+
/**
|
|
79
|
+
* Skip the first n items
|
|
80
|
+
*/
|
|
81
|
+
skip?: number;
|
|
82
|
+
/**
|
|
83
|
+
* Show only the first n items
|
|
84
|
+
*/
|
|
85
|
+
top?: number;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const ApprovedClientAppsRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/approvedClientApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
91
|
+
/**
|
|
92
|
+
* Metadata for all the navigation properties in the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const ApprovedClientAppsRequestBuilderNavigationMetadata: Record<Exclude<keyof ApprovedClientAppsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
95
|
+
/**
|
|
96
|
+
* Metadata for all the requests in the request builder.
|
|
97
|
+
*/
|
|
98
|
+
export declare const ApprovedClientAppsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
99
|
+
//# sourceMappingURL=index.d.ts.map
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8I,KAAK,iBAAiB,EAAE,KAAK,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAItQ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAuD,KAAK,mCAAmC,EAAE,MAAM,iBAAiB,CAAC;AAEhI,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,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,qBAAqB,CAAC,mBAAmB,EAAE,MAAM,GAAI,mCAAmC,CAAC;IAC1F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;IAC7K;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACzI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,4LAA4L,CAAC;AAcrP;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAuB9D,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createApprovedClientAppCollectionResponseFromDiscriminatorValue, createApprovedClientAppFromDiscriminatorValue, serializeApprovedClientApp } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { ApprovedClientAppItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const ApprovedClientAppsRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/approvedClientApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const ApprovedClientAppsRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const ApprovedClientAppsRequestBuilderNavigationMetadata = {
|
|
33
|
+
byApprovedClientAppId: {
|
|
34
|
+
requestsMetadata: ApprovedClientAppItemRequestBuilderRequestsMetadata,
|
|
35
|
+
pathParametersMappings: ["approvedClientApp%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const ApprovedClientAppsRequestBuilderRequestsMetadata = {
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: ApprovedClientAppsRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: createApprovedClientAppCollectionResponseFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: ApprovedClientAppsRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
post: {
|
|
56
|
+
uriTemplate: ApprovedClientAppsRequestBuilderUriTemplate,
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "send",
|
|
62
|
+
responseBodyFactory: createApprovedClientAppFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: serializeApprovedClientApp,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/index.js.map
ADDED
|
@@ -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,+DAA+D,EAAE,6CAA6C,EAAE,0BAA0B,EAAoE,MAAM,wCAAwC,CAAC;AACtQ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAm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ACF,mBAAmB;AACnB,mBAAmB"}
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/item/index.d.ts
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type ApprovedClientApp } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the approvedClientApps property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface ApprovedClientAppItemRequestBuilder extends BaseRequestBuilder<ApprovedClientAppItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete approvedClientApp
|
|
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
|
+
* @see {@link https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-delete-approvedclientapps?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a servicePrincipal.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<ApprovedClientApp>}
|
|
18
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/approvedclientapp-get?view=graph-rest-1.0|Find more info here}
|
|
20
|
+
*/
|
|
21
|
+
get(requestConfiguration?: RequestConfiguration<ApprovedClientAppItemRequestBuilderGetQueryParameters> | undefined): Promise<ApprovedClientApp | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Update the properties of an approvedClientApp object for a remotedesktopsecurityconfiguration.
|
|
24
|
+
* @param body The request body
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {Promise<ApprovedClientApp>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/approvedclientapp-update?view=graph-rest-1.0|Find more info here}
|
|
29
|
+
*/
|
|
30
|
+
patch(body: ApprovedClientApp, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ApprovedClientApp | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Delete approvedClientApp
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns {RequestInformation}
|
|
35
|
+
*/
|
|
36
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a servicePrincipal.
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns {RequestInformation}
|
|
41
|
+
*/
|
|
42
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApprovedClientAppItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
|
+
/**
|
|
44
|
+
* Update the properties of an approvedClientApp object for a remotedesktopsecurityconfiguration.
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns {RequestInformation}
|
|
48
|
+
*/
|
|
49
|
+
toPatchRequestInformation(body: ApprovedClientApp, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Read the properties and relationships of a approvedClientApp object for the remoteDesktopSecurityConfiguration object on a servicePrincipal.
|
|
53
|
+
*/
|
|
54
|
+
export interface ApprovedClientAppItemRequestBuilderGetQueryParameters {
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Select properties to be returned
|
|
61
|
+
*/
|
|
62
|
+
select?: string[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const ApprovedClientAppItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/approvedClientApps/{approvedClientApp%2Did}{?%24expand,%24select}";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the requests in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const ApprovedClientAppItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
72
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6E,KAAK,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAI3J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;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,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,8CAA8C,8JAA8J,CAAC;AAQ1N;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBA+BjE,CAAC"}
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/approvedClientApps/item/index.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createApprovedClientAppFromDiscriminatorValue, serializeApprovedClientApp } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const ApprovedClientAppItemRequestBuilderUriTemplate = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/remoteDesktopSecurityConfiguration/approvedClientApps/{approvedClientApp%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const ApprovedClientAppItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const ApprovedClientAppItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
delete: {
|
|
24
|
+
uriTemplate: ApprovedClientAppItemRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "sendNoResponseContent",
|
|
30
|
+
},
|
|
31
|
+
get: {
|
|
32
|
+
uriTemplate: ApprovedClientAppItemRequestBuilderUriTemplate,
|
|
33
|
+
responseBodyContentType: "application/json",
|
|
34
|
+
errorMappings: {
|
|
35
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "send",
|
|
38
|
+
responseBodyFactory: createApprovedClientAppFromDiscriminatorValue,
|
|
39
|
+
queryParametersMapper: ApprovedClientAppItemRequestBuilderGetQueryParametersMapper,
|
|
40
|
+
},
|
|
41
|
+
patch: {
|
|
42
|
+
uriTemplate: ApprovedClientAppItemRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createApprovedClientAppFromDiscriminatorValue,
|
|
49
|
+
requestBodyContentType: "application/json",
|
|
50
|
+
requestBodySerializer: serializeApprovedClientApp,
|
|
51
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
/* tslint:enable */
|
|
55
|
+
/* eslint-enable */
|
|
56
|
+
//# 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,6CAA6C,EAAE,0BAA0B,EAA0B,MAAM,wCAAwC,CAAC;AAC3J,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAiE7H;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,2JAA2J,CAAC;AAC1N;;GAEG;AACH,MAAM,2DAA2D,GAA2B;IACxF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAqB;IACjF,MAAM,EAAE;QACJ,WAAW,EAAE,8CAA8C;QAC3D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,8CAA8C;QAC3D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,qBAAqB,EAAE,2DAA2D;KACrF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,8CAA8C;QAC3D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { type RemoteDesktopSecurityConfiguration } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type ApprovedClientAppsRequestBuilder } from './approvedClientApps/index.js';
|
|
2
3
|
import { type TargetDeviceGroupsRequestBuilder } from './targetDeviceGroups/index.js';
|
|
3
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
5
|
/**
|
|
5
6
|
* Provides operations to manage the remoteDesktopSecurityConfiguration property of the microsoft.graph.servicePrincipal entity.
|
|
6
7
|
*/
|
|
7
8
|
export interface RemoteDesktopSecurityConfigurationRequestBuilder extends BaseRequestBuilder<RemoteDesktopSecurityConfigurationRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the approvedClientApps property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
|
|
11
|
+
*/
|
|
12
|
+
get approvedClientApps(): ApprovedClientAppsRequestBuilder;
|
|
8
13
|
/**
|
|
9
14
|
* Provides operations to manage the targetDeviceGroups property of the microsoft.graph.remoteDesktopSecurityConfiguration entity.
|
|
10
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+G,KAAK,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAI9M,OAAO,EAAwG,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAE5L,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,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CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kEAAkE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3K;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9J;AACD;;GAEG;AACH,MAAM,WAAW,kEAAkE;IAC/E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,2DAA2D,kHAAkH,CAAC;AAQ3L;;GAEG;AACH,eAAO,MAAM,kEAAkE,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gDAAgD,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS9M,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBA+B9E,CAAC"}
|
|
@@ -6,6 +6,8 @@ import { createRemoteDesktopSecurityConfigurationFromDiscriminatorValue, seriali
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { ApprovedClientAppsRequestBuilderNavigationMetadata, ApprovedClientAppsRequestBuilderRequestsMetadata } from './approvedClientApps/index.js';
|
|
10
|
+
// @ts-ignore
|
|
9
11
|
import { TargetDeviceGroupsRequestBuilderNavigationMetadata, TargetDeviceGroupsRequestBuilderRequestsMetadata } from './targetDeviceGroups/index.js';
|
|
10
12
|
/**
|
|
11
13
|
* Uri template for the request builder.
|
|
@@ -22,6 +24,10 @@ const RemoteDesktopSecurityConfigurationRequestBuilderGetQueryParametersMapper =
|
|
|
22
24
|
* Metadata for all the navigation properties in the request builder.
|
|
23
25
|
*/
|
|
24
26
|
export const RemoteDesktopSecurityConfigurationRequestBuilderNavigationMetadata = {
|
|
27
|
+
approvedClientApps: {
|
|
28
|
+
requestsMetadata: ApprovedClientAppsRequestBuilderRequestsMetadata,
|
|
29
|
+
navigationMetadata: ApprovedClientAppsRequestBuilderNavigationMetadata,
|
|
30
|
+
},
|
|
25
31
|
targetDeviceGroups: {
|
|
26
32
|
requestsMetadata: TargetDeviceGroupsRequestBuilderRequestsMetadata,
|
|
27
33
|
navigationMetadata: TargetDeviceGroupsRequestBuilderNavigationMetadata,
|
|
@@ -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,8DAA8D,EAAE,2CAA2C,EAA2C,MAAM,wCAAwC,CAAC;AAC9M,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,EAAyC,MAAM,+BAA+B,CAAC;
|
|
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,8DAA8D,EAAE,2CAA2C,EAA2C,MAAM,wCAAwC,CAAC;AAC9M,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,EAAyC,MAAM,+BAA+B,CAAC;AAC5L,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,EAAyC,MAAM,+BAA+B,CAAC;AAyE5L;;GAEG;AACH,MAAM,CAAC,MAAM,2DAA2D,GAAG,+GAA+G,CAAC;AAC3L;;GAEG;AACH,MAAM,wEAAwE,GAA2B;IACrG,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kEAAkE,GAAoI;IAC/M,kBAAkB,EAAE;QAChB,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;KACzE;IACD,kBAAkB,EAAE;QAChB,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;KACzE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gEAAgE,GAAqB;IAC9F,MAAM,EAAE;QACJ,WAAW,EAAE,2DAA2D;QACxE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2DAA2D;QACxE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8DAA8D;QACpF,qBAAqB,EAAE,wEAAwE;KAClG;IACD,KAAK,EAAE;QACH,WAAW,EAAE,2DAA2D;QACxE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8DAA8D;QACpF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2CAA2C;QAClE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/servicePrincipals/item/remoteDesktopSecurityConfiguration/targetDeviceGroups/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface TargetDeviceGroupsRequestBuilder extends BaseRequestBuilder<Tar
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<TargetDeviceGroupsRequestBuilderGetQueryParameters> | undefined): Promise<TargetDeviceGroupCollectionResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
* Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the
|
|
28
|
+
* Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguration object on the servicePrincipal.
|
|
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<TargetDeviceGroup>}
|
|
@@ -40,7 +40,7 @@ export interface TargetDeviceGroupsRequestBuilder extends BaseRequestBuilder<Tar
|
|
|
40
40
|
*/
|
|
41
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TargetDeviceGroupsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
42
|
/**
|
|
43
|
-
* Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the
|
|
43
|
+
* Create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguration object on the servicePrincipal.
|
|
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}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Restore a recently deleted
|
|
8
|
+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<DirectoryObject>}
|
|
11
11
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -13,7 +13,7 @@ export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequest
|
|
|
13
13
|
*/
|
|
14
14
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectoryObject | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Restore a recently deleted
|
|
16
|
+
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|