@pulumi/nomad 2.1.0 → 2.2.0-alpha.1706812334

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.d.ts CHANGED
@@ -12,11 +12,11 @@ export declare const caFile: string | undefined;
12
12
  */
13
13
  export declare const caPem: string | undefined;
14
14
  /**
15
- * A path to a PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
15
+ * A path to a PEM-encoded certificate provided to the remote agent; requires use of keyFile or key_pem.
16
16
  */
17
17
  export declare const certFile: string | undefined;
18
18
  /**
19
- * PEM-encoded certificate provided to the remote agent; requires use of key_file or key_pem.
19
+ * PEM-encoded certificate provided to the remote agent; requires use of keyFile or key_pem.
20
20
  */
21
21
  export declare const certPem: string | undefined;
22
22
  /**
@@ -38,11 +38,11 @@ export declare const ignoreEnvVars: {
38
38
  [key: string]: boolean;
39
39
  } | undefined;
40
40
  /**
41
- * A path to a PEM-encoded private key, required if cert_file or cert_pem is specified.
41
+ * A path to a PEM-encoded private key, required if certFile or certPem is specified.
42
42
  */
43
43
  export declare const keyFile: string | undefined;
44
44
  /**
45
- * PEM-encoded private key, required if cert_file or cert_pem is specified.
45
+ * PEM-encoded private key, required if certFile or certPem is specified.
46
46
  */
47
47
  export declare const keyPem: string | undefined;
48
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/nomad",
3
- "version": "v2.1.0",
3
+ "version": "v2.2.0-alpha.1706812334+4a5dc314",
4
4
  "description": "A Pulumi package for creating and managing nomad cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/types/input.d.ts CHANGED
@@ -1,19 +1,49 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  export interface AclAuthMethodConfig {
4
+ /**
5
+ * A list of allowed values that can be used for the redirect URI.
6
+ */
4
7
  allowedRedirectUris: pulumi.Input<pulumi.Input<string>[]>;
8
+ /**
9
+ * List of auth claims that are valid for login.
10
+ */
5
11
  boundAudiences?: pulumi.Input<pulumi.Input<string>[]>;
12
+ /**
13
+ * Mappings of claims (key) that will be copied to a metadata field (value).
14
+ */
6
15
  claimMappings?: pulumi.Input<{
7
16
  [key: string]: pulumi.Input<string>;
8
17
  }>;
18
+ /**
19
+ * PEM encoded CA certs for use by the TLS client used to talk with the OIDC Discovery URL.
20
+ */
9
21
  discoveryCaPems?: pulumi.Input<pulumi.Input<string>[]>;
22
+ /**
23
+ * Mappings of list claims (key) that will be copied to a metadata field (value).
24
+ */
10
25
  listClaimMappings?: pulumi.Input<{
11
26
  [key: string]: pulumi.Input<string>;
12
27
  }>;
28
+ /**
29
+ * The OAuth Client ID configured with the OIDC provider.
30
+ */
13
31
  oidcClientId: pulumi.Input<string>;
32
+ /**
33
+ * The OAuth Client Secret configured with the OIDC provider.
34
+ */
14
35
  oidcClientSecret: pulumi.Input<string>;
36
+ /**
37
+ * The OIDC Discovery URL, without any .well-known component (base path).
38
+ */
15
39
  oidcDiscoveryUrl: pulumi.Input<string>;
40
+ /**
41
+ * List of OIDC scopes.
42
+ */
16
43
  oidcScopes?: pulumi.Input<pulumi.Input<string>[]>;
44
+ /**
45
+ * A list of supported signing algorithms.
46
+ */
17
47
  signingAlgs?: pulumi.Input<pulumi.Input<string>[]>;
18
48
  }
19
49
  export interface AclPolicyJobAcl {
@@ -46,6 +76,9 @@ export interface AclRolePolicy {
46
76
  name: pulumi.Input<string>;
47
77
  }
48
78
  export interface AclTokenRole {
79
+ /**
80
+ * The ID of the ACL role to link.
81
+ */
49
82
  id: pulumi.Input<string>;
50
83
  /**
51
84
  * `(string: "")` - A human-friendly name for this token.
@@ -290,6 +323,9 @@ export interface JobHcl2 {
290
323
  * @deprecated Starting with version 2.0.0 of the Nomad provider, jobs are parsed using HCL2 by default, so this field is no longer used and may be safely removed from your configuration files. Set 'hcl1 = true' if you must use HCL1 job parsing.
291
324
  */
292
325
  enabled?: pulumi.Input<boolean>;
326
+ /**
327
+ * Additional variables to use when templating the job with HCL2
328
+ */
293
329
  vars?: pulumi.Input<{
294
330
  [key: string]: any;
295
331
  }>;
@@ -366,7 +402,13 @@ export interface NodePoolSchedulerConfig {
366
402
  schedulerAlgorithm?: pulumi.Input<string>;
367
403
  }
368
404
  export interface ProviderHeader {
405
+ /**
406
+ * The header name
407
+ */
369
408
  name: pulumi.Input<string>;
409
+ /**
410
+ * The header value
411
+ */
370
412
  value: pulumi.Input<string>;
371
413
  }
372
414
  export interface QuoteSpecificationLimit {
package/types/output.d.ts CHANGED
@@ -1,18 +1,48 @@
1
1
  import * as outputs from "../types/output";
2
2
  export interface AclAuthMethodConfig {
3
+ /**
4
+ * A list of allowed values that can be used for the redirect URI.
5
+ */
3
6
  allowedRedirectUris: string[];
7
+ /**
8
+ * List of auth claims that are valid for login.
9
+ */
4
10
  boundAudiences?: string[];
11
+ /**
12
+ * Mappings of claims (key) that will be copied to a metadata field (value).
13
+ */
5
14
  claimMappings?: {
6
15
  [key: string]: string;
7
16
  };
17
+ /**
18
+ * PEM encoded CA certs for use by the TLS client used to talk with the OIDC Discovery URL.
19
+ */
8
20
  discoveryCaPems?: string[];
21
+ /**
22
+ * Mappings of list claims (key) that will be copied to a metadata field (value).
23
+ */
9
24
  listClaimMappings?: {
10
25
  [key: string]: string;
11
26
  };
27
+ /**
28
+ * The OAuth Client ID configured with the OIDC provider.
29
+ */
12
30
  oidcClientId: string;
31
+ /**
32
+ * The OAuth Client Secret configured with the OIDC provider.
33
+ */
13
34
  oidcClientSecret: string;
35
+ /**
36
+ * The OIDC Discovery URL, without any .well-known component (base path).
37
+ */
14
38
  oidcDiscoveryUrl: string;
39
+ /**
40
+ * List of OIDC scopes.
41
+ */
15
42
  oidcScopes?: string[];
43
+ /**
44
+ * A list of supported signing algorithms.
45
+ */
16
46
  signingAlgs?: string[];
17
47
  }
18
48
  export interface AclPolicyJobAcl {
@@ -45,6 +75,9 @@ export interface AclRolePolicy {
45
75
  name: string;
46
76
  }
47
77
  export interface AclTokenRole {
78
+ /**
79
+ * The ID of the ACL role to link.
80
+ */
48
81
  id: string;
49
82
  /**
50
83
  * `(string: "")` - A human-friendly name for this token.
@@ -317,6 +350,9 @@ export interface GetAclRolesAclRolePolicy {
317
350
  name: string;
318
351
  }
319
352
  export interface GetAclTokenRole {
353
+ /**
354
+ * The ID of the ACL role.
355
+ */
320
356
  id: string;
321
357
  /**
322
358
  * `(string)` Non-sensitive identifier for this token.
@@ -360,6 +396,9 @@ export interface GetAclTokensAclToken {
360
396
  type: string;
361
397
  }
362
398
  export interface GetAclTokensAclTokenRole {
399
+ /**
400
+ * The ID of the ACL role.
401
+ */
363
402
  id: string;
364
403
  /**
365
404
  * `(TypeString)` The name of the token.
@@ -620,6 +659,9 @@ export interface JobHcl2 {
620
659
  * @deprecated Starting with version 2.0.0 of the Nomad provider, jobs are parsed using HCL2 by default, so this field is no longer used and may be safely removed from your configuration files. Set 'hcl1 = true' if you must use HCL1 job parsing.
621
660
  */
622
661
  enabled?: boolean;
662
+ /**
663
+ * Additional variables to use when templating the job with HCL2
664
+ */
623
665
  vars?: {
624
666
  [key: string]: any;
625
667
  };
@@ -783,7 +825,13 @@ export interface VolumeTopologyRequestRequiredTopology {
783
825
  }
784
826
  export declare namespace config {
785
827
  interface Headers {
828
+ /**
829
+ * The header name
830
+ */
786
831
  name: string;
832
+ /**
833
+ * The header value
834
+ */
787
835
  value: string;
788
836
  }
789
837
  }