scm.SamlServerProfile
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = new scm.SamlServerProfile("example", {});
import pulumi
import pulumi_scm as scm
example = scm.SamlServerProfile("example")
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scm.NewSamlServerProfile(ctx, "example", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var example = new Scm.SamlServerProfile("example");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.SamlServerProfile;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new SamlServerProfile("example");
}
}
resources:
example:
type: scm:SamlServerProfile
Create SamlServerProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SamlServerProfile(name: string, args: SamlServerProfileArgs, opts?: CustomResourceOptions);
@overload
def SamlServerProfile(resource_name: str,
args: SamlServerProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SamlServerProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
device: Optional[str] = None,
entity_id: Optional[str] = None,
folder: Optional[str] = None,
max_clock_skew: Optional[int] = None,
slo_bindings: Optional[str] = None,
snippet: Optional[str] = None,
sso_bindings: Optional[str] = None,
sso_url: Optional[str] = None,
validate_idp_certificate: Optional[bool] = None,
want_auth_requests_signed: Optional[bool] = None)
func NewSamlServerProfile(ctx *Context, name string, args SamlServerProfileArgs, opts ...ResourceOption) (*SamlServerProfile, error)
public SamlServerProfile(string name, SamlServerProfileArgs args, CustomResourceOptions? opts = null)
public SamlServerProfile(String name, SamlServerProfileArgs args)
public SamlServerProfile(String name, SamlServerProfileArgs args, CustomResourceOptions options)
type: scm:SamlServerProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SamlServerProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SamlServerProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SamlServerProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SamlServerProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SamlServerProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var samlServerProfileResource = new Scm.SamlServerProfile("samlServerProfileResource", new()
{
Certificate = "string",
Device = "string",
EntityId = "string",
Folder = "string",
MaxClockSkew = 0,
SloBindings = "string",
Snippet = "string",
SsoBindings = "string",
SsoUrl = "string",
ValidateIdpCertificate = false,
WantAuthRequestsSigned = false,
});
example, err := scm.NewSamlServerProfile(ctx, "samlServerProfileResource", &scm.SamlServerProfileArgs{
Certificate: pulumi.String("string"),
Device: pulumi.String("string"),
EntityId: pulumi.String("string"),
Folder: pulumi.String("string"),
MaxClockSkew: pulumi.Int(0),
SloBindings: pulumi.String("string"),
Snippet: pulumi.String("string"),
SsoBindings: pulumi.String("string"),
SsoUrl: pulumi.String("string"),
ValidateIdpCertificate: pulumi.Bool(false),
WantAuthRequestsSigned: pulumi.Bool(false),
})
var samlServerProfileResource = new SamlServerProfile("samlServerProfileResource", SamlServerProfileArgs.builder()
.certificate("string")
.device("string")
.entityId("string")
.folder("string")
.maxClockSkew(0)
.sloBindings("string")
.snippet("string")
.ssoBindings("string")
.ssoUrl("string")
.validateIdpCertificate(false)
.wantAuthRequestsSigned(false)
.build());
saml_server_profile_resource = scm.SamlServerProfile("samlServerProfileResource",
certificate="string",
device="string",
entity_id="string",
folder="string",
max_clock_skew=0,
slo_bindings="string",
snippet="string",
sso_bindings="string",
sso_url="string",
validate_idp_certificate=False,
want_auth_requests_signed=False)
const samlServerProfileResource = new scm.SamlServerProfile("samlServerProfileResource", {
certificate: "string",
device: "string",
entityId: "string",
folder: "string",
maxClockSkew: 0,
sloBindings: "string",
snippet: "string",
ssoBindings: "string",
ssoUrl: "string",
validateIdpCertificate: false,
wantAuthRequestsSigned: false,
});
type: scm:SamlServerProfile
properties:
certificate: string
device: string
entityId: string
folder: string
maxClockSkew: 0
sloBindings: string
snippet: string
ssoBindings: string
ssoUrl: string
validateIdpCertificate: false
wantAuthRequestsSigned: false
SamlServerProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SamlServerProfile resource accepts the following input properties:
- Certificate string
- The Certificate param. String length must not exceed 63 characters.
- Device string
- The Device param.
- Entity
Id string - The EntityId param. String length must be between 1 and 1024 characters.
- Folder string
- The Folder param.
- Max
Clock intSkew - The MaxClockSkew param. Value must be between 1 and 900.
- Slo
Bindings string - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - Snippet string
- The Snippet param.
- Sso
Bindings string - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - Sso
Url string - The SsoUrl param. String length must be between 1 and 255 characters.
- Validate
Idp boolCertificate - The ValidateIdpCertificate param.
- Want
Auth boolRequests Signed - The WantAuthRequestsSigned param.
- Certificate string
- The Certificate param. String length must not exceed 63 characters.
- Device string
- The Device param.
- Entity
Id string - The EntityId param. String length must be between 1 and 1024 characters.
- Folder string
- The Folder param.
- Max
Clock intSkew - The MaxClockSkew param. Value must be between 1 and 900.
- Slo
Bindings string - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - Snippet string
- The Snippet param.
- Sso
Bindings string - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - Sso
Url string - The SsoUrl param. String length must be between 1 and 255 characters.
- Validate
Idp boolCertificate - The ValidateIdpCertificate param.
- Want
Auth boolRequests Signed - The WantAuthRequestsSigned param.
- certificate String
- The Certificate param. String length must not exceed 63 characters.
- device String
- The Device param.
- entity
Id String - The EntityId param. String length must be between 1 and 1024 characters.
- folder String
- The Folder param.
- max
Clock IntegerSkew - The MaxClockSkew param. Value must be between 1 and 900.
- slo
Bindings String - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet String
- The Snippet param.
- sso
Bindings String - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso
Url String - The SsoUrl param. String length must be between 1 and 255 characters.
- validate
Idp BooleanCertificate - The ValidateIdpCertificate param.
- want
Auth BooleanRequests Signed - The WantAuthRequestsSigned param.
- certificate string
- The Certificate param. String length must not exceed 63 characters.
- device string
- The Device param.
- entity
Id string - The EntityId param. String length must be between 1 and 1024 characters.
- folder string
- The Folder param.
- max
Clock numberSkew - The MaxClockSkew param. Value must be between 1 and 900.
- slo
Bindings string - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet string
- The Snippet param.
- sso
Bindings string - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso
Url string - The SsoUrl param. String length must be between 1 and 255 characters.
- validate
Idp booleanCertificate - The ValidateIdpCertificate param.
- want
Auth booleanRequests Signed - The WantAuthRequestsSigned param.
- certificate str
- The Certificate param. String length must not exceed 63 characters.
- device str
- The Device param.
- entity_
id str - The EntityId param. String length must be between 1 and 1024 characters.
- folder str
- The Folder param.
- max_
clock_ intskew - The MaxClockSkew param. Value must be between 1 and 900.
- slo_
bindings str - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet str
- The Snippet param.
- sso_
bindings str - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso_
url str - The SsoUrl param. String length must be between 1 and 255 characters.
- validate_
idp_ boolcertificate - The ValidateIdpCertificate param.
- want_
auth_ boolrequests_ signed - The WantAuthRequestsSigned param.
- certificate String
- The Certificate param. String length must not exceed 63 characters.
- device String
- The Device param.
- entity
Id String - The EntityId param. String length must be between 1 and 1024 characters.
- folder String
- The Folder param.
- max
Clock NumberSkew - The MaxClockSkew param. Value must be between 1 and 900.
- slo
Bindings String - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet String
- The Snippet param.
- sso
Bindings String - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso
Url String - The SsoUrl param. String length must be between 1 and 255 characters.
- validate
Idp BooleanCertificate - The ValidateIdpCertificate param.
- want
Auth BooleanRequests Signed - The WantAuthRequestsSigned param.
Outputs
All input properties are implicitly available as output properties. Additionally, the SamlServerProfile resource produces the following output properties:
Look up Existing SamlServerProfile Resource
Get an existing SamlServerProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SamlServerProfileState, opts?: CustomResourceOptions): SamlServerProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
device: Optional[str] = None,
entity_id: Optional[str] = None,
folder: Optional[str] = None,
max_clock_skew: Optional[int] = None,
slo_bindings: Optional[str] = None,
snippet: Optional[str] = None,
sso_bindings: Optional[str] = None,
sso_url: Optional[str] = None,
tfid: Optional[str] = None,
validate_idp_certificate: Optional[bool] = None,
want_auth_requests_signed: Optional[bool] = None) -> SamlServerProfile
func GetSamlServerProfile(ctx *Context, name string, id IDInput, state *SamlServerProfileState, opts ...ResourceOption) (*SamlServerProfile, error)
public static SamlServerProfile Get(string name, Input<string> id, SamlServerProfileState? state, CustomResourceOptions? opts = null)
public static SamlServerProfile get(String name, Output<String> id, SamlServerProfileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Certificate string
- The Certificate param. String length must not exceed 63 characters.
- Device string
- The Device param.
- Entity
Id string - The EntityId param. String length must be between 1 and 1024 characters.
- Folder string
- The Folder param.
- Max
Clock intSkew - The MaxClockSkew param. Value must be between 1 and 900.
- Slo
Bindings string - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - Snippet string
- The Snippet param.
- Sso
Bindings string - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - Sso
Url string - The SsoUrl param. String length must be between 1 and 255 characters.
- Tfid string
- Validate
Idp boolCertificate - The ValidateIdpCertificate param.
- Want
Auth boolRequests Signed - The WantAuthRequestsSigned param.
- Certificate string
- The Certificate param. String length must not exceed 63 characters.
- Device string
- The Device param.
- Entity
Id string - The EntityId param. String length must be between 1 and 1024 characters.
- Folder string
- The Folder param.
- Max
Clock intSkew - The MaxClockSkew param. Value must be between 1 and 900.
- Slo
Bindings string - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - Snippet string
- The Snippet param.
- Sso
Bindings string - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - Sso
Url string - The SsoUrl param. String length must be between 1 and 255 characters.
- Tfid string
- Validate
Idp boolCertificate - The ValidateIdpCertificate param.
- Want
Auth boolRequests Signed - The WantAuthRequestsSigned param.
- certificate String
- The Certificate param. String length must not exceed 63 characters.
- device String
- The Device param.
- entity
Id String - The EntityId param. String length must be between 1 and 1024 characters.
- folder String
- The Folder param.
- max
Clock IntegerSkew - The MaxClockSkew param. Value must be between 1 and 900.
- slo
Bindings String - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet String
- The Snippet param.
- sso
Bindings String - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso
Url String - The SsoUrl param. String length must be between 1 and 255 characters.
- tfid String
- validate
Idp BooleanCertificate - The ValidateIdpCertificate param.
- want
Auth BooleanRequests Signed - The WantAuthRequestsSigned param.
- certificate string
- The Certificate param. String length must not exceed 63 characters.
- device string
- The Device param.
- entity
Id string - The EntityId param. String length must be between 1 and 1024 characters.
- folder string
- The Folder param.
- max
Clock numberSkew - The MaxClockSkew param. Value must be between 1 and 900.
- slo
Bindings string - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet string
- The Snippet param.
- sso
Bindings string - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso
Url string - The SsoUrl param. String length must be between 1 and 255 characters.
- tfid string
- validate
Idp booleanCertificate - The ValidateIdpCertificate param.
- want
Auth booleanRequests Signed - The WantAuthRequestsSigned param.
- certificate str
- The Certificate param. String length must not exceed 63 characters.
- device str
- The Device param.
- entity_
id str - The EntityId param. String length must be between 1 and 1024 characters.
- folder str
- The Folder param.
- max_
clock_ intskew - The MaxClockSkew param. Value must be between 1 and 900.
- slo_
bindings str - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet str
- The Snippet param.
- sso_
bindings str - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso_
url str - The SsoUrl param. String length must be between 1 and 255 characters.
- tfid str
- validate_
idp_ boolcertificate - The ValidateIdpCertificate param.
- want_
auth_ boolrequests_ signed - The WantAuthRequestsSigned param.
- certificate String
- The Certificate param. String length must not exceed 63 characters.
- device String
- The Device param.
- entity
Id String - The EntityId param. String length must be between 1 and 1024 characters.
- folder String
- The Folder param.
- max
Clock NumberSkew - The MaxClockSkew param. Value must be between 1 and 900.
- slo
Bindings String - The SloBindings param. String must be one of these:
"post"
,"redirect"
. - snippet String
- The Snippet param.
- sso
Bindings String - The SsoBindings param. String must be one of these:
"post"
,"redirect"
. - sso
Url String - The SsoUrl param. String length must be between 1 and 255 characters.
- tfid String
- validate
Idp BooleanCertificate - The ValidateIdpCertificate param.
- want
Auth BooleanRequests Signed - The WantAuthRequestsSigned param.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.