@pierskarsenbarg/sdm 0.0.9 → 0.1.3

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/roleGrant.d.ts DELETED
@@ -1,69 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * ## Import
4
- *
5
- * RoleGrant can be imported using the id, e.g.,
6
- *
7
- * ```sh
8
- * $ pulumi import sdm:index/roleGrant:RoleGrant example rg-12345678
9
- * ```
10
- */
11
- export declare class RoleGrant extends pulumi.CustomResource {
12
- /**
13
- * Get an existing RoleGrant resource's state with the given name, ID, and optional extra
14
- * properties used to qualify the lookup.
15
- *
16
- * @param name The _unique_ name of the resulting resource.
17
- * @param id The _unique_ provider ID of the resource to lookup.
18
- * @param state Any extra arguments used during the lookup.
19
- * @param opts Optional settings to control the behavior of the CustomResource.
20
- */
21
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoleGrantState, opts?: pulumi.CustomResourceOptions): RoleGrant;
22
- /**
23
- * Returns true if the given object is an instance of RoleGrant. This is designed to work even
24
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
- */
26
- static isInstance(obj: any): obj is RoleGrant;
27
- /**
28
- * The id of the resource of this RoleGrant.
29
- */
30
- readonly resourceId: pulumi.Output<string>;
31
- /**
32
- * The id of the attached role of this RoleGrant.
33
- */
34
- readonly roleId: pulumi.Output<string>;
35
- /**
36
- * Create a RoleGrant resource with the given unique name, arguments, and options.
37
- *
38
- * @param name The _unique_ name of the resource.
39
- * @param args The arguments to use to populate this resource's properties.
40
- * @param opts A bag of options that control this resource's behavior.
41
- */
42
- constructor(name: string, args: RoleGrantArgs, opts?: pulumi.CustomResourceOptions);
43
- }
44
- /**
45
- * Input properties used for looking up and filtering RoleGrant resources.
46
- */
47
- export interface RoleGrantState {
48
- /**
49
- * The id of the resource of this RoleGrant.
50
- */
51
- resourceId?: pulumi.Input<string>;
52
- /**
53
- * The id of the attached role of this RoleGrant.
54
- */
55
- roleId?: pulumi.Input<string>;
56
- }
57
- /**
58
- * The set of arguments for constructing a RoleGrant resource.
59
- */
60
- export interface RoleGrantArgs {
61
- /**
62
- * The id of the resource of this RoleGrant.
63
- */
64
- resourceId: pulumi.Input<string>;
65
- /**
66
- * The id of the attached role of this RoleGrant.
67
- */
68
- roleId: pulumi.Input<string>;
69
- }
package/roleGrant.js DELETED
@@ -1,66 +0,0 @@
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.RoleGrant = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Import
10
- *
11
- * RoleGrant can be imported using the id, e.g.,
12
- *
13
- * ```sh
14
- * $ pulumi import sdm:index/roleGrant:RoleGrant example rg-12345678
15
- * ```
16
- */
17
- class RoleGrant extends pulumi.CustomResource {
18
- constructor(name, argsOrState, opts) {
19
- let resourceInputs = {};
20
- opts = opts || {};
21
- if (opts.id) {
22
- const state = argsOrState;
23
- resourceInputs["resourceId"] = state ? state.resourceId : undefined;
24
- resourceInputs["roleId"] = state ? state.roleId : undefined;
25
- }
26
- else {
27
- const args = argsOrState;
28
- if ((!args || args.resourceId === undefined) && !opts.urn) {
29
- throw new Error("Missing required property 'resourceId'");
30
- }
31
- if ((!args || args.roleId === undefined) && !opts.urn) {
32
- throw new Error("Missing required property 'roleId'");
33
- }
34
- resourceInputs["resourceId"] = args ? args.resourceId : undefined;
35
- resourceInputs["roleId"] = args ? args.roleId : undefined;
36
- }
37
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
38
- super(RoleGrant.__pulumiType, name, resourceInputs, opts);
39
- }
40
- /**
41
- * Get an existing RoleGrant resource's state with the given name, ID, and optional extra
42
- * properties used to qualify the lookup.
43
- *
44
- * @param name The _unique_ name of the resulting resource.
45
- * @param id The _unique_ provider ID of the resource to lookup.
46
- * @param state Any extra arguments used during the lookup.
47
- * @param opts Optional settings to control the behavior of the CustomResource.
48
- */
49
- static get(name, id, state, opts) {
50
- return new RoleGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
- }
52
- /**
53
- * Returns true if the given object is an instance of RoleGrant. This is designed to work even
54
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
- */
56
- static isInstance(obj) {
57
- if (obj === undefined || obj === null) {
58
- return false;
59
- }
60
- return obj['__pulumiType'] === RoleGrant.__pulumiType;
61
- }
62
- }
63
- exports.RoleGrant = RoleGrant;
64
- /** @internal */
65
- RoleGrant.__pulumiType = 'sdm:index/roleGrant:RoleGrant';
66
- //# sourceMappingURL=roleGrant.js.map
package/roleGrant.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"roleGrant.js","sourceRoot":"","sources":["../roleGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA6ChD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAA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