@pulumi/pulumiservice 0.14.0 → 0.14.1-alpha.1700258467

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/accessToken.d.ts CHANGED
@@ -20,15 +20,15 @@ export declare class AccessToken extends pulumi.CustomResource {
20
20
  /**
21
21
  * Description of the access token.
22
22
  */
23
- readonly description: pulumi.Output<string | undefined>;
23
+ readonly description: pulumi.Output<string>;
24
24
  /**
25
25
  * The token identifier.
26
26
  */
27
- readonly tokenId: pulumi.Output<string | undefined>;
27
+ readonly tokenId: pulumi.Output<string>;
28
28
  /**
29
29
  * The token's value.
30
30
  */
31
- readonly value: pulumi.Output<string | undefined>;
31
+ readonly value: pulumi.Output<string>;
32
32
  /**
33
33
  * Create a AccessToken resource with the given unique name, arguments, and options.
34
34
  *
@@ -29,15 +29,15 @@ export declare class DeploymentSettings extends pulumi.CustomResource {
29
29
  /**
30
30
  * Organization name.
31
31
  */
32
- readonly organization: pulumi.Output<string | undefined>;
32
+ readonly organization: pulumi.Output<string>;
33
33
  /**
34
34
  * Project name.
35
35
  */
36
- readonly project: pulumi.Output<string | undefined>;
36
+ readonly project: pulumi.Output<string>;
37
37
  /**
38
38
  * Stack name.
39
39
  */
40
- readonly stack: pulumi.Output<string | undefined>;
40
+ readonly stack: pulumi.Output<string>;
41
41
  /**
42
42
  * Create a DeploymentSettings resource with the given unique name, arguments, and options.
43
43
  *
@@ -28,15 +28,15 @@ export declare class OrgAccessToken extends pulumi.CustomResource {
28
28
  /**
29
29
  * The name for the token.
30
30
  */
31
- readonly name: pulumi.Output<string | undefined>;
31
+ readonly name: pulumi.Output<string>;
32
32
  /**
33
33
  * The organization's name.
34
34
  */
35
- readonly organizationName: pulumi.Output<string | undefined>;
35
+ readonly organizationName: pulumi.Output<string>;
36
36
  /**
37
37
  * The token's value.
38
38
  */
39
- readonly value: pulumi.Output<string | undefined>;
39
+ readonly value: pulumi.Output<string>;
40
40
  /**
41
41
  * Create a OrgAccessToken resource with the given unique name, arguments, and options.
42
42
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumiservice",
3
- "version": "v0.14.0",
3
+ "version": "v0.14.1-alpha.1700258467+6c88d5c1",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "kind/native",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.14.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.14.1-alpha.1700258467+6c88d5c1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@pulumi/pulumiservice",
3
+ "version": "v0.14.1-alpha.1700258467+6c88d5c1",
4
+ "keywords": [
5
+ "pulumi",
6
+ "kind/native",
7
+ "category/infrastructure"
8
+ ],
9
+ "homepage": "https://pulumi.com",
10
+ "repository": "https://github.com/pulumi/pulumi-pulumiservice",
11
+ "license": "Apache-2.0",
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.14.1-alpha.1700258467+6c88d5c1"
15
+ },
16
+ "dependencies": {
17
+ "@pulumi/pulumi": "^3.0.0"
18
+ },
19
+ "devDependencies": {
20
+ "@types/node": "^14",
21
+ "typescript": "^4.3.5"
22
+ },
23
+ "pulumi": {
24
+ "resource": true,
25
+ "name": "pulumiservice"
26
+ }
27
+ }
package/stackTag.d.ts CHANGED
@@ -20,23 +20,23 @@ export declare class StackTag extends pulumi.CustomResource {
20
20
  /**
21
21
  * Name of the tag. The 'key' part of the key=value pair
22
22
  */
23
- readonly name: pulumi.Output<string | undefined>;
23
+ readonly name: pulumi.Output<string>;
24
24
  /**
25
25
  * Organization name.
26
26
  */
27
- readonly organization: pulumi.Output<string | undefined>;
27
+ readonly organization: pulumi.Output<string>;
28
28
  /**
29
29
  * Project name.
30
30
  */
31
- readonly project: pulumi.Output<string | undefined>;
31
+ readonly project: pulumi.Output<string>;
32
32
  /**
33
33
  * Stack name.
34
34
  */
35
- readonly stack: pulumi.Output<string | undefined>;
35
+ readonly stack: pulumi.Output<string>;
36
36
  /**
37
37
  * Value of the tag. The 'value' part of the key=value pair
38
38
  */
39
- readonly value: pulumi.Output<string | undefined>;
39
+ readonly value: pulumi.Output<string>;
40
40
  /**
41
41
  * Create a StackTag resource with the given unique name, arguments, and options.
42
42
  *
@@ -44,7 +44,7 @@ export declare class StackTag extends pulumi.CustomResource {
44
44
  * @param args The arguments to use to populate this resource's properties.
45
45
  * @param opts A bag of options that control this resource's behavior.
46
46
  */
47
- constructor(name: string, args?: StackTagArgs, opts?: pulumi.CustomResourceOptions);
47
+ constructor(name: string, args: StackTagArgs, opts?: pulumi.CustomResourceOptions);
48
48
  }
49
49
  /**
50
50
  * The set of arguments for constructing a StackTag resource.
@@ -53,21 +53,21 @@ export interface StackTagArgs {
53
53
  /**
54
54
  * Name of the tag. The 'key' part of the key=value pair
55
55
  */
56
- name?: pulumi.Input<string>;
56
+ name: pulumi.Input<string>;
57
57
  /**
58
58
  * Organization name.
59
59
  */
60
- organization?: pulumi.Input<string>;
60
+ organization: pulumi.Input<string>;
61
61
  /**
62
62
  * Project name.
63
63
  */
64
- project?: pulumi.Input<string>;
64
+ project: pulumi.Input<string>;
65
65
  /**
66
66
  * Stack name.
67
67
  */
68
- stack?: pulumi.Input<string>;
68
+ stack: pulumi.Input<string>;
69
69
  /**
70
70
  * Value of the tag. The 'value' part of the key=value pair
71
71
  */
72
- value?: pulumi.Input<string>;
72
+ value: pulumi.Input<string>;
73
73
  }
package/stackTag.js CHANGED
@@ -41,6 +41,21 @@ class StackTag extends pulumi.CustomResource {
41
41
  let resourceInputs = {};
42
42
  opts = opts || {};
43
43
  if (!opts.id) {
44
+ if ((!args || args.name === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'name'");
46
+ }
47
+ if ((!args || args.organization === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'organization'");
49
+ }
50
+ if ((!args || args.project === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'project'");
52
+ }
53
+ if ((!args || args.stack === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'stack'");
55
+ }
56
+ if ((!args || args.value === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'value'");
58
+ }
44
59
  resourceInputs["name"] = args ? args.name : undefined;
45
60
  resourceInputs["organization"] = args ? args.organization : undefined;
46
61
  resourceInputs["project"] = args ? args.project : undefined;
package/stackTag.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"stackTag.js","sourceRoot":"","sources":["../stackTag.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAAmC;QAC9E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,MAAM,CAAC,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Y,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAxFL,4BAyFC;AA5EG,gBAAgB;AACO,qBAAY,GAAG,8BAA8B,CAAC"}
package/team.d.ts CHANGED
@@ -32,7 +32,7 @@ export declare class Team extends pulumi.CustomResource {
32
32
  /**
33
33
  * List of team members.
34
34
  */
35
- readonly members: pulumi.Output<string[] | undefined>;
35
+ readonly members: pulumi.Output<string[]>;
36
36
  /**
37
37
  * The team's name. Required for "pulumi" teams.
38
38
  */
@@ -40,11 +40,11 @@ export declare class Team extends pulumi.CustomResource {
40
40
  /**
41
41
  * The name of the Pulumi organization the team belongs to.
42
42
  */
43
- readonly organizationName: pulumi.Output<string | undefined>;
43
+ readonly organizationName: pulumi.Output<string>;
44
44
  /**
45
45
  * The type of team. Must be either `pulumi` or `github`.
46
46
  */
47
- readonly teamType: pulumi.Output<string | undefined>;
47
+ readonly teamType: pulumi.Output<string>;
48
48
  /**
49
49
  * Create a Team resource with the given unique name, arguments, and options.
50
50
  *
@@ -24,19 +24,19 @@ export declare class TeamAccessToken extends pulumi.CustomResource {
24
24
  /**
25
25
  * The name for the token. This must be unique amongst all machine tokens within your organization.
26
26
  */
27
- readonly name: pulumi.Output<string | undefined>;
27
+ readonly name: pulumi.Output<string>;
28
28
  /**
29
29
  * The organization's name.
30
30
  */
31
- readonly organizationName: pulumi.Output<string | undefined>;
31
+ readonly organizationName: pulumi.Output<string>;
32
32
  /**
33
33
  * The team name.
34
34
  */
35
- readonly teamName: pulumi.Output<string | undefined>;
35
+ readonly teamName: pulumi.Output<string>;
36
36
  /**
37
37
  * The token's value.
38
38
  */
39
- readonly value: pulumi.Output<string | undefined>;
39
+ readonly value: pulumi.Output<string>;
40
40
  /**
41
41
  * Create a TeamAccessToken resource with the given unique name, arguments, and options.
42
42
  *
package/webhook.d.ts CHANGED
@@ -29,11 +29,11 @@ export declare class Webhook extends pulumi.CustomResource {
29
29
  /**
30
30
  * Indicates whether this webhook is enabled or not.
31
31
  */
32
- readonly active: pulumi.Output<boolean | undefined>;
32
+ readonly active: pulumi.Output<boolean>;
33
33
  /**
34
34
  * The friendly name displayed in the Pulumi Cloud.
35
35
  */
36
- readonly displayName: pulumi.Output<string | undefined>;
36
+ readonly displayName: pulumi.Output<string>;
37
37
  /**
38
38
  * Optional set of filters to apply to the webhook. See [webhook docs](https://www.pulumi.com/docs/intro/pulumi-service/webhooks/#filters) for more information.
39
39
  */
@@ -41,19 +41,19 @@ export declare class Webhook extends pulumi.CustomResource {
41
41
  /**
42
42
  * Format of the webhook payload. Can be either `raw`, `slack`, `ms_teams` or `pulumi_deployments`. Defaults to `raw`.
43
43
  */
44
- readonly format: pulumi.Output<enums.WebhookFormat | undefined>;
44
+ readonly format: pulumi.Output<enums.WebhookFormat>;
45
45
  /**
46
46
  * Webhook identifier generated by Pulumi Cloud.
47
47
  */
48
- readonly name: pulumi.Output<string | undefined>;
48
+ readonly name: pulumi.Output<string>;
49
49
  /**
50
50
  * Name of the organization.
51
51
  */
52
- readonly organizationName: pulumi.Output<string | undefined>;
52
+ readonly organizationName: pulumi.Output<string>;
53
53
  /**
54
54
  * URL to send request to.
55
55
  */
56
- readonly payloadUrl: pulumi.Output<string | undefined>;
56
+ readonly payloadUrl: pulumi.Output<string>;
57
57
  /**
58
58
  * Name of the project. Only specified if this is a stack webhook.
59
59
  */