@azure/arm-devhub 1.0.0-beta.2 → 1.0.0-beta.3

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/index.js +303 -19
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/generatePreviewArtifactsSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/generatePreviewArtifactsSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/generatePreviewArtifactsSample.js +51 -0
  9. package/dist-esm/samples-dev/generatePreviewArtifactsSample.js.map +1 -0
  10. package/dist-esm/samples-dev/gitHubOAuthCallbackSample.js +1 -1
  11. package/dist-esm/samples-dev/gitHubOAuthSample.js +1 -1
  12. package/dist-esm/samples-dev/listGitHubOAuthSample.js +1 -1
  13. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  14. package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js +57 -1
  15. package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js.map +1 -1
  16. package/dist-esm/samples-dev/workflowDeleteSample.js +1 -1
  17. package/dist-esm/samples-dev/workflowGetSample.js +1 -1
  18. package/dist-esm/samples-dev/workflowListByResourceGroupSample.js +13 -6
  19. package/dist-esm/samples-dev/workflowListByResourceGroupSample.js.map +1 -1
  20. package/dist-esm/samples-dev/workflowListSample.js +13 -6
  21. package/dist-esm/samples-dev/workflowListSample.js.map +1 -1
  22. package/dist-esm/samples-dev/workflowUpdateTagsSample.js +1 -1
  23. package/dist-esm/src/developerHubServiceClient.d.ts +8 -1
  24. package/dist-esm/src/developerHubServiceClient.d.ts.map +1 -1
  25. package/dist-esm/src/developerHubServiceClient.js +35 -2
  26. package/dist-esm/src/developerHubServiceClient.js.map +1 -1
  27. package/dist-esm/src/models/index.d.ts +222 -20
  28. package/dist-esm/src/models/index.d.ts.map +1 -1
  29. package/dist-esm/src/models/index.js +74 -0
  30. package/dist-esm/src/models/index.js.map +1 -1
  31. package/dist-esm/src/models/mappers.d.ts +1 -0
  32. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  33. package/dist-esm/src/models/mappers.js +160 -2
  34. package/dist-esm/src/models/mappers.js.map +1 -1
  35. package/dist-esm/src/models/parameters.d.ts +2 -1
  36. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  37. package/dist-esm/src/models/parameters.js +8 -4
  38. package/dist-esm/src/models/parameters.js.map +1 -1
  39. package/dist-esm/src/operations/workflowOperations.js +26 -12
  40. package/dist-esm/src/operations/workflowOperations.js.map +1 -1
  41. package/dist-esm/test/devhub_examples.spec.js +12 -5
  42. package/dist-esm/test/devhub_examples.spec.js.map +1 -1
  43. package/package.json +9 -9
  44. package/review/arm-devhub.api.md +110 -2
  45. package/src/developerHubServiceClient.ts +48 -3
  46. package/src/models/index.ts +220 -3
  47. package/src/models/mappers.ts +180 -1
  48. package/src/models/parameters.ts +9 -3
  49. package/src/operations/workflowOperations.ts +2 -2
  50. package/types/arm-devhub.d.ts +227 -3
  51. package/types/tsdoc-metadata.json +1 -1
@@ -19,6 +19,26 @@ export interface Acr {
19
19
  // @public
20
20
  export type ActionType = string;
21
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
+
22
42
  // @public
23
43
  export type CreatedByType = string;
24
44
 
@@ -46,6 +66,7 @@ export class DeveloperHubServiceClient extends coreClient.ServiceClient {
46
66
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DeveloperHubServiceClientOptionalParams);
47
67
  // (undocumented)
48
68
  apiVersion: string;
69
+ generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<GeneratePreviewArtifactsResponse>;
49
70
  gitHubOAuth(location: string, options?: GitHubOAuthOptionalParams): Promise<GitHubOAuthOperationResponse>;
50
71
  gitHubOAuthCallback(location: string, code: string, state: string, options?: GitHubOAuthCallbackOptionalParams): Promise<GitHubOAuthCallbackResponse>;
51
72
  listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<ListGitHubOAuthResponse>;
@@ -64,6 +85,9 @@ export interface DeveloperHubServiceClientOptionalParams extends coreClient.Serv
64
85
  endpoint?: string;
65
86
  }
66
87
 
88
+ // @public
89
+ export type DockerfileGenerationMode = string;
90
+
67
91
  // @public
68
92
  export interface ErrorAdditionalInfo {
69
93
  readonly info?: Record<string, unknown>;
@@ -84,6 +108,21 @@ export interface ErrorResponse {
84
108
  error?: ErrorDetail;
85
109
  }
86
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
+
87
126
  // @public
88
127
  export function getContinuationToken(page: unknown): string | undefined;
89
128
 
@@ -134,6 +173,13 @@ export enum KnownActionType {
134
173
  Internal = "Internal"
135
174
  }
136
175
 
176
+ // @public
177
+ export enum KnownAuthorizationStatus {
178
+ Authorized = "Authorized",
179
+ Error = "Error",
180
+ NotFound = "NotFound"
181
+ }
182
+
137
183
  // @public
138
184
  export enum KnownCreatedByType {
139
185
  Application = "Application",
@@ -142,6 +188,41 @@ export enum KnownCreatedByType {
142
188
  User = "User"
143
189
  }
144
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
+
145
226
  // @public
146
227
  export enum KnownManifestType {
147
228
  Helm = "helm",
@@ -163,6 +244,13 @@ export enum KnownPullRequestStatus {
163
244
  Unknown = "unknown"
164
245
  }
165
246
 
247
+ // @public
248
+ export enum KnownWorkflowRunStatus {
249
+ Completed = "completed",
250
+ Inprogress = "inprogress",
251
+ Queued = "queued"
252
+ }
253
+
166
254
  // @public
167
255
  export interface ListGitHubOAuthOptionalParams extends coreClient.OperationOptions {
168
256
  }
@@ -170,6 +258,9 @@ export interface ListGitHubOAuthOptionalParams extends coreClient.OperationOptio
170
258
  // @public
171
259
  export type ListGitHubOAuthResponse = GitHubOAuthListResponse;
172
260
 
261
+ // @public
262
+ export type ManifestGenerationMode = string;
263
+
173
264
  // @public
174
265
  export type ManifestType = string;
175
266
 
@@ -255,16 +346,29 @@ export interface TrackedResource extends Resource {
255
346
  export interface Workflow extends TrackedResource {
256
347
  acr?: Acr;
257
348
  aksResourceId?: string;
258
- authStatus?: ManifestType;
349
+ appName?: string;
350
+ readonly authStatus?: AuthorizationStatus;
259
351
  branchName?: string;
352
+ builderVersion?: string;
260
353
  // (undocumented)
261
354
  deploymentProperties?: DeploymentProperties;
262
355
  dockerBuildContext?: string;
263
356
  dockerfile?: string;
357
+ dockerfileGenerationMode?: DockerfileGenerationMode;
358
+ dockerfileOutputDirectory?: string;
359
+ generationLanguage?: GenerationLanguage;
360
+ imageName?: string;
361
+ imageTag?: string;
362
+ languageVersion?: string;
264
363
  // (undocumented)
265
364
  lastWorkflowRun?: WorkflowRun;
266
- namespace?: string;
365
+ manifestGenerationMode?: ManifestGenerationMode;
366
+ manifestOutputDirectory?: string;
367
+ manifestType?: GenerationManifestType;
368
+ namespacePropertiesArtifactGenerationPropertiesNamespace?: string;
369
+ namespacePropertiesGithubWorkflowProfileNamespace?: string;
267
370
  oidcCredentials?: GitHubWorkflowProfileOidcCredentials;
371
+ port?: string;
268
372
  readonly prStatus?: PullRequestStatus;
269
373
  readonly prURL?: string;
270
374
  readonly pullNumber?: number;
@@ -342,9 +446,13 @@ export interface WorkflowOperations {
342
446
  export interface WorkflowRun {
343
447
  readonly lastRunAt?: Date;
344
448
  readonly succeeded?: boolean;
449
+ workflowRunStatus?: WorkflowRunStatus;
345
450
  readonly workflowRunURL?: string;
346
451
  }
347
452
 
453
+ // @public
454
+ export type WorkflowRunStatus = string;
455
+
348
456
  // @public
349
457
  export interface WorkflowUpdateTagsOptionalParams extends coreClient.OperationOptions {
350
458
  }
@@ -25,7 +25,10 @@ import {
25
25
  GitHubOAuthCallbackOptionalParams,
26
26
  GitHubOAuthCallbackResponse,
27
27
  ListGitHubOAuthOptionalParams,
28
- ListGitHubOAuthResponse
28
+ ListGitHubOAuthResponse,
29
+ ArtifactGenerationProperties,
30
+ GeneratePreviewArtifactsOptionalParams,
31
+ GeneratePreviewArtifactsResponse
29
32
  } from "./models";
30
33
 
31
34
  export class DeveloperHubServiceClient extends coreClient.ServiceClient {
@@ -60,7 +63,7 @@ export class DeveloperHubServiceClient extends coreClient.ServiceClient {
60
63
  credential: credentials
61
64
  };
62
65
 
63
- const packageDetails = `azsdk-js-arm-devhub/1.0.0-beta.2`;
66
+ const packageDetails = `azsdk-js-arm-devhub/1.0.0-beta.3`;
64
67
  const userAgentPrefix =
65
68
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
66
69
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -113,7 +116,7 @@ export class DeveloperHubServiceClient extends coreClient.ServiceClient {
113
116
 
114
117
  // Assigning values to Constant parameters
115
118
  this.$host = options.$host || "https://management.azure.com";
116
- this.apiVersion = options.apiVersion || "2022-04-01-preview";
119
+ this.apiVersion = options.apiVersion || "2022-10-11-preview";
117
120
  this.operations = new OperationsImpl(this);
118
121
  this.workflowOperations = new WorkflowOperationsImpl(this);
119
122
  this.addCustomApiVersionPolicy(options.apiVersion);
@@ -196,6 +199,23 @@ export class DeveloperHubServiceClient extends coreClient.ServiceClient {
196
199
  );
197
200
  }
198
201
 
202
+ /**
203
+ * Generate preview dockerfile and manifests.
204
+ * @param location The name of Azure region.
205
+ * @param parameters Properties used for generating artifacts such as Dockerfiles and manifests.
206
+ * @param options The options parameters.
207
+ */
208
+ generatePreviewArtifacts(
209
+ location: string,
210
+ parameters: ArtifactGenerationProperties,
211
+ options?: GeneratePreviewArtifactsOptionalParams
212
+ ): Promise<GeneratePreviewArtifactsResponse> {
213
+ return this.sendOperationRequest(
214
+ { location, parameters, options },
215
+ generatePreviewArtifactsOperationSpec
216
+ );
217
+ }
218
+
199
219
  operations: Operations;
200
220
  workflowOperations: WorkflowOperations;
201
221
  }
@@ -267,3 +287,28 @@ const listGitHubOAuthOperationSpec: coreClient.OperationSpec = {
267
287
  headerParameters: [Parameters.accept],
268
288
  serializer
269
289
  };
290
+ const generatePreviewArtifactsOperationSpec: coreClient.OperationSpec = {
291
+ path:
292
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts",
293
+ httpMethod: "POST",
294
+ responses: {
295
+ 200: {
296
+ bodyMapper: {
297
+ type: { name: "Dictionary", value: { type: { name: "String" } } }
298
+ }
299
+ },
300
+ default: {
301
+ bodyMapper: Mappers.ErrorResponse
302
+ }
303
+ },
304
+ requestBody: Parameters.parameters1,
305
+ queryParameters: [Parameters.apiVersion],
306
+ urlParameters: [
307
+ Parameters.$host,
308
+ Parameters.subscriptionId,
309
+ Parameters.location
310
+ ],
311
+ headerParameters: [Parameters.accept, Parameters.contentType],
312
+ mediaType: "json",
313
+ serializer
314
+ };
@@ -240,6 +240,38 @@ export interface WorkflowRun {
240
240
  * NOTE: This property will not be serialized. It can only be populated by the server.
241
241
  */
242
242
  readonly lastRunAt?: Date;
243
+ /** Describes the status of the workflow run */
244
+ workflowRunStatus?: WorkflowRunStatus;
245
+ }
246
+
247
+ /** Properties used for generating artifacts such as Dockerfiles and manifests. */
248
+ export interface ArtifactGenerationProperties {
249
+ /** The programming language used. */
250
+ generationLanguage?: GenerationLanguage;
251
+ /** The version of the language image used for execution in the generated dockerfile. */
252
+ languageVersion?: string;
253
+ /** The version of the language image used for building the code in the generated dockerfile. */
254
+ builderVersion?: string;
255
+ /** The port the application is exposed on. */
256
+ port?: string;
257
+ /** The name of the app. */
258
+ appName?: string;
259
+ /** The directory to output the generated Dockerfile to. */
260
+ dockerfileOutputDirectory?: string;
261
+ /** The directory to output the generated manifests to. */
262
+ manifestOutputDirectory?: string;
263
+ /** The mode of generation to be used for generating Dockerfiles. */
264
+ dockerfileGenerationMode?: DockerfileGenerationMode;
265
+ /** The mode of generation to be used for generating Manifest. */
266
+ manifestGenerationMode?: ManifestGenerationMode;
267
+ /** Determines the type of manifests to be generated. */
268
+ manifestType?: GenerationManifestType;
269
+ /** The name of the image to be generated. */
270
+ imageName?: string;
271
+ /** The namespace to deploy the application to. */
272
+ namespace?: string;
273
+ /** The tag to apply to the generated image. */
274
+ imageTag?: string;
243
275
  }
244
276
 
245
277
  /** delete response if content must be provided on delete operation */
@@ -273,6 +305,32 @@ export interface GitHubOAuthResponse extends ProxyResource {
273
305
 
274
306
  /** Resource representation of a workflow */
275
307
  export interface Workflow extends TrackedResource {
308
+ /** The programming language used. */
309
+ generationLanguage?: GenerationLanguage;
310
+ /** The version of the language image used for execution in the generated dockerfile. */
311
+ languageVersion?: string;
312
+ /** The version of the language image used for building the code in the generated dockerfile. */
313
+ builderVersion?: string;
314
+ /** The port the application is exposed on. */
315
+ port?: string;
316
+ /** The name of the app. */
317
+ appName?: string;
318
+ /** The directory to output the generated Dockerfile to. */
319
+ dockerfileOutputDirectory?: string;
320
+ /** The directory to output the generated manifests to. */
321
+ manifestOutputDirectory?: string;
322
+ /** The mode of generation to be used for generating Dockerfiles. */
323
+ dockerfileGenerationMode?: DockerfileGenerationMode;
324
+ /** The mode of generation to be used for generating Manifest. */
325
+ manifestGenerationMode?: ManifestGenerationMode;
326
+ /** Determines the type of manifests to be generated. */
327
+ manifestType?: GenerationManifestType;
328
+ /** The name of the image to be generated. */
329
+ imageName?: string;
330
+ /** The namespace to deploy the application to. */
331
+ namespacePropertiesArtifactGenerationPropertiesNamespace?: string;
332
+ /** The tag to apply to the generated image. */
333
+ imageTag?: string;
276
334
  /** Repository Owner */
277
335
  repositoryOwner?: string;
278
336
  /** Repository Name */
@@ -285,7 +343,7 @@ export interface Workflow extends TrackedResource {
285
343
  dockerBuildContext?: string;
286
344
  deploymentProperties?: DeploymentProperties;
287
345
  /** Kubernetes namespace the application is deployed to. */
288
- namespace?: string;
346
+ namespacePropertiesGithubWorkflowProfileNamespace?: string;
289
347
  /** Information on the azure container registry */
290
348
  acr?: Acr;
291
349
  /** The fields needed for OIDC with GitHub. */
@@ -308,8 +366,11 @@ export interface Workflow extends TrackedResource {
308
366
  */
309
367
  readonly prStatus?: PullRequestStatus;
310
368
  lastWorkflowRun?: WorkflowRun;
311
- /** Determines the type of manifests within the repository. */
312
- authStatus?: ManifestType;
369
+ /**
370
+ * Determines the authorization status of requests.
371
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
+ */
373
+ readonly authStatus?: AuthorizationStatus;
313
374
  }
314
375
 
315
376
  /** Known values of {@link Origin} that the service accepts. */
@@ -414,6 +475,153 @@ export enum KnownPullRequestStatus {
414
475
  */
415
476
  export type PullRequestStatus = string;
416
477
 
478
+ /** Known values of {@link WorkflowRunStatus} that the service accepts. */
479
+ export enum KnownWorkflowRunStatus {
480
+ /** Workflow run is queued */
481
+ Queued = "queued",
482
+ /** Workflow run is inprogress */
483
+ Inprogress = "inprogress",
484
+ /** Workflow run is completed */
485
+ Completed = "completed"
486
+ }
487
+
488
+ /**
489
+ * Defines values for WorkflowRunStatus. \
490
+ * {@link KnownWorkflowRunStatus} can be used interchangeably with WorkflowRunStatus,
491
+ * this enum contains the known values that the service supports.
492
+ * ### Known values supported by the service
493
+ * **queued**: Workflow run is queued \
494
+ * **inprogress**: Workflow run is inprogress \
495
+ * **completed**: Workflow run is completed
496
+ */
497
+ export type WorkflowRunStatus = string;
498
+
499
+ /** Known values of {@link AuthorizationStatus} that the service accepts. */
500
+ export enum KnownAuthorizationStatus {
501
+ /** Requests authorized successfully */
502
+ Authorized = "Authorized",
503
+ /** Requests returned NotFound response */
504
+ NotFound = "NotFound",
505
+ /** Requests returned other error response */
506
+ Error = "Error"
507
+ }
508
+
509
+ /**
510
+ * Defines values for AuthorizationStatus. \
511
+ * {@link KnownAuthorizationStatus} can be used interchangeably with AuthorizationStatus,
512
+ * this enum contains the known values that the service supports.
513
+ * ### Known values supported by the service
514
+ * **Authorized**: Requests authorized successfully \
515
+ * **NotFound**: Requests returned NotFound response \
516
+ * **Error**: Requests returned other error response
517
+ */
518
+ export type AuthorizationStatus = string;
519
+
520
+ /** Known values of {@link GenerationLanguage} that the service accepts. */
521
+ export enum KnownGenerationLanguage {
522
+ /** clojure language */
523
+ Clojure = "clojure",
524
+ /** csharp language */
525
+ Csharp = "csharp",
526
+ /** erlang language */
527
+ Erlang = "erlang",
528
+ /** go language */
529
+ Go = "go",
530
+ /** gomodule language */
531
+ Gomodule = "gomodule",
532
+ /** gradle language */
533
+ Gradle = "gradle",
534
+ /** java language */
535
+ Java = "java",
536
+ /** javascript language */
537
+ Javascript = "javascript",
538
+ /** php language */
539
+ Php = "php",
540
+ /** python language */
541
+ Python = "python",
542
+ /** ruby language */
543
+ Ruby = "ruby",
544
+ /** rust language */
545
+ Rust = "rust",
546
+ /** swift language */
547
+ Swift = "swift"
548
+ }
549
+
550
+ /**
551
+ * Defines values for GenerationLanguage. \
552
+ * {@link KnownGenerationLanguage} can be used interchangeably with GenerationLanguage,
553
+ * this enum contains the known values that the service supports.
554
+ * ### Known values supported by the service
555
+ * **clojure**: clojure language \
556
+ * **csharp**: csharp language \
557
+ * **erlang**: erlang language \
558
+ * **go**: go language \
559
+ * **gomodule**: gomodule language \
560
+ * **gradle**: gradle language \
561
+ * **java**: java language \
562
+ * **javascript**: javascript language \
563
+ * **php**: php language \
564
+ * **python**: python language \
565
+ * **ruby**: ruby language \
566
+ * **rust**: rust language \
567
+ * **swift**: swift language
568
+ */
569
+ export type GenerationLanguage = string;
570
+
571
+ /** Known values of {@link DockerfileGenerationMode} that the service accepts. */
572
+ export enum KnownDockerfileGenerationMode {
573
+ /** Dockerfiles will be generated */
574
+ Enabled = "enabled",
575
+ /** Dockerfiles will not be generated */
576
+ Disabled = "disabled"
577
+ }
578
+
579
+ /**
580
+ * Defines values for DockerfileGenerationMode. \
581
+ * {@link KnownDockerfileGenerationMode} can be used interchangeably with DockerfileGenerationMode,
582
+ * this enum contains the known values that the service supports.
583
+ * ### Known values supported by the service
584
+ * **enabled**: Dockerfiles will be generated \
585
+ * **disabled**: Dockerfiles will not be generated
586
+ */
587
+ export type DockerfileGenerationMode = string;
588
+
589
+ /** Known values of {@link ManifestGenerationMode} that the service accepts. */
590
+ export enum KnownManifestGenerationMode {
591
+ /** Manifests will be generated */
592
+ Enabled = "enabled",
593
+ /** Manifests will not be generated */
594
+ Disabled = "disabled"
595
+ }
596
+
597
+ /**
598
+ * Defines values for ManifestGenerationMode. \
599
+ * {@link KnownManifestGenerationMode} can be used interchangeably with ManifestGenerationMode,
600
+ * this enum contains the known values that the service supports.
601
+ * ### Known values supported by the service
602
+ * **enabled**: Manifests will be generated \
603
+ * **disabled**: Manifests will not be generated
604
+ */
605
+ export type ManifestGenerationMode = string;
606
+
607
+ /** Known values of {@link GenerationManifestType} that the service accepts. */
608
+ export enum KnownGenerationManifestType {
609
+ /** Helm manifests */
610
+ Helm = "helm",
611
+ /** Kubernetes manifests */
612
+ Kube = "kube"
613
+ }
614
+
615
+ /**
616
+ * Defines values for GenerationManifestType. \
617
+ * {@link KnownGenerationManifestType} can be used interchangeably with GenerationManifestType,
618
+ * this enum contains the known values that the service supports.
619
+ * ### Known values supported by the service
620
+ * **helm**: Helm manifests \
621
+ * **kube**: Kubernetes manifests
622
+ */
623
+ export type GenerationManifestType = string;
624
+
417
625
  /** Optional parameters. */
418
626
  export interface OperationsListOptionalParams
419
627
  extends coreClient.OperationOptions {}
@@ -444,6 +652,15 @@ export interface ListGitHubOAuthOptionalParams
444
652
  /** Contains response data for the listGitHubOAuth operation. */
445
653
  export type ListGitHubOAuthResponse = GitHubOAuthListResponse;
446
654
 
655
+ /** Optional parameters. */
656
+ export interface GeneratePreviewArtifactsOptionalParams
657
+ extends coreClient.OperationOptions {}
658
+
659
+ /** Contains response data for the generatePreviewArtifacts operation. */
660
+ export type GeneratePreviewArtifactsResponse = {
661
+ [propertyName: string]: string;
662
+ };
663
+
447
664
  /** Optional parameters. */
448
665
  export interface WorkflowListOptionalParams
449
666
  extends coreClient.OperationOptions {}