@pulumi/scm 0.4.0-alpha.1747204356 → 0.4.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/folder.d.ts +116 -0
- package/folder.js +80 -0
- package/folder.js.map +1 -0
- package/getFolder.d.ts +79 -0
- package/getFolder.js +50 -0
- package/getFolder.js.map +1 -0
- package/getFolderList.d.ts +92 -0
- package/getFolderList.js +52 -0
- package/getFolderList.js.map +1 -0
- package/getNatRule.d.ts +4 -4
- package/getProfileGroup.d.ts +12 -8
- package/getProfileGroup.js.map +1 -1
- package/getSnippet.d.ts +1 -22
- package/getSnippet.js.map +1 -1
- package/index.d.ts +9 -0
- package/index.js +18 -7
- package/index.js.map +1 -1
- package/natRule.d.ts +12 -12
- package/package.json +2 -2
- package/profileGroup.d.ts +36 -24
- package/profileGroup.js +2 -0
- package/profileGroup.js.map +1 -1
- package/snippet.d.ts +2 -44
- package/snippet.js +0 -10
- package/snippet.js.map +1 -1
- package/types/input.d.ts +4 -14
- package/types/output.d.ts +56 -76
package/folder.d.ts
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves a config item.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as scm from "@pulumi/scm";
|
|
10
|
+
*
|
|
11
|
+
* const snip1 = new scm.Snippet("snip1", {name: "foobar"});
|
|
12
|
+
* const example = new scm.Folder("example", {
|
|
13
|
+
* name: "my folder",
|
|
14
|
+
* parent: "Shared",
|
|
15
|
+
* description: "Made by Pulumi",
|
|
16
|
+
* snippets: [snip1.name],
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class Folder extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing Folder resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FolderState, opts?: pulumi.CustomResourceOptions): Folder;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of Folder. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is Folder;
|
|
36
|
+
/**
|
|
37
|
+
* The Description param.
|
|
38
|
+
*/
|
|
39
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The Labels param.
|
|
42
|
+
*/
|
|
43
|
+
readonly labels: pulumi.Output<string[] | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* The Name param.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The Parent param.
|
|
50
|
+
*/
|
|
51
|
+
readonly parent: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The Snippets param.
|
|
54
|
+
*/
|
|
55
|
+
readonly snippets: pulumi.Output<string[] | undefined>;
|
|
56
|
+
readonly tfid: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a Folder resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: FolderArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering Folder resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface FolderState {
|
|
70
|
+
/**
|
|
71
|
+
* The Description param.
|
|
72
|
+
*/
|
|
73
|
+
description?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The Labels param.
|
|
76
|
+
*/
|
|
77
|
+
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
78
|
+
/**
|
|
79
|
+
* The Name param.
|
|
80
|
+
*/
|
|
81
|
+
name?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The Parent param.
|
|
84
|
+
*/
|
|
85
|
+
parent?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The Snippets param.
|
|
88
|
+
*/
|
|
89
|
+
snippets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
tfid?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a Folder resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface FolderArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The Description param.
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The Labels param.
|
|
102
|
+
*/
|
|
103
|
+
labels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
|
+
/**
|
|
105
|
+
* The Name param.
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The Parent param.
|
|
110
|
+
*/
|
|
111
|
+
parent: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The Snippets param.
|
|
114
|
+
*/
|
|
115
|
+
snippets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
|
+
}
|
package/folder.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Folder = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a config item.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* const snip1 = new scm.Snippet("snip1", {name: "foobar"});
|
|
18
|
+
* const example = new scm.Folder("example", {
|
|
19
|
+
* name: "my folder",
|
|
20
|
+
* parent: "Shared",
|
|
21
|
+
* description: "Made by Pulumi",
|
|
22
|
+
* snippets: [snip1.name],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
class Folder extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Folder resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name, id, state, opts) {
|
|
37
|
+
return new Folder(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of Folder. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === Folder.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
55
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["parent"] = state ? state.parent : undefined;
|
|
58
|
+
resourceInputs["snippets"] = state ? state.snippets : undefined;
|
|
59
|
+
resourceInputs["tfid"] = state ? state.tfid : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.parent === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'parent'");
|
|
65
|
+
}
|
|
66
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
67
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
68
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
69
|
+
resourceInputs["parent"] = args ? args.parent : undefined;
|
|
70
|
+
resourceInputs["snippets"] = args ? args.snippets : undefined;
|
|
71
|
+
resourceInputs["tfid"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(Folder.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.Folder = Folder;
|
|
78
|
+
/** @internal */
|
|
79
|
+
Folder.__pulumiType = 'scm:index/folder:Folder';
|
|
80
|
+
//# sourceMappingURL=folder.js.map
|
package/folder.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"folder.js","sourceRoot":"","sources":["../folder.ts"],"names":[],"mappings":";AAAA,wFAAwF;A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GAAG,yBAAyB,CAAC"}
|
package/getFolder.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves a config item.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as scm from "@pulumi/scm";
|
|
10
|
+
*
|
|
11
|
+
* const example = scm.getFolder({
|
|
12
|
+
* id: "1234-56-789",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getFolder(args: GetFolderArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getFolder.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetFolderArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The Id param.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getFolder.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetFolderResult {
|
|
30
|
+
/**
|
|
31
|
+
* The Description param.
|
|
32
|
+
*/
|
|
33
|
+
readonly description: string;
|
|
34
|
+
/**
|
|
35
|
+
* The Id param.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The Labels param.
|
|
40
|
+
*/
|
|
41
|
+
readonly labels: string[];
|
|
42
|
+
/**
|
|
43
|
+
* The Name param.
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
/**
|
|
47
|
+
* The Parent param.
|
|
48
|
+
*/
|
|
49
|
+
readonly parent: string;
|
|
50
|
+
/**
|
|
51
|
+
* The Snippets param.
|
|
52
|
+
*/
|
|
53
|
+
readonly snippets: string[];
|
|
54
|
+
readonly tfid: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieves a config item.
|
|
58
|
+
*
|
|
59
|
+
* ## Example Usage
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as scm from "@pulumi/scm";
|
|
64
|
+
*
|
|
65
|
+
* const example = scm.getFolder({
|
|
66
|
+
* id: "1234-56-789",
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
export declare function getFolderOutput(args: GetFolderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFolderResult>;
|
|
71
|
+
/**
|
|
72
|
+
* A collection of arguments for invoking getFolder.
|
|
73
|
+
*/
|
|
74
|
+
export interface GetFolderOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The Id param.
|
|
77
|
+
*/
|
|
78
|
+
id: pulumi.Input<string>;
|
|
79
|
+
}
|
package/getFolder.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getFolderOutput = exports.getFolder = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a config item.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* const example = scm.getFolder({
|
|
18
|
+
* id: "1234-56-789",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getFolder(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("scm:index/getFolder:getFolder", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getFolder = getFolder;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves a config item.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as scm from "@pulumi/scm";
|
|
37
|
+
*
|
|
38
|
+
* const example = scm.getFolder({
|
|
39
|
+
* id: "1234-56-789",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getFolderOutput(args, opts) {
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invokeOutput("scm:index/getFolder:getFolder", {
|
|
46
|
+
"id": args.id,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getFolderOutput = getFolderOutput;
|
|
50
|
+
//# sourceMappingURL=getFolder.js.map
|
package/getFolder.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFolder.js","sourceRoot":"","sources":["../getFolder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AA0CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+BAA+B,EAAE;QAChE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieves a listing of config items.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as scm from "@pulumi/scm";
|
|
11
|
+
*
|
|
12
|
+
* const example = scm.getFolderList({});
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getFolderList(args?: GetFolderListArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderListResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getFolderList.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetFolderListArgs {
|
|
20
|
+
/**
|
|
21
|
+
* The Limit param. A limit of -1 will return all configured items. Default: `200`.
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The Name param.
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The Offset param. Default: `0`.
|
|
30
|
+
*/
|
|
31
|
+
offset?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getFolderList.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetFolderListResult {
|
|
37
|
+
/**
|
|
38
|
+
* The Data param.
|
|
39
|
+
*/
|
|
40
|
+
readonly datas: outputs.GetFolderListData[];
|
|
41
|
+
/**
|
|
42
|
+
* The provider-assigned unique ID for this managed resource.
|
|
43
|
+
*/
|
|
44
|
+
readonly id: string;
|
|
45
|
+
/**
|
|
46
|
+
* The Limit param. A limit of -1 will return all configured items. Default: `200`.
|
|
47
|
+
*/
|
|
48
|
+
readonly limit: number;
|
|
49
|
+
/**
|
|
50
|
+
* The Name param.
|
|
51
|
+
*/
|
|
52
|
+
readonly name?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The Offset param. Default: `0`.
|
|
55
|
+
*/
|
|
56
|
+
readonly offset: number;
|
|
57
|
+
readonly tfid: string;
|
|
58
|
+
/**
|
|
59
|
+
* The Total param.
|
|
60
|
+
*/
|
|
61
|
+
readonly total: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves a listing of config items.
|
|
65
|
+
*
|
|
66
|
+
* ## Example Usage
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as scm from "@pulumi/scm";
|
|
71
|
+
*
|
|
72
|
+
* const example = scm.getFolderList({});
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export declare function getFolderListOutput(args?: GetFolderListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFolderListResult>;
|
|
76
|
+
/**
|
|
77
|
+
* A collection of arguments for invoking getFolderList.
|
|
78
|
+
*/
|
|
79
|
+
export interface GetFolderListOutputArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The Limit param. A limit of -1 will return all configured items. Default: `200`.
|
|
82
|
+
*/
|
|
83
|
+
limit?: pulumi.Input<number>;
|
|
84
|
+
/**
|
|
85
|
+
* The Name param.
|
|
86
|
+
*/
|
|
87
|
+
name?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The Offset param. Default: `0`.
|
|
90
|
+
*/
|
|
91
|
+
offset?: pulumi.Input<number>;
|
|
92
|
+
}
|
package/getFolderList.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getFolderListOutput = exports.getFolderList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a listing of config items.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* const example = scm.getFolderList({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getFolderList(args, opts) {
|
|
21
|
+
args = args || {};
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("scm:index/getFolderList:getFolderList", {
|
|
24
|
+
"limit": args.limit,
|
|
25
|
+
"name": args.name,
|
|
26
|
+
"offset": args.offset,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getFolderList = getFolderList;
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves a listing of config items.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as scm from "@pulumi/scm";
|
|
38
|
+
*
|
|
39
|
+
* const example = scm.getFolderList({});
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function getFolderListOutput(args, opts) {
|
|
43
|
+
args = args || {};
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invokeOutput("scm:index/getFolderList:getFolderList", {
|
|
46
|
+
"limit": args.limit,
|
|
47
|
+
"name": args.name,
|
|
48
|
+
"offset": args.offset,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getFolderListOutput = getFolderListOutput;
|
|
52
|
+
//# sourceMappingURL=getFolderList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFolderList.js","sourceRoot":"","sources":["../getFolderList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAkDD;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACxE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC"}
|
package/getNatRule.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface GetNatRuleResult {
|
|
|
41
41
|
*/
|
|
42
42
|
readonly destinationTranslation: outputs.GetNatRuleDestinationTranslation;
|
|
43
43
|
/**
|
|
44
|
-
* The destination address(es).
|
|
44
|
+
* The destination address(es).
|
|
45
45
|
*/
|
|
46
46
|
readonly destinations: string[];
|
|
47
47
|
/**
|
|
@@ -61,7 +61,7 @@ export interface GetNatRuleResult {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly folder: string;
|
|
63
63
|
/**
|
|
64
|
-
* The source security zone(s).
|
|
64
|
+
* The source security zone(s).
|
|
65
65
|
*/
|
|
66
66
|
readonly froms: string[];
|
|
67
67
|
/**
|
|
@@ -93,7 +93,7 @@ export interface GetNatRuleResult {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly sourceTranslation: outputs.GetNatRuleSourceTranslation;
|
|
95
95
|
/**
|
|
96
|
-
* The source address(es).
|
|
96
|
+
* The source address(es).
|
|
97
97
|
*/
|
|
98
98
|
readonly sources: string[];
|
|
99
99
|
/**
|
|
@@ -106,7 +106,7 @@ export interface GetNatRuleResult {
|
|
|
106
106
|
readonly target: outputs.GetNatRuleTarget;
|
|
107
107
|
readonly tfid: string;
|
|
108
108
|
/**
|
|
109
|
-
* The ToInterface param.
|
|
109
|
+
* The ToInterface param.
|
|
110
110
|
*/
|
|
111
111
|
readonly toInterface: string;
|
|
112
112
|
/**
|
package/getProfileGroup.d.ts
CHANGED
|
@@ -28,11 +28,15 @@ export interface GetProfileGroupArgs {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface GetProfileGroupResult {
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* List of AI security profiles.
|
|
32
|
+
*/
|
|
33
|
+
readonly aiSecurities: string[];
|
|
34
|
+
/**
|
|
35
|
+
* List of DNS security profiles.
|
|
32
36
|
*/
|
|
33
37
|
readonly dnsSecurities: string[];
|
|
34
38
|
/**
|
|
35
|
-
*
|
|
39
|
+
* List of file blocking profiles.
|
|
36
40
|
*/
|
|
37
41
|
readonly fileBlockings: string[];
|
|
38
42
|
/**
|
|
@@ -40,28 +44,28 @@ export interface GetProfileGroupResult {
|
|
|
40
44
|
*/
|
|
41
45
|
readonly id: string;
|
|
42
46
|
/**
|
|
43
|
-
* The
|
|
47
|
+
* The name of the profile group.
|
|
44
48
|
*/
|
|
45
49
|
readonly name: string;
|
|
46
50
|
/**
|
|
47
|
-
*
|
|
51
|
+
* List of HTTP header insertion profiles.
|
|
48
52
|
*/
|
|
49
53
|
readonly saasSecurities: string[];
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
55
|
+
* List of anti-spyware profiles.
|
|
52
56
|
*/
|
|
53
57
|
readonly spywares: string[];
|
|
54
58
|
readonly tfid: string;
|
|
55
59
|
/**
|
|
56
|
-
*
|
|
60
|
+
* List of URL filtering profiles.
|
|
57
61
|
*/
|
|
58
62
|
readonly urlFilterings: string[];
|
|
59
63
|
/**
|
|
60
|
-
*
|
|
64
|
+
* List of anti-virus and Wildfire analysis profiles.
|
|
61
65
|
*/
|
|
62
66
|
readonly virusAndWildfireAnalyses: string[];
|
|
63
67
|
/**
|
|
64
|
-
*
|
|
68
|
+
* List of vulnerability protection profiles.
|
|
65
69
|
*/
|
|
66
70
|
readonly vulnerabilities: string[];
|
|
67
71
|
}
|
package/getProfileGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProfileGroup.js","sourceRoot":"","sources":["../getProfileGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;
|
|
1
|
+
{"version":3,"file":"getProfileGroup.js","sourceRoot":"","sources":["../getProfileGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AA0DD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|
package/getSnippet.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "./types/output";
|
|
3
2
|
/**
|
|
4
3
|
* Retrieves a config item.
|
|
5
4
|
*
|
|
@@ -28,22 +27,10 @@ export interface GetSnippetArgs {
|
|
|
28
27
|
* A collection of values returned by getSnippet.
|
|
29
28
|
*/
|
|
30
29
|
export interface GetSnippetResult {
|
|
31
|
-
/**
|
|
32
|
-
* The CreatedIn param.
|
|
33
|
-
*/
|
|
34
|
-
readonly createdIn: string;
|
|
35
30
|
/**
|
|
36
31
|
* The Description param.
|
|
37
32
|
*/
|
|
38
33
|
readonly description: string;
|
|
39
|
-
/**
|
|
40
|
-
* The DisplayName param.
|
|
41
|
-
*/
|
|
42
|
-
readonly displayName: string;
|
|
43
|
-
/**
|
|
44
|
-
* The Folders param.
|
|
45
|
-
*/
|
|
46
|
-
readonly folders: outputs.GetSnippetFolder[];
|
|
47
34
|
/**
|
|
48
35
|
* The Id param.
|
|
49
36
|
*/
|
|
@@ -52,21 +39,13 @@ export interface GetSnippetResult {
|
|
|
52
39
|
* The Labels param.
|
|
53
40
|
*/
|
|
54
41
|
readonly labels: string[];
|
|
55
|
-
/**
|
|
56
|
-
* The LastUpdate param.
|
|
57
|
-
*/
|
|
58
|
-
readonly lastUpdate: string;
|
|
59
42
|
/**
|
|
60
43
|
* The Name param.
|
|
61
44
|
*/
|
|
62
45
|
readonly name: string;
|
|
63
|
-
/**
|
|
64
|
-
* The SharedIn param.
|
|
65
|
-
*/
|
|
66
|
-
readonly sharedIn: string;
|
|
67
46
|
readonly tfid: string;
|
|
68
47
|
/**
|
|
69
|
-
* The Type param. String must be one of these: `"predefined"`.
|
|
48
|
+
* The Type param. String must be one of these: `"predefined"`, `"custom"`.
|
|
70
49
|
*/
|
|
71
50
|
readonly type: string;
|
|
72
51
|
}
|
package/getSnippet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSnippet.js","sourceRoot":"","sources":["../getSnippet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getSnippet.js","sourceRoot":"","sources":["../getSnippet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAsCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
package/index.d.ts
CHANGED
|
@@ -58,6 +58,9 @@ export declare const ExternalDynamicList: typeof import("./externalDynamicList")
|
|
|
58
58
|
export { FileBlockingProfileArgs, FileBlockingProfileState } from "./fileBlockingProfile";
|
|
59
59
|
export type FileBlockingProfile = import("./fileBlockingProfile").FileBlockingProfile;
|
|
60
60
|
export declare const FileBlockingProfile: typeof import("./fileBlockingProfile").FileBlockingProfile;
|
|
61
|
+
export { FolderArgs, FolderState } from "./folder";
|
|
62
|
+
export type Folder = import("./folder").Folder;
|
|
63
|
+
export declare const Folder: typeof import("./folder").Folder;
|
|
61
64
|
export { GetAddressGroupArgs, GetAddressGroupResult, GetAddressGroupOutputArgs } from "./getAddressGroup";
|
|
62
65
|
export declare const getAddressGroup: typeof import("./getAddressGroup").getAddressGroup;
|
|
63
66
|
export declare const getAddressGroupOutput: typeof import("./getAddressGroup").getAddressGroupOutput;
|
|
@@ -184,6 +187,12 @@ export declare const getFileBlockingProfileOutput: typeof import("./getFileBlock
|
|
|
184
187
|
export { GetFileBlockingProfileListArgs, GetFileBlockingProfileListResult, GetFileBlockingProfileListOutputArgs } from "./getFileBlockingProfileList";
|
|
185
188
|
export declare const getFileBlockingProfileList: typeof import("./getFileBlockingProfileList").getFileBlockingProfileList;
|
|
186
189
|
export declare const getFileBlockingProfileListOutput: typeof import("./getFileBlockingProfileList").getFileBlockingProfileListOutput;
|
|
190
|
+
export { GetFolderArgs, GetFolderResult, GetFolderOutputArgs } from "./getFolder";
|
|
191
|
+
export declare const getFolder: typeof import("./getFolder").getFolder;
|
|
192
|
+
export declare const getFolderOutput: typeof import("./getFolder").getFolderOutput;
|
|
193
|
+
export { GetFolderListArgs, GetFolderListResult, GetFolderListOutputArgs } from "./getFolderList";
|
|
194
|
+
export declare const getFolderList: typeof import("./getFolderList").getFolderList;
|
|
195
|
+
export declare const getFolderListOutput: typeof import("./getFolderList").getFolderListOutput;
|
|
187
196
|
export { GetHipObjectArgs, GetHipObjectResult, GetHipObjectOutputArgs } from "./getHipObject";
|
|
188
197
|
export declare const getHipObject: typeof import("./getHipObject").getHipObject;
|
|
189
198
|
export declare const getHipObjectOutput: typeof import("./getHipObject").getHipObjectOutput;
|