@atensec/pulumi-thoth 0.1.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/.gitattributes +1 -0
- package/Pulumi.yaml +3 -0
- package/README.md +4 -0
- package/access/apiKey.ts +239 -0
- package/access/getApiKeyMetrics.ts +31 -0
- package/access/index.ts +30 -0
- package/browser/enrollment.ts +218 -0
- package/browser/index.ts +41 -0
- package/browser/policy.ts +256 -0
- package/browser/provider.ts +186 -0
- package/config/index.ts +5 -0
- package/config/vars.ts +119 -0
- package/governance/approvalDecision.ts +141 -0
- package/governance/getFeed.ts +102 -0
- package/governance/getTenantSettings.ts +33 -0
- package/governance/getTools.ts +52 -0
- package/governance/index.ts +72 -0
- package/governance/packAssignment.ts +213 -0
- package/governance/policySync.ts +233 -0
- package/governance/tenantSettings.ts +579 -0
- package/governance/webhookTest.ts +131 -0
- package/index.ts +34 -0
- package/mdm/getSyncJob.ts +53 -0
- package/mdm/index.ts +38 -0
- package/mdm/provider.ts +218 -0
- package/mdm/sync.ts +230 -0
- package/package.json +29 -0
- package/provider.ts +144 -0
- package/tsconfig.json +48 -0
- package/utilities.ts +96 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export class WebhookTest extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing WebhookTest resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WebhookTestState, opts?: pulumi.CustomResourceOptions): WebhookTest {
|
|
18
|
+
return new WebhookTest(name, <any>state, { ...opts, id: id });
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
public static readonly __pulumiType = 'thoth:governance/webhookTest:WebhookTest';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of WebhookTest. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
public static isInstance(obj: any): obj is WebhookTest {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === WebhookTest.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Error string returned by webhook test endpoint.
|
|
37
|
+
*/
|
|
38
|
+
declare public /*out*/ readonly error: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* HTTP status returned by webhook endpoint (if available).
|
|
41
|
+
*/
|
|
42
|
+
declare public /*out*/ readonly httpStatus: pulumi.Output<number>;
|
|
43
|
+
/**
|
|
44
|
+
* Webhook test status (delivered or failed).
|
|
45
|
+
*/
|
|
46
|
+
declare public /*out*/ readonly status: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Tenant ID from provider configuration.
|
|
49
|
+
*/
|
|
50
|
+
declare public /*out*/ readonly tenantId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Timestamp when the test was executed.
|
|
53
|
+
*/
|
|
54
|
+
declare public /*out*/ readonly testedAt: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Change this value to force a re-test.
|
|
57
|
+
*/
|
|
58
|
+
declare public readonly trigger: pulumi.Output<string | undefined>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Create a WebhookTest 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?: WebhookTestArgs, opts?: pulumi.CustomResourceOptions)
|
|
68
|
+
constructor(name: string, argsOrState?: WebhookTestArgs | WebhookTestState, opts?: pulumi.CustomResourceOptions) {
|
|
69
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState as WebhookTestState | undefined;
|
|
73
|
+
resourceInputs["error"] = state?.error;
|
|
74
|
+
resourceInputs["httpStatus"] = state?.httpStatus;
|
|
75
|
+
resourceInputs["status"] = state?.status;
|
|
76
|
+
resourceInputs["tenantId"] = state?.tenantId;
|
|
77
|
+
resourceInputs["testedAt"] = state?.testedAt;
|
|
78
|
+
resourceInputs["trigger"] = state?.trigger;
|
|
79
|
+
} else {
|
|
80
|
+
const args = argsOrState as WebhookTestArgs | undefined;
|
|
81
|
+
resourceInputs["trigger"] = args?.trigger;
|
|
82
|
+
resourceInputs["error"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["httpStatus"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["tenantId"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["testedAt"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(WebhookTest.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering WebhookTest resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface WebhookTestState {
|
|
97
|
+
/**
|
|
98
|
+
* Error string returned by webhook test endpoint.
|
|
99
|
+
*/
|
|
100
|
+
error?: pulumi.Input<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* HTTP status returned by webhook endpoint (if available).
|
|
103
|
+
*/
|
|
104
|
+
httpStatus?: pulumi.Input<number | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Webhook test status (delivered or failed).
|
|
107
|
+
*/
|
|
108
|
+
status?: pulumi.Input<string | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Tenant ID from provider configuration.
|
|
111
|
+
*/
|
|
112
|
+
tenantId?: pulumi.Input<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Timestamp when the test was executed.
|
|
115
|
+
*/
|
|
116
|
+
testedAt?: pulumi.Input<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Change this value to force a re-test.
|
|
119
|
+
*/
|
|
120
|
+
trigger?: pulumi.Input<string | undefined>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The set of arguments for constructing a WebhookTest resource.
|
|
125
|
+
*/
|
|
126
|
+
export interface WebhookTestArgs {
|
|
127
|
+
/**
|
|
128
|
+
* Change this value to force a re-test.
|
|
129
|
+
*/
|
|
130
|
+
trigger?: pulumi.Input<string | undefined>;
|
|
131
|
+
}
|
package/index.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "./utilities";
|
|
6
|
+
|
|
7
|
+
// Export members:
|
|
8
|
+
export * from "./provider";
|
|
9
|
+
import { Provider } from "./provider";
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// Export sub-modules:
|
|
13
|
+
import * as access from "./access";
|
|
14
|
+
import * as browser from "./browser";
|
|
15
|
+
import * as config from "./config";
|
|
16
|
+
import * as governance from "./governance";
|
|
17
|
+
import * as mdm from "./mdm";
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
access,
|
|
21
|
+
browser,
|
|
22
|
+
config,
|
|
23
|
+
governance,
|
|
24
|
+
mdm,
|
|
25
|
+
};
|
|
26
|
+
pulumi.runtime.registerResourcePackage("thoth", {
|
|
27
|
+
version: utilities.getVersion(),
|
|
28
|
+
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
|
|
29
|
+
if (type !== "pulumi:providers:thoth") {
|
|
30
|
+
throw new Error(`unknown provider type ${type}`);
|
|
31
|
+
}
|
|
32
|
+
return new Provider(name, <any>undefined, { urn });
|
|
33
|
+
},
|
|
34
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export function getSyncJob(args: GetSyncJobArgs, opts?: pulumi.InvokeOptions): Promise<GetSyncJobResult> {
|
|
8
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
9
|
+
return pulumi.runtime.invoke("thoth:mdm/getSyncJob:getSyncJob", {
|
|
10
|
+
"jobId": args.jobId,
|
|
11
|
+
}, opts);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A collection of arguments for invoking getSyncJob.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSyncJobArgs {
|
|
18
|
+
jobId: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A collection of values returned by getSyncJob.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetSyncJobResult {
|
|
25
|
+
readonly completedAt: string;
|
|
26
|
+
readonly createdAt: string;
|
|
27
|
+
readonly error: string;
|
|
28
|
+
/**
|
|
29
|
+
* The provider-assigned unique ID for this managed resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly jobId: string;
|
|
33
|
+
readonly jobJson: string;
|
|
34
|
+
readonly providerName: string;
|
|
35
|
+
readonly startedAt: string;
|
|
36
|
+
readonly status: string;
|
|
37
|
+
readonly syncedEndpoints: number;
|
|
38
|
+
readonly unassignedCount: number;
|
|
39
|
+
readonly updatedAt: string;
|
|
40
|
+
}
|
|
41
|
+
export function getSyncJobOutput(args: GetSyncJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSyncJobResult> {
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invokeOutput("thoth:mdm/getSyncJob:getSyncJob", {
|
|
44
|
+
"jobId": args.jobId,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* A collection of arguments for invoking getSyncJob.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetSyncJobOutputArgs {
|
|
52
|
+
jobId: pulumi.Input<string>;
|
|
53
|
+
}
|
package/mdm/index.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
// Export members:
|
|
8
|
+
export { GetSyncJobArgs, GetSyncJobResult, GetSyncJobOutputArgs } from "./getSyncJob";
|
|
9
|
+
export const getSyncJob: typeof import("./getSyncJob").getSyncJob = null as any;
|
|
10
|
+
export const getSyncJobOutput: typeof import("./getSyncJob").getSyncJobOutput = null as any;
|
|
11
|
+
utilities.lazyLoad(exports, ["getSyncJob","getSyncJobOutput"], () => require("./getSyncJob"));
|
|
12
|
+
|
|
13
|
+
export { ProviderArgs, ProviderState } from "./provider";
|
|
14
|
+
export type Provider = import("./provider").Provider;
|
|
15
|
+
export const Provider: typeof import("./provider").Provider = null as any;
|
|
16
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
17
|
+
|
|
18
|
+
export { SyncArgs, SyncState } from "./sync";
|
|
19
|
+
export type Sync = import("./sync").Sync;
|
|
20
|
+
export const Sync: typeof import("./sync").Sync = null as any;
|
|
21
|
+
utilities.lazyLoad(exports, ["Sync"], () => require("./sync"));
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
const _module = {
|
|
25
|
+
version: utilities.getVersion(),
|
|
26
|
+
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
|
27
|
+
switch (type) {
|
|
28
|
+
case "thoth:mdm/provider:Provider":
|
|
29
|
+
return new Provider(name, <any>undefined, { urn })
|
|
30
|
+
case "thoth:mdm/sync:Sync":
|
|
31
|
+
return new Sync(name, <any>undefined, { urn })
|
|
32
|
+
default:
|
|
33
|
+
throw new Error(`unknown resource type ${type}`);
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
pulumi.runtime.registerResourceModule("thoth", "mdm/provider", _module)
|
|
38
|
+
pulumi.runtime.registerResourceModule("thoth", "mdm/sync", _module)
|
package/mdm/provider.ts
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../utilities";
|
|
6
|
+
|
|
7
|
+
export class Provider extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Provider resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProviderState, opts?: pulumi.CustomResourceOptions): Provider {
|
|
18
|
+
return new Provider(name, <any>state, { ...opts, id: id });
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
public static readonly __pulumiType = 'thoth:mdm/provider:Provider';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
public static isInstance(obj: any): obj is Provider {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Provider configuration JSON object.
|
|
37
|
+
*/
|
|
38
|
+
declare public readonly configJson: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Creation timestamp.
|
|
41
|
+
*/
|
|
42
|
+
declare public /*out*/ readonly createdAt: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Enable the provider integration.
|
|
45
|
+
*/
|
|
46
|
+
declare public readonly enabled: pulumi.Output<boolean | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Last error message from provider sync.
|
|
49
|
+
*/
|
|
50
|
+
declare public /*out*/ readonly lastError: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Last sync timestamp.
|
|
53
|
+
*/
|
|
54
|
+
declare public /*out*/ readonly lastSyncAt: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Last sync job identifier.
|
|
57
|
+
*/
|
|
58
|
+
declare public /*out*/ readonly lastSyncJobId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Last sync status.
|
|
61
|
+
*/
|
|
62
|
+
declare public /*out*/ readonly lastSyncStatus: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Display name for the provider.
|
|
65
|
+
*/
|
|
66
|
+
declare public readonly name: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Provider slug: jamf, intune, workspace_one, custom.
|
|
69
|
+
*/
|
|
70
|
+
declare public readonly providerName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Provider status from GovAPI.
|
|
73
|
+
*/
|
|
74
|
+
declare public /*out*/ readonly status: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Count of endpoints synchronized on latest run.
|
|
77
|
+
*/
|
|
78
|
+
declare public /*out*/ readonly syncedEndpoints: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Tenant ID from provider configuration.
|
|
81
|
+
*/
|
|
82
|
+
declare public /*out*/ readonly tenantId: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Update timestamp.
|
|
85
|
+
*/
|
|
86
|
+
declare public /*out*/ readonly updatedAt: pulumi.Output<string>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resource.
|
|
92
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
93
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
94
|
+
*/
|
|
95
|
+
constructor(name: string, args: ProviderArgs, opts?: pulumi.CustomResourceOptions)
|
|
96
|
+
constructor(name: string, argsOrState?: ProviderArgs | ProviderState, opts?: pulumi.CustomResourceOptions) {
|
|
97
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
98
|
+
opts = opts || {};
|
|
99
|
+
if (opts.id) {
|
|
100
|
+
const state = argsOrState as ProviderState | undefined;
|
|
101
|
+
resourceInputs["configJson"] = state?.configJson;
|
|
102
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
103
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
104
|
+
resourceInputs["lastError"] = state?.lastError;
|
|
105
|
+
resourceInputs["lastSyncAt"] = state?.lastSyncAt;
|
|
106
|
+
resourceInputs["lastSyncJobId"] = state?.lastSyncJobId;
|
|
107
|
+
resourceInputs["lastSyncStatus"] = state?.lastSyncStatus;
|
|
108
|
+
resourceInputs["name"] = state?.name;
|
|
109
|
+
resourceInputs["providerName"] = state?.providerName;
|
|
110
|
+
resourceInputs["status"] = state?.status;
|
|
111
|
+
resourceInputs["syncedEndpoints"] = state?.syncedEndpoints;
|
|
112
|
+
resourceInputs["tenantId"] = state?.tenantId;
|
|
113
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
114
|
+
} else {
|
|
115
|
+
const args = argsOrState as ProviderArgs | undefined;
|
|
116
|
+
if (args?.providerName === undefined && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'providerName'");
|
|
118
|
+
}
|
|
119
|
+
resourceInputs["configJson"] = args?.configJson ? pulumi.secret(args.configJson) : undefined;
|
|
120
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
121
|
+
resourceInputs["name"] = args?.name;
|
|
122
|
+
resourceInputs["providerName"] = args?.providerName;
|
|
123
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["lastError"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["lastSyncAt"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["lastSyncJobId"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["lastSyncStatus"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["syncedEndpoints"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["tenantId"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
132
|
+
}
|
|
133
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
134
|
+
const secretOpts = { additionalSecretOutputs: ["configJson"] };
|
|
135
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
136
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Input properties used for looking up and filtering Provider resources.
|
|
142
|
+
*/
|
|
143
|
+
export interface ProviderState {
|
|
144
|
+
/**
|
|
145
|
+
* Provider configuration JSON object.
|
|
146
|
+
*/
|
|
147
|
+
configJson?: pulumi.Input<string | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Creation timestamp.
|
|
150
|
+
*/
|
|
151
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Enable the provider integration.
|
|
154
|
+
*/
|
|
155
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Last error message from provider sync.
|
|
158
|
+
*/
|
|
159
|
+
lastError?: pulumi.Input<string | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Last sync timestamp.
|
|
162
|
+
*/
|
|
163
|
+
lastSyncAt?: pulumi.Input<string | undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Last sync job identifier.
|
|
166
|
+
*/
|
|
167
|
+
lastSyncJobId?: pulumi.Input<string | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Last sync status.
|
|
170
|
+
*/
|
|
171
|
+
lastSyncStatus?: pulumi.Input<string | undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* Display name for the provider.
|
|
174
|
+
*/
|
|
175
|
+
name?: pulumi.Input<string | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* Provider slug: jamf, intune, workspace_one, custom.
|
|
178
|
+
*/
|
|
179
|
+
providerName?: pulumi.Input<string | undefined>;
|
|
180
|
+
/**
|
|
181
|
+
* Provider status from GovAPI.
|
|
182
|
+
*/
|
|
183
|
+
status?: pulumi.Input<string | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Count of endpoints synchronized on latest run.
|
|
186
|
+
*/
|
|
187
|
+
syncedEndpoints?: pulumi.Input<number | undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* Tenant ID from provider configuration.
|
|
190
|
+
*/
|
|
191
|
+
tenantId?: pulumi.Input<string | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* Update timestamp.
|
|
194
|
+
*/
|
|
195
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The set of arguments for constructing a Provider resource.
|
|
200
|
+
*/
|
|
201
|
+
export interface ProviderArgs {
|
|
202
|
+
/**
|
|
203
|
+
* Provider configuration JSON object.
|
|
204
|
+
*/
|
|
205
|
+
configJson?: pulumi.Input<string | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* Enable the provider integration.
|
|
208
|
+
*/
|
|
209
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
210
|
+
/**
|
|
211
|
+
* Display name for the provider.
|
|
212
|
+
*/
|
|
213
|
+
name?: pulumi.Input<string | undefined>;
|
|
214
|
+
/**
|
|
215
|
+
* Provider slug: jamf, intune, workspace_one, custom.
|
|
216
|
+
*/
|
|
217
|
+
providerName: pulumi.Input<string>;
|
|
218
|
+
}
|