UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

88 lines 4.21 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.SamlServerProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * SamlServerProfile resource */ class SamlServerProfile extends pulumi.CustomResource { /** * Get an existing SamlServerProfile resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name, id, state, opts) { return new SamlServerProfile(name, state, { ...opts, id: id }); } /** * Returns true if the given object is an instance of SamlServerProfile. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === SamlServerProfile.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["certificate"] = state?.certificate; resourceInputs["device"] = state?.device; resourceInputs["entityId"] = state?.entityId; resourceInputs["folder"] = state?.folder; resourceInputs["maxClockSkew"] = state?.maxClockSkew; resourceInputs["name"] = state?.name; resourceInputs["sloBindings"] = state?.sloBindings; resourceInputs["snippet"] = state?.snippet; resourceInputs["ssoBindings"] = state?.ssoBindings; resourceInputs["ssoUrl"] = state?.ssoUrl; resourceInputs["tfid"] = state?.tfid; resourceInputs["validateIdpCertificate"] = state?.validateIdpCertificate; resourceInputs["wantAuthRequestsSigned"] = state?.wantAuthRequestsSigned; } else { const args = argsOrState; if (args?.certificate === undefined && !opts.urn) { throw new Error("Missing required property 'certificate'"); } if (args?.entityId === undefined && !opts.urn) { throw new Error("Missing required property 'entityId'"); } if (args?.ssoBindings === undefined && !opts.urn) { throw new Error("Missing required property 'ssoBindings'"); } if (args?.ssoUrl === undefined && !opts.urn) { throw new Error("Missing required property 'ssoUrl'"); } resourceInputs["certificate"] = args?.certificate; resourceInputs["device"] = args?.device; resourceInputs["entityId"] = args?.entityId; resourceInputs["folder"] = args?.folder; resourceInputs["maxClockSkew"] = args?.maxClockSkew; resourceInputs["name"] = args?.name; resourceInputs["sloBindings"] = args?.sloBindings; resourceInputs["snippet"] = args?.snippet; resourceInputs["ssoBindings"] = args?.ssoBindings; resourceInputs["ssoUrl"] = args?.ssoUrl; resourceInputs["validateIdpCertificate"] = args?.validateIdpCertificate; resourceInputs["wantAuthRequestsSigned"] = args?.wantAuthRequestsSigned; resourceInputs["tfid"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(SamlServerProfile.__pulumiType, name, resourceInputs, opts); } } exports.SamlServerProfile = SamlServerProfile; /** @internal */ SamlServerProfile.__pulumiType = 'scm:index/samlServerProfile:SamlServerProfile'; //# sourceMappingURL=samlServerProfile.js.map