@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.
- package/CHANGELOG.md +41 -0
- package/dist/index.js +303 -19
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/generatePreviewArtifactsSample.d.ts +2 -0
- package/dist-esm/samples-dev/generatePreviewArtifactsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generatePreviewArtifactsSample.js +51 -0
- package/dist-esm/samples-dev/generatePreviewArtifactsSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOAuthCallbackSample.js +1 -1
- package/dist-esm/samples-dev/gitHubOAuthSample.js +1 -1
- package/dist-esm/samples-dev/listGitHubOAuthSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js +57 -1
- package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workflowDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workflowGetSample.js +1 -1
- package/dist-esm/samples-dev/workflowListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/workflowListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workflowListSample.js +13 -6
- package/dist-esm/samples-dev/workflowListSample.js.map +1 -1
- package/dist-esm/samples-dev/workflowUpdateTagsSample.js +1 -1
- package/dist-esm/src/developerHubServiceClient.d.ts +8 -1
- package/dist-esm/src/developerHubServiceClient.d.ts.map +1 -1
- package/dist-esm/src/developerHubServiceClient.js +35 -2
- package/dist-esm/src/developerHubServiceClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +222 -20
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +74 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +160 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +8 -4
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/workflowOperations.js +26 -12
- package/dist-esm/src/operations/workflowOperations.js.map +1 -1
- package/dist-esm/test/devhub_examples.spec.js +12 -5
- package/dist-esm/test/devhub_examples.spec.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-devhub.api.md +110 -2
- package/src/developerHubServiceClient.ts +48 -3
- package/src/models/index.ts +220 -3
- package/src/models/mappers.ts +180 -1
- package/src/models/parameters.ts +9 -3
- package/src/operations/workflowOperations.ts +2 -2
- package/types/arm-devhub.d.ts +227 -3
- package/types/tsdoc-metadata.json +1 -1
package/src/models/mappers.ts
CHANGED
|
@@ -505,6 +505,99 @@ export const WorkflowRun: coreClient.CompositeMapper = {
|
|
|
505
505
|
type: {
|
|
506
506
|
name: "DateTime"
|
|
507
507
|
}
|
|
508
|
+
},
|
|
509
|
+
workflowRunStatus: {
|
|
510
|
+
serializedName: "workflowRunStatus",
|
|
511
|
+
type: {
|
|
512
|
+
name: "String"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
export const ArtifactGenerationProperties: coreClient.CompositeMapper = {
|
|
520
|
+
type: {
|
|
521
|
+
name: "Composite",
|
|
522
|
+
className: "ArtifactGenerationProperties",
|
|
523
|
+
modelProperties: {
|
|
524
|
+
generationLanguage: {
|
|
525
|
+
serializedName: "generationLanguage",
|
|
526
|
+
type: {
|
|
527
|
+
name: "String"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
languageVersion: {
|
|
531
|
+
serializedName: "languageVersion",
|
|
532
|
+
type: {
|
|
533
|
+
name: "String"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
builderVersion: {
|
|
537
|
+
serializedName: "builderVersion",
|
|
538
|
+
type: {
|
|
539
|
+
name: "String"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
port: {
|
|
543
|
+
serializedName: "port",
|
|
544
|
+
type: {
|
|
545
|
+
name: "String"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
appName: {
|
|
549
|
+
serializedName: "appName",
|
|
550
|
+
type: {
|
|
551
|
+
name: "String"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
dockerfileOutputDirectory: {
|
|
555
|
+
serializedName: "dockerfileOutputDirectory",
|
|
556
|
+
type: {
|
|
557
|
+
name: "String"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
manifestOutputDirectory: {
|
|
561
|
+
serializedName: "manifestOutputDirectory",
|
|
562
|
+
type: {
|
|
563
|
+
name: "String"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
dockerfileGenerationMode: {
|
|
567
|
+
serializedName: "dockerfileGenerationMode",
|
|
568
|
+
type: {
|
|
569
|
+
name: "String"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
manifestGenerationMode: {
|
|
573
|
+
serializedName: "manifestGenerationMode",
|
|
574
|
+
type: {
|
|
575
|
+
name: "String"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
manifestType: {
|
|
579
|
+
serializedName: "manifestType",
|
|
580
|
+
type: {
|
|
581
|
+
name: "String"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
imageName: {
|
|
585
|
+
serializedName: "imageName",
|
|
586
|
+
type: {
|
|
587
|
+
name: "String"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
namespace: {
|
|
591
|
+
serializedName: "namespace",
|
|
592
|
+
type: {
|
|
593
|
+
name: "String"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
imageTag: {
|
|
597
|
+
serializedName: "imageTag",
|
|
598
|
+
type: {
|
|
599
|
+
name: "String"
|
|
600
|
+
}
|
|
508
601
|
}
|
|
509
602
|
}
|
|
510
603
|
}
|
|
@@ -597,6 +690,91 @@ export const Workflow: coreClient.CompositeMapper = {
|
|
|
597
690
|
className: "Workflow",
|
|
598
691
|
modelProperties: {
|
|
599
692
|
...TrackedResource.type.modelProperties,
|
|
693
|
+
generationLanguage: {
|
|
694
|
+
serializedName:
|
|
695
|
+
"properties.artifactGenerationProperties.generationLanguage",
|
|
696
|
+
type: {
|
|
697
|
+
name: "String"
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
languageVersion: {
|
|
701
|
+
serializedName:
|
|
702
|
+
"properties.artifactGenerationProperties.languageVersion",
|
|
703
|
+
type: {
|
|
704
|
+
name: "String"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
builderVersion: {
|
|
708
|
+
serializedName:
|
|
709
|
+
"properties.artifactGenerationProperties.builderVersion",
|
|
710
|
+
type: {
|
|
711
|
+
name: "String"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
port: {
|
|
715
|
+
serializedName: "properties.artifactGenerationProperties.port",
|
|
716
|
+
type: {
|
|
717
|
+
name: "String"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
appName: {
|
|
721
|
+
serializedName: "properties.artifactGenerationProperties.appName",
|
|
722
|
+
type: {
|
|
723
|
+
name: "String"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
dockerfileOutputDirectory: {
|
|
727
|
+
serializedName:
|
|
728
|
+
"properties.artifactGenerationProperties.dockerfileOutputDirectory",
|
|
729
|
+
type: {
|
|
730
|
+
name: "String"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
manifestOutputDirectory: {
|
|
734
|
+
serializedName:
|
|
735
|
+
"properties.artifactGenerationProperties.manifestOutputDirectory",
|
|
736
|
+
type: {
|
|
737
|
+
name: "String"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
dockerfileGenerationMode: {
|
|
741
|
+
serializedName:
|
|
742
|
+
"properties.artifactGenerationProperties.dockerfileGenerationMode",
|
|
743
|
+
type: {
|
|
744
|
+
name: "String"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
manifestGenerationMode: {
|
|
748
|
+
serializedName:
|
|
749
|
+
"properties.artifactGenerationProperties.manifestGenerationMode",
|
|
750
|
+
type: {
|
|
751
|
+
name: "String"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
manifestType: {
|
|
755
|
+
serializedName: "properties.artifactGenerationProperties.manifestType",
|
|
756
|
+
type: {
|
|
757
|
+
name: "String"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
imageName: {
|
|
761
|
+
serializedName: "properties.artifactGenerationProperties.imageName",
|
|
762
|
+
type: {
|
|
763
|
+
name: "String"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
namespacePropertiesArtifactGenerationPropertiesNamespace: {
|
|
767
|
+
serializedName: "properties.artifactGenerationProperties.namespace",
|
|
768
|
+
type: {
|
|
769
|
+
name: "String"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
imageTag: {
|
|
773
|
+
serializedName: "properties.artifactGenerationProperties.imageTag",
|
|
774
|
+
type: {
|
|
775
|
+
name: "String"
|
|
776
|
+
}
|
|
777
|
+
},
|
|
600
778
|
repositoryOwner: {
|
|
601
779
|
serializedName: "properties.githubWorkflowProfile.repositoryOwner",
|
|
602
780
|
type: {
|
|
@@ -634,7 +812,7 @@ export const Workflow: coreClient.CompositeMapper = {
|
|
|
634
812
|
className: "DeploymentProperties"
|
|
635
813
|
}
|
|
636
814
|
},
|
|
637
|
-
|
|
815
|
+
namespacePropertiesGithubWorkflowProfileNamespace: {
|
|
638
816
|
serializedName: "properties.githubWorkflowProfile.namespace",
|
|
639
817
|
type: {
|
|
640
818
|
name: "String"
|
|
@@ -690,6 +868,7 @@ export const Workflow: coreClient.CompositeMapper = {
|
|
|
690
868
|
},
|
|
691
869
|
authStatus: {
|
|
692
870
|
serializedName: "properties.githubWorkflowProfile.authStatus",
|
|
871
|
+
readOnly: true,
|
|
693
872
|
type: {
|
|
694
873
|
name: "String"
|
|
695
874
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
} from "@azure/core-client";
|
|
14
14
|
import {
|
|
15
15
|
GitHubOAuthCallRequest as GitHubOAuthCallRequestMapper,
|
|
16
|
+
ArtifactGenerationProperties as ArtifactGenerationPropertiesMapper,
|
|
16
17
|
Workflow as WorkflowMapper,
|
|
17
18
|
TagsObject as TagsObjectMapper
|
|
18
19
|
} from "../models/mappers";
|
|
@@ -44,7 +45,7 @@ export const $host: OperationURLParameter = {
|
|
|
44
45
|
export const apiVersion: OperationQueryParameter = {
|
|
45
46
|
parameterPath: "apiVersion",
|
|
46
47
|
mapper: {
|
|
47
|
-
defaultValue: "2022-
|
|
48
|
+
defaultValue: "2022-10-11-preview",
|
|
48
49
|
isConstant: true,
|
|
49
50
|
serializedName: "api-version",
|
|
50
51
|
type: {
|
|
@@ -120,6 +121,11 @@ export const state: OperationQueryParameter = {
|
|
|
120
121
|
}
|
|
121
122
|
};
|
|
122
123
|
|
|
124
|
+
export const parameters1: OperationParameter = {
|
|
125
|
+
parameterPath: "parameters",
|
|
126
|
+
mapper: ArtifactGenerationPropertiesMapper
|
|
127
|
+
};
|
|
128
|
+
|
|
123
129
|
export const resourceGroupName: OperationURLParameter = {
|
|
124
130
|
parameterPath: "resourceGroupName",
|
|
125
131
|
mapper: {
|
|
@@ -163,12 +169,12 @@ export const workflowName: OperationURLParameter = {
|
|
|
163
169
|
}
|
|
164
170
|
};
|
|
165
171
|
|
|
166
|
-
export const
|
|
172
|
+
export const parameters2: OperationParameter = {
|
|
167
173
|
parameterPath: "parameters",
|
|
168
174
|
mapper: WorkflowMapper
|
|
169
175
|
};
|
|
170
176
|
|
|
171
|
-
export const
|
|
177
|
+
export const parameters3: OperationParameter = {
|
|
172
178
|
parameterPath: "parameters",
|
|
173
179
|
mapper: TagsObjectMapper
|
|
174
180
|
};
|
|
@@ -376,7 +376,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
376
376
|
bodyMapper: Mappers.ErrorResponse
|
|
377
377
|
}
|
|
378
378
|
},
|
|
379
|
-
requestBody: Parameters.
|
|
379
|
+
requestBody: Parameters.parameters2,
|
|
380
380
|
queryParameters: [Parameters.apiVersion],
|
|
381
381
|
urlParameters: [
|
|
382
382
|
Parameters.$host,
|
|
@@ -423,7 +423,7 @@ const updateTagsOperationSpec: coreClient.OperationSpec = {
|
|
|
423
423
|
bodyMapper: Mappers.ErrorResponse
|
|
424
424
|
}
|
|
425
425
|
},
|
|
426
|
-
requestBody: Parameters.
|
|
426
|
+
requestBody: Parameters.parameters3,
|
|
427
427
|
queryParameters: [Parameters.apiVersion],
|
|
428
428
|
urlParameters: [
|
|
429
429
|
Parameters.$host,
|
package/types/arm-devhub.d.ts
CHANGED
|
@@ -23,6 +23,47 @@ export declare interface Acr {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare type ActionType = string;
|
|
25
25
|
|
|
26
|
+
/** Properties used for generating artifacts such as Dockerfiles and manifests. */
|
|
27
|
+
export declare interface ArtifactGenerationProperties {
|
|
28
|
+
/** The programming language used. */
|
|
29
|
+
generationLanguage?: GenerationLanguage;
|
|
30
|
+
/** The version of the language image used for execution in the generated dockerfile. */
|
|
31
|
+
languageVersion?: string;
|
|
32
|
+
/** The version of the language image used for building the code in the generated dockerfile. */
|
|
33
|
+
builderVersion?: string;
|
|
34
|
+
/** The port the application is exposed on. */
|
|
35
|
+
port?: string;
|
|
36
|
+
/** The name of the app. */
|
|
37
|
+
appName?: string;
|
|
38
|
+
/** The directory to output the generated Dockerfile to. */
|
|
39
|
+
dockerfileOutputDirectory?: string;
|
|
40
|
+
/** The directory to output the generated manifests to. */
|
|
41
|
+
manifestOutputDirectory?: string;
|
|
42
|
+
/** The mode of generation to be used for generating Dockerfiles. */
|
|
43
|
+
dockerfileGenerationMode?: DockerfileGenerationMode;
|
|
44
|
+
/** The mode of generation to be used for generating Manifest. */
|
|
45
|
+
manifestGenerationMode?: ManifestGenerationMode;
|
|
46
|
+
/** Determines the type of manifests to be generated. */
|
|
47
|
+
manifestType?: GenerationManifestType;
|
|
48
|
+
/** The name of the image to be generated. */
|
|
49
|
+
imageName?: string;
|
|
50
|
+
/** The namespace to deploy the application to. */
|
|
51
|
+
namespace?: string;
|
|
52
|
+
/** The tag to apply to the generated image. */
|
|
53
|
+
imageTag?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Defines values for AuthorizationStatus. \
|
|
58
|
+
* {@link KnownAuthorizationStatus} can be used interchangeably with AuthorizationStatus,
|
|
59
|
+
* this enum contains the known values that the service supports.
|
|
60
|
+
* ### Known values supported by the service
|
|
61
|
+
* **Authorized**: Requests authorized successfully \
|
|
62
|
+
* **NotFound**: Requests returned NotFound response \
|
|
63
|
+
* **Error**: Requests returned other error response
|
|
64
|
+
*/
|
|
65
|
+
export declare type AuthorizationStatus = string;
|
|
66
|
+
|
|
26
67
|
/**
|
|
27
68
|
* Defines values for CreatedByType. \
|
|
28
69
|
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
@@ -88,6 +129,13 @@ export declare class DeveloperHubServiceClient extends coreClient.ServiceClient
|
|
|
88
129
|
* @param options The options parameters.
|
|
89
130
|
*/
|
|
90
131
|
listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<ListGitHubOAuthResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Generate preview dockerfile and manifests.
|
|
134
|
+
* @param location The name of Azure region.
|
|
135
|
+
* @param parameters Properties used for generating artifacts such as Dockerfiles and manifests.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<GeneratePreviewArtifactsResponse>;
|
|
91
139
|
operations: Operations;
|
|
92
140
|
workflowOperations: WorkflowOperations;
|
|
93
141
|
}
|
|
@@ -102,6 +150,16 @@ export declare interface DeveloperHubServiceClientOptionalParams extends coreCli
|
|
|
102
150
|
endpoint?: string;
|
|
103
151
|
}
|
|
104
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Defines values for DockerfileGenerationMode. \
|
|
155
|
+
* {@link KnownDockerfileGenerationMode} can be used interchangeably with DockerfileGenerationMode,
|
|
156
|
+
* this enum contains the known values that the service supports.
|
|
157
|
+
* ### Known values supported by the service
|
|
158
|
+
* **enabled**: Dockerfiles will be generated \
|
|
159
|
+
* **disabled**: Dockerfiles will not be generated
|
|
160
|
+
*/
|
|
161
|
+
export declare type DockerfileGenerationMode = string;
|
|
162
|
+
|
|
105
163
|
/** The resource management error additional info. */
|
|
106
164
|
export declare interface ErrorAdditionalInfo {
|
|
107
165
|
/**
|
|
@@ -151,6 +209,46 @@ export declare interface ErrorResponse {
|
|
|
151
209
|
error?: ErrorDetail;
|
|
152
210
|
}
|
|
153
211
|
|
|
212
|
+
/** Optional parameters. */
|
|
213
|
+
export declare interface GeneratePreviewArtifactsOptionalParams extends coreClient.OperationOptions {
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Contains response data for the generatePreviewArtifacts operation. */
|
|
217
|
+
export declare type GeneratePreviewArtifactsResponse = {
|
|
218
|
+
[propertyName: string]: string;
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Defines values for GenerationLanguage. \
|
|
223
|
+
* {@link KnownGenerationLanguage} can be used interchangeably with GenerationLanguage,
|
|
224
|
+
* this enum contains the known values that the service supports.
|
|
225
|
+
* ### Known values supported by the service
|
|
226
|
+
* **clojure**: clojure language \
|
|
227
|
+
* **csharp**: csharp language \
|
|
228
|
+
* **erlang**: erlang language \
|
|
229
|
+
* **go**: go language \
|
|
230
|
+
* **gomodule**: gomodule language \
|
|
231
|
+
* **gradle**: gradle language \
|
|
232
|
+
* **java**: java language \
|
|
233
|
+
* **javascript**: javascript language \
|
|
234
|
+
* **php**: php language \
|
|
235
|
+
* **python**: python language \
|
|
236
|
+
* **ruby**: ruby language \
|
|
237
|
+
* **rust**: rust language \
|
|
238
|
+
* **swift**: swift language
|
|
239
|
+
*/
|
|
240
|
+
export declare type GenerationLanguage = string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Defines values for GenerationManifestType. \
|
|
244
|
+
* {@link KnownGenerationManifestType} can be used interchangeably with GenerationManifestType,
|
|
245
|
+
* this enum contains the known values that the service supports.
|
|
246
|
+
* ### Known values supported by the service
|
|
247
|
+
* **helm**: Helm manifests \
|
|
248
|
+
* **kube**: Kubernetes manifests
|
|
249
|
+
*/
|
|
250
|
+
export declare type GenerationManifestType = string;
|
|
251
|
+
|
|
154
252
|
/**
|
|
155
253
|
* Given the last `.value` produced by the `byPage` iterator,
|
|
156
254
|
* returns a continuation token that can be used to begin paging from
|
|
@@ -216,6 +314,16 @@ export declare enum KnownActionType {
|
|
|
216
314
|
Internal = "Internal"
|
|
217
315
|
}
|
|
218
316
|
|
|
317
|
+
/** Known values of {@link AuthorizationStatus} that the service accepts. */
|
|
318
|
+
export declare enum KnownAuthorizationStatus {
|
|
319
|
+
/** Requests authorized successfully */
|
|
320
|
+
Authorized = "Authorized",
|
|
321
|
+
/** Requests returned NotFound response */
|
|
322
|
+
NotFound = "NotFound",
|
|
323
|
+
/** Requests returned other error response */
|
|
324
|
+
Error = "Error"
|
|
325
|
+
}
|
|
326
|
+
|
|
219
327
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
220
328
|
export declare enum KnownCreatedByType {
|
|
221
329
|
/** User */
|
|
@@ -228,6 +336,60 @@ export declare enum KnownCreatedByType {
|
|
|
228
336
|
Key = "Key"
|
|
229
337
|
}
|
|
230
338
|
|
|
339
|
+
/** Known values of {@link DockerfileGenerationMode} that the service accepts. */
|
|
340
|
+
export declare enum KnownDockerfileGenerationMode {
|
|
341
|
+
/** Dockerfiles will be generated */
|
|
342
|
+
Enabled = "enabled",
|
|
343
|
+
/** Dockerfiles will not be generated */
|
|
344
|
+
Disabled = "disabled"
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/** Known values of {@link GenerationLanguage} that the service accepts. */
|
|
348
|
+
export declare enum KnownGenerationLanguage {
|
|
349
|
+
/** clojure language */
|
|
350
|
+
Clojure = "clojure",
|
|
351
|
+
/** csharp language */
|
|
352
|
+
Csharp = "csharp",
|
|
353
|
+
/** erlang language */
|
|
354
|
+
Erlang = "erlang",
|
|
355
|
+
/** go language */
|
|
356
|
+
Go = "go",
|
|
357
|
+
/** gomodule language */
|
|
358
|
+
Gomodule = "gomodule",
|
|
359
|
+
/** gradle language */
|
|
360
|
+
Gradle = "gradle",
|
|
361
|
+
/** java language */
|
|
362
|
+
Java = "java",
|
|
363
|
+
/** javascript language */
|
|
364
|
+
Javascript = "javascript",
|
|
365
|
+
/** php language */
|
|
366
|
+
Php = "php",
|
|
367
|
+
/** python language */
|
|
368
|
+
Python = "python",
|
|
369
|
+
/** ruby language */
|
|
370
|
+
Ruby = "ruby",
|
|
371
|
+
/** rust language */
|
|
372
|
+
Rust = "rust",
|
|
373
|
+
/** swift language */
|
|
374
|
+
Swift = "swift"
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/** Known values of {@link GenerationManifestType} that the service accepts. */
|
|
378
|
+
export declare enum KnownGenerationManifestType {
|
|
379
|
+
/** Helm manifests */
|
|
380
|
+
Helm = "helm",
|
|
381
|
+
/** Kubernetes manifests */
|
|
382
|
+
Kube = "kube"
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/** Known values of {@link ManifestGenerationMode} that the service accepts. */
|
|
386
|
+
export declare enum KnownManifestGenerationMode {
|
|
387
|
+
/** Manifests will be generated */
|
|
388
|
+
Enabled = "enabled",
|
|
389
|
+
/** Manifests will not be generated */
|
|
390
|
+
Disabled = "disabled"
|
|
391
|
+
}
|
|
392
|
+
|
|
231
393
|
/** Known values of {@link ManifestType} that the service accepts. */
|
|
232
394
|
export declare enum KnownManifestType {
|
|
233
395
|
/** Repositories using helm */
|
|
@@ -258,6 +420,16 @@ export declare enum KnownPullRequestStatus {
|
|
|
258
420
|
Removed = "removed"
|
|
259
421
|
}
|
|
260
422
|
|
|
423
|
+
/** Known values of {@link WorkflowRunStatus} that the service accepts. */
|
|
424
|
+
export declare enum KnownWorkflowRunStatus {
|
|
425
|
+
/** Workflow run is queued */
|
|
426
|
+
Queued = "queued",
|
|
427
|
+
/** Workflow run is inprogress */
|
|
428
|
+
Inprogress = "inprogress",
|
|
429
|
+
/** Workflow run is completed */
|
|
430
|
+
Completed = "completed"
|
|
431
|
+
}
|
|
432
|
+
|
|
261
433
|
/** Optional parameters. */
|
|
262
434
|
export declare interface ListGitHubOAuthOptionalParams extends coreClient.OperationOptions {
|
|
263
435
|
}
|
|
@@ -265,6 +437,16 @@ export declare interface ListGitHubOAuthOptionalParams extends coreClient.Operat
|
|
|
265
437
|
/** Contains response data for the listGitHubOAuth operation. */
|
|
266
438
|
export declare type ListGitHubOAuthResponse = GitHubOAuthListResponse;
|
|
267
439
|
|
|
440
|
+
/**
|
|
441
|
+
* Defines values for ManifestGenerationMode. \
|
|
442
|
+
* {@link KnownManifestGenerationMode} can be used interchangeably with ManifestGenerationMode,
|
|
443
|
+
* this enum contains the known values that the service supports.
|
|
444
|
+
* ### Known values supported by the service
|
|
445
|
+
* **enabled**: Manifests will be generated \
|
|
446
|
+
* **disabled**: Manifests will not be generated
|
|
447
|
+
*/
|
|
448
|
+
export declare type ManifestGenerationMode = string;
|
|
449
|
+
|
|
268
450
|
/**
|
|
269
451
|
* Defines values for ManifestType. \
|
|
270
452
|
* {@link KnownManifestType} can be used interchangeably with ManifestType,
|
|
@@ -442,6 +624,32 @@ export declare interface TrackedResource extends Resource {
|
|
|
442
624
|
|
|
443
625
|
/** Resource representation of a workflow */
|
|
444
626
|
export declare interface Workflow extends TrackedResource {
|
|
627
|
+
/** The programming language used. */
|
|
628
|
+
generationLanguage?: GenerationLanguage;
|
|
629
|
+
/** The version of the language image used for execution in the generated dockerfile. */
|
|
630
|
+
languageVersion?: string;
|
|
631
|
+
/** The version of the language image used for building the code in the generated dockerfile. */
|
|
632
|
+
builderVersion?: string;
|
|
633
|
+
/** The port the application is exposed on. */
|
|
634
|
+
port?: string;
|
|
635
|
+
/** The name of the app. */
|
|
636
|
+
appName?: string;
|
|
637
|
+
/** The directory to output the generated Dockerfile to. */
|
|
638
|
+
dockerfileOutputDirectory?: string;
|
|
639
|
+
/** The directory to output the generated manifests to. */
|
|
640
|
+
manifestOutputDirectory?: string;
|
|
641
|
+
/** The mode of generation to be used for generating Dockerfiles. */
|
|
642
|
+
dockerfileGenerationMode?: DockerfileGenerationMode;
|
|
643
|
+
/** The mode of generation to be used for generating Manifest. */
|
|
644
|
+
manifestGenerationMode?: ManifestGenerationMode;
|
|
645
|
+
/** Determines the type of manifests to be generated. */
|
|
646
|
+
manifestType?: GenerationManifestType;
|
|
647
|
+
/** The name of the image to be generated. */
|
|
648
|
+
imageName?: string;
|
|
649
|
+
/** The namespace to deploy the application to. */
|
|
650
|
+
namespacePropertiesArtifactGenerationPropertiesNamespace?: string;
|
|
651
|
+
/** The tag to apply to the generated image. */
|
|
652
|
+
imageTag?: string;
|
|
445
653
|
/** Repository Owner */
|
|
446
654
|
repositoryOwner?: string;
|
|
447
655
|
/** Repository Name */
|
|
@@ -454,7 +662,7 @@ export declare interface Workflow extends TrackedResource {
|
|
|
454
662
|
dockerBuildContext?: string;
|
|
455
663
|
deploymentProperties?: DeploymentProperties;
|
|
456
664
|
/** Kubernetes namespace the application is deployed to. */
|
|
457
|
-
|
|
665
|
+
namespacePropertiesGithubWorkflowProfileNamespace?: string;
|
|
458
666
|
/** Information on the azure container registry */
|
|
459
667
|
acr?: Acr;
|
|
460
668
|
/** The fields needed for OIDC with GitHub. */
|
|
@@ -477,8 +685,11 @@ export declare interface Workflow extends TrackedResource {
|
|
|
477
685
|
*/
|
|
478
686
|
readonly prStatus?: PullRequestStatus;
|
|
479
687
|
lastWorkflowRun?: WorkflowRun;
|
|
480
|
-
/**
|
|
481
|
-
|
|
688
|
+
/**
|
|
689
|
+
* Determines the authorization status of requests.
|
|
690
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
691
|
+
*/
|
|
692
|
+
readonly authStatus?: AuthorizationStatus;
|
|
482
693
|
}
|
|
483
694
|
|
|
484
695
|
/** Optional parameters. */
|
|
@@ -604,8 +815,21 @@ export declare interface WorkflowRun {
|
|
|
604
815
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
605
816
|
*/
|
|
606
817
|
readonly lastRunAt?: Date;
|
|
818
|
+
/** Describes the status of the workflow run */
|
|
819
|
+
workflowRunStatus?: WorkflowRunStatus;
|
|
607
820
|
}
|
|
608
821
|
|
|
822
|
+
/**
|
|
823
|
+
* Defines values for WorkflowRunStatus. \
|
|
824
|
+
* {@link KnownWorkflowRunStatus} can be used interchangeably with WorkflowRunStatus,
|
|
825
|
+
* this enum contains the known values that the service supports.
|
|
826
|
+
* ### Known values supported by the service
|
|
827
|
+
* **queued**: Workflow run is queued \
|
|
828
|
+
* **inprogress**: Workflow run is inprogress \
|
|
829
|
+
* **completed**: Workflow run is completed
|
|
830
|
+
*/
|
|
831
|
+
export declare type WorkflowRunStatus = string;
|
|
832
|
+
|
|
609
833
|
/** Optional parameters. */
|
|
610
834
|
export declare interface WorkflowUpdateTagsOptionalParams extends coreClient.OperationOptions {
|
|
611
835
|
}
|