@software-hardware-integration-lab/sdk-shield 3.0.0 → 3.5.2-beta.a5c1c2f
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/LICENSE +21 -0
- package/README.md +109 -0
- package/bin/index.d.ts +11 -0
- package/bin/index.js +175 -0
- package/bin/sdk/api/auth/id/index.d.ts +55 -0
- package/bin/sdk/api/auth/id/index.js +26 -0
- package/bin/sdk/api/auth/index.d.ts +19 -0
- package/bin/sdk/api/auth/index.js +7 -0
- package/bin/sdk/api/core/health/index.d.ts +26 -0
- package/bin/sdk/api/core/health/index.js +12 -0
- package/bin/sdk/api/core/index.d.ts +24 -0
- package/bin/sdk/api/core/index.js +11 -0
- package/bin/sdk/api/core/systemRequirements/index.d.ts +27 -0
- package/bin/sdk/api/core/systemRequirements/index.js +10 -0
- package/bin/sdk/api/defend/device/index.d.ts +26 -0
- package/bin/sdk/api/defend/device/index.js +12 -0
- package/bin/sdk/api/defend/device/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/device/item/index.js +7 -0
- package/bin/sdk/api/defend/device/item/type/index.d.ts +26 -0
- package/bin/sdk/api/defend/device/item/type/index.js +12 -0
- package/bin/sdk/api/defend/device/item/type/item/index.d.ts +38 -0
- package/bin/sdk/api/defend/device/item/type/item/index.js +14 -0
- package/bin/sdk/api/defend/device/item/type/privileged/assign/index.d.ts +106 -0
- package/bin/sdk/api/defend/device/item/type/privileged/assign/index.js +59 -0
- package/bin/sdk/api/defend/device/item/type/privileged/index.d.ts +19 -0
- package/bin/sdk/api/defend/device/item/type/privileged/index.js +7 -0
- package/bin/sdk/api/defend/device/type/index.d.ts +26 -0
- package/bin/sdk/api/defend/device/type/index.js +12 -0
- package/bin/sdk/api/defend/device/type/item/index.d.ts +80 -0
- package/bin/sdk/api/defend/device/type/item/index.js +35 -0
- package/bin/sdk/api/defend/device/type/privileged/index.d.ts +80 -0
- package/bin/sdk/api/defend/device/type/privileged/index.js +35 -0
- package/bin/sdk/api/defend/index.d.ts +34 -0
- package/bin/sdk/api/defend/index.js +19 -0
- package/bin/sdk/api/defend/intermediary/index.d.ts +26 -0
- package/bin/sdk/api/defend/intermediary/index.js +12 -0
- package/bin/sdk/api/defend/intermediary/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/item/index.js +7 -0
- package/bin/sdk/api/defend/intermediary/item/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/intermediary/item/type/index.js +8 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/index.js +7 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/index.d.ts +125 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/index.js +64 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/item/index.d.ts +27 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/assign/item/index.js +10 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.d.ts +47 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.js +21 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/item/type/item/offering/index.js +8 -0
- package/bin/sdk/api/defend/intermediary/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/intermediary/type/index.js +8 -0
- package/bin/sdk/api/defend/intermediary/type/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/type/item/index.js +7 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.d.ts +40 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/eighta921026Ec064e08Af198812e161e61f/index.js +10 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/index.d.ts +19 -0
- package/bin/sdk/api/defend/intermediary/type/item/offering/index.js +7 -0
- package/bin/sdk/api/defend/marketplace/index.d.ts +19 -0
- package/bin/sdk/api/defend/marketplace/index.js +7 -0
- package/bin/sdk/api/defend/marketplace/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/marketplace/type/index.js +8 -0
- package/bin/sdk/api/defend/marketplace/type/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/marketplace/type/item/index.js +7 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/index.d.ts +21 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/index.js +8 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/item/index.d.ts +54 -0
- package/bin/sdk/api/defend/marketplace/type/item/offering/item/index.js +29 -0
- package/bin/sdk/api/defend/user/index.d.ts +26 -0
- package/bin/sdk/api/defend/user/index.js +12 -0
- package/bin/sdk/api/defend/user/item/index.d.ts +19 -0
- package/bin/sdk/api/defend/user/item/index.js +7 -0
- package/bin/sdk/api/defend/user/item/type/index.d.ts +21 -0
- package/bin/sdk/api/defend/user/item/type/index.js +8 -0
- package/bin/sdk/api/defend/user/item/type/item/index.d.ts +38 -0
- package/bin/sdk/api/defend/user/item/type/item/index.js +14 -0
- package/bin/sdk/api/defend/user/type/index.d.ts +26 -0
- package/bin/sdk/api/defend/user/type/index.js +12 -0
- package/bin/sdk/api/defend/user/type/item/index.d.ts +80 -0
- package/bin/sdk/api/defend/user/type/item/index.js +35 -0
- package/bin/sdk/api/defend/user/type/privileged/index.d.ts +80 -0
- package/bin/sdk/api/defend/user/type/privileged/index.js +35 -0
- package/bin/sdk/api/deploy/analyze/index.d.ts +19 -0
- package/bin/sdk/api/deploy/analyze/index.js +7 -0
- package/bin/sdk/api/deploy/analyze/invoke/index.d.ts +48 -0
- package/bin/sdk/api/deploy/analyze/invoke/index.js +22 -0
- package/bin/sdk/api/deploy/breakGlass/index.d.ts +63 -0
- package/bin/sdk/api/deploy/breakGlass/index.js +30 -0
- package/bin/sdk/api/deploy/compare/index.d.ts +36 -0
- package/bin/sdk/api/deploy/compare/index.js +16 -0
- package/bin/sdk/api/deploy/compare/invoke/index.d.ts +29 -0
- package/bin/sdk/api/deploy/compare/invoke/index.js +12 -0
- package/bin/sdk/api/deploy/component/architecture/index.d.ts +27 -0
- package/bin/sdk/api/deploy/component/architecture/index.js +10 -0
- package/bin/sdk/api/deploy/component/configurationCategory/index.d.ts +27 -0
- package/bin/sdk/api/deploy/component/configurationCategory/index.js +10 -0
- package/bin/sdk/api/deploy/component/configurationItem/index.d.ts +38 -0
- package/bin/sdk/api/deploy/component/configurationItem/index.js +17 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/docs/index.d.ts +27 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/docs/index.js +10 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/index.d.ts +19 -0
- package/bin/sdk/api/deploy/component/configurationItem/item/index.js +7 -0
- package/bin/sdk/api/deploy/component/index.d.ts +29 -0
- package/bin/sdk/api/deploy/component/index.js +16 -0
- package/bin/sdk/api/deploy/errors/index.d.ts +55 -0
- package/bin/sdk/api/deploy/errors/index.js +26 -0
- package/bin/sdk/api/deploy/index.d.ts +214 -0
- package/bin/sdk/api/deploy/index.js +130 -0
- package/bin/sdk/api/deploy/progress/index.d.ts +42 -0
- package/bin/sdk/api/deploy/progress/index.js +15 -0
- package/bin/sdk/api/deploy/remediate/index.d.ts +69 -0
- package/bin/sdk/api/deploy/remediate/index.js +34 -0
- package/bin/sdk/api/deploy/remove/index.d.ts +37 -0
- package/bin/sdk/api/deploy/remove/index.js +13 -0
- package/bin/sdk/api/deploy/restore/index.d.ts +21 -0
- package/bin/sdk/api/deploy/restore/index.js +8 -0
- package/bin/sdk/api/deploy/restore/item/index.d.ts +28 -0
- package/bin/sdk/api/deploy/restore/item/index.js +11 -0
- package/bin/sdk/api/deploy/skip/index.d.ts +61 -0
- package/bin/sdk/api/deploy/skip/index.js +28 -0
- package/bin/sdk/api/deploy/skip/item/index.d.ts +41 -0
- package/bin/sdk/api/deploy/skip/item/index.js +18 -0
- package/bin/sdk/api/deploy/validate/index.d.ts +29 -0
- package/bin/sdk/api/deploy/validate/index.js +13 -0
- package/bin/sdk/api/discover/architectureReport/correlation/index.d.ts +38 -0
- package/bin/sdk/api/discover/architectureReport/correlation/index.js +17 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/data/index.d.ts +27 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/data/index.js +10 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/index.d.ts +19 -0
- package/bin/sdk/api/discover/architectureReport/correlation/item/index.js +7 -0
- package/bin/sdk/api/discover/architectureReport/index.d.ts +19 -0
- package/bin/sdk/api/discover/architectureReport/index.js +8 -0
- package/bin/sdk/api/discover/cache/index.d.ts +19 -0
- package/bin/sdk/api/discover/cache/index.js +7 -0
- package/bin/sdk/api/discover/cache/reset/index.d.ts +25 -0
- package/bin/sdk/api/discover/cache/reset/index.js +7 -0
- package/bin/sdk/api/discover/index.d.ts +44 -0
- package/bin/sdk/api/discover/index.js +27 -0
- package/bin/sdk/api/discover/licenseReport/correlation/index.d.ts +38 -0
- package/bin/sdk/api/discover/licenseReport/correlation/index.js +17 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/data/index.d.ts +27 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/data/index.js +10 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/index.d.ts +19 -0
- package/bin/sdk/api/discover/licenseReport/correlation/item/index.js +7 -0
- package/bin/sdk/api/discover/licenseReport/index.d.ts +19 -0
- package/bin/sdk/api/discover/licenseReport/index.js +8 -0
- package/bin/sdk/api/discover/progress/index.d.ts +27 -0
- package/bin/sdk/api/discover/progress/index.js +10 -0
- package/bin/sdk/api/discover/report/index.d.ts +25 -0
- package/bin/sdk/api/discover/report/index.js +7 -0
- package/bin/sdk/api/discover/status/index.d.ts +27 -0
- package/bin/sdk/api/discover/status/index.js +10 -0
- package/bin/sdk/api/index.d.ts +44 -0
- package/bin/sdk/api/index.js +29 -0
- package/bin/sdk/api/update/check/channel/index.d.ts +21 -0
- package/bin/sdk/api/update/check/channel/index.js +8 -0
- package/bin/sdk/api/update/check/channel/item/index.d.ts +51 -0
- package/bin/sdk/api/update/check/channel/item/index.js +24 -0
- package/bin/sdk/api/update/check/index.d.ts +60 -0
- package/bin/sdk/api/update/check/index.js +30 -0
- package/bin/sdk/api/update/index.d.ts +45 -0
- package/bin/sdk/api/update/index.js +25 -0
- package/bin/sdk/api/update/install/channel/index.d.ts +21 -0
- package/bin/sdk/api/update/install/channel/index.js +8 -0
- package/bin/sdk/api/update/install/channel/item/index.d.ts +25 -0
- package/bin/sdk/api/update/install/channel/item/index.js +7 -0
- package/bin/sdk/api/update/install/index.d.ts +34 -0
- package/bin/sdk/api/update/install/index.js +13 -0
- package/bin/sdk/api/update/upload/index.d.ts +27 -0
- package/bin/sdk/api/update/upload/index.js +9 -0
- package/bin/sdk/models/architectureReport/index.d.ts +49 -0
- package/bin/sdk/models/architectureReport/index.js +25 -0
- package/bin/sdk/models/core/index.d.ts +137 -0
- package/bin/sdk/models/core/index.js +71 -0
- package/bin/sdk/models/deploy/index.d.ts +677 -0
- package/bin/sdk/models/deploy/index.js +364 -0
- package/bin/sdk/models/discover/architectureReport/index.d.ts +61 -0
- package/bin/sdk/models/discover/architectureReport/index.js +31 -0
- package/bin/sdk/models/discover/index.d.ts +29 -0
- package/bin/sdk/models/discover/index.js +15 -0
- package/bin/sdk/models/index.d.ts +165 -0
- package/bin/sdk/models/index.js +88 -0
- package/bin/sdk/models/licenseReport/index.d.ts +49 -0
- package/bin/sdk/models/licenseReport/index.js +25 -0
- package/bin/sdk/models/managedObject/index.d.ts +287 -0
- package/bin/sdk/models/managedObject/index.js +140 -0
- package/bin/sdk/models/objectPage/index.d.ts +174 -0
- package/bin/sdk/models/objectPage/index.js +103 -0
- package/bin/sdk/models/objectPage/intermediary/index.d.ts +60 -0
- package/bin/sdk/models/objectPage/intermediary/index.js +36 -0
- package/bin/sdk/shieldClient.d.ts +24 -0
- package/bin/sdk/shieldClient.js +35 -0
- package/package.json +205 -5
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type InvokeRequestBuilder } from './invoke/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Analyze
|
|
5
|
+
*/
|
|
6
|
+
export interface AnalyzeRequestBuilder extends BaseRequestBuilder<AnalyzeRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The Invoke property
|
|
9
|
+
*/
|
|
10
|
+
get invoke(): InvokeRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const AnalyzeRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Analyze";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const AnalyzeRequestBuilderNavigationMetadata: Record<Exclude<keyof AnalyzeRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InvokeRequestBuilderRequestsMetadata } from './invoke/index.js';
|
|
2
|
+
export const AnalyzeRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Analyze";
|
|
3
|
+
export const AnalyzeRequestBuilderNavigationMetadata = {
|
|
4
|
+
invoke: {
|
|
5
|
+
requestsMetadata: InvokeRequestBuilderRequestsMetadata,
|
|
6
|
+
},
|
|
7
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, 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 {InvokePostRequestBody}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createInvokePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @param InvokePostRequestBody The instance to deserialize into.
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoInvokePostRequestBody(invokePostRequestBody?: Partial<InvokePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface InvokePostRequestBody extends AdditionalDataHolder, Parsable {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Builds and executes requests for operations under /Api/Deploy/Analyze/Invoke
|
|
18
|
+
*/
|
|
19
|
+
export interface InvokeRequestBuilder extends BaseRequestBuilder<InvokeRequestBuilder> {
|
|
20
|
+
/**
|
|
21
|
+
* Initiates an asynchronous analysis of all deployed configuration items in the infrastructure. It starts the analysis process, to discover any and all inconsistencies at the configuration item level.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
*/
|
|
25
|
+
post(body: InvokePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Initiates an asynchronous analysis of all deployed configuration items in the infrastructure. It starts the analysis process, to discover any and all inconsistencies at the configuration item level.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {RequestInformation}
|
|
31
|
+
*/
|
|
32
|
+
toPostRequestInformation(body: InvokePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Serializes information the current object
|
|
36
|
+
* @param InvokePostRequestBody The instance to serialize from.
|
|
37
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
38
|
+
* @param writer Serialization writer to use to serialize this model
|
|
39
|
+
*/
|
|
40
|
+
export declare function serializeInvokePostRequestBody(writer: SerializationWriter, invokePostRequestBody?: Partial<InvokePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
41
|
+
/**
|
|
42
|
+
* Uri template for the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export declare const InvokeRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Analyze/Invoke";
|
|
45
|
+
/**
|
|
46
|
+
* Metadata for all the requests in the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export declare const InvokeRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export function createInvokePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
2
|
+
return deserializeIntoInvokePostRequestBody;
|
|
3
|
+
}
|
|
4
|
+
export function deserializeIntoInvokePostRequestBody(invokePostRequestBody = {}) {
|
|
5
|
+
return {};
|
|
6
|
+
}
|
|
7
|
+
export function serializeInvokePostRequestBody(writer, invokePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
8
|
+
if (!invokePostRequestBody || isSerializingDerivedType) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
writer.writeAdditionalData(invokePostRequestBody.additionalData);
|
|
12
|
+
}
|
|
13
|
+
export const InvokeRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Analyze/Invoke";
|
|
14
|
+
export const InvokeRequestBuilderRequestsMetadata = {
|
|
15
|
+
post: {
|
|
16
|
+
uriTemplate: InvokeRequestBuilderUriTemplate,
|
|
17
|
+
adapterMethodName: "sendNoResponseContent",
|
|
18
|
+
requestBodyContentType: "application/json",
|
|
19
|
+
requestBodySerializer: serializeInvokePostRequestBody,
|
|
20
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
export interface BreakGlassPostResponse extends AdditionalDataHolder, Parsable {
|
|
3
|
+
/**
|
|
4
|
+
* Name of the security group created now or already existing in the tenant.
|
|
5
|
+
*/
|
|
6
|
+
groupName?: string | null;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Builds and executes requests for operations under /Api/Deploy/BreakGlass
|
|
10
|
+
*/
|
|
11
|
+
export interface BreakGlassRequestBuilder extends BaseRequestBuilder<BreakGlassRequestBuilder> {
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the status of required user quantity existence in the break glass group.This endpoint requires the `Deploy.Read` scope (permission).
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<boolean>}
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Attempts to create BreakGlass security group in the tenant. If group has already been provisioned it will return the name of the group to reference.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<BreakGlassPostResponse>}
|
|
22
|
+
*/
|
|
23
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BreakGlassPostResponse | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves the status of required user quantity existence in the break glass group.This endpoint requires the `Deploy.Read` scope (permission).
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns {RequestInformation}
|
|
28
|
+
*/
|
|
29
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
30
|
+
/**
|
|
31
|
+
* Attempts to create BreakGlass security group in the tenant. If group has already been provisioned it will return the name of the group to reference.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {RequestInformation}
|
|
34
|
+
*/
|
|
35
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
39
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
40
|
+
* @returns {BreakGlassPostResponse}
|
|
41
|
+
*/
|
|
42
|
+
export declare function createBreakGlassPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
43
|
+
/**
|
|
44
|
+
* The deserialization information for the current model
|
|
45
|
+
* @param BreakGlassPostResponse The instance to deserialize into.
|
|
46
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
47
|
+
*/
|
|
48
|
+
export declare function deserializeIntoBreakGlassPostResponse(breakGlassPostResponse?: Partial<BreakGlassPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
49
|
+
/**
|
|
50
|
+
* Serializes information the current object
|
|
51
|
+
* @param BreakGlassPostResponse The instance to serialize from.
|
|
52
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
53
|
+
* @param writer Serialization writer to use to serialize this model
|
|
54
|
+
*/
|
|
55
|
+
export declare function serializeBreakGlassPostResponse(writer: SerializationWriter, breakGlassPostResponse?: Partial<BreakGlassPostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
56
|
+
/**
|
|
57
|
+
* Uri template for the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const BreakGlassRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/BreakGlass";
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const BreakGlassRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function createBreakGlassPostResponseFromDiscriminatorValue(parseNode) {
|
|
2
|
+
return deserializeIntoBreakGlassPostResponse;
|
|
3
|
+
}
|
|
4
|
+
export function deserializeIntoBreakGlassPostResponse(breakGlassPostResponse = {}) {
|
|
5
|
+
return {
|
|
6
|
+
"groupName": n => { breakGlassPostResponse.groupName = n.getStringValue(); },
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export function serializeBreakGlassPostResponse(writer, breakGlassPostResponse = {}, isSerializingDerivedType = false) {
|
|
10
|
+
if (!breakGlassPostResponse || isSerializingDerivedType) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
writer.writeStringValue("groupName", breakGlassPostResponse.groupName);
|
|
14
|
+
writer.writeAdditionalData(breakGlassPostResponse.additionalData);
|
|
15
|
+
}
|
|
16
|
+
export const BreakGlassRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/BreakGlass";
|
|
17
|
+
export const BreakGlassRequestBuilderRequestsMetadata = {
|
|
18
|
+
get: {
|
|
19
|
+
uriTemplate: BreakGlassRequestBuilderUriTemplate,
|
|
20
|
+
responseBodyContentType: "application/json",
|
|
21
|
+
adapterMethodName: "sendPrimitive",
|
|
22
|
+
responseBodyFactory: "boolean",
|
|
23
|
+
},
|
|
24
|
+
post: {
|
|
25
|
+
uriTemplate: BreakGlassRequestBuilderUriTemplate,
|
|
26
|
+
responseBodyContentType: "application/json",
|
|
27
|
+
adapterMethodName: "send",
|
|
28
|
+
responseBodyFactory: createBreakGlassPostResponseFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type CompareResponse } from '../../../models/deploy/index.js';
|
|
2
|
+
import { type InvokeRequestBuilder } from './invoke/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /Api/Deploy/Compare
|
|
6
|
+
*/
|
|
7
|
+
export interface CompareRequestBuilder extends BaseRequestBuilder<CompareRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* The Invoke property
|
|
10
|
+
*/
|
|
11
|
+
get invoke(): InvokeRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Returns results of the last performed comparison of the values in the existing resources and their original requested configurations. Resulting object consists of several categories and includes timestamp when the evaluation was performed.This endpoint requires the `Deploy.Read`, or `Deploy.ReadWrite`, or `Everything.ReadWrite` scope (permission).
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<CompareResponse>}
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CompareResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns results of the last performed comparison of the values in the existing resources and their original requested configurations. Resulting object consists of several categories and includes timestamp when the evaluation was performed.This endpoint requires the `Deploy.Read`, or `Deploy.ReadWrite`, or `Everything.ReadWrite` scope (permission).
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {RequestInformation}
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Uri template for the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const CompareRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Compare";
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export declare const CompareRequestBuilderNavigationMetadata: Record<Exclude<keyof CompareRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CompareRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createCompareResponseFromDiscriminatorValue } from '../../../models/deploy/index.js';
|
|
2
|
+
import { InvokeRequestBuilderRequestsMetadata } from './invoke/index.js';
|
|
3
|
+
export const CompareRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Compare";
|
|
4
|
+
export const CompareRequestBuilderNavigationMetadata = {
|
|
5
|
+
invoke: {
|
|
6
|
+
requestsMetadata: InvokeRequestBuilderRequestsMetadata,
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
export const CompareRequestBuilderRequestsMetadata = {
|
|
10
|
+
get: {
|
|
11
|
+
uriTemplate: CompareRequestBuilderUriTemplate,
|
|
12
|
+
responseBodyContentType: "application/json",
|
|
13
|
+
adapterMethodName: "send",
|
|
14
|
+
responseBodyFactory: createCompareResponseFromDiscriminatorValue,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type CompareResponse } from '../../../../models/deploy/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Compare/Invoke
|
|
5
|
+
*/
|
|
6
|
+
export interface InvokeRequestBuilder extends BaseRequestBuilder<InvokeRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Resets all cached data and initiates process to compar the values in the existing resources and their original requested configurations. Returns resulting object split into several categories and including timestamp when the evaluation was performed.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param body Binary request body
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<CompareResponse>}
|
|
12
|
+
*/
|
|
13
|
+
post(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CompareResponse | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Resets all cached data and initiates process to compar the values in the existing resources and their original requested configurations. Returns resulting object split into several categories and including timestamp when the evaluation was performed.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
16
|
+
* @param body Binary request body
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toPostRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const InvokeRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Compare/Invoke";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const InvokeRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createCompareResponseFromDiscriminatorValue } from '../../../../models/deploy/index.js';
|
|
2
|
+
export const InvokeRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Compare/Invoke";
|
|
3
|
+
export const InvokeRequestBuilderRequestsMetadata = {
|
|
4
|
+
post: {
|
|
5
|
+
uriTemplate: InvokeRequestBuilderUriTemplate,
|
|
6
|
+
responseBodyContentType: "application/json",
|
|
7
|
+
adapterMethodName: "send",
|
|
8
|
+
responseBodyFactory: createCompareResponseFromDiscriminatorValue,
|
|
9
|
+
requestBodyContentType: "application/json",
|
|
10
|
+
requestInformationContentSetMethod: "setStreamContent",
|
|
11
|
+
},
|
|
12
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ArchitectureData } from '../../../../models/deploy/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Component/Architecture
|
|
5
|
+
*/
|
|
6
|
+
export interface ArchitectureRequestBuilder extends BaseRequestBuilder<ArchitectureRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the collection of possible architecture configurations to be deployed including all metadata accompanying these records.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<ArchitectureData[]>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArchitectureData[] | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the collection of possible architecture configurations to be deployed including all metadata accompanying these records.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ArchitectureRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/Architecture";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ArchitectureRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createArchitectureDataFromDiscriminatorValue } from '../../../../models/deploy/index.js';
|
|
2
|
+
export const ArchitectureRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/Architecture";
|
|
3
|
+
export const ArchitectureRequestBuilderRequestsMetadata = {
|
|
4
|
+
get: {
|
|
5
|
+
uriTemplate: ArchitectureRequestBuilderUriTemplate,
|
|
6
|
+
responseBodyContentType: "application/json",
|
|
7
|
+
adapterMethodName: "sendCollection",
|
|
8
|
+
responseBodyFactory: createArchitectureDataFromDiscriminatorValue,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ConfigurationCategory } from '../../../../models/deploy/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Component/ConfigurationCategory
|
|
5
|
+
*/
|
|
6
|
+
export interface ConfigurationCategoryRequestBuilder extends BaseRequestBuilder<ConfigurationCategoryRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the collection of all existing configuration categories with curated set of metadata.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<ConfigurationCategory[]>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConfigurationCategory[] | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the collection of all existing configuration categories with curated set of metadata.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ConfigurationCategoryRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationCategory";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ConfigurationCategoryRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createConfigurationCategoryFromDiscriminatorValue } from '../../../../models/deploy/index.js';
|
|
2
|
+
export const ConfigurationCategoryRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationCategory";
|
|
3
|
+
export const ConfigurationCategoryRequestBuilderRequestsMetadata = {
|
|
4
|
+
get: {
|
|
5
|
+
uriTemplate: ConfigurationCategoryRequestBuilderUriTemplate,
|
|
6
|
+
responseBodyContentType: "application/json",
|
|
7
|
+
adapterMethodName: "sendCollection",
|
|
8
|
+
responseBodyFactory: createConfigurationCategoryFromDiscriminatorValue,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ConfigurationItem } from '../../../../models/deploy/index.js';
|
|
2
|
+
import { type WithTemplateItemRequestBuilder } from './item/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /Api/Deploy/Component/ConfigurationItem
|
|
6
|
+
*/
|
|
7
|
+
export interface ConfigurationItemRequestBuilder extends BaseRequestBuilder<ConfigurationItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Gets an item from the ApiSdk.Api.Deploy.Component.ConfigurationItem.item collection
|
|
10
|
+
* @param templateId Reference to the specific configuration item that is deployed in the tenant.
|
|
11
|
+
* @returns {WithTemplateItemRequestBuilder}
|
|
12
|
+
*/
|
|
13
|
+
byTemplateId(templateId: Guid): WithTemplateItemRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves the collection of all existing configuration items with curated set of metadata.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<ConfigurationItem[]>}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConfigurationItem[] | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the collection of all existing configuration items with curated set of metadata.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns {RequestInformation}
|
|
24
|
+
*/
|
|
25
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Uri template for the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export declare const ConfigurationItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationItem";
|
|
31
|
+
/**
|
|
32
|
+
* Metadata for all the navigation properties in the request builder.
|
|
33
|
+
*/
|
|
34
|
+
export declare const ConfigurationItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ConfigurationItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export declare const ConfigurationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createConfigurationItemFromDiscriminatorValue } from '../../../../models/deploy/index.js';
|
|
2
|
+
import { WithTemplateItemRequestBuilderNavigationMetadata } from './item/index.js';
|
|
3
|
+
export const ConfigurationItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationItem";
|
|
4
|
+
export const ConfigurationItemRequestBuilderNavigationMetadata = {
|
|
5
|
+
byTemplateId: {
|
|
6
|
+
navigationMetadata: WithTemplateItemRequestBuilderNavigationMetadata,
|
|
7
|
+
pathParametersMappings: ["templateId"],
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
export const ConfigurationItemRequestBuilderRequestsMetadata = {
|
|
11
|
+
get: {
|
|
12
|
+
uriTemplate: ConfigurationItemRequestBuilderUriTemplate,
|
|
13
|
+
responseBodyContentType: "application/json",
|
|
14
|
+
adapterMethodName: "sendCollection",
|
|
15
|
+
responseBodyFactory: createConfigurationItemFromDiscriminatorValue,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ConfigurationItemMetaData } from '../../../../../../models/deploy/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Component/ConfigurationItem/{templateId}/Docs
|
|
5
|
+
*/
|
|
6
|
+
export interface DocsRequestBuilder extends BaseRequestBuilder<DocsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves additional metadata from the configuration item if it was entered, or provides a message indicating it is missing.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<ConfigurationItemMetaData>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConfigurationItemMetaData | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves additional metadata from the configuration item if it was entered, or provides a message indicating it is missing.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const DocsRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationItem/{templateId}/Docs";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const DocsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createConfigurationItemMetaDataFromDiscriminatorValue } from '../../../../../../models/deploy/index.js';
|
|
2
|
+
export const DocsRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationItem/{templateId}/Docs";
|
|
3
|
+
export const DocsRequestBuilderRequestsMetadata = {
|
|
4
|
+
get: {
|
|
5
|
+
uriTemplate: DocsRequestBuilderUriTemplate,
|
|
6
|
+
responseBodyContentType: "application/json",
|
|
7
|
+
adapterMethodName: "send",
|
|
8
|
+
responseBodyFactory: createConfigurationItemMetaDataFromDiscriminatorValue,
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type DocsRequestBuilder } from './docs/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Component/ConfigurationItem/{templateId}
|
|
5
|
+
*/
|
|
6
|
+
export interface WithTemplateItemRequestBuilder extends BaseRequestBuilder<WithTemplateItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The Docs property
|
|
9
|
+
*/
|
|
10
|
+
get docs(): DocsRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const WithTemplateItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationItem/{templateId}";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const WithTemplateItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithTemplateItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DocsRequestBuilderRequestsMetadata } from './docs/index.js';
|
|
2
|
+
export const WithTemplateItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component/ConfigurationItem/{templateId}";
|
|
3
|
+
export const WithTemplateItemRequestBuilderNavigationMetadata = {
|
|
4
|
+
docs: {
|
|
5
|
+
requestsMetadata: DocsRequestBuilderRequestsMetadata,
|
|
6
|
+
},
|
|
7
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ArchitectureRequestBuilder } from './architecture/index.js';
|
|
2
|
+
import { type ConfigurationCategoryRequestBuilder } from './configurationCategory/index.js';
|
|
3
|
+
import { type ConfigurationItemRequestBuilder } from './configurationItem/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Builds and executes requests for operations under /Api/Deploy/Component
|
|
7
|
+
*/
|
|
8
|
+
export interface ComponentRequestBuilder extends BaseRequestBuilder<ComponentRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* The Architecture property
|
|
11
|
+
*/
|
|
12
|
+
get architecture(): ArchitectureRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* The ConfigurationCategory property
|
|
15
|
+
*/
|
|
16
|
+
get configurationCategory(): ConfigurationCategoryRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* The ConfigurationItem property
|
|
19
|
+
*/
|
|
20
|
+
get configurationItem(): ConfigurationItemRequestBuilder;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ComponentRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the navigation properties in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ComponentRequestBuilderNavigationMetadata: Record<Exclude<keyof ComponentRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ArchitectureRequestBuilderRequestsMetadata } from './architecture/index.js';
|
|
2
|
+
import { ConfigurationCategoryRequestBuilderRequestsMetadata } from './configurationCategory/index.js';
|
|
3
|
+
import { ConfigurationItemRequestBuilderNavigationMetadata, ConfigurationItemRequestBuilderRequestsMetadata } from './configurationItem/index.js';
|
|
4
|
+
export const ComponentRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Component";
|
|
5
|
+
export const ComponentRequestBuilderNavigationMetadata = {
|
|
6
|
+
architecture: {
|
|
7
|
+
requestsMetadata: ArchitectureRequestBuilderRequestsMetadata,
|
|
8
|
+
},
|
|
9
|
+
configurationCategory: {
|
|
10
|
+
requestsMetadata: ConfigurationCategoryRequestBuilderRequestsMetadata,
|
|
11
|
+
},
|
|
12
|
+
configurationItem: {
|
|
13
|
+
requestsMetadata: ConfigurationItemRequestBuilderRequestsMetadata,
|
|
14
|
+
navigationMetadata: ConfigurationItemRequestBuilderNavigationMetadata,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, 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 {Errors}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createErrorsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @param Errors The instance to deserialize into.
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoErrors(errors?: Partial<Errors> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface Errors extends AdditionalDataHolder, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Text with the details of the deployment failure.
|
|
17
|
+
*/
|
|
18
|
+
message?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Internal reference identifier of the configuration item that encountered the deployment error.
|
|
21
|
+
*/
|
|
22
|
+
templateId?: Guid | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Builds and executes requests for operations under /Api/Deploy/Errors
|
|
26
|
+
*/
|
|
27
|
+
export interface ErrorsRequestBuilder extends BaseRequestBuilder<ErrorsRequestBuilder> {
|
|
28
|
+
/**
|
|
29
|
+
* Returns the current collection of asynchronous deployment errors captured by the deploy engine. Each record identifies the configuration item template and the associated error message.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<Errors[]>}
|
|
32
|
+
*/
|
|
33
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Errors[] | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the current collection of asynchronous deployment errors captured by the deploy engine. Each record identifies the configuration item template and the associated error message.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Serializes information the current object
|
|
43
|
+
* @param Errors The instance to serialize from.
|
|
44
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
45
|
+
* @param writer Serialization writer to use to serialize this model
|
|
46
|
+
*/
|
|
47
|
+
export declare function serializeErrors(writer: SerializationWriter, errors?: Partial<Errors> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
48
|
+
/**
|
|
49
|
+
* Uri template for the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export declare const ErrorsRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Errors";
|
|
52
|
+
/**
|
|
53
|
+
* Metadata for all the requests in the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const ErrorsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function createErrorsFromDiscriminatorValue(parseNode) {
|
|
2
|
+
return deserializeIntoErrors;
|
|
3
|
+
}
|
|
4
|
+
export function deserializeIntoErrors(errors = {}) {
|
|
5
|
+
return {
|
|
6
|
+
"message": n => { errors.message = n.getStringValue(); },
|
|
7
|
+
"templateId": n => { errors.templateId = n.getGuidValue(); },
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function serializeErrors(writer, errors = {}, isSerializingDerivedType = false) {
|
|
11
|
+
if (!errors || isSerializingDerivedType) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
writer.writeStringValue("message", errors.message);
|
|
15
|
+
writer.writeGuidValue("templateId", errors.templateId);
|
|
16
|
+
writer.writeAdditionalData(errors.additionalData);
|
|
17
|
+
}
|
|
18
|
+
export const ErrorsRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Errors";
|
|
19
|
+
export const ErrorsRequestBuilderRequestsMetadata = {
|
|
20
|
+
get: {
|
|
21
|
+
uriTemplate: ErrorsRequestBuilderUriTemplate,
|
|
22
|
+
responseBodyContentType: "application/json",
|
|
23
|
+
adapterMethodName: "sendCollection",
|
|
24
|
+
responseBodyFactory: createErrorsFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
};
|