@pulumi/artifactory 0.0.1-alpha.1636999306
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/LICENSE +202 -0
- package/README.md +63 -0
- package/accessToken.d.ts +142 -0
- package/accessToken.js +75 -0
- package/accessToken.js.map +1 -0
- package/alpineRepository.d.ts +137 -0
- package/alpineRepository.js +107 -0
- package/alpineRepository.js.map +1 -0
- package/apiKey.d.ts +53 -0
- package/apiKey.js +60 -0
- package/apiKey.js.map +1 -0
- package/certificate.d.ts +135 -0
- package/certificate.js +100 -0
- package/certificate.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +17 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +12 -0
- package/config/vars.js +37 -0
- package/config/vars.js.map +1 -0
- package/debianRepository.d.ts +193 -0
- package/debianRepository.js +128 -0
- package/debianRepository.js.map +1 -0
- package/dockerV1Repository.d.ts +155 -0
- package/dockerV1Repository.js +100 -0
- package/dockerV1Repository.js.map +1 -0
- package/dockerV2Repository.d.ts +163 -0
- package/dockerV2Repository.js +102 -0
- package/dockerV2Repository.js.map +1 -0
- package/generalSecurity.d.ts +66 -0
- package/generalSecurity.js +78 -0
- package/generalSecurity.js.map +1 -0
- package/getFile.d.ts +121 -0
- package/getFile.js +46 -0
- package/getFile.js.map +1 -0
- package/getFileinfo.d.ts +102 -0
- package/getFileinfo.js +43 -0
- package/getFileinfo.js.map +1 -0
- package/goRepository.d.ts +149 -0
- package/goRepository.js +115 -0
- package/goRepository.js.map +1 -0
- package/group.d.ts +141 -0
- package/group.js +74 -0
- package/group.js.map +1 -0
- package/index.d.ts +33 -0
- package/index.js +182 -0
- package/index.js.map +1 -0
- package/keypair.d.ts +139 -0
- package/keypair.js +101 -0
- package/keypair.js.map +1 -0
- package/localRepository.d.ts +134 -0
- package/localRepository.js +126 -0
- package/localRepository.js.map +1 -0
- package/mavenRepository.d.ts +172 -0
- package/mavenRepository.js +128 -0
- package/mavenRepository.js.map +1 -0
- package/oauthSettings.d.ts +124 -0
- package/oauthSettings.js +99 -0
- package/oauthSettings.js.map +1 -0
- package/package.json +27 -0
- package/package.json.bak +26 -0
- package/package.json.dev +26 -0
- package/permissionTarget.d.ts +150 -0
- package/permissionTarget.js +131 -0
- package/permissionTarget.js.map +1 -0
- package/permissionTargets.d.ts +49 -0
- package/permissionTargets.js +57 -0
- package/permissionTargets.js.map +1 -0
- package/provider.d.ts +67 -0
- package/provider.js +51 -0
- package/provider.js.map +1 -0
- package/remoteCargoRepository.d.ts +323 -0
- package/remoteCargoRepository.js +156 -0
- package/remoteCargoRepository.js.map +1 -0
- package/remoteDockerRepository.d.ts +363 -0
- package/remoteDockerRepository.js +158 -0
- package/remoteDockerRepository.js.map +1 -0
- package/remoteHelmRepository.d.ts +306 -0
- package/remoteHelmRepository.js +149 -0
- package/remoteHelmRepository.js.map +1 -0
- package/remoteRepository.d.ts +208 -0
- package/remoteRepository.js +160 -0
- package/remoteRepository.js.map +1 -0
- package/replicationConfig.d.ts +58 -0
- package/replicationConfig.js +72 -0
- package/replicationConfig.js.map +1 -0
- package/samlSettings.d.ts +218 -0
- package/samlSettings.js +120 -0
- package/samlSettings.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/singleReplicationConfig.d.ts +90 -0
- package/singleReplicationConfig.js +88 -0
- package/singleReplicationConfig.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +369 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +368 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +132 -0
- package/user.js +77 -0
- package/user.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +52 -0
- package/utilities.js.map +1 -0
- package/virtualRepository.d.ts +115 -0
- package/virtualRepository.js +123 -0
- package/virtualRepository.js.map +1 -0
- package/xrayPolicy.d.ts +122 -0
- package/xrayPolicy.js +82 -0
- package/xrayPolicy.js.map +1 -0
- package/xrayWatch.d.ts +113 -0
- package/xrayWatch.js +80 -0
- package/xrayWatch.js.map +1 -0
package/oauthSettings.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
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.OauthSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory OAuth SSO Settings Resource
|
|
10
|
+
*
|
|
11
|
+
* This resource can be used to manage Artifactory's OAuth SSO settings.
|
|
12
|
+
*
|
|
13
|
+
* Only a single `artifactory.OauthSettings` resource is meant to be defined.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
20
|
+
*
|
|
21
|
+
* // Configure Artifactory OAuth SSO settings
|
|
22
|
+
* const oauth = new artifactory.OauthSettings("oauth", {
|
|
23
|
+
* allowUserToAccessProfile: true,
|
|
24
|
+
* enable: true,
|
|
25
|
+
* oauthProviders: [{
|
|
26
|
+
* apiUrl: "https://organization.okta.com/oauth2/v1/userinfo",
|
|
27
|
+
* authUrl: "https://organization.okta.com/oauth2/v1/authorize",
|
|
28
|
+
* clientId: "foo",
|
|
29
|
+
* clientSecret: "bar",
|
|
30
|
+
* enabled: false,
|
|
31
|
+
* name: "okta",
|
|
32
|
+
* tokenUrl: "https://organization.okta.com/oauth2/v1/token",
|
|
33
|
+
* type: "openId",
|
|
34
|
+
* }],
|
|
35
|
+
* persistUsers: true,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* Current OAuth SSO settings can be imported using `oauth_settings` as the `ID`, e.g.
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import artifactory:index/oauthSettings:OauthSettings oauth oauth_settings
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class OauthSettings extends pulumi.CustomResource {
|
|
48
|
+
constructor(name, argsOrState, opts) {
|
|
49
|
+
let inputs = {};
|
|
50
|
+
opts = opts || {};
|
|
51
|
+
if (opts.id) {
|
|
52
|
+
const state = argsOrState;
|
|
53
|
+
inputs["allowUserToAccessProfile"] = state ? state.allowUserToAccessProfile : undefined;
|
|
54
|
+
inputs["enable"] = state ? state.enable : undefined;
|
|
55
|
+
inputs["oauthProviders"] = state ? state.oauthProviders : undefined;
|
|
56
|
+
inputs["persistUsers"] = state ? state.persistUsers : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.oauthProviders === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'oauthProviders'");
|
|
62
|
+
}
|
|
63
|
+
inputs["allowUserToAccessProfile"] = args ? args.allowUserToAccessProfile : undefined;
|
|
64
|
+
inputs["enable"] = args ? args.enable : undefined;
|
|
65
|
+
inputs["oauthProviders"] = args ? args.oauthProviders : undefined;
|
|
66
|
+
inputs["persistUsers"] = args ? args.persistUsers : undefined;
|
|
67
|
+
}
|
|
68
|
+
if (!opts.version) {
|
|
69
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
70
|
+
}
|
|
71
|
+
super(OauthSettings.__pulumiType, name, inputs, opts);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing OauthSettings resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new OauthSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of OauthSettings. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === OauthSettings.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.OauthSettings = OauthSettings;
|
|
97
|
+
/** @internal */
|
|
98
|
+
OauthSettings.__pulumiType = 'artifactory:index/oauthSettings:OauthSettings';
|
|
99
|
+
//# sourceMappingURL=oauthSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauthSettings.js","sourceRoot":"","sources":["../oauthSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAqDpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,MAAM,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCA6EC;AA/DG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/artifactory",
|
|
3
|
+
"version": "v0.0.1-alpha.1636999306+b5e54f3f",
|
|
4
|
+
"description": "A Pulumi package for creating and managing artifactory cloud resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"artifactory"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://pulumi.io",
|
|
10
|
+
"repository": "https://github.com/pulumi/pulumi-artifactory",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource artifactory v0.0.1-alpha.1636999306+b5e54f3f"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/mime": "^2.0.0",
|
|
21
|
+
"@types/node": "^10.0.0",
|
|
22
|
+
"typescript": "^4.3.5"
|
|
23
|
+
},
|
|
24
|
+
"pulumi": {
|
|
25
|
+
"resource": true
|
|
26
|
+
}
|
|
27
|
+
}
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/artifactory",
|
|
3
|
+
"version": "${VERSION}",
|
|
4
|
+
"description": "A Pulumi package for creating and managing artifactory cloud resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"artifactory"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://pulumi.io",
|
|
10
|
+
"repository": "https://github.com/pulumi/pulumi-artifactory",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/mime": "^2.0.0",
|
|
20
|
+
"@types/node": "^10.0.0",
|
|
21
|
+
"typescript": "^4.3.5"
|
|
22
|
+
},
|
|
23
|
+
"pulumi": {
|
|
24
|
+
"resource": true
|
|
25
|
+
}
|
|
26
|
+
}
|
package/package.json.dev
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/artifactory",
|
|
3
|
+
"version": "v0.0.1-alpha.1636999306+b5e54f3f",
|
|
4
|
+
"description": "A Pulumi package for creating and managing artifactory cloud resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"artifactory"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://pulumi.io",
|
|
10
|
+
"repository": "https://github.com/pulumi/pulumi-artifactory",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/mime": "^2.0.0",
|
|
20
|
+
"@types/node": "^10.0.0",
|
|
21
|
+
"typescript": "^4.3.5"
|
|
22
|
+
},
|
|
23
|
+
"pulumi": {
|
|
24
|
+
"resource": true
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## # Artifactory Permission Target Resource
|
|
5
|
+
*
|
|
6
|
+
* **Requires Artifactory >= 6.6.0. If using a lower version see here**
|
|
7
|
+
*
|
|
8
|
+
* Provides an Artifactory permission target resource. This can be used to create and manage Artifactory permission targets.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
15
|
+
*
|
|
16
|
+
* // Create a new Artifactory permission target called testpermission
|
|
17
|
+
* const test_perm = new artifactory.PermissionTarget("test-perm", {
|
|
18
|
+
* build: {
|
|
19
|
+
* actions: {
|
|
20
|
+
* users: [{
|
|
21
|
+
* name: "anonymous",
|
|
22
|
+
* permissions: [
|
|
23
|
+
* "read",
|
|
24
|
+
* "write",
|
|
25
|
+
* ],
|
|
26
|
+
* }],
|
|
27
|
+
* },
|
|
28
|
+
* includesPatterns: ["**"],
|
|
29
|
+
* repositories: ["artifactory-build-info"],
|
|
30
|
+
* },
|
|
31
|
+
* repo: {
|
|
32
|
+
* actions: {
|
|
33
|
+
* groups: [{
|
|
34
|
+
* name: "readers",
|
|
35
|
+
* permissions: ["read"],
|
|
36
|
+
* }],
|
|
37
|
+
* users: [{
|
|
38
|
+
* name: "anonymous",
|
|
39
|
+
* permissions: [
|
|
40
|
+
* "read",
|
|
41
|
+
* "write",
|
|
42
|
+
* ],
|
|
43
|
+
* }],
|
|
44
|
+
* },
|
|
45
|
+
* excludesPatterns: ["bar/**"],
|
|
46
|
+
* includesPatterns: ["foo/**"],
|
|
47
|
+
* repositories: ["example-repo-local"],
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
* ## Permissions
|
|
52
|
+
*
|
|
53
|
+
* The provider supports the following `permission` enums:
|
|
54
|
+
*
|
|
55
|
+
* * `read`
|
|
56
|
+
* * `write`
|
|
57
|
+
* * `annotate`
|
|
58
|
+
* * `delete`
|
|
59
|
+
* * `manage`
|
|
60
|
+
*
|
|
61
|
+
* The values can be mapped to the permissions from the official [documentation](https://www.jfrog.com/confluence/display/JFROG/Permissions):
|
|
62
|
+
*
|
|
63
|
+
* * `read` - matches `Read` permissions.
|
|
64
|
+
* * `write` - matches ` Deploy / Cache / Create ` permissions.
|
|
65
|
+
* * `annotate` - matches `Annotate` permissions.
|
|
66
|
+
* * `delete` - matches `Delete / Overwrite` permissions.
|
|
67
|
+
* * `manage` - matches `Manage` permissions.
|
|
68
|
+
*
|
|
69
|
+
* ## Import
|
|
70
|
+
*
|
|
71
|
+
* Permission targets can be imported using their name, e.g.
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import artifactory:index/permissionTarget:PermissionTarget terraform-test-permission mypermission
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
export declare class PermissionTarget extends pulumi.CustomResource {
|
|
78
|
+
/**
|
|
79
|
+
* Get an existing PermissionTarget resource's state with the given name, ID, and optional extra
|
|
80
|
+
* properties used to qualify the lookup.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resulting resource.
|
|
83
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
+
* @param state Any extra arguments used during the lookup.
|
|
85
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
+
*/
|
|
87
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PermissionTargetState, opts?: pulumi.CustomResourceOptions): PermissionTarget;
|
|
88
|
+
/**
|
|
89
|
+
* Returns true if the given object is an instance of PermissionTarget. This is designed to work even
|
|
90
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
91
|
+
*/
|
|
92
|
+
static isInstance(obj: any): obj is PermissionTarget;
|
|
93
|
+
/**
|
|
94
|
+
* As for repo but for artifactory-build-info permssions.
|
|
95
|
+
*/
|
|
96
|
+
readonly build: pulumi.Output<outputs.PermissionTargetBuild | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Name of permission
|
|
99
|
+
*/
|
|
100
|
+
readonly name: pulumi.Output<string>;
|
|
101
|
+
readonly releaseBundle: pulumi.Output<outputs.PermissionTargetReleaseBundle | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Repository permission configuration
|
|
104
|
+
*/
|
|
105
|
+
readonly repo: pulumi.Output<outputs.PermissionTargetRepo | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a PermissionTarget resource with the given unique name, arguments, and options.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resource.
|
|
110
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
111
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
112
|
+
*/
|
|
113
|
+
constructor(name: string, args?: PermissionTargetArgs, opts?: pulumi.CustomResourceOptions);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Input properties used for looking up and filtering PermissionTarget resources.
|
|
117
|
+
*/
|
|
118
|
+
export interface PermissionTargetState {
|
|
119
|
+
/**
|
|
120
|
+
* As for repo but for artifactory-build-info permssions.
|
|
121
|
+
*/
|
|
122
|
+
build?: pulumi.Input<inputs.PermissionTargetBuild>;
|
|
123
|
+
/**
|
|
124
|
+
* Name of permission
|
|
125
|
+
*/
|
|
126
|
+
name?: pulumi.Input<string>;
|
|
127
|
+
releaseBundle?: pulumi.Input<inputs.PermissionTargetReleaseBundle>;
|
|
128
|
+
/**
|
|
129
|
+
* Repository permission configuration
|
|
130
|
+
*/
|
|
131
|
+
repo?: pulumi.Input<inputs.PermissionTargetRepo>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* The set of arguments for constructing a PermissionTarget resource.
|
|
135
|
+
*/
|
|
136
|
+
export interface PermissionTargetArgs {
|
|
137
|
+
/**
|
|
138
|
+
* As for repo but for artifactory-build-info permssions.
|
|
139
|
+
*/
|
|
140
|
+
build?: pulumi.Input<inputs.PermissionTargetBuild>;
|
|
141
|
+
/**
|
|
142
|
+
* Name of permission
|
|
143
|
+
*/
|
|
144
|
+
name?: pulumi.Input<string>;
|
|
145
|
+
releaseBundle?: pulumi.Input<inputs.PermissionTargetReleaseBundle>;
|
|
146
|
+
/**
|
|
147
|
+
* Repository permission configuration
|
|
148
|
+
*/
|
|
149
|
+
repo?: pulumi.Input<inputs.PermissionTargetRepo>;
|
|
150
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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.PermissionTarget = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Artifactory Permission Target Resource
|
|
10
|
+
*
|
|
11
|
+
* **Requires Artifactory >= 6.6.0. If using a lower version see here**
|
|
12
|
+
*
|
|
13
|
+
* Provides an Artifactory permission target resource. This can be used to create and manage Artifactory permission targets.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as artifactory from "@pulumi/artifactory";
|
|
20
|
+
*
|
|
21
|
+
* // Create a new Artifactory permission target called testpermission
|
|
22
|
+
* const test_perm = new artifactory.PermissionTarget("test-perm", {
|
|
23
|
+
* build: {
|
|
24
|
+
* actions: {
|
|
25
|
+
* users: [{
|
|
26
|
+
* name: "anonymous",
|
|
27
|
+
* permissions: [
|
|
28
|
+
* "read",
|
|
29
|
+
* "write",
|
|
30
|
+
* ],
|
|
31
|
+
* }],
|
|
32
|
+
* },
|
|
33
|
+
* includesPatterns: ["**"],
|
|
34
|
+
* repositories: ["artifactory-build-info"],
|
|
35
|
+
* },
|
|
36
|
+
* repo: {
|
|
37
|
+
* actions: {
|
|
38
|
+
* groups: [{
|
|
39
|
+
* name: "readers",
|
|
40
|
+
* permissions: ["read"],
|
|
41
|
+
* }],
|
|
42
|
+
* users: [{
|
|
43
|
+
* name: "anonymous",
|
|
44
|
+
* permissions: [
|
|
45
|
+
* "read",
|
|
46
|
+
* "write",
|
|
47
|
+
* ],
|
|
48
|
+
* }],
|
|
49
|
+
* },
|
|
50
|
+
* excludesPatterns: ["bar/**"],
|
|
51
|
+
* includesPatterns: ["foo/**"],
|
|
52
|
+
* repositories: ["example-repo-local"],
|
|
53
|
+
* },
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
* ## Permissions
|
|
57
|
+
*
|
|
58
|
+
* The provider supports the following `permission` enums:
|
|
59
|
+
*
|
|
60
|
+
* * `read`
|
|
61
|
+
* * `write`
|
|
62
|
+
* * `annotate`
|
|
63
|
+
* * `delete`
|
|
64
|
+
* * `manage`
|
|
65
|
+
*
|
|
66
|
+
* The values can be mapped to the permissions from the official [documentation](https://www.jfrog.com/confluence/display/JFROG/Permissions):
|
|
67
|
+
*
|
|
68
|
+
* * `read` - matches `Read` permissions.
|
|
69
|
+
* * `write` - matches ` Deploy / Cache / Create ` permissions.
|
|
70
|
+
* * `annotate` - matches `Annotate` permissions.
|
|
71
|
+
* * `delete` - matches `Delete / Overwrite` permissions.
|
|
72
|
+
* * `manage` - matches `Manage` permissions.
|
|
73
|
+
*
|
|
74
|
+
* ## Import
|
|
75
|
+
*
|
|
76
|
+
* Permission targets can be imported using their name, e.g.
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import artifactory:index/permissionTarget:PermissionTarget terraform-test-permission mypermission
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
class PermissionTarget extends pulumi.CustomResource {
|
|
83
|
+
constructor(name, argsOrState, opts) {
|
|
84
|
+
let inputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (opts.id) {
|
|
87
|
+
const state = argsOrState;
|
|
88
|
+
inputs["build"] = state ? state.build : undefined;
|
|
89
|
+
inputs["name"] = state ? state.name : undefined;
|
|
90
|
+
inputs["releaseBundle"] = state ? state.releaseBundle : undefined;
|
|
91
|
+
inputs["repo"] = state ? state.repo : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
inputs["build"] = args ? args.build : undefined;
|
|
96
|
+
inputs["name"] = args ? args.name : undefined;
|
|
97
|
+
inputs["releaseBundle"] = args ? args.releaseBundle : undefined;
|
|
98
|
+
inputs["repo"] = args ? args.repo : undefined;
|
|
99
|
+
}
|
|
100
|
+
if (!opts.version) {
|
|
101
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
102
|
+
}
|
|
103
|
+
super(PermissionTarget.__pulumiType, name, inputs, opts);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Get an existing PermissionTarget resource's state with the given name, ID, and optional extra
|
|
107
|
+
* properties used to qualify the lookup.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resulting resource.
|
|
110
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
111
|
+
* @param state Any extra arguments used during the lookup.
|
|
112
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
113
|
+
*/
|
|
114
|
+
static get(name, id, state, opts) {
|
|
115
|
+
return new PermissionTarget(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Returns true if the given object is an instance of PermissionTarget. This is designed to work even
|
|
119
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
120
|
+
*/
|
|
121
|
+
static isInstance(obj) {
|
|
122
|
+
if (obj === undefined || obj === null) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
return obj['__pulumiType'] === PermissionTarget.__pulumiType;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.PermissionTarget = PermissionTarget;
|
|
129
|
+
/** @internal */
|
|
130
|
+
PermissionTarget.__pulumiType = 'artifactory:index/permissionTarget:PermissionTarget';
|
|
131
|
+
//# sourceMappingURL=permissionTarget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionTarget.js","sourceRoot":"","sources":["../permissionTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAkDvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACnD;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACjD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IArED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAuEC;AAzDG,gBAAgB;AACO,6BAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class PermissionTargets extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing PermissionTargets resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param state Any extra arguments used during the lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PermissionTargetsState, opts?: pulumi.CustomResourceOptions): PermissionTargets;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of PermissionTargets. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is PermissionTargets;
|
|
19
|
+
readonly build: pulumi.Output<outputs.PermissionTargetsBuild | undefined>;
|
|
20
|
+
readonly name: pulumi.Output<string>;
|
|
21
|
+
readonly releaseBundle: pulumi.Output<outputs.PermissionTargetsReleaseBundle | undefined>;
|
|
22
|
+
readonly repo: pulumi.Output<outputs.PermissionTargetsRepo | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Create a PermissionTargets resource with the given unique name, arguments, and options.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resource.
|
|
27
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
28
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
29
|
+
*/
|
|
30
|
+
constructor(name: string, args?: PermissionTargetsArgs, opts?: pulumi.CustomResourceOptions);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Input properties used for looking up and filtering PermissionTargets resources.
|
|
34
|
+
*/
|
|
35
|
+
export interface PermissionTargetsState {
|
|
36
|
+
build?: pulumi.Input<inputs.PermissionTargetsBuild>;
|
|
37
|
+
name?: pulumi.Input<string>;
|
|
38
|
+
releaseBundle?: pulumi.Input<inputs.PermissionTargetsReleaseBundle>;
|
|
39
|
+
repo?: pulumi.Input<inputs.PermissionTargetsRepo>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The set of arguments for constructing a PermissionTargets resource.
|
|
43
|
+
*/
|
|
44
|
+
export interface PermissionTargetsArgs {
|
|
45
|
+
build?: pulumi.Input<inputs.PermissionTargetsBuild>;
|
|
46
|
+
name?: pulumi.Input<string>;
|
|
47
|
+
releaseBundle?: pulumi.Input<inputs.PermissionTargetsReleaseBundle>;
|
|
48
|
+
repo?: pulumi.Input<inputs.PermissionTargetsRepo>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.PermissionTargets = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class PermissionTargets extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let inputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
inputs["build"] = state ? state.build : undefined;
|
|
15
|
+
inputs["name"] = state ? state.name : undefined;
|
|
16
|
+
inputs["releaseBundle"] = state ? state.releaseBundle : undefined;
|
|
17
|
+
inputs["repo"] = state ? state.repo : undefined;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const args = argsOrState;
|
|
21
|
+
inputs["build"] = args ? args.build : undefined;
|
|
22
|
+
inputs["name"] = args ? args.name : undefined;
|
|
23
|
+
inputs["releaseBundle"] = args ? args.releaseBundle : undefined;
|
|
24
|
+
inputs["repo"] = args ? args.repo : undefined;
|
|
25
|
+
}
|
|
26
|
+
if (!opts.version) {
|
|
27
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
28
|
+
}
|
|
29
|
+
super(PermissionTargets.__pulumiType, name, inputs, opts);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing PermissionTargets resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name, id, state, opts) {
|
|
41
|
+
return new PermissionTargets(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of PermissionTargets. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === PermissionTargets.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.PermissionTargets = PermissionTargets;
|
|
55
|
+
/** @internal */
|
|
56
|
+
PermissionTargets.__pulumiType = 'artifactory:index/permissionTargets:PermissionTargets';
|
|
57
|
+
//# sourceMappingURL=permissionTargets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionTargets.js","sourceRoot":"","sources":["../permissionTargets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAyCxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACnD;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACjD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IA5DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA8DC;AAhDG,gBAAgB;AACO,8BAAY,GAAG,uDAAuD,CAAC"}
|
package/provider.d.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The provider type for the artifactory package. By default, resources use package-wide configuration
|
|
4
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* This is a bearer token that can be given to you by your admin under `Identity and Access`
|
|
16
|
+
*/
|
|
17
|
+
readonly accessToken: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Xray and projects functionality will not work with any auth method other than access tokens (Bearer)
|
|
20
|
+
*/
|
|
21
|
+
readonly apiKey: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Insider note: You may actually use an api_key as the password. This will get your around xray limitations instead of a
|
|
24
|
+
* bearer token
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Xray and projects functionality will not work with any auth method other than access tokens (Bearer)
|
|
27
|
+
*/
|
|
28
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
29
|
+
readonly url: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Xray and projects functionality will not work with any auth method other than access tokens (Bearer)
|
|
32
|
+
*/
|
|
33
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The set of arguments for constructing a Provider resource.
|
|
45
|
+
*/
|
|
46
|
+
export interface ProviderArgs {
|
|
47
|
+
/**
|
|
48
|
+
* This is a bearer token that can be given to you by your admin under `Identity and Access`
|
|
49
|
+
*/
|
|
50
|
+
accessToken?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated Xray and projects functionality will not work with any auth method other than access tokens (Bearer)
|
|
53
|
+
*/
|
|
54
|
+
apiKey?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Insider note: You may actually use an api_key as the password. This will get your around xray limitations instead of a
|
|
57
|
+
* bearer token
|
|
58
|
+
*
|
|
59
|
+
* @deprecated Xray and projects functionality will not work with any auth method other than access tokens (Bearer)
|
|
60
|
+
*/
|
|
61
|
+
password?: pulumi.Input<string>;
|
|
62
|
+
url?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated Xray and projects functionality will not work with any auth method other than access tokens (Bearer)
|
|
65
|
+
*/
|
|
66
|
+
username?: pulumi.Input<string>;
|
|
67
|
+
}
|