@azure/arm-devhub 1.0.0-alpha.20250618.1 → 1.0.0-alpha.20250717.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,465 +1,465 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-devhub"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
|
|
11
|
-
// @public
|
|
12
|
-
export interface Acr {
|
|
13
|
-
acrRegistryName?: string;
|
|
14
|
-
acrRepositoryName?: string;
|
|
15
|
-
acrResourceGroup?: string;
|
|
16
|
-
acrSubscriptionId?: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// @public
|
|
20
|
-
export type ActionType = string;
|
|
21
|
-
|
|
22
|
-
// @public
|
|
23
|
-
export interface ArtifactGenerationProperties {
|
|
24
|
-
appName?: string;
|
|
25
|
-
builderVersion?: string;
|
|
26
|
-
dockerfileGenerationMode?: DockerfileGenerationMode;
|
|
27
|
-
dockerfileOutputDirectory?: string;
|
|
28
|
-
generationLanguage?: GenerationLanguage;
|
|
29
|
-
imageName?: string;
|
|
30
|
-
imageTag?: string;
|
|
31
|
-
languageVersion?: string;
|
|
32
|
-
manifestGenerationMode?: ManifestGenerationMode;
|
|
33
|
-
manifestOutputDirectory?: string;
|
|
34
|
-
manifestType?: GenerationManifestType;
|
|
35
|
-
namespace?: string;
|
|
36
|
-
port?: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
export type AuthorizationStatus = string;
|
|
41
|
-
|
|
42
|
-
// @public
|
|
43
|
-
export type CreatedByType = string;
|
|
44
|
-
|
|
45
|
-
// @public
|
|
46
|
-
export interface DeleteWorkflowResponse {
|
|
47
|
-
status?: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// @public (undocumented)
|
|
51
|
-
export interface DeploymentProperties {
|
|
52
|
-
helmChartPath?: string;
|
|
53
|
-
helmValues?: string;
|
|
54
|
-
// (undocumented)
|
|
55
|
-
kubeManifestLocations?: string[];
|
|
56
|
-
manifestType?: ManifestType;
|
|
57
|
-
overrides?: {
|
|
58
|
-
[propertyName: string]: string;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// @public (undocumented)
|
|
63
|
-
export class DeveloperHubServiceClient extends coreClient.ServiceClient {
|
|
64
|
-
// (undocumented)
|
|
65
|
-
$host: string;
|
|
66
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DeveloperHubServiceClientOptionalParams);
|
|
67
|
-
// (undocumented)
|
|
68
|
-
apiVersion: string;
|
|
69
|
-
generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<GeneratePreviewArtifactsResponse>;
|
|
70
|
-
gitHubOAuth(location: string, options?: GitHubOAuthOptionalParams): Promise<GitHubOAuthOperationResponse>;
|
|
71
|
-
gitHubOAuthCallback(location: string, code: string, state: string, options?: GitHubOAuthCallbackOptionalParams): Promise<GitHubOAuthCallbackResponse>;
|
|
72
|
-
listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<ListGitHubOAuthResponse>;
|
|
73
|
-
// (undocumented)
|
|
74
|
-
operations: Operations;
|
|
75
|
-
// (undocumented)
|
|
76
|
-
subscriptionId: string;
|
|
77
|
-
// (undocumented)
|
|
78
|
-
workflowOperations: WorkflowOperations;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// @public
|
|
82
|
-
export interface DeveloperHubServiceClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
83
|
-
$host?: string;
|
|
84
|
-
apiVersion?: string;
|
|
85
|
-
endpoint?: string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// @public
|
|
89
|
-
export type DockerfileGenerationMode = string;
|
|
90
|
-
|
|
91
|
-
// @public
|
|
92
|
-
export interface ErrorAdditionalInfo {
|
|
93
|
-
readonly info?: Record<string, unknown>;
|
|
94
|
-
readonly type?: string;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// @public
|
|
98
|
-
export interface ErrorDetail {
|
|
99
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
100
|
-
readonly code?: string;
|
|
101
|
-
readonly details?: ErrorDetail[];
|
|
102
|
-
readonly message?: string;
|
|
103
|
-
readonly target?: string;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// @public
|
|
107
|
-
export interface ErrorResponse {
|
|
108
|
-
error?: ErrorDetail;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// @public
|
|
112
|
-
export interface GeneratePreviewArtifactsOptionalParams extends coreClient.OperationOptions {
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// @public
|
|
116
|
-
export type GeneratePreviewArtifactsResponse = {
|
|
117
|
-
[propertyName: string]: string;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
// @public
|
|
121
|
-
export type GenerationLanguage = string;
|
|
122
|
-
|
|
123
|
-
// @public
|
|
124
|
-
export type GenerationManifestType = string;
|
|
125
|
-
|
|
126
|
-
// @public
|
|
127
|
-
export function getContinuationToken(page: unknown): string | undefined;
|
|
128
|
-
|
|
129
|
-
// @public
|
|
130
|
-
export interface GitHubOAuthCallbackOptionalParams extends coreClient.OperationOptions {
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// @public
|
|
134
|
-
export type GitHubOAuthCallbackResponse = GitHubOAuthResponse;
|
|
135
|
-
|
|
136
|
-
// @public
|
|
137
|
-
export interface GitHubOAuthCallRequest {
|
|
138
|
-
redirectUrl?: string;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// @public
|
|
142
|
-
export interface GitHubOAuthInfoResponse {
|
|
143
|
-
authURL?: string;
|
|
144
|
-
token?: string;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// @public
|
|
148
|
-
export interface GitHubOAuthListResponse {
|
|
149
|
-
value?: GitHubOAuthResponse[];
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
// @public
|
|
153
|
-
export type GitHubOAuthOperationResponse = GitHubOAuthInfoResponse;
|
|
154
|
-
|
|
155
|
-
// @public
|
|
156
|
-
export interface GitHubOAuthOptionalParams extends coreClient.OperationOptions {
|
|
157
|
-
parameters?: GitHubOAuthCallRequest;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// @public
|
|
161
|
-
export interface GitHubOAuthResponse extends ProxyResource {
|
|
162
|
-
username?: string;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @public
|
|
166
|
-
export interface GitHubWorkflowProfileOidcCredentials {
|
|
167
|
-
azureClientId?: string;
|
|
168
|
-
azureTenantId?: string;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// @public
|
|
172
|
-
export enum KnownActionType {
|
|
173
|
-
Internal = "Internal"
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// @public
|
|
177
|
-
export enum KnownAuthorizationStatus {
|
|
178
|
-
Authorized = "Authorized",
|
|
179
|
-
Error = "Error",
|
|
180
|
-
NotFound = "NotFound"
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// @public
|
|
184
|
-
export enum KnownCreatedByType {
|
|
185
|
-
Application = "Application",
|
|
186
|
-
Key = "Key",
|
|
187
|
-
ManagedIdentity = "ManagedIdentity",
|
|
188
|
-
User = "User"
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// @public
|
|
192
|
-
export enum KnownDockerfileGenerationMode {
|
|
193
|
-
Disabled = "disabled",
|
|
194
|
-
Enabled = "enabled"
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
// @public
|
|
198
|
-
export enum KnownGenerationLanguage {
|
|
199
|
-
Clojure = "clojure",
|
|
200
|
-
Csharp = "csharp",
|
|
201
|
-
Erlang = "erlang",
|
|
202
|
-
Go = "go",
|
|
203
|
-
Gomodule = "gomodule",
|
|
204
|
-
Gradle = "gradle",
|
|
205
|
-
Java = "java",
|
|
206
|
-
Javascript = "javascript",
|
|
207
|
-
Php = "php",
|
|
208
|
-
Python = "python",
|
|
209
|
-
Ruby = "ruby",
|
|
210
|
-
Rust = "rust",
|
|
211
|
-
Swift = "swift"
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// @public
|
|
215
|
-
export enum KnownGenerationManifestType {
|
|
216
|
-
Helm = "helm",
|
|
217
|
-
Kube = "kube"
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
// @public
|
|
221
|
-
export enum KnownManifestGenerationMode {
|
|
222
|
-
Disabled = "disabled",
|
|
223
|
-
Enabled = "enabled"
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
// @public
|
|
227
|
-
export enum KnownManifestType {
|
|
228
|
-
Helm = "helm",
|
|
229
|
-
Kube = "kube"
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
// @public
|
|
233
|
-
export enum KnownOrigin {
|
|
234
|
-
System = "system",
|
|
235
|
-
User = "user",
|
|
236
|
-
UserSystem = "user,system"
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
// @public
|
|
240
|
-
export enum KnownPullRequestStatus {
|
|
241
|
-
Merged = "merged",
|
|
242
|
-
Removed = "removed",
|
|
243
|
-
Submitted = "submitted",
|
|
244
|
-
Unknown = "unknown"
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
// @public
|
|
248
|
-
export enum KnownWorkflowRunStatus {
|
|
249
|
-
Completed = "completed",
|
|
250
|
-
Inprogress = "inprogress",
|
|
251
|
-
Queued = "queued"
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// @public
|
|
255
|
-
export interface ListGitHubOAuthOptionalParams extends coreClient.OperationOptions {
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
// @public
|
|
259
|
-
export type ListGitHubOAuthResponse = GitHubOAuthListResponse;
|
|
260
|
-
|
|
261
|
-
// @public
|
|
262
|
-
export type ManifestGenerationMode = string;
|
|
263
|
-
|
|
264
|
-
// @public
|
|
265
|
-
export type ManifestType = string;
|
|
266
|
-
|
|
267
|
-
// @public
|
|
268
|
-
export interface Operation {
|
|
269
|
-
readonly actionType?: ActionType;
|
|
270
|
-
display?: OperationDisplay;
|
|
271
|
-
readonly isDataAction?: boolean;
|
|
272
|
-
readonly name?: string;
|
|
273
|
-
readonly origin?: Origin;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
// @public
|
|
277
|
-
export interface OperationDisplay {
|
|
278
|
-
readonly description?: string;
|
|
279
|
-
readonly operation?: string;
|
|
280
|
-
readonly provider?: string;
|
|
281
|
-
readonly resource?: string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
// @public
|
|
285
|
-
export interface OperationListResult {
|
|
286
|
-
readonly nextLink?: string;
|
|
287
|
-
readonly value?: Operation[];
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// @public
|
|
291
|
-
export interface Operations {
|
|
292
|
-
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
// @public
|
|
296
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// @public
|
|
300
|
-
export type OperationsListResponse = OperationListResult;
|
|
301
|
-
|
|
302
|
-
// @public
|
|
303
|
-
export type Origin = string;
|
|
304
|
-
|
|
305
|
-
// @public
|
|
306
|
-
export interface ProxyResource extends Resource {
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
// @public
|
|
310
|
-
export type PullRequestStatus = string;
|
|
311
|
-
|
|
312
|
-
// @public
|
|
313
|
-
export interface Resource {
|
|
314
|
-
readonly id?: string;
|
|
315
|
-
readonly name?: string;
|
|
316
|
-
readonly systemData?: SystemData;
|
|
317
|
-
readonly type?: string;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
// @public
|
|
321
|
-
export interface SystemData {
|
|
322
|
-
createdAt?: Date;
|
|
323
|
-
createdBy?: string;
|
|
324
|
-
createdByType?: CreatedByType;
|
|
325
|
-
lastModifiedAt?: Date;
|
|
326
|
-
lastModifiedBy?: string;
|
|
327
|
-
lastModifiedByType?: CreatedByType;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
// @public
|
|
331
|
-
export interface TagsObject {
|
|
332
|
-
tags?: {
|
|
333
|
-
[propertyName: string]: string;
|
|
334
|
-
};
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// @public
|
|
338
|
-
export interface TrackedResource extends Resource {
|
|
339
|
-
location: string;
|
|
340
|
-
tags?: {
|
|
341
|
-
[propertyName: string]: string;
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// @public
|
|
346
|
-
export interface Workflow extends TrackedResource {
|
|
347
|
-
acr?: Acr;
|
|
348
|
-
aksResourceId?: string;
|
|
349
|
-
appName?: string;
|
|
350
|
-
readonly authStatus?: AuthorizationStatus;
|
|
351
|
-
branchName?: string;
|
|
352
|
-
builderVersion?: string;
|
|
353
|
-
// (undocumented)
|
|
354
|
-
deploymentProperties?: DeploymentProperties;
|
|
355
|
-
dockerBuildContext?: string;
|
|
356
|
-
dockerfile?: string;
|
|
357
|
-
dockerfileGenerationMode?: DockerfileGenerationMode;
|
|
358
|
-
dockerfileOutputDirectory?: string;
|
|
359
|
-
generationLanguage?: GenerationLanguage;
|
|
360
|
-
imageName?: string;
|
|
361
|
-
imageTag?: string;
|
|
362
|
-
languageVersion?: string;
|
|
363
|
-
// (undocumented)
|
|
364
|
-
lastWorkflowRun?: WorkflowRun;
|
|
365
|
-
manifestGenerationMode?: ManifestGenerationMode;
|
|
366
|
-
manifestOutputDirectory?: string;
|
|
367
|
-
manifestType?: GenerationManifestType;
|
|
368
|
-
namespacePropertiesArtifactGenerationPropertiesNamespace?: string;
|
|
369
|
-
namespacePropertiesGithubWorkflowProfileNamespace?: string;
|
|
370
|
-
oidcCredentials?: GitHubWorkflowProfileOidcCredentials;
|
|
371
|
-
port?: string;
|
|
372
|
-
readonly prStatus?: PullRequestStatus;
|
|
373
|
-
readonly prURL?: string;
|
|
374
|
-
readonly pullNumber?: number;
|
|
375
|
-
repositoryName?: string;
|
|
376
|
-
repositoryOwner?: string;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
// @public
|
|
380
|
-
export interface WorkflowCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
// @public
|
|
384
|
-
export type WorkflowCreateOrUpdateResponse = Workflow;
|
|
385
|
-
|
|
386
|
-
// @public
|
|
387
|
-
export interface WorkflowDeleteOptionalParams extends coreClient.OperationOptions {
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
// @public
|
|
391
|
-
export type WorkflowDeleteResponse = DeleteWorkflowResponse;
|
|
392
|
-
|
|
393
|
-
// @public
|
|
394
|
-
export interface WorkflowGetOptionalParams extends coreClient.OperationOptions {
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
// @public
|
|
398
|
-
export type WorkflowGetResponse = Workflow;
|
|
399
|
-
|
|
400
|
-
// @public
|
|
401
|
-
export interface WorkflowListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
// @public
|
|
405
|
-
export type WorkflowListByResourceGroupNextResponse = WorkflowListResult;
|
|
406
|
-
|
|
407
|
-
// @public
|
|
408
|
-
export interface WorkflowListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
409
|
-
managedClusterResource?: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
// @public
|
|
413
|
-
export type WorkflowListByResourceGroupResponse = WorkflowListResult;
|
|
414
|
-
|
|
415
|
-
// @public
|
|
416
|
-
export interface WorkflowListNextOptionalParams extends coreClient.OperationOptions {
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
// @public
|
|
420
|
-
export type WorkflowListNextResponse = WorkflowListResult;
|
|
421
|
-
|
|
422
|
-
// @public
|
|
423
|
-
export interface WorkflowListOptionalParams extends coreClient.OperationOptions {
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
// @public
|
|
427
|
-
export type WorkflowListResponse = WorkflowListResult;
|
|
428
|
-
|
|
429
|
-
// @public
|
|
430
|
-
export interface WorkflowListResult {
|
|
431
|
-
readonly nextLink?: string;
|
|
432
|
-
value?: Workflow[];
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
// @public
|
|
436
|
-
export interface WorkflowOperations {
|
|
437
|
-
createOrUpdate(resourceGroupName: string, workflowName: string, parameters: Workflow, options?: WorkflowCreateOrUpdateOptionalParams): Promise<WorkflowCreateOrUpdateResponse>;
|
|
438
|
-
delete(resourceGroupName: string, workflowName: string, options?: WorkflowDeleteOptionalParams): Promise<WorkflowDeleteResponse>;
|
|
439
|
-
get(resourceGroupName: string, workflowName: string, options?: WorkflowGetOptionalParams): Promise<WorkflowGetResponse>;
|
|
440
|
-
list(options?: WorkflowListOptionalParams): PagedAsyncIterableIterator<Workflow>;
|
|
441
|
-
listByResourceGroup(resourceGroupName: string, options?: WorkflowListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workflow>;
|
|
442
|
-
updateTags(resourceGroupName: string, workflowName: string, parameters: TagsObject, options?: WorkflowUpdateTagsOptionalParams): Promise<WorkflowUpdateTagsResponse>;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
// @public (undocumented)
|
|
446
|
-
export interface WorkflowRun {
|
|
447
|
-
readonly lastRunAt?: Date;
|
|
448
|
-
readonly succeeded?: boolean;
|
|
449
|
-
workflowRunStatus?: WorkflowRunStatus;
|
|
450
|
-
readonly workflowRunURL?: string;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
// @public
|
|
454
|
-
export type WorkflowRunStatus = string;
|
|
455
|
-
|
|
456
|
-
// @public
|
|
457
|
-
export interface WorkflowUpdateTagsOptionalParams extends coreClient.OperationOptions {
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
// @public
|
|
461
|
-
export type WorkflowUpdateTagsResponse = Workflow;
|
|
462
|
-
|
|
463
|
-
// (No @packageDocumentation comment for this package)
|
|
464
|
-
|
|
465
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-devhub"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
+
|
|
11
|
+
// @public
|
|
12
|
+
export interface Acr {
|
|
13
|
+
acrRegistryName?: string;
|
|
14
|
+
acrRepositoryName?: string;
|
|
15
|
+
acrResourceGroup?: string;
|
|
16
|
+
acrSubscriptionId?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// @public
|
|
20
|
+
export type ActionType = string;
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export interface ArtifactGenerationProperties {
|
|
24
|
+
appName?: string;
|
|
25
|
+
builderVersion?: string;
|
|
26
|
+
dockerfileGenerationMode?: DockerfileGenerationMode;
|
|
27
|
+
dockerfileOutputDirectory?: string;
|
|
28
|
+
generationLanguage?: GenerationLanguage;
|
|
29
|
+
imageName?: string;
|
|
30
|
+
imageTag?: string;
|
|
31
|
+
languageVersion?: string;
|
|
32
|
+
manifestGenerationMode?: ManifestGenerationMode;
|
|
33
|
+
manifestOutputDirectory?: string;
|
|
34
|
+
manifestType?: GenerationManifestType;
|
|
35
|
+
namespace?: string;
|
|
36
|
+
port?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// @public
|
|
40
|
+
export type AuthorizationStatus = string;
|
|
41
|
+
|
|
42
|
+
// @public
|
|
43
|
+
export type CreatedByType = string;
|
|
44
|
+
|
|
45
|
+
// @public
|
|
46
|
+
export interface DeleteWorkflowResponse {
|
|
47
|
+
status?: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// @public (undocumented)
|
|
51
|
+
export interface DeploymentProperties {
|
|
52
|
+
helmChartPath?: string;
|
|
53
|
+
helmValues?: string;
|
|
54
|
+
// (undocumented)
|
|
55
|
+
kubeManifestLocations?: string[];
|
|
56
|
+
manifestType?: ManifestType;
|
|
57
|
+
overrides?: {
|
|
58
|
+
[propertyName: string]: string;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// @public (undocumented)
|
|
63
|
+
export class DeveloperHubServiceClient extends coreClient.ServiceClient {
|
|
64
|
+
// (undocumented)
|
|
65
|
+
$host: string;
|
|
66
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DeveloperHubServiceClientOptionalParams);
|
|
67
|
+
// (undocumented)
|
|
68
|
+
apiVersion: string;
|
|
69
|
+
generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<GeneratePreviewArtifactsResponse>;
|
|
70
|
+
gitHubOAuth(location: string, options?: GitHubOAuthOptionalParams): Promise<GitHubOAuthOperationResponse>;
|
|
71
|
+
gitHubOAuthCallback(location: string, code: string, state: string, options?: GitHubOAuthCallbackOptionalParams): Promise<GitHubOAuthCallbackResponse>;
|
|
72
|
+
listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<ListGitHubOAuthResponse>;
|
|
73
|
+
// (undocumented)
|
|
74
|
+
operations: Operations;
|
|
75
|
+
// (undocumented)
|
|
76
|
+
subscriptionId: string;
|
|
77
|
+
// (undocumented)
|
|
78
|
+
workflowOperations: WorkflowOperations;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// @public
|
|
82
|
+
export interface DeveloperHubServiceClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
83
|
+
$host?: string;
|
|
84
|
+
apiVersion?: string;
|
|
85
|
+
endpoint?: string;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// @public
|
|
89
|
+
export type DockerfileGenerationMode = string;
|
|
90
|
+
|
|
91
|
+
// @public
|
|
92
|
+
export interface ErrorAdditionalInfo {
|
|
93
|
+
readonly info?: Record<string, unknown>;
|
|
94
|
+
readonly type?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// @public
|
|
98
|
+
export interface ErrorDetail {
|
|
99
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
100
|
+
readonly code?: string;
|
|
101
|
+
readonly details?: ErrorDetail[];
|
|
102
|
+
readonly message?: string;
|
|
103
|
+
readonly target?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// @public
|
|
107
|
+
export interface ErrorResponse {
|
|
108
|
+
error?: ErrorDetail;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// @public
|
|
112
|
+
export interface GeneratePreviewArtifactsOptionalParams extends coreClient.OperationOptions {
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// @public
|
|
116
|
+
export type GeneratePreviewArtifactsResponse = {
|
|
117
|
+
[propertyName: string]: string;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
// @public
|
|
121
|
+
export type GenerationLanguage = string;
|
|
122
|
+
|
|
123
|
+
// @public
|
|
124
|
+
export type GenerationManifestType = string;
|
|
125
|
+
|
|
126
|
+
// @public
|
|
127
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
128
|
+
|
|
129
|
+
// @public
|
|
130
|
+
export interface GitHubOAuthCallbackOptionalParams extends coreClient.OperationOptions {
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// @public
|
|
134
|
+
export type GitHubOAuthCallbackResponse = GitHubOAuthResponse;
|
|
135
|
+
|
|
136
|
+
// @public
|
|
137
|
+
export interface GitHubOAuthCallRequest {
|
|
138
|
+
redirectUrl?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// @public
|
|
142
|
+
export interface GitHubOAuthInfoResponse {
|
|
143
|
+
authURL?: string;
|
|
144
|
+
token?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export interface GitHubOAuthListResponse {
|
|
149
|
+
value?: GitHubOAuthResponse[];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// @public
|
|
153
|
+
export type GitHubOAuthOperationResponse = GitHubOAuthInfoResponse;
|
|
154
|
+
|
|
155
|
+
// @public
|
|
156
|
+
export interface GitHubOAuthOptionalParams extends coreClient.OperationOptions {
|
|
157
|
+
parameters?: GitHubOAuthCallRequest;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// @public
|
|
161
|
+
export interface GitHubOAuthResponse extends ProxyResource {
|
|
162
|
+
username?: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// @public
|
|
166
|
+
export interface GitHubWorkflowProfileOidcCredentials {
|
|
167
|
+
azureClientId?: string;
|
|
168
|
+
azureTenantId?: string;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// @public
|
|
172
|
+
export enum KnownActionType {
|
|
173
|
+
Internal = "Internal"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// @public
|
|
177
|
+
export enum KnownAuthorizationStatus {
|
|
178
|
+
Authorized = "Authorized",
|
|
179
|
+
Error = "Error",
|
|
180
|
+
NotFound = "NotFound"
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// @public
|
|
184
|
+
export enum KnownCreatedByType {
|
|
185
|
+
Application = "Application",
|
|
186
|
+
Key = "Key",
|
|
187
|
+
ManagedIdentity = "ManagedIdentity",
|
|
188
|
+
User = "User"
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export enum KnownDockerfileGenerationMode {
|
|
193
|
+
Disabled = "disabled",
|
|
194
|
+
Enabled = "enabled"
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// @public
|
|
198
|
+
export enum KnownGenerationLanguage {
|
|
199
|
+
Clojure = "clojure",
|
|
200
|
+
Csharp = "csharp",
|
|
201
|
+
Erlang = "erlang",
|
|
202
|
+
Go = "go",
|
|
203
|
+
Gomodule = "gomodule",
|
|
204
|
+
Gradle = "gradle",
|
|
205
|
+
Java = "java",
|
|
206
|
+
Javascript = "javascript",
|
|
207
|
+
Php = "php",
|
|
208
|
+
Python = "python",
|
|
209
|
+
Ruby = "ruby",
|
|
210
|
+
Rust = "rust",
|
|
211
|
+
Swift = "swift"
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// @public
|
|
215
|
+
export enum KnownGenerationManifestType {
|
|
216
|
+
Helm = "helm",
|
|
217
|
+
Kube = "kube"
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// @public
|
|
221
|
+
export enum KnownManifestGenerationMode {
|
|
222
|
+
Disabled = "disabled",
|
|
223
|
+
Enabled = "enabled"
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// @public
|
|
227
|
+
export enum KnownManifestType {
|
|
228
|
+
Helm = "helm",
|
|
229
|
+
Kube = "kube"
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// @public
|
|
233
|
+
export enum KnownOrigin {
|
|
234
|
+
System = "system",
|
|
235
|
+
User = "user",
|
|
236
|
+
UserSystem = "user,system"
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// @public
|
|
240
|
+
export enum KnownPullRequestStatus {
|
|
241
|
+
Merged = "merged",
|
|
242
|
+
Removed = "removed",
|
|
243
|
+
Submitted = "submitted",
|
|
244
|
+
Unknown = "unknown"
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// @public
|
|
248
|
+
export enum KnownWorkflowRunStatus {
|
|
249
|
+
Completed = "completed",
|
|
250
|
+
Inprogress = "inprogress",
|
|
251
|
+
Queued = "queued"
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// @public
|
|
255
|
+
export interface ListGitHubOAuthOptionalParams extends coreClient.OperationOptions {
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// @public
|
|
259
|
+
export type ListGitHubOAuthResponse = GitHubOAuthListResponse;
|
|
260
|
+
|
|
261
|
+
// @public
|
|
262
|
+
export type ManifestGenerationMode = string;
|
|
263
|
+
|
|
264
|
+
// @public
|
|
265
|
+
export type ManifestType = string;
|
|
266
|
+
|
|
267
|
+
// @public
|
|
268
|
+
export interface Operation {
|
|
269
|
+
readonly actionType?: ActionType;
|
|
270
|
+
display?: OperationDisplay;
|
|
271
|
+
readonly isDataAction?: boolean;
|
|
272
|
+
readonly name?: string;
|
|
273
|
+
readonly origin?: Origin;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// @public
|
|
277
|
+
export interface OperationDisplay {
|
|
278
|
+
readonly description?: string;
|
|
279
|
+
readonly operation?: string;
|
|
280
|
+
readonly provider?: string;
|
|
281
|
+
readonly resource?: string;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
// @public
|
|
285
|
+
export interface OperationListResult {
|
|
286
|
+
readonly nextLink?: string;
|
|
287
|
+
readonly value?: Operation[];
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// @public
|
|
291
|
+
export interface Operations {
|
|
292
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// @public
|
|
296
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// @public
|
|
300
|
+
export type OperationsListResponse = OperationListResult;
|
|
301
|
+
|
|
302
|
+
// @public
|
|
303
|
+
export type Origin = string;
|
|
304
|
+
|
|
305
|
+
// @public
|
|
306
|
+
export interface ProxyResource extends Resource {
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
// @public
|
|
310
|
+
export type PullRequestStatus = string;
|
|
311
|
+
|
|
312
|
+
// @public
|
|
313
|
+
export interface Resource {
|
|
314
|
+
readonly id?: string;
|
|
315
|
+
readonly name?: string;
|
|
316
|
+
readonly systemData?: SystemData;
|
|
317
|
+
readonly type?: string;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// @public
|
|
321
|
+
export interface SystemData {
|
|
322
|
+
createdAt?: Date;
|
|
323
|
+
createdBy?: string;
|
|
324
|
+
createdByType?: CreatedByType;
|
|
325
|
+
lastModifiedAt?: Date;
|
|
326
|
+
lastModifiedBy?: string;
|
|
327
|
+
lastModifiedByType?: CreatedByType;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// @public
|
|
331
|
+
export interface TagsObject {
|
|
332
|
+
tags?: {
|
|
333
|
+
[propertyName: string]: string;
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// @public
|
|
338
|
+
export interface TrackedResource extends Resource {
|
|
339
|
+
location: string;
|
|
340
|
+
tags?: {
|
|
341
|
+
[propertyName: string]: string;
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// @public
|
|
346
|
+
export interface Workflow extends TrackedResource {
|
|
347
|
+
acr?: Acr;
|
|
348
|
+
aksResourceId?: string;
|
|
349
|
+
appName?: string;
|
|
350
|
+
readonly authStatus?: AuthorizationStatus;
|
|
351
|
+
branchName?: string;
|
|
352
|
+
builderVersion?: string;
|
|
353
|
+
// (undocumented)
|
|
354
|
+
deploymentProperties?: DeploymentProperties;
|
|
355
|
+
dockerBuildContext?: string;
|
|
356
|
+
dockerfile?: string;
|
|
357
|
+
dockerfileGenerationMode?: DockerfileGenerationMode;
|
|
358
|
+
dockerfileOutputDirectory?: string;
|
|
359
|
+
generationLanguage?: GenerationLanguage;
|
|
360
|
+
imageName?: string;
|
|
361
|
+
imageTag?: string;
|
|
362
|
+
languageVersion?: string;
|
|
363
|
+
// (undocumented)
|
|
364
|
+
lastWorkflowRun?: WorkflowRun;
|
|
365
|
+
manifestGenerationMode?: ManifestGenerationMode;
|
|
366
|
+
manifestOutputDirectory?: string;
|
|
367
|
+
manifestType?: GenerationManifestType;
|
|
368
|
+
namespacePropertiesArtifactGenerationPropertiesNamespace?: string;
|
|
369
|
+
namespacePropertiesGithubWorkflowProfileNamespace?: string;
|
|
370
|
+
oidcCredentials?: GitHubWorkflowProfileOidcCredentials;
|
|
371
|
+
port?: string;
|
|
372
|
+
readonly prStatus?: PullRequestStatus;
|
|
373
|
+
readonly prURL?: string;
|
|
374
|
+
readonly pullNumber?: number;
|
|
375
|
+
repositoryName?: string;
|
|
376
|
+
repositoryOwner?: string;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// @public
|
|
380
|
+
export interface WorkflowCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
// @public
|
|
384
|
+
export type WorkflowCreateOrUpdateResponse = Workflow;
|
|
385
|
+
|
|
386
|
+
// @public
|
|
387
|
+
export interface WorkflowDeleteOptionalParams extends coreClient.OperationOptions {
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
// @public
|
|
391
|
+
export type WorkflowDeleteResponse = DeleteWorkflowResponse;
|
|
392
|
+
|
|
393
|
+
// @public
|
|
394
|
+
export interface WorkflowGetOptionalParams extends coreClient.OperationOptions {
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// @public
|
|
398
|
+
export type WorkflowGetResponse = Workflow;
|
|
399
|
+
|
|
400
|
+
// @public
|
|
401
|
+
export interface WorkflowListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// @public
|
|
405
|
+
export type WorkflowListByResourceGroupNextResponse = WorkflowListResult;
|
|
406
|
+
|
|
407
|
+
// @public
|
|
408
|
+
export interface WorkflowListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
409
|
+
managedClusterResource?: string;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
// @public
|
|
413
|
+
export type WorkflowListByResourceGroupResponse = WorkflowListResult;
|
|
414
|
+
|
|
415
|
+
// @public
|
|
416
|
+
export interface WorkflowListNextOptionalParams extends coreClient.OperationOptions {
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
// @public
|
|
420
|
+
export type WorkflowListNextResponse = WorkflowListResult;
|
|
421
|
+
|
|
422
|
+
// @public
|
|
423
|
+
export interface WorkflowListOptionalParams extends coreClient.OperationOptions {
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// @public
|
|
427
|
+
export type WorkflowListResponse = WorkflowListResult;
|
|
428
|
+
|
|
429
|
+
// @public
|
|
430
|
+
export interface WorkflowListResult {
|
|
431
|
+
readonly nextLink?: string;
|
|
432
|
+
value?: Workflow[];
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// @public
|
|
436
|
+
export interface WorkflowOperations {
|
|
437
|
+
createOrUpdate(resourceGroupName: string, workflowName: string, parameters: Workflow, options?: WorkflowCreateOrUpdateOptionalParams): Promise<WorkflowCreateOrUpdateResponse>;
|
|
438
|
+
delete(resourceGroupName: string, workflowName: string, options?: WorkflowDeleteOptionalParams): Promise<WorkflowDeleteResponse>;
|
|
439
|
+
get(resourceGroupName: string, workflowName: string, options?: WorkflowGetOptionalParams): Promise<WorkflowGetResponse>;
|
|
440
|
+
list(options?: WorkflowListOptionalParams): PagedAsyncIterableIterator<Workflow>;
|
|
441
|
+
listByResourceGroup(resourceGroupName: string, options?: WorkflowListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workflow>;
|
|
442
|
+
updateTags(resourceGroupName: string, workflowName: string, parameters: TagsObject, options?: WorkflowUpdateTagsOptionalParams): Promise<WorkflowUpdateTagsResponse>;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
// @public (undocumented)
|
|
446
|
+
export interface WorkflowRun {
|
|
447
|
+
readonly lastRunAt?: Date;
|
|
448
|
+
readonly succeeded?: boolean;
|
|
449
|
+
workflowRunStatus?: WorkflowRunStatus;
|
|
450
|
+
readonly workflowRunURL?: string;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// @public
|
|
454
|
+
export type WorkflowRunStatus = string;
|
|
455
|
+
|
|
456
|
+
// @public
|
|
457
|
+
export interface WorkflowUpdateTagsOptionalParams extends coreClient.OperationOptions {
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
// @public
|
|
461
|
+
export type WorkflowUpdateTagsResponse = Workflow;
|
|
462
|
+
|
|
463
|
+
// (No @packageDocumentation comment for this package)
|
|
464
|
+
|
|
465
|
+
```
|