@pulumi/azure-native 1.65.0 → 1.66.0-alpha.1654838610

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 (45) hide show
  1. package/devhub/getGitHubOAuth.d.ts +40 -0
  2. package/devhub/getGitHubOAuth.js +27 -0
  3. package/devhub/getWorkflow.d.ts +113 -0
  4. package/devhub/getWorkflow.js +27 -0
  5. package/devhub/index.d.ts +6 -0
  6. package/devhub/index.js +45 -0
  7. package/devhub/v20220401preview/getGitHubOAuth.d.ts +39 -0
  8. package/devhub/v20220401preview/getGitHubOAuth.js +26 -0
  9. package/devhub/v20220401preview/getWorkflow.d.ts +112 -0
  10. package/devhub/v20220401preview/getWorkflow.js +26 -0
  11. package/devhub/v20220401preview/index.d.ts +4 -0
  12. package/devhub/v20220401preview/index.js +41 -0
  13. package/devhub/v20220401preview/workflow.d.ts +165 -0
  14. package/devhub/v20220401preview/workflow.js +101 -0
  15. package/devhub/workflow.d.ts +166 -0
  16. package/devhub/workflow.js +102 -0
  17. package/index.d.ts +2 -1
  18. package/index.js +6 -4
  19. package/package.json +2 -2
  20. package/package.json.dev +2 -2
  21. package/types/enums/devhub/index.d.ts +16 -0
  22. package/types/enums/devhub/index.js +19 -0
  23. package/types/enums/devhub/v20220401preview/index.d.ts +14 -0
  24. package/types/enums/devhub/v20220401preview/index.js +16 -0
  25. package/types/enums/index.d.ts +2 -1
  26. package/types/enums/index.js +6 -4
  27. package/types/input.d.ts +114 -0
  28. package/types/input.js +1 -1
  29. package/types/output.d.ts +200 -0
  30. package/types/output.js +1 -1
  31. package/videoindexer/account.d.ts +2 -2
  32. package/videoindexer/account.js +3 -2
  33. package/videoindexer/getAccount.d.ts +1 -1
  34. package/videoindexer/v20211018preview/account.d.ts +2 -2
  35. package/videoindexer/v20211018preview/account.js +3 -2
  36. package/videoindexer/v20211018preview/getAccount.d.ts +1 -1
  37. package/videoindexer/v20211027preview/account.d.ts +2 -2
  38. package/videoindexer/v20211027preview/account.js +3 -2
  39. package/videoindexer/v20211027preview/getAccount.d.ts +1 -1
  40. package/videoindexer/v20211110preview/account.d.ts +2 -2
  41. package/videoindexer/v20211110preview/account.js +3 -2
  42. package/videoindexer/v20211110preview/getAccount.d.ts +1 -1
  43. package/videoindexer/v20220413preview/account.d.ts +2 -2
  44. package/videoindexer/v20220413preview/account.js +3 -2
  45. package/videoindexer/v20220413preview/getAccount.d.ts +1 -1
@@ -0,0 +1,40 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * URL used to authorize the Developer Hub GitHub App
4
+ * API Version: 2022-04-01-preview.
5
+ */
6
+ export declare function getGitHubOAuth(args: GetGitHubOAuthArgs, opts?: pulumi.InvokeOptions): Promise<GetGitHubOAuthResult>;
7
+ export interface GetGitHubOAuthArgs {
8
+ /**
9
+ * The name of Azure region.
10
+ */
11
+ location: string;
12
+ /**
13
+ * The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
14
+ */
15
+ redirectUrl?: string;
16
+ }
17
+ /**
18
+ * URL used to authorize the Developer Hub GitHub App
19
+ */
20
+ export interface GetGitHubOAuthResult {
21
+ /**
22
+ * URL for authorizing the Developer Hub GitHub App
23
+ */
24
+ readonly authURL?: string;
25
+ /**
26
+ * OAuth token used to make calls to GitHub
27
+ */
28
+ readonly token?: string;
29
+ }
30
+ export declare function getGitHubOAuthOutput(args: GetGitHubOAuthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitHubOAuthResult>;
31
+ export interface GetGitHubOAuthOutputArgs {
32
+ /**
33
+ * The name of Azure region.
34
+ */
35
+ location: pulumi.Input<string>;
36
+ /**
37
+ * The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
38
+ */
39
+ redirectUrl?: pulumi.Input<string>;
40
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGitHubOAuthOutput = exports.getGitHubOAuth = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * URL used to authorize the Developer Hub GitHub App
10
+ * API Version: 2022-04-01-preview.
11
+ */
12
+ function getGitHubOAuth(args, opts) {
13
+ if (!opts) {
14
+ opts = {};
15
+ }
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
17
+ return pulumi.runtime.invoke("azure-native:devhub:getGitHubOAuth", {
18
+ "location": args.location,
19
+ "redirectUrl": args.redirectUrl,
20
+ }, opts);
21
+ }
22
+ exports.getGitHubOAuth = getGitHubOAuth;
23
+ function getGitHubOAuthOutput(args, opts) {
24
+ return pulumi.output(args).apply(a => getGitHubOAuth(a, opts));
25
+ }
26
+ exports.getGitHubOAuthOutput = getGitHubOAuthOutput;
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0R2l0SHViT0F1dGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kZXZodWIvZ2V0R2l0SHViT0F1dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFDekMsMENBQTBDO0FBRTFDOzs7R0FHRztBQUNILFNBQWdCLGNBQWMsQ0FBQyxJQUF3QixFQUFFLElBQTJCO0lBQ2hGLElBQUksQ0FBQyxJQUFJLEVBQUU7UUFDUCxJQUFJLEdBQUcsRUFBRSxDQUFBO0tBQ1o7SUFFRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNuRSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLG9DQUFvQyxFQUFFO1FBQy9ELFVBQVUsRUFBRSxJQUFJLENBQUMsUUFBUTtRQUN6QixhQUFhLEVBQUUsSUFBSSxDQUFDLFdBQVc7S0FDbEMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFWRCx3Q0FVQztBQTJCRCxTQUFnQixvQkFBb0IsQ0FBQyxJQUE4QixFQUFFLElBQTJCO0lBQzVGLE9BQU8sTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxjQUFjLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUE7QUFDbEUsQ0FBQztBQUZELG9EQUVDIn0=
@@ -0,0 +1,113 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Resource representation of a workflow
5
+ * API Version: 2022-04-01-preview.
6
+ */
7
+ export declare function getWorkflow(args: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowResult>;
8
+ export interface GetWorkflowArgs {
9
+ /**
10
+ * The name of the resource group. The name is case insensitive.
11
+ */
12
+ resourceGroupName: string;
13
+ /**
14
+ * The name of the workflow resource.
15
+ */
16
+ workflowName: string;
17
+ }
18
+ /**
19
+ * Resource representation of a workflow
20
+ */
21
+ export interface GetWorkflowResult {
22
+ /**
23
+ * Information on the azure container registry
24
+ */
25
+ readonly acr?: outputs.devhub.ACRResponse;
26
+ /**
27
+ * The Azure Kubernetes Cluster Resource the application will be deployed to.
28
+ */
29
+ readonly aksResourceId?: string;
30
+ /**
31
+ * Determines the authorization status of requests.
32
+ */
33
+ readonly authStatus: string;
34
+ /**
35
+ * Repository Branch Name
36
+ */
37
+ readonly branchName?: string;
38
+ readonly deploymentProperties?: outputs.devhub.DeploymentPropertiesResponse;
39
+ /**
40
+ * Path to Dockerfile Build Context within the repository.
41
+ */
42
+ readonly dockerBuildContext?: string;
43
+ /**
44
+ * Path to the Dockerfile within the repository.
45
+ */
46
+ readonly dockerfile?: string;
47
+ /**
48
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
49
+ */
50
+ readonly id: string;
51
+ readonly lastWorkflowRun?: outputs.devhub.WorkflowRunResponse;
52
+ /**
53
+ * The geo-location where the resource lives
54
+ */
55
+ readonly location: string;
56
+ /**
57
+ * The name of the resource
58
+ */
59
+ readonly name: string;
60
+ /**
61
+ * Kubernetes namespace the application is deployed to.
62
+ */
63
+ readonly namespace?: string;
64
+ /**
65
+ * The fields needed for OIDC with GitHub.
66
+ */
67
+ readonly oidcCredentials?: outputs.devhub.GitHubWorkflowProfileResponseOidcCredentials;
68
+ /**
69
+ * The status of the Pull Request submitted against the users repository.
70
+ */
71
+ readonly prStatus: string;
72
+ /**
73
+ * The URL to the Pull Request submitted against the users repository.
74
+ */
75
+ readonly prURL: string;
76
+ /**
77
+ * The number associated with the submitted pull request.
78
+ */
79
+ readonly pullNumber: number;
80
+ /**
81
+ * Repository Name
82
+ */
83
+ readonly repositoryName?: string;
84
+ /**
85
+ * Repository Owner
86
+ */
87
+ readonly repositoryOwner?: string;
88
+ /**
89
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
90
+ */
91
+ readonly systemData: outputs.devhub.SystemDataResponse;
92
+ /**
93
+ * Resource tags.
94
+ */
95
+ readonly tags?: {
96
+ [key: string]: string;
97
+ };
98
+ /**
99
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
100
+ */
101
+ readonly type: string;
102
+ }
103
+ export declare function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWorkflowResult>;
104
+ export interface GetWorkflowOutputArgs {
105
+ /**
106
+ * The name of the resource group. The name is case insensitive.
107
+ */
108
+ resourceGroupName: pulumi.Input<string>;
109
+ /**
110
+ * The name of the workflow resource.
111
+ */
112
+ workflowName: pulumi.Input<string>;
113
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getWorkflowOutput = exports.getWorkflow = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource representation of a workflow
10
+ * API Version: 2022-04-01-preview.
11
+ */
12
+ function getWorkflow(args, opts) {
13
+ if (!opts) {
14
+ opts = {};
15
+ }
16
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
17
+ return pulumi.runtime.invoke("azure-native:devhub:getWorkflow", {
18
+ "resourceGroupName": args.resourceGroupName,
19
+ "workflowName": args.workflowName,
20
+ }, opts);
21
+ }
22
+ exports.getWorkflow = getWorkflow;
23
+ function getWorkflowOutput(args, opts) {
24
+ return pulumi.output(args).apply(a => getWorkflow(a, opts));
25
+ }
26
+ exports.getWorkflowOutput = getWorkflowOutput;
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0V29ya2Zsb3cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kZXZodWIvZ2V0V29ya2Zsb3cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsMENBQTBDO0FBRTFDOzs7R0FHRztBQUNILFNBQWdCLFdBQVcsQ0FBQyxJQUFxQixFQUFFLElBQTJCO0lBQzFFLElBQUksQ0FBQyxJQUFJLEVBQUU7UUFDUCxJQUFJLEdBQUcsRUFBRSxDQUFBO0tBQ1o7SUFFRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNuRSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLGlDQUFpQyxFQUFFO1FBQzVELG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0MsY0FBYyxFQUFFLElBQUksQ0FBQyxZQUFZO0tBQ3BDLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFDYixDQUFDO0FBVkQsa0NBVUM7QUFpR0QsU0FBZ0IsaUJBQWlCLENBQUMsSUFBMkIsRUFBRSxJQUEyQjtJQUN0RixPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsV0FBVyxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQy9ELENBQUM7QUFGRCw4Q0FFQyJ9
@@ -0,0 +1,6 @@
1
+ export * from "./getGitHubOAuth";
2
+ export * from "./getWorkflow";
3
+ export * from "./workflow";
4
+ export * from "../types/enums/devhub";
5
+ import * as v20220401preview from "./v20220401preview";
6
+ export { v20220401preview, };
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.v20220401preview = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../utilities");
22
+ // Export members:
23
+ __exportStar(require("./getGitHubOAuth"), exports);
24
+ __exportStar(require("./getWorkflow"), exports);
25
+ __exportStar(require("./workflow"), exports);
26
+ // Export enums:
27
+ __exportStar(require("../types/enums/devhub"), exports);
28
+ // Export sub-modules:
29
+ const v20220401preview = require("./v20220401preview");
30
+ exports.v20220401preview = v20220401preview;
31
+ // Import resources to register:
32
+ const workflow_1 = require("./workflow");
33
+ const _module = {
34
+ version: utilities.getVersion(),
35
+ construct: (name, type, urn) => {
36
+ switch (type) {
37
+ case "azure-native:devhub:Workflow":
38
+ return new workflow_1.Workflow(name, undefined, { urn });
39
+ default:
40
+ throw new Error(`unknown resource type ${type}`);
41
+ }
42
+ },
43
+ };
44
+ pulumi.runtime.registerResourceModule("azure-native", "devhub", _module);
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kZXZodWIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRWpGLHlDQUF5QztBQUN6QywwQ0FBMEM7QUFFMUMsa0JBQWtCO0FBQ2xCLG1EQUFpQztBQUNqQyxnREFBOEI7QUFDOUIsNkNBQTJCO0FBRTNCLGdCQUFnQjtBQUNoQix3REFBc0M7QUFFdEMsc0JBQXNCO0FBQ3RCLHVEQUF1RDtBQUduRCw0Q0FBZ0I7QUFHcEIsZ0NBQWdDO0FBQ2hDLHlDQUFzQztBQUV0QyxNQUFNLE9BQU8sR0FBRztJQUNaLE9BQU8sRUFBRSxTQUFTLENBQUMsVUFBVSxFQUFFO0lBQy9CLFNBQVMsRUFBRSxDQUFDLElBQVksRUFBRSxJQUFZLEVBQUUsR0FBVyxFQUFtQixFQUFFO1FBQ3BFLFFBQVEsSUFBSSxFQUFFO1lBQ1YsS0FBSyw4QkFBOEI7Z0JBQy9CLE9BQU8sSUFBSSxtQkFBUSxDQUFDLElBQUksRUFBTyxTQUFTLEVBQUUsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFBO1lBQ3REO2dCQUNJLE1BQU0sSUFBSSxLQUFLLENBQUMseUJBQXlCLElBQUksRUFBRSxDQUFDLENBQUM7U0FDeEQ7SUFDTCxDQUFDO0NBQ0osQ0FBQztBQUNGLE1BQU0sQ0FBQyxPQUFPLENBQUMsc0JBQXNCLENBQUMsY0FBYyxFQUFFLFFBQVEsRUFBRSxPQUFPLENBQUMsQ0FBQSJ9
@@ -0,0 +1,39 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * URL used to authorize the Developer Hub GitHub App
4
+ */
5
+ export declare function getGitHubOAuth(args: GetGitHubOAuthArgs, opts?: pulumi.InvokeOptions): Promise<GetGitHubOAuthResult>;
6
+ export interface GetGitHubOAuthArgs {
7
+ /**
8
+ * The name of Azure region.
9
+ */
10
+ location: string;
11
+ /**
12
+ * The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
13
+ */
14
+ redirectUrl?: string;
15
+ }
16
+ /**
17
+ * URL used to authorize the Developer Hub GitHub App
18
+ */
19
+ export interface GetGitHubOAuthResult {
20
+ /**
21
+ * URL for authorizing the Developer Hub GitHub App
22
+ */
23
+ readonly authURL?: string;
24
+ /**
25
+ * OAuth token used to make calls to GitHub
26
+ */
27
+ readonly token?: string;
28
+ }
29
+ export declare function getGitHubOAuthOutput(args: GetGitHubOAuthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitHubOAuthResult>;
30
+ export interface GetGitHubOAuthOutputArgs {
31
+ /**
32
+ * The name of Azure region.
33
+ */
34
+ location: pulumi.Input<string>;
35
+ /**
36
+ * The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
37
+ */
38
+ redirectUrl?: pulumi.Input<string>;
39
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGitHubOAuthOutput = exports.getGitHubOAuth = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * URL used to authorize the Developer Hub GitHub App
10
+ */
11
+ function getGitHubOAuth(args, opts) {
12
+ if (!opts) {
13
+ opts = {};
14
+ }
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
16
+ return pulumi.runtime.invoke("azure-native:devhub/v20220401preview:getGitHubOAuth", {
17
+ "location": args.location,
18
+ "redirectUrl": args.redirectUrl,
19
+ }, opts);
20
+ }
21
+ exports.getGitHubOAuth = getGitHubOAuth;
22
+ function getGitHubOAuthOutput(args, opts) {
23
+ return pulumi.output(args).apply(a => getGitHubOAuth(a, opts));
24
+ }
25
+ exports.getGitHubOAuthOutput = getGitHubOAuthOutput;
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0R2l0SHViT0F1dGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZodWIvdjIwMjIwNDAxcHJldmlldy9nZXRHaXRIdWJPQXV0aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsd0VBQXdFO0FBQ3hFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUN6Qyw2Q0FBNkM7QUFFN0M7O0dBRUc7QUFDSCxTQUFnQixjQUFjLENBQUMsSUFBd0IsRUFBRSxJQUEyQjtJQUNoRixJQUFJLENBQUMsSUFBSSxFQUFFO1FBQ1AsSUFBSSxHQUFHLEVBQUUsQ0FBQTtLQUNaO0lBRUQsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDbkUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxxREFBcUQsRUFBRTtRQUNoRixVQUFVLEVBQUUsSUFBSSxDQUFDLFFBQVE7UUFDekIsYUFBYSxFQUFFLElBQUksQ0FBQyxXQUFXO0tBQ2xDLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFDYixDQUFDO0FBVkQsd0NBVUM7QUEyQkQsU0FBZ0Isb0JBQW9CLENBQUMsSUFBOEIsRUFBRSxJQUEyQjtJQUM1RixPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsY0FBYyxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQ2xFLENBQUM7QUFGRCxvREFFQyJ9
@@ -0,0 +1,112 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../../types";
3
+ /**
4
+ * Resource representation of a workflow
5
+ */
6
+ export declare function getWorkflow(args: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowResult>;
7
+ export interface GetWorkflowArgs {
8
+ /**
9
+ * The name of the resource group. The name is case insensitive.
10
+ */
11
+ resourceGroupName: string;
12
+ /**
13
+ * The name of the workflow resource.
14
+ */
15
+ workflowName: string;
16
+ }
17
+ /**
18
+ * Resource representation of a workflow
19
+ */
20
+ export interface GetWorkflowResult {
21
+ /**
22
+ * Information on the azure container registry
23
+ */
24
+ readonly acr?: outputs.devhub.v20220401preview.ACRResponse;
25
+ /**
26
+ * The Azure Kubernetes Cluster Resource the application will be deployed to.
27
+ */
28
+ readonly aksResourceId?: string;
29
+ /**
30
+ * Determines the authorization status of requests.
31
+ */
32
+ readonly authStatus: string;
33
+ /**
34
+ * Repository Branch Name
35
+ */
36
+ readonly branchName?: string;
37
+ readonly deploymentProperties?: outputs.devhub.v20220401preview.DeploymentPropertiesResponse;
38
+ /**
39
+ * Path to Dockerfile Build Context within the repository.
40
+ */
41
+ readonly dockerBuildContext?: string;
42
+ /**
43
+ * Path to the Dockerfile within the repository.
44
+ */
45
+ readonly dockerfile?: string;
46
+ /**
47
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
48
+ */
49
+ readonly id: string;
50
+ readonly lastWorkflowRun?: outputs.devhub.v20220401preview.WorkflowRunResponse;
51
+ /**
52
+ * The geo-location where the resource lives
53
+ */
54
+ readonly location: string;
55
+ /**
56
+ * The name of the resource
57
+ */
58
+ readonly name: string;
59
+ /**
60
+ * Kubernetes namespace the application is deployed to.
61
+ */
62
+ readonly namespace?: string;
63
+ /**
64
+ * The fields needed for OIDC with GitHub.
65
+ */
66
+ readonly oidcCredentials?: outputs.devhub.v20220401preview.GitHubWorkflowProfileResponseOidcCredentials;
67
+ /**
68
+ * The status of the Pull Request submitted against the users repository.
69
+ */
70
+ readonly prStatus: string;
71
+ /**
72
+ * The URL to the Pull Request submitted against the users repository.
73
+ */
74
+ readonly prURL: string;
75
+ /**
76
+ * The number associated with the submitted pull request.
77
+ */
78
+ readonly pullNumber: number;
79
+ /**
80
+ * Repository Name
81
+ */
82
+ readonly repositoryName?: string;
83
+ /**
84
+ * Repository Owner
85
+ */
86
+ readonly repositoryOwner?: string;
87
+ /**
88
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
89
+ */
90
+ readonly systemData: outputs.devhub.v20220401preview.SystemDataResponse;
91
+ /**
92
+ * Resource tags.
93
+ */
94
+ readonly tags?: {
95
+ [key: string]: string;
96
+ };
97
+ /**
98
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
99
+ */
100
+ readonly type: string;
101
+ }
102
+ export declare function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWorkflowResult>;
103
+ export interface GetWorkflowOutputArgs {
104
+ /**
105
+ * The name of the resource group. The name is case insensitive.
106
+ */
107
+ resourceGroupName: pulumi.Input<string>;
108
+ /**
109
+ * The name of the workflow resource.
110
+ */
111
+ workflowName: pulumi.Input<string>;
112
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getWorkflowOutput = exports.getWorkflow = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Resource representation of a workflow
10
+ */
11
+ function getWorkflow(args, opts) {
12
+ if (!opts) {
13
+ opts = {};
14
+ }
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
16
+ return pulumi.runtime.invoke("azure-native:devhub/v20220401preview:getWorkflow", {
17
+ "resourceGroupName": args.resourceGroupName,
18
+ "workflowName": args.workflowName,
19
+ }, opts);
20
+ }
21
+ exports.getWorkflow = getWorkflow;
22
+ function getWorkflowOutput(args, opts) {
23
+ return pulumi.output(args).apply(a => getWorkflow(a, opts));
24
+ }
25
+ exports.getWorkflowOutput = getWorkflowOutput;
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0V29ya2Zsb3cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZodWIvdjIwMjIwNDAxcHJldmlldy9nZXRXb3JrZmxvdy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsd0VBQXdFO0FBQ3hFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUV6Qyw2Q0FBNkM7QUFFN0M7O0dBRUc7QUFDSCxTQUFnQixXQUFXLENBQUMsSUFBcUIsRUFBRSxJQUEyQjtJQUMxRSxJQUFJLENBQUMsSUFBSSxFQUFFO1FBQ1AsSUFBSSxHQUFHLEVBQUUsQ0FBQTtLQUNaO0lBRUQsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDbkUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxrREFBa0QsRUFBRTtRQUM3RSxtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGNBQWMsRUFBRSxJQUFJLENBQUMsWUFBWTtLQUNwQyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVZELGtDQVVDO0FBaUdELFNBQWdCLGlCQUFpQixDQUFDLElBQTJCLEVBQUUsSUFBMkI7SUFDdEYsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLFdBQVcsQ0FBQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQTtBQUMvRCxDQUFDO0FBRkQsOENBRUMifQ==
@@ -0,0 +1,4 @@
1
+ export * from "./getGitHubOAuth";
2
+ export * from "./getWorkflow";
3
+ export * from "./workflow";
4
+ export * from "../../types/enums/devhub/v20220401preview";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ const pulumi = require("@pulumi/pulumi");
20
+ const utilities = require("../../utilities");
21
+ // Export members:
22
+ __exportStar(require("./getGitHubOAuth"), exports);
23
+ __exportStar(require("./getWorkflow"), exports);
24
+ __exportStar(require("./workflow"), exports);
25
+ // Export enums:
26
+ __exportStar(require("../../types/enums/devhub/v20220401preview"), exports);
27
+ // Import resources to register:
28
+ const workflow_1 = require("./workflow");
29
+ const _module = {
30
+ version: utilities.getVersion(),
31
+ construct: (name, type, urn) => {
32
+ switch (type) {
33
+ case "azure-native:devhub/v20220401preview:Workflow":
34
+ return new workflow_1.Workflow(name, undefined, { urn });
35
+ default:
36
+ throw new Error(`unknown resource type ${type}`);
37
+ }
38
+ },
39
+ };
40
+ pulumi.runtime.registerResourceModule("azure-native", "devhub/v20220401preview", _module);
41
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZodWIvdjIwMjIwNDAxcHJldmlldy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsd0VBQXdFO0FBQ3hFLGlGQUFpRjs7Ozs7Ozs7Ozs7Ozs7OztBQUVqRix5Q0FBeUM7QUFDekMsNkNBQTZDO0FBRTdDLGtCQUFrQjtBQUNsQixtREFBaUM7QUFDakMsZ0RBQThCO0FBQzlCLDZDQUEyQjtBQUUzQixnQkFBZ0I7QUFDaEIsNEVBQTBEO0FBRTFELGdDQUFnQztBQUNoQyx5Q0FBc0M7QUFFdEMsTUFBTSxPQUFPLEdBQUc7SUFDWixPQUFPLEVBQUUsU0FBUyxDQUFDLFVBQVUsRUFBRTtJQUMvQixTQUFTLEVBQUUsQ0FBQyxJQUFZLEVBQUUsSUFBWSxFQUFFLEdBQVcsRUFBbUIsRUFBRTtRQUNwRSxRQUFRLElBQUksRUFBRTtZQUNWLEtBQUssK0NBQStDO2dCQUNoRCxPQUFPLElBQUksbUJBQVEsQ0FBQyxJQUFJLEVBQU8sU0FBUyxFQUFFLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQTtZQUN0RDtnQkFDSSxNQUFNLElBQUksS0FBSyxDQUFDLHlCQUF5QixJQUFJLEVBQUUsQ0FBQyxDQUFDO1NBQ3hEO0lBQ0wsQ0FBQztDQUNKLENBQUM7QUFDRixNQUFNLENBQUMsT0FBTyxDQUFDLHNCQUFzQixDQUFDLGNBQWMsRUFBRSx5QkFBeUIsRUFBRSxPQUFPLENBQUMsQ0FBQSJ9