@software-hardware-integration-lab/sdk-shield 3.0.0 → 3.5.2-beta.1e7cfc5
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,214 @@
|
|
|
1
|
+
import { type AnalyzeRequestBuilder } from './analyze/index.js';
|
|
2
|
+
import { type BreakGlassRequestBuilder } from './breakGlass/index.js';
|
|
3
|
+
import { type CompareRequestBuilder } from './compare/index.js';
|
|
4
|
+
import { type ComponentRequestBuilder } from './component/index.js';
|
|
5
|
+
import { type ErrorsRequestBuilder } from './errors/index.js';
|
|
6
|
+
import { type ProgressRequestBuilder } from './progress/index.js';
|
|
7
|
+
import { type RemediateRequestBuilder } from './remediate/index.js';
|
|
8
|
+
import { type RemoveRequestBuilder } from './remove/index.js';
|
|
9
|
+
import { type RestoreRequestBuilder } from './restore/index.js';
|
|
10
|
+
import { type SkipRequestBuilder } from './skip/index.js';
|
|
11
|
+
import { type ValidateRequestBuilder } from './validate/index.js';
|
|
12
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
16
|
+
* @returns {DeployGetResponse}
|
|
17
|
+
*/
|
|
18
|
+
export declare function createDeployGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
19
|
+
/**
|
|
20
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
21
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
22
|
+
* @returns {DeployPatchRequestBody}
|
|
23
|
+
*/
|
|
24
|
+
export declare function createDeployPatchRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
27
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
28
|
+
* @returns {DeployPostRequestBody}
|
|
29
|
+
*/
|
|
30
|
+
export declare function createDeployPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
31
|
+
export interface DeployGetResponse extends AdditionalDataHolder, Parsable {
|
|
32
|
+
/**
|
|
33
|
+
* Reference of the architecture type being deployed that defines what resources could be targeted.
|
|
34
|
+
*/
|
|
35
|
+
deployedArchitecture?: Guid | null;
|
|
36
|
+
/**
|
|
37
|
+
* Collection of references to the groupings that list related or dependent resources to be deployed.
|
|
38
|
+
*/
|
|
39
|
+
deployedTags?: Guid[] | null;
|
|
40
|
+
/**
|
|
41
|
+
* Flag to indicate if process has started and ongoing (true) or not (false).
|
|
42
|
+
*/
|
|
43
|
+
isDeploying?: boolean | null;
|
|
44
|
+
/**
|
|
45
|
+
* List of configuration items user intentionally selected to provision.
|
|
46
|
+
*/
|
|
47
|
+
requestedConfigItems?: Guid[] | null;
|
|
48
|
+
}
|
|
49
|
+
export interface DeployPatchRequestBody extends AdditionalDataHolder, Parsable {
|
|
50
|
+
/**
|
|
51
|
+
* List of configuration items user intentionally selected to provision.
|
|
52
|
+
*/
|
|
53
|
+
configIdList?: Guid[] | null;
|
|
54
|
+
/**
|
|
55
|
+
* The tagList property
|
|
56
|
+
*/
|
|
57
|
+
tagList?: Guid[] | null;
|
|
58
|
+
}
|
|
59
|
+
export interface DeployPostRequestBody extends AdditionalDataHolder, Parsable {
|
|
60
|
+
/**
|
|
61
|
+
* Reference of the architecture type being deployed that defines what resources could be targeted.
|
|
62
|
+
*/
|
|
63
|
+
architectureId?: Guid | null;
|
|
64
|
+
/**
|
|
65
|
+
* List of configuration items user intentionally selected to provision.
|
|
66
|
+
*/
|
|
67
|
+
configIdList?: Guid[] | null;
|
|
68
|
+
/**
|
|
69
|
+
* Flag that indicates the end user has consented to deploying the architecture (`true`) or not (`false`).
|
|
70
|
+
*/
|
|
71
|
+
deploymentConsent?: boolean | null;
|
|
72
|
+
/**
|
|
73
|
+
* Collection of references to the groupings that list related or dependent resources to be deployed.
|
|
74
|
+
*/
|
|
75
|
+
tagList?: Guid[] | null;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Builds and executes requests for operations under /Api/Deploy
|
|
79
|
+
*/
|
|
80
|
+
export interface DeployRequestBuilder extends BaseRequestBuilder<DeployRequestBuilder> {
|
|
81
|
+
/**
|
|
82
|
+
* The Analyze property
|
|
83
|
+
*/
|
|
84
|
+
get analyze(): AnalyzeRequestBuilder;
|
|
85
|
+
/**
|
|
86
|
+
* The BreakGlass property
|
|
87
|
+
*/
|
|
88
|
+
get breakGlass(): BreakGlassRequestBuilder;
|
|
89
|
+
/**
|
|
90
|
+
* The Compare property
|
|
91
|
+
*/
|
|
92
|
+
get compare(): CompareRequestBuilder;
|
|
93
|
+
/**
|
|
94
|
+
* The Component property
|
|
95
|
+
*/
|
|
96
|
+
get component(): ComponentRequestBuilder;
|
|
97
|
+
/**
|
|
98
|
+
* The Errors property
|
|
99
|
+
*/
|
|
100
|
+
get errors(): ErrorsRequestBuilder;
|
|
101
|
+
/**
|
|
102
|
+
* The Progress property
|
|
103
|
+
*/
|
|
104
|
+
get progress(): ProgressRequestBuilder;
|
|
105
|
+
/**
|
|
106
|
+
* The Remediate property
|
|
107
|
+
*/
|
|
108
|
+
get remediate(): RemediateRequestBuilder;
|
|
109
|
+
/**
|
|
110
|
+
* The Remove property
|
|
111
|
+
*/
|
|
112
|
+
get remove(): RemoveRequestBuilder;
|
|
113
|
+
/**
|
|
114
|
+
* The Restore property
|
|
115
|
+
*/
|
|
116
|
+
get restore(): RestoreRequestBuilder;
|
|
117
|
+
/**
|
|
118
|
+
* The Skip property
|
|
119
|
+
*/
|
|
120
|
+
get skip(): SkipRequestBuilder;
|
|
121
|
+
/**
|
|
122
|
+
* The Validate property
|
|
123
|
+
*/
|
|
124
|
+
get validate(): ValidateRequestBuilder;
|
|
125
|
+
/**
|
|
126
|
+
* Has the core infrastructure engine check if the config engine can initialize properly.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
127
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
128
|
+
* @returns {Promise<DeployGetResponse>}
|
|
129
|
+
*/
|
|
130
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeployGetResponse | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Changes the list of tags, calculates the list of matching resources based on provided list and deploys all the ones marked as not provisioned.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
133
|
+
* @param body The request body
|
|
134
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
135
|
+
*/
|
|
136
|
+
patch(body: DeployPatchRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
* After the user consents, deploy the core security groups, scope tag, configurations and metadata.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
139
|
+
* @param body The request body
|
|
140
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
141
|
+
*/
|
|
142
|
+
post(body: DeployPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
143
|
+
/**
|
|
144
|
+
* Has the core infrastructure engine check if the config engine can initialize properly.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
145
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
146
|
+
* @returns {RequestInformation}
|
|
147
|
+
*/
|
|
148
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
149
|
+
/**
|
|
150
|
+
* Changes the list of tags, calculates the list of matching resources based on provided list and deploys all the ones marked as not provisioned.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
151
|
+
* @param body The request body
|
|
152
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
153
|
+
* @returns {RequestInformation}
|
|
154
|
+
*/
|
|
155
|
+
toPatchRequestInformation(body: DeployPatchRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
156
|
+
/**
|
|
157
|
+
* After the user consents, deploy the core security groups, scope tag, configurations and metadata.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
158
|
+
* @param body The request body
|
|
159
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
160
|
+
* @returns {RequestInformation}
|
|
161
|
+
*/
|
|
162
|
+
toPostRequestInformation(body: DeployPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The deserialization information for the current model
|
|
166
|
+
* @param DeployGetResponse The instance to deserialize into.
|
|
167
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
168
|
+
*/
|
|
169
|
+
export declare function deserializeIntoDeployGetResponse(deployGetResponse?: Partial<DeployGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
170
|
+
/**
|
|
171
|
+
* The deserialization information for the current model
|
|
172
|
+
* @param DeployPatchRequestBody The instance to deserialize into.
|
|
173
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
174
|
+
*/
|
|
175
|
+
export declare function deserializeIntoDeployPatchRequestBody(deployPatchRequestBody?: Partial<DeployPatchRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
176
|
+
/**
|
|
177
|
+
* The deserialization information for the current model
|
|
178
|
+
* @param DeployPostRequestBody The instance to deserialize into.
|
|
179
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
180
|
+
*/
|
|
181
|
+
export declare function deserializeIntoDeployPostRequestBody(deployPostRequestBody?: Partial<DeployPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
182
|
+
/**
|
|
183
|
+
* Serializes information the current object
|
|
184
|
+
* @param DeployGetResponse The instance to serialize from.
|
|
185
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
186
|
+
* @param writer Serialization writer to use to serialize this model
|
|
187
|
+
*/
|
|
188
|
+
export declare function serializeDeployGetResponse(writer: SerializationWriter, deployGetResponse?: Partial<DeployGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
189
|
+
/**
|
|
190
|
+
* Serializes information the current object
|
|
191
|
+
* @param DeployPatchRequestBody The instance to serialize from.
|
|
192
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
193
|
+
* @param writer Serialization writer to use to serialize this model
|
|
194
|
+
*/
|
|
195
|
+
export declare function serializeDeployPatchRequestBody(writer: SerializationWriter, deployPatchRequestBody?: Partial<DeployPatchRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
196
|
+
/**
|
|
197
|
+
* Serializes information the current object
|
|
198
|
+
* @param DeployPostRequestBody The instance to serialize from.
|
|
199
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
200
|
+
* @param writer Serialization writer to use to serialize this model
|
|
201
|
+
*/
|
|
202
|
+
export declare function serializeDeployPostRequestBody(writer: SerializationWriter, deployPostRequestBody?: Partial<DeployPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
203
|
+
/**
|
|
204
|
+
* Uri template for the request builder.
|
|
205
|
+
*/
|
|
206
|
+
export declare const DeployRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy";
|
|
207
|
+
/**
|
|
208
|
+
* Metadata for all the navigation properties in the request builder.
|
|
209
|
+
*/
|
|
210
|
+
export declare const DeployRequestBuilderNavigationMetadata: Record<Exclude<keyof DeployRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
211
|
+
/**
|
|
212
|
+
* Metadata for all the requests in the request builder.
|
|
213
|
+
*/
|
|
214
|
+
export declare const DeployRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { AnalyzeRequestBuilderNavigationMetadata } from './analyze/index.js';
|
|
2
|
+
import { BreakGlassRequestBuilderRequestsMetadata } from './breakGlass/index.js';
|
|
3
|
+
import { CompareRequestBuilderNavigationMetadata, CompareRequestBuilderRequestsMetadata } from './compare/index.js';
|
|
4
|
+
import { ComponentRequestBuilderNavigationMetadata } from './component/index.js';
|
|
5
|
+
import { ErrorsRequestBuilderRequestsMetadata } from './errors/index.js';
|
|
6
|
+
import { ProgressRequestBuilderRequestsMetadata } from './progress/index.js';
|
|
7
|
+
import { RemediateRequestBuilderRequestsMetadata } from './remediate/index.js';
|
|
8
|
+
import { RemoveRequestBuilderRequestsMetadata } from './remove/index.js';
|
|
9
|
+
import { RestoreRequestBuilderNavigationMetadata } from './restore/index.js';
|
|
10
|
+
import { SkipRequestBuilderNavigationMetadata, SkipRequestBuilderRequestsMetadata } from './skip/index.js';
|
|
11
|
+
import { ValidateRequestBuilderRequestsMetadata } from './validate/index.js';
|
|
12
|
+
export function createDeployGetResponseFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoDeployGetResponse;
|
|
14
|
+
}
|
|
15
|
+
export function createDeployPatchRequestBodyFromDiscriminatorValue(parseNode) {
|
|
16
|
+
return deserializeIntoDeployPatchRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export function createDeployPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
19
|
+
return deserializeIntoDeployPostRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export function deserializeIntoDeployGetResponse(deployGetResponse = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"deployedArchitecture": n => { deployGetResponse.deployedArchitecture = n.getGuidValue(); },
|
|
24
|
+
"deployedTags": n => { deployGetResponse.deployedTags = n.getCollectionOfPrimitiveValues("string"); },
|
|
25
|
+
"isDeploying": n => { deployGetResponse.isDeploying = n.getBooleanValue(); },
|
|
26
|
+
"requestedConfigItems": n => { deployGetResponse.requestedConfigItems = n.getCollectionOfPrimitiveValues("string"); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function deserializeIntoDeployPatchRequestBody(deployPatchRequestBody = {}) {
|
|
30
|
+
return {
|
|
31
|
+
"configIdList": n => { deployPatchRequestBody.configIdList = n.getCollectionOfPrimitiveValues("string"); },
|
|
32
|
+
"tagList": n => { deployPatchRequestBody.tagList = n.getCollectionOfPrimitiveValues("string"); },
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function deserializeIntoDeployPostRequestBody(deployPostRequestBody = {}) {
|
|
36
|
+
return {
|
|
37
|
+
"architectureId": n => { deployPostRequestBody.architectureId = n.getGuidValue(); },
|
|
38
|
+
"configIdList": n => { deployPostRequestBody.configIdList = n.getCollectionOfPrimitiveValues("string"); },
|
|
39
|
+
"deploymentConsent": n => { deployPostRequestBody.deploymentConsent = n.getBooleanValue(); },
|
|
40
|
+
"tagList": n => { deployPostRequestBody.tagList = n.getCollectionOfPrimitiveValues("string"); },
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function serializeDeployGetResponse(writer, deployGetResponse = {}, isSerializingDerivedType = false) {
|
|
44
|
+
if (!deployGetResponse || isSerializingDerivedType) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
writer.writeGuidValue("deployedArchitecture", deployGetResponse.deployedArchitecture);
|
|
48
|
+
writer.writeCollectionOfPrimitiveValues("deployedTags", deployGetResponse.deployedTags);
|
|
49
|
+
writer.writeBooleanValue("isDeploying", deployGetResponse.isDeploying);
|
|
50
|
+
writer.writeCollectionOfPrimitiveValues("requestedConfigItems", deployGetResponse.requestedConfigItems);
|
|
51
|
+
writer.writeAdditionalData(deployGetResponse.additionalData);
|
|
52
|
+
}
|
|
53
|
+
export function serializeDeployPatchRequestBody(writer, deployPatchRequestBody = {}, isSerializingDerivedType = false) {
|
|
54
|
+
if (!deployPatchRequestBody || isSerializingDerivedType) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
writer.writeCollectionOfPrimitiveValues("configIdList", deployPatchRequestBody.configIdList);
|
|
58
|
+
writer.writeCollectionOfPrimitiveValues("tagList", deployPatchRequestBody.tagList);
|
|
59
|
+
writer.writeAdditionalData(deployPatchRequestBody.additionalData);
|
|
60
|
+
}
|
|
61
|
+
export function serializeDeployPostRequestBody(writer, deployPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
62
|
+
if (!deployPostRequestBody || isSerializingDerivedType) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
writer.writeGuidValue("architectureId", deployPostRequestBody.architectureId);
|
|
66
|
+
writer.writeCollectionOfPrimitiveValues("configIdList", deployPostRequestBody.configIdList);
|
|
67
|
+
writer.writeBooleanValue("deploymentConsent", deployPostRequestBody.deploymentConsent);
|
|
68
|
+
writer.writeCollectionOfPrimitiveValues("tagList", deployPostRequestBody.tagList);
|
|
69
|
+
writer.writeAdditionalData(deployPostRequestBody.additionalData);
|
|
70
|
+
}
|
|
71
|
+
export const DeployRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy";
|
|
72
|
+
export const DeployRequestBuilderNavigationMetadata = {
|
|
73
|
+
analyze: {
|
|
74
|
+
navigationMetadata: AnalyzeRequestBuilderNavigationMetadata,
|
|
75
|
+
},
|
|
76
|
+
breakGlass: {
|
|
77
|
+
requestsMetadata: BreakGlassRequestBuilderRequestsMetadata,
|
|
78
|
+
},
|
|
79
|
+
compare: {
|
|
80
|
+
requestsMetadata: CompareRequestBuilderRequestsMetadata,
|
|
81
|
+
navigationMetadata: CompareRequestBuilderNavigationMetadata,
|
|
82
|
+
},
|
|
83
|
+
component: {
|
|
84
|
+
navigationMetadata: ComponentRequestBuilderNavigationMetadata,
|
|
85
|
+
},
|
|
86
|
+
errors: {
|
|
87
|
+
requestsMetadata: ErrorsRequestBuilderRequestsMetadata,
|
|
88
|
+
},
|
|
89
|
+
progress: {
|
|
90
|
+
requestsMetadata: ProgressRequestBuilderRequestsMetadata,
|
|
91
|
+
},
|
|
92
|
+
remediate: {
|
|
93
|
+
requestsMetadata: RemediateRequestBuilderRequestsMetadata,
|
|
94
|
+
},
|
|
95
|
+
remove: {
|
|
96
|
+
requestsMetadata: RemoveRequestBuilderRequestsMetadata,
|
|
97
|
+
},
|
|
98
|
+
restore: {
|
|
99
|
+
navigationMetadata: RestoreRequestBuilderNavigationMetadata,
|
|
100
|
+
},
|
|
101
|
+
skip: {
|
|
102
|
+
requestsMetadata: SkipRequestBuilderRequestsMetadata,
|
|
103
|
+
navigationMetadata: SkipRequestBuilderNavigationMetadata,
|
|
104
|
+
},
|
|
105
|
+
validate: {
|
|
106
|
+
requestsMetadata: ValidateRequestBuilderRequestsMetadata,
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
export const DeployRequestBuilderRequestsMetadata = {
|
|
110
|
+
get: {
|
|
111
|
+
uriTemplate: DeployRequestBuilderUriTemplate,
|
|
112
|
+
responseBodyContentType: "application/json",
|
|
113
|
+
adapterMethodName: "send",
|
|
114
|
+
responseBodyFactory: createDeployGetResponseFromDiscriminatorValue,
|
|
115
|
+
},
|
|
116
|
+
patch: {
|
|
117
|
+
uriTemplate: DeployRequestBuilderUriTemplate,
|
|
118
|
+
adapterMethodName: "sendNoResponseContent",
|
|
119
|
+
requestBodyContentType: "application/json",
|
|
120
|
+
requestBodySerializer: serializeDeployPatchRequestBody,
|
|
121
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
122
|
+
},
|
|
123
|
+
post: {
|
|
124
|
+
uriTemplate: DeployRequestBuilderUriTemplate,
|
|
125
|
+
adapterMethodName: "sendNoResponseContent",
|
|
126
|
+
requestBodyContentType: "application/json",
|
|
127
|
+
requestBodySerializer: serializeDeployPostRequestBody,
|
|
128
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
129
|
+
},
|
|
130
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ProgressBar } from '../../../models/core/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export type GetOperationQueryParameterType = (typeof GetOperationQueryParameterTypeObject)[keyof typeof GetOperationQueryParameterTypeObject];
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /Api/Deploy/Progress
|
|
6
|
+
*/
|
|
7
|
+
export interface ProgressRequestBuilder extends BaseRequestBuilder<ProgressRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides a detailed breakdown of the current progress of the deploy module and its sub-components, if any.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<ProgressBar>}
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<ProgressRequestBuilderGetQueryParameters> | undefined): Promise<ProgressBar | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Provides a detailed breakdown of the current progress of the deploy module and its sub-components, if any.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 {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProgressRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Provides a detailed breakdown of the current progress of the deploy module and its sub-components, if any.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
23
|
+
*/
|
|
24
|
+
export interface ProgressRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Flag to indicate which progress data in the Deploy Engine to retrieve. If invalid value is provided, it would be ignored and result defaulted to deploy operation.
|
|
27
|
+
*/
|
|
28
|
+
operation?: GetOperationQueryParameterType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ProgressRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Progress{?operation*}";
|
|
34
|
+
export declare const GetOperationQueryParameterTypeObject: {
|
|
35
|
+
readonly Deploy: "deploy";
|
|
36
|
+
readonly Remediate: "remediate";
|
|
37
|
+
readonly Analysis: "analysis";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ProgressRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createProgressBarFromDiscriminatorValue } from '../../../models/core/index.js';
|
|
2
|
+
export const ProgressRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Progress{?operation*}";
|
|
3
|
+
export const GetOperationQueryParameterTypeObject = {
|
|
4
|
+
Deploy: "deploy",
|
|
5
|
+
Remediate: "remediate",
|
|
6
|
+
Analysis: "analysis",
|
|
7
|
+
};
|
|
8
|
+
export const ProgressRequestBuilderRequestsMetadata = {
|
|
9
|
+
get: {
|
|
10
|
+
uriTemplate: ProgressRequestBuilderUriTemplate,
|
|
11
|
+
responseBodyContentType: "application/json",
|
|
12
|
+
adapterMethodName: "send",
|
|
13
|
+
responseBodyFactory: createProgressBarFromDiscriminatorValue,
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type RemediationResponse } from '../../../models/deploy/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {RemediatePostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRemediatePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param RemediatePostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoRemediatePostRequestBody(remediatePostRequestBody?: Partial<RemediatePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
export interface RemediatePostRequestBody extends AdditionalDataHolder, Parsable {
|
|
16
|
+
/**
|
|
17
|
+
* Flag that indicates the end user has consented to remediation steps (`true`) or not (`false`).
|
|
18
|
+
*/
|
|
19
|
+
remediationConsent?: boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* List of templateIds that indicate configuration items to be applied as part of remediation.
|
|
22
|
+
*/
|
|
23
|
+
templateList?: Guid[] | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Builds and executes requests for operations under /Api/Deploy/Remediate
|
|
27
|
+
*/
|
|
28
|
+
export interface RemediateRequestBuilder extends BaseRequestBuilder<RemediateRequestBuilder> {
|
|
29
|
+
/**
|
|
30
|
+
* Returns results of the performed remediation action including any errors that occurred as well as mapping of templateId/name for the created resources.This endpoint requires the `Deploy.Read`, or `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns {Promise<RemediationResponse>}
|
|
33
|
+
*/
|
|
34
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RemediationResponse | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* After the user consents, perform necessary steps to deploy resources to cover the security gap.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
*/
|
|
40
|
+
post(body: RemediatePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns results of the performed remediation action including any errors that occurred as well as mapping of templateId/name for the created resources.This endpoint requires the `Deploy.Read`, or `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
/**
|
|
48
|
+
* After the user consents, perform necessary steps to deploy resources to cover the security gap.This endpoint requires the `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
49
|
+
* @param body The request body
|
|
50
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
|
+
* @returns {RequestInformation}
|
|
52
|
+
*/
|
|
53
|
+
toPostRequestInformation(body: RemediatePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
58
|
+
* @param RemediatePostRequestBody The instance to serialize from.
|
|
59
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60
|
+
*/
|
|
61
|
+
export declare function serializeRemediatePostRequestBody(writer: SerializationWriter, remediatePostRequestBody?: Partial<RemediatePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const RemediateRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Remediate";
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const RemediateRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRemediationResponseFromDiscriminatorValue } from '../../../models/deploy/index.js';
|
|
2
|
+
export function createRemediatePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
3
|
+
return deserializeIntoRemediatePostRequestBody;
|
|
4
|
+
}
|
|
5
|
+
export function deserializeIntoRemediatePostRequestBody(remediatePostRequestBody = {}) {
|
|
6
|
+
return {
|
|
7
|
+
"remediationConsent": n => { remediatePostRequestBody.remediationConsent = n.getBooleanValue(); },
|
|
8
|
+
"templateList": n => { remediatePostRequestBody.templateList = n.getCollectionOfPrimitiveValues("string"); },
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function serializeRemediatePostRequestBody(writer, remediatePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
12
|
+
if (!remediatePostRequestBody || isSerializingDerivedType) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
writer.writeBooleanValue("remediationConsent", remediatePostRequestBody.remediationConsent);
|
|
16
|
+
writer.writeCollectionOfPrimitiveValues("templateList", remediatePostRequestBody.templateList);
|
|
17
|
+
writer.writeAdditionalData(remediatePostRequestBody.additionalData);
|
|
18
|
+
}
|
|
19
|
+
export const RemediateRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Remediate";
|
|
20
|
+
export const RemediateRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: RemediateRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "application/json",
|
|
24
|
+
adapterMethodName: "send",
|
|
25
|
+
responseBodyFactory: createRemediationResponseFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
post: {
|
|
28
|
+
uriTemplate: RemediateRequestBuilderUriTemplate,
|
|
29
|
+
adapterMethodName: "sendNoResponseContent",
|
|
30
|
+
requestBodyContentType: "application/json",
|
|
31
|
+
requestBodySerializer: serializeRemediatePostRequestBody,
|
|
32
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
33
|
+
},
|
|
34
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /Api/Deploy/Remove
|
|
4
|
+
*/
|
|
5
|
+
export interface RemoveRequestBuilder extends BaseRequestBuilder<RemoveRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Deletes all resources in the tenant that were created during the initial deploy or any update operation since.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
*/
|
|
10
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Provides a flag that indicates if the core infrastructure removal command can be ran or not.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
13
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
|
+
* @returns {Promise<boolean>}
|
|
15
|
+
*/
|
|
16
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Deletes all resources in the tenant that were created during the initial deploy or any update operation since.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
/**
|
|
24
|
+
* Provides a flag that indicates if the core infrastructure removal command can be ran or not.This endpoint requires the `Deploy.Read`, `Deploy.ReadWrite`, or the `Everything.ReadWrite` scope (permission).
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {RequestInformation}
|
|
27
|
+
*/
|
|
28
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
export declare const RemoveRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Remove";
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the requests in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const RemoveRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const RemoveRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Remove";
|
|
2
|
+
export const RemoveRequestBuilderRequestsMetadata = {
|
|
3
|
+
delete: {
|
|
4
|
+
uriTemplate: RemoveRequestBuilderUriTemplate,
|
|
5
|
+
adapterMethodName: "sendNoResponseContent",
|
|
6
|
+
},
|
|
7
|
+
get: {
|
|
8
|
+
uriTemplate: RemoveRequestBuilderUriTemplate,
|
|
9
|
+
responseBodyContentType: "application/json",
|
|
10
|
+
adapterMethodName: "sendPrimitive",
|
|
11
|
+
responseBodyFactory: "boolean",
|
|
12
|
+
},
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type WithTemplateItemRequestBuilder } from './item/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /Api/Deploy/Restore
|
|
5
|
+
*/
|
|
6
|
+
export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Gets an item from the ApiSdk.Api.Deploy.Restore.item collection
|
|
9
|
+
* @param templateId Reference to the specific configuration item that is deployed in the tenant.
|
|
10
|
+
* @returns {WithTemplateItemRequestBuilder}
|
|
11
|
+
*/
|
|
12
|
+
byTemplateId(templateId: Guid): WithTemplateItemRequestBuilder;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export declare const RestoreRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Restore";
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const RestoreRequestBuilderNavigationMetadata: Record<Exclude<keyof RestoreRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WithTemplateItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
2
|
+
export const RestoreRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Restore";
|
|
3
|
+
export const RestoreRequestBuilderNavigationMetadata = {
|
|
4
|
+
byTemplateId: {
|
|
5
|
+
requestsMetadata: WithTemplateItemRequestBuilderRequestsMetadata,
|
|
6
|
+
pathParametersMappings: ["templateId"],
|
|
7
|
+
},
|
|
8
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PathIndicator } 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/Restore/{templateId}
|
|
5
|
+
*/
|
|
6
|
+
export interface WithTemplateItemRequestBuilder extends BaseRequestBuilder<WithTemplateItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Calculates and applies a change to the deployed resource to restore original value from the entire configuration item or single property.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
9
|
+
* @param body Payload with path data used in several endpoints
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
*/
|
|
12
|
+
patch(body: PathIndicator, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Calculates and applies a change to the deployed resource to restore original value from the entire configuration item or single property.This endpoint requires the `Deploy.ReadWrite` or `Everything.ReadWrite` scope (permission).
|
|
15
|
+
* @param body Payload with path data used in several endpoints
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toPatchRequestInformation(body: PathIndicator, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const WithTemplateItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Restore/{templateId}";
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the requests in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const WithTemplateItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { serializePathIndicator } from '../../../../models/deploy/index.js';
|
|
2
|
+
export const WithTemplateItemRequestBuilderUriTemplate = "{+baseurl}/Api/Deploy/Restore/{templateId}";
|
|
3
|
+
export const WithTemplateItemRequestBuilderRequestsMetadata = {
|
|
4
|
+
patch: {
|
|
5
|
+
uriTemplate: WithTemplateItemRequestBuilderUriTemplate,
|
|
6
|
+
adapterMethodName: "sendNoResponseContent",
|
|
7
|
+
requestBodyContentType: "application/json",
|
|
8
|
+
requestBodySerializer: serializePathIndicator,
|
|
9
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
10
|
+
},
|
|
11
|
+
};
|