@pulumi/pulumiservice 0.40.0 → 0.41.0
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/config/vars.js +1 -1
- package/config/vars.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/v1/agents/index.d.ts +7 -0
- package/v1/agents/index.d.ts.map +1 -0
- package/v1/agents/index.js +49 -0
- package/v1/agents/index.js.map +1 -0
- package/v1/agents/pool.d.ts +74 -0
- package/v1/agents/pool.d.ts.map +1 -0
- package/v1/agents/pool.js +101 -0
- package/v1/agents/pool.js.map +1 -0
- package/v1/agents/task.d.ts +158 -0
- package/v1/agents/task.d.ts.map +1 -0
- package/v1/agents/task.js +127 -0
- package/v1/agents/task.js.map +1 -0
- package/v1/auditLogExportConfiguration.d.ts +58 -0
- package/v1/auditLogExportConfiguration.d.ts.map +1 -0
- package/v1/auditLogExportConfiguration.js +95 -0
- package/v1/auditLogExportConfiguration.js.map +1 -0
- package/v1/auth/index.d.ts +10 -0
- package/v1/auth/index.d.ts.map +1 -0
- package/v1/auth/index.js +53 -0
- package/v1/auth/index.js.map +1 -0
- package/v1/auth/oidcIssuer.d.ts +102 -0
- package/v1/auth/oidcIssuer.d.ts.map +1 -0
- package/v1/auth/oidcIssuer.js +107 -0
- package/v1/auth/oidcIssuer.js.map +1 -0
- package/v1/auth/policy.d.ts +81 -0
- package/v1/auth/policy.d.ts.map +1 -0
- package/v1/auth/policy.js +109 -0
- package/v1/auth/policy.js.map +1 -0
- package/v1/auth/saml.d.ts +72 -0
- package/v1/auth/saml.d.ts.map +1 -0
- package/v1/auth/saml.js +96 -0
- package/v1/auth/saml.js.map +1 -0
- package/v1/defaultOrganization.d.ts +50 -0
- package/v1/defaultOrganization.d.ts.map +1 -0
- package/v1/defaultOrganization.js +85 -0
- package/v1/defaultOrganization.js.map +1 -0
- package/v1/deployments/index.d.ts +7 -0
- package/v1/deployments/index.d.ts.map +1 -0
- package/v1/deployments/index.js +49 -0
- package/v1/deployments/index.js.map +1 -0
- package/v1/deployments/scheduledDeployment.d.ts +108 -0
- package/v1/deployments/scheduledDeployment.d.ts.map +1 -0
- package/v1/deployments/scheduledDeployment.js +112 -0
- package/v1/deployments/scheduledDeployment.js.map +1 -0
- package/v1/deployments/settings.d.ts +118 -0
- package/v1/deployments/settings.d.ts.map +1 -0
- package/v1/deployments/settings.js +109 -0
- package/v1/deployments/settings.js.map +1 -0
- package/v1/esc/environment.d.ts +54 -0
- package/v1/esc/environment.d.ts.map +1 -0
- package/v1/esc/environment.js +93 -0
- package/v1/esc/environment.js.map +1 -0
- package/v1/esc/environmentDraft.d.ts +62 -0
- package/v1/esc/environmentDraft.d.ts.map +1 -0
- package/v1/esc/environmentDraft.js +97 -0
- package/v1/esc/environmentDraft.js.map +1 -0
- package/v1/esc/environmentSchedule.d.ts +108 -0
- package/v1/esc/environmentSchedule.d.ts.map +1 -0
- package/v1/esc/environmentSchedule.js +112 -0
- package/v1/esc/environmentSchedule.js.map +1 -0
- package/v1/esc/environmentSettings.d.ts +54 -0
- package/v1/esc/environmentSettings.d.ts.map +1 -0
- package/v1/esc/environmentSettings.js +91 -0
- package/v1/esc/environmentSettings.js.map +1 -0
- package/v1/esc/environmentTag.d.ts +78 -0
- package/v1/esc/environmentTag.d.ts.map +1 -0
- package/v1/esc/environmentTag.js +107 -0
- package/v1/esc/environmentTag.js.map +1 -0
- package/v1/esc/index.d.ts +25 -0
- package/v1/esc/index.d.ts.map +1 -0
- package/v1/esc/index.js +73 -0
- package/v1/esc/index.js.map +1 -0
- package/v1/esc/openEnvironmentRequest.d.ts +66 -0
- package/v1/esc/openEnvironmentRequest.d.ts.map +1 -0
- package/v1/esc/openEnvironmentRequest.js +100 -0
- package/v1/esc/openEnvironmentRequest.js.map +1 -0
- package/v1/esc/revisionTag.d.ts +78 -0
- package/v1/esc/revisionTag.d.ts.map +1 -0
- package/v1/esc/revisionTag.js +104 -0
- package/v1/esc/revisionTag.js.map +1 -0
- package/v1/esc/webhook.d.ts +140 -0
- package/v1/esc/webhook.d.ts.map +1 -0
- package/v1/esc/webhook.js +128 -0
- package/v1/esc/webhook.js.map +1 -0
- package/v1/gate.d.ts +78 -0
- package/v1/gate.d.ts.map +1 -0
- package/v1/gate.js +103 -0
- package/v1/gate.js.map +1 -0
- package/v1/index.d.ts +36 -0
- package/v1/index.d.ts.map +1 -0
- package/v1/index.js +94 -0
- package/v1/index.js.map +1 -0
- package/v1/insights/account.d.ts +110 -0
- package/v1/insights/account.d.ts.map +1 -0
- package/v1/insights/account.js +112 -0
- package/v1/insights/account.js.map +1 -0
- package/v1/insights/index.d.ts +7 -0
- package/v1/insights/index.d.ts.map +1 -0
- package/v1/insights/index.js +49 -0
- package/v1/insights/index.js.map +1 -0
- package/v1/insights/scheduledScanSettings.d.ts +90 -0
- package/v1/insights/scheduledScanSettings.d.ts.map +1 -0
- package/v1/insights/scheduledScanSettings.js +100 -0
- package/v1/insights/scheduledScanSettings.js.map +1 -0
- package/v1/integrations/azureDevOpsIntegration.d.ts +86 -0
- package/v1/integrations/azureDevOpsIntegration.d.ts.map +1 -0
- package/v1/integrations/azureDevOpsIntegration.js +101 -0
- package/v1/integrations/azureDevOpsIntegration.js.map +1 -0
- package/v1/integrations/bitBucketIntegration.d.ts +98 -0
- package/v1/integrations/bitBucketIntegration.d.ts.map +1 -0
- package/v1/integrations/bitBucketIntegration.js +107 -0
- package/v1/integrations/bitBucketIntegration.js.map +1 -0
- package/v1/integrations/customVCSIntegration.d.ts +98 -0
- package/v1/integrations/customVCSIntegration.d.ts.map +1 -0
- package/v1/integrations/customVCSIntegration.js +112 -0
- package/v1/integrations/customVCSIntegration.js.map +1 -0
- package/v1/integrations/customVCSRepository.d.ts +50 -0
- package/v1/integrations/customVCSRepository.d.ts.map +1 -0
- package/v1/integrations/customVCSRepository.js +90 -0
- package/v1/integrations/customVCSRepository.js.map +1 -0
- package/v1/integrations/gitHubEnterpriseIntegration.d.ts +118 -0
- package/v1/integrations/gitHubEnterpriseIntegration.d.ts.map +1 -0
- package/v1/integrations/gitHubEnterpriseIntegration.js +115 -0
- package/v1/integrations/gitHubEnterpriseIntegration.js.map +1 -0
- package/v1/integrations/gitHubIntegration.d.ts +118 -0
- package/v1/integrations/gitHubIntegration.d.ts.map +1 -0
- package/v1/integrations/gitHubIntegration.js +115 -0
- package/v1/integrations/gitHubIntegration.js.map +1 -0
- package/v1/integrations/gitLabIntegration.d.ts +102 -0
- package/v1/integrations/gitLabIntegration.d.ts.map +1 -0
- package/v1/integrations/gitLabIntegration.js +111 -0
- package/v1/integrations/gitLabIntegration.js.map +1 -0
- package/v1/integrations/index.d.ts +22 -0
- package/v1/integrations/index.d.ts.map +1 -0
- package/v1/integrations/index.js +69 -0
- package/v1/integrations/index.js.map +1 -0
- package/v1/orgTemplateCollection.d.ts +82 -0
- package/v1/orgTemplateCollection.d.ts.map +1 -0
- package/v1/orgTemplateCollection.js +101 -0
- package/v1/orgTemplateCollection.js.map +1 -0
- package/v1/organizationMember.d.ts +79 -0
- package/v1/organizationMember.d.ts.map +1 -0
- package/v1/organizationMember.js +106 -0
- package/v1/organizationMember.js.map +1 -0
- package/v1/organizationWebhook.d.ts +146 -0
- package/v1/organizationWebhook.d.ts.map +1 -0
- package/v1/organizationWebhook.js +128 -0
- package/v1/organizationWebhook.js.map +1 -0
- package/v1/policyGroup.d.ts +86 -0
- package/v1/policyGroup.d.ts.map +1 -0
- package/v1/policyGroup.js +103 -0
- package/v1/policyGroup.js.map +1 -0
- package/v1/role.d.ts +114 -0
- package/v1/role.d.ts.map +1 -0
- package/v1/role.js +106 -0
- package/v1/role.js.map +1 -0
- package/v1/services/index.d.ts +7 -0
- package/v1/services/index.d.ts.map +1 -0
- package/v1/services/index.js +49 -0
- package/v1/services/index.js.map +1 -0
- package/v1/services/item.d.ts +67 -0
- package/v1/services/item.d.ts.map +1 -0
- package/v1/services/item.js +102 -0
- package/v1/services/item.js.map +1 -0
- package/v1/services/service.d.ts +71 -0
- package/v1/services/service.d.ts.map +1 -0
- package/v1/services/service.js +108 -0
- package/v1/services/service.js.map +1 -0
- package/v1/stacks/config.d.ts +78 -0
- package/v1/stacks/config.d.ts.map +1 -0
- package/v1/stacks/config.js +102 -0
- package/v1/stacks/config.js.map +1 -0
- package/v1/stacks/index.d.ts +13 -0
- package/v1/stacks/index.d.ts.map +1 -0
- package/v1/stacks/index.js +57 -0
- package/v1/stacks/index.js.map +1 -0
- package/v1/stacks/stack.d.ts +105 -0
- package/v1/stacks/stack.d.ts.map +1 -0
- package/v1/stacks/stack.js +110 -0
- package/v1/stacks/stack.js.map +1 -0
- package/v1/stacks/tag.d.ts +54 -0
- package/v1/stacks/tag.d.ts.map +1 -0
- package/v1/stacks/tag.js +97 -0
- package/v1/stacks/tag.js.map +1 -0
- package/v1/stacks/webhook.d.ts +148 -0
- package/v1/stacks/webhook.d.ts.map +1 -0
- package/v1/stacks/webhook.js +136 -0
- package/v1/stacks/webhook.js.map +1 -0
- package/v1/teams/index.d.ts +7 -0
- package/v1/teams/index.d.ts.map +1 -0
- package/v1/teams/index.js +49 -0
- package/v1/teams/index.js.map +1 -0
- package/v1/teams/role.d.ts +47 -0
- package/v1/teams/role.d.ts.map +1 -0
- package/v1/teams/role.js +90 -0
- package/v1/teams/role.js.map +1 -0
- package/v1/teams/team.d.ts +98 -0
- package/v1/teams/team.d.ts.map +1 -0
- package/v1/teams/team.js +113 -0
- package/v1/teams/team.js.map +1 -0
- package/v1/tokens/index.d.ts +10 -0
- package/v1/tokens/index.d.ts.map +1 -0
- package/v1/tokens/index.js +53 -0
- package/v1/tokens/index.js.map +1 -0
- package/v1/tokens/orgToken.d.ts +74 -0
- package/v1/tokens/orgToken.d.ts.map +1 -0
- package/v1/tokens/orgToken.js +109 -0
- package/v1/tokens/orgToken.js.map +1 -0
- package/v1/tokens/personalToken.d.ts +54 -0
- package/v1/tokens/personalToken.d.ts.map +1 -0
- package/v1/tokens/personalToken.js +92 -0
- package/v1/tokens/personalToken.js.map +1 -0
- package/v1/tokens/teamToken.d.ts +70 -0
- package/v1/tokens/teamToken.d.ts.map +1 -0
- package/v1/tokens/teamToken.js +108 -0
- package/v1/tokens/teamToken.js.map +1 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new Insights account. An Insights account represents a cloud provider account (e.g., AWS, Azure, OCI) configured for resource discovery.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Account extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Account;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is Account;
|
|
20
|
+
/**
|
|
21
|
+
* The ID of the agent pool to run account discovery workflows.
|
|
22
|
+
* If not specified, discovery will use the default agent pool.
|
|
23
|
+
*/
|
|
24
|
+
readonly agentPoolID: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the account.
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The user with ownership of this Insights account
|
|
31
|
+
*/
|
|
32
|
+
readonly ownedBy: pulumi.Output<any>;
|
|
33
|
+
/**
|
|
34
|
+
* The cloud provider for the account (e.g., aws, gcp, azure-native).
|
|
35
|
+
*/
|
|
36
|
+
readonly provider: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Provider-specific configuration for the account.
|
|
39
|
+
*/
|
|
40
|
+
readonly providerConfig: pulumi.Output<{
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
} | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Reference to an ESC environment containing provider credentials,
|
|
45
|
+
* in the format 'project/environment' with an optional @version suffix.
|
|
46
|
+
*/
|
|
47
|
+
readonly providerEnvRef: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The version of the Pulumi provider package used for discovery.
|
|
50
|
+
*/
|
|
51
|
+
readonly providerVersion: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Status of the last discovery scan for this account.
|
|
54
|
+
*/
|
|
55
|
+
readonly scanStatus: pulumi.Output<any | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* If true, the account is scheduled for recurring discovery.
|
|
58
|
+
*/
|
|
59
|
+
readonly scheduledScanEnabled: pulumi.Output<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a Account resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The set of arguments for constructing a Account resource.
|
|
71
|
+
*/
|
|
72
|
+
export interface AccountArgs {
|
|
73
|
+
/**
|
|
74
|
+
* The Insights account name
|
|
75
|
+
*/
|
|
76
|
+
accountName: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the agent pool to run account discovery workflows.
|
|
79
|
+
* If not specified, discovery will use the default agent pool.
|
|
80
|
+
*/
|
|
81
|
+
agentPoolID?: pulumi.Input<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Deprecated: Use scanSchedule instead. Cron expression for scheduling scans.
|
|
84
|
+
*/
|
|
85
|
+
cron?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Reference to an ESC environment containing provider credentials,
|
|
88
|
+
* in the format 'project/environment' with an optional @version suffix.
|
|
89
|
+
*/
|
|
90
|
+
environment: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The organization name
|
|
93
|
+
*/
|
|
94
|
+
orgName: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The cloud provider for the account (e.g., aws, gcp, azure-native).
|
|
97
|
+
*/
|
|
98
|
+
provider: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Provider-specific configuration for the account.
|
|
101
|
+
*/
|
|
102
|
+
providerConfig?: pulumi.Input<{
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
} | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Schedule for automated discovery scans (e.g., 'none', 'daily').
|
|
107
|
+
*/
|
|
108
|
+
scanSchedule?: pulumi.Input<string | undefined>;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=account.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../v1/insights/account.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAO1G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAA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C,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAChE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Account = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new Insights account. An Insights account represents a cloud provider account (e.g., AWS, Azure, OCI) configured for resource discovery.
|
|
33
|
+
*/
|
|
34
|
+
class Account extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new Account(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'pulumiservice:v1/insights:Account';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Account.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a Account resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.accountName === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'accountName'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.environment === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'environment'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.orgName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'orgName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.provider === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'provider'");
|
|
80
|
+
}
|
|
81
|
+
resourceInputs["accountName"] = args?.accountName;
|
|
82
|
+
resourceInputs["agentPoolID"] = args?.agentPoolID;
|
|
83
|
+
resourceInputs["cron"] = args?.cron;
|
|
84
|
+
resourceInputs["environment"] = args?.environment;
|
|
85
|
+
resourceInputs["orgName"] = args?.orgName;
|
|
86
|
+
resourceInputs["provider"] = args?.provider;
|
|
87
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
88
|
+
resourceInputs["scanSchedule"] = args?.scanSchedule;
|
|
89
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["ownedBy"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["providerEnvRef"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["providerVersion"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["scanStatus"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["scheduledScanEnabled"] = undefined /*out*/;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
resourceInputs["agentPoolID"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["ownedBy"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["provider"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["providerConfig"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["providerEnvRef"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["providerVersion"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["scanStatus"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["scheduledScanEnabled"] = undefined /*out*/;
|
|
106
|
+
}
|
|
107
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
108
|
+
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.Account = Account;
|
|
112
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../v1/insights/account.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mCAAmC,CAAC;IAE1E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAyCD;;;;;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account: typeof import("./account").Account;
|
|
4
|
+
export { ScheduledScanSettingsArgs } from "./scheduledScanSettings";
|
|
5
|
+
export type ScheduledScanSettings = import("./scheduledScanSettings").ScheduledScanSettings;
|
|
6
|
+
export declare const ScheduledScanSettings: typeof import("./scheduledScanSettings").ScheduledScanSettings;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v1/insights/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AAGvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,MAAM,MAAM,qBAAqB,GAAG,OAAO,yBAAyB,EAAE,qBAAqB,CAAC;AAC5F,eAAO,MAAM,qBAAqB,EAAE,cAAc,yBAAyB,EAAE,qBAAmC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ScheduledScanSettings = exports.Account = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
exports.Account = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Account"], () => require("./account"));
|
|
33
|
+
exports.ScheduledScanSettings = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["ScheduledScanSettings"], () => require("./scheduledScanSettings"));
|
|
35
|
+
const _module = {
|
|
36
|
+
version: utilities.getVersion(),
|
|
37
|
+
construct: (name, type, urn) => {
|
|
38
|
+
switch (type) {
|
|
39
|
+
case "pulumiservice:v1/insights:Account":
|
|
40
|
+
return new exports.Account(name, undefined, { urn });
|
|
41
|
+
case "pulumiservice:v1/insights:ScheduledScanSettings":
|
|
42
|
+
return new exports.ScheduledScanSettings(name, undefined, { urn });
|
|
43
|
+
default:
|
|
44
|
+
throw new Error(`unknown resource type ${type}`);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
pulumi.runtime.registerResourceModule("pulumiservice", "v1/insights", _module);
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/insights/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAKhC,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGjG,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mCAAmC;gBACpC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,iDAAiD;gBAClD,OAAO,IAAI,6BAAqB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,eAAe,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Updates the scheduled scan configuration for an Insights account, such as scan frequency and schedule.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ScheduledScanSettings extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing ScheduledScanSettings resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ScheduledScanSettings;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of ScheduledScanSettings. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is ScheduledScanSettings;
|
|
20
|
+
/**
|
|
21
|
+
* The batch size for processing resources during the scan.
|
|
22
|
+
*/
|
|
23
|
+
readonly batchSize: pulumi.Output<number | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The concurrency level for list operations during the scan.
|
|
26
|
+
*/
|
|
27
|
+
readonly listConcurrency: pulumi.Output<number | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the scheduled scan is paused.
|
|
30
|
+
*/
|
|
31
|
+
readonly paused: pulumi.Output<boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* The concurrency level for read operations during the scan.
|
|
34
|
+
*/
|
|
35
|
+
readonly readConcurrency: pulumi.Output<number | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
|
|
38
|
+
*/
|
|
39
|
+
readonly readTimeout: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The cron expression defining the scan schedule.
|
|
42
|
+
*/
|
|
43
|
+
readonly scheduleCron: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a ScheduledScanSettings resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args: ScheduledScanSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a ScheduledScanSettings resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface ScheduledScanSettingsArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The Insights account name
|
|
59
|
+
*/
|
|
60
|
+
accountName: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The batch size for processing resources during the scan.
|
|
63
|
+
*/
|
|
64
|
+
batchSize?: pulumi.Input<number | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The concurrency level for list operations during the scan.
|
|
67
|
+
*/
|
|
68
|
+
listConcurrency?: pulumi.Input<number | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The organization name
|
|
71
|
+
*/
|
|
72
|
+
orgName: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Whether the scheduled scan is paused.
|
|
75
|
+
*/
|
|
76
|
+
paused: pulumi.Input<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* The concurrency level for read operations during the scan.
|
|
79
|
+
*/
|
|
80
|
+
readConcurrency?: pulumi.Input<number | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The timeout duration for read operations, as a Go duration string (e.g., '30s', '5m').
|
|
83
|
+
*/
|
|
84
|
+
readTimeout?: pulumi.Input<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* The cron expression defining the scan schedule.
|
|
87
|
+
*/
|
|
88
|
+
scheduleCron?: pulumi.Input<string | undefined>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=scheduledScanSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledScanSettings.d.ts","sourceRoot":"","sources":["../../../v1/insights/scheduledScanSett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;IAC7C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC9B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ScheduledScanSettings = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Updates the scheduled scan configuration for an Insights account, such as scan frequency and schedule.
|
|
33
|
+
*/
|
|
34
|
+
class ScheduledScanSettings extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing ScheduledScanSettings resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new ScheduledScanSettings(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'pulumiservice:v1/insights:ScheduledScanSettings';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ScheduledScanSettings. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === ScheduledScanSettings.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a ScheduledScanSettings resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.accountName === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'accountName'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.orgName === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'orgName'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.paused === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'paused'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["accountName"] = args?.accountName;
|
|
79
|
+
resourceInputs["batchSize"] = args?.batchSize;
|
|
80
|
+
resourceInputs["listConcurrency"] = args?.listConcurrency;
|
|
81
|
+
resourceInputs["orgName"] = args?.orgName;
|
|
82
|
+
resourceInputs["paused"] = args?.paused;
|
|
83
|
+
resourceInputs["readConcurrency"] = args?.readConcurrency;
|
|
84
|
+
resourceInputs["readTimeout"] = args?.readTimeout;
|
|
85
|
+
resourceInputs["scheduleCron"] = args?.scheduleCron;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
resourceInputs["batchSize"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["listConcurrency"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["paused"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["readConcurrency"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["readTimeout"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["scheduleCron"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(ScheduledScanSettings.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ScheduledScanSettings = ScheduledScanSettings;
|
|
100
|
+
//# sourceMappingURL=scheduledScanSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledScanSettings.js","sourceRoot":"","sources":["../../../v1/insights/scheduledScanSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,iDAAiD,CAAC;IAExF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA+B,EAAE,IAAmC;QAC1F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,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E,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA1FL,sDA2FC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Updates an existing Azure DevOps integration's settings. Can modify the Azure DevOps organization, project, or authentication configuration.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AzureDevOpsIntegration extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing AzureDevOpsIntegration resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AzureDevOpsIntegration;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of AzureDevOpsIntegration. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is AzureDevOpsIntegration;
|
|
20
|
+
/**
|
|
21
|
+
* The Pulumi user whose Azure DevOps authentication token is being used
|
|
22
|
+
*/
|
|
23
|
+
readonly authUser: pulumi.Output<any | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Whether detailed property-level diffs are disabled for PR comments
|
|
26
|
+
*/
|
|
27
|
+
readonly disableDetailedDiff: pulumi.Output<boolean | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Whether Neo AI summaries are disabled for this integration
|
|
30
|
+
*/
|
|
31
|
+
readonly disableNeoSummaries: pulumi.Output<boolean | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Whether PR comments are disabled for this integration
|
|
34
|
+
*/
|
|
35
|
+
readonly disablePRComments: pulumi.Output<boolean | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Does the org have an Azure DevOps app integration configured
|
|
38
|
+
*/
|
|
39
|
+
readonly installed: pulumi.Output<boolean>;
|
|
40
|
+
/**
|
|
41
|
+
* Metadata about the Azure DevOps organization linked to the Pulumi organization
|
|
42
|
+
*/
|
|
43
|
+
readonly organization: pulumi.Output<any | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Metadata about the Azure DevOps project linked to the Pulumi organization
|
|
46
|
+
*/
|
|
47
|
+
readonly project: pulumi.Output<any | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Is the app integration valid
|
|
50
|
+
*/
|
|
51
|
+
readonly valid: pulumi.Output<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a AzureDevOpsIntegration resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: AzureDevOpsIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a AzureDevOpsIntegration resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface AzureDevOpsIntegrationArgs {
|
|
65
|
+
/**
|
|
66
|
+
* Whether detailed property-level diffs are disabled for PR comments
|
|
67
|
+
*/
|
|
68
|
+
disableDetailedDiff?: pulumi.Input<boolean | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Whether Neo AI summaries are disabled for this integration
|
|
71
|
+
*/
|
|
72
|
+
disableNeoSummaries?: pulumi.Input<boolean | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Whether PR comments are disabled for this integration
|
|
75
|
+
*/
|
|
76
|
+
disablePRComments?: pulumi.Input<boolean | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The Azure DevOps integration identifier
|
|
79
|
+
*/
|
|
80
|
+
integrationId: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The organization name
|
|
83
|
+
*/
|
|
84
|
+
orgName: pulumi.Input<string>;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=azureDevOpsIntegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"azureDevOpsIntegration.d.ts","sourceRoot":"","sources":["../../../v1/integrations/azureDevOpsIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,sBAAsB;IAOzH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,sBAAsB;IAOjE;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClE;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,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