1. Packages
  2. Onelogin Provider
  3. API Docs
  4. AuthServers
onelogin 0.5.4 published on Wednesday, Apr 30, 2025 by onelogin

onelogin.AuthServers

Explore with Pulumi AI

onelogin logo
onelogin 0.5.4 published on Wednesday, Apr 30, 2025 by onelogin

    Create AuthServers Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AuthServers(name: string, args: AuthServersArgs, opts?: CustomResourceOptions);
    @overload
    def AuthServers(resource_name: str,
                    args: AuthServersArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuthServers(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    configuration: Optional[AuthServersConfigurationArgs] = None,
                    description: Optional[str] = None,
                    auth_servers_id: Optional[str] = None,
                    name: Optional[str] = None)
    func NewAuthServers(ctx *Context, name string, args AuthServersArgs, opts ...ResourceOption) (*AuthServers, error)
    public AuthServers(string name, AuthServersArgs args, CustomResourceOptions? opts = null)
    public AuthServers(String name, AuthServersArgs args)
    public AuthServers(String name, AuthServersArgs args, CustomResourceOptions options)
    
    type: onelogin:AuthServers
    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 AuthServersArgs
    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 AuthServersArgs
    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 AuthServersArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthServersArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthServersArgs
    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 authServersResource = new Onelogin.AuthServers("authServersResource", new()
    {
        Configuration = new Onelogin.Inputs.AuthServersConfigurationArgs
        {
            Audiences = new[]
            {
                "string",
            },
            ResourceIdentifier = "string",
            AccessTokenExpirationMinutes = 0,
            RefreshTokenExpirationMinutes = 0,
        },
        Description = "string",
        AuthServersId = "string",
        Name = "string",
    });
    
    example, err := onelogin.NewAuthServers(ctx, "authServersResource", &onelogin.AuthServersArgs{
    	Configuration: &onelogin.AuthServersConfigurationArgs{
    		Audiences: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ResourceIdentifier:            pulumi.String("string"),
    		AccessTokenExpirationMinutes:  pulumi.Float64(0),
    		RefreshTokenExpirationMinutes: pulumi.Float64(0),
    	},
    	Description:   pulumi.String("string"),
    	AuthServersId: pulumi.String("string"),
    	Name:          pulumi.String("string"),
    })
    
    var authServersResource = new AuthServers("authServersResource", AuthServersArgs.builder()
        .configuration(AuthServersConfigurationArgs.builder()
            .audiences("string")
            .resourceIdentifier("string")
            .accessTokenExpirationMinutes(0)
            .refreshTokenExpirationMinutes(0)
            .build())
        .description("string")
        .authServersId("string")
        .name("string")
        .build());
    
    auth_servers_resource = onelogin.AuthServers("authServersResource",
        configuration={
            "audiences": ["string"],
            "resource_identifier": "string",
            "access_token_expiration_minutes": 0,
            "refresh_token_expiration_minutes": 0,
        },
        description="string",
        auth_servers_id="string",
        name="string")
    
    const authServersResource = new onelogin.AuthServers("authServersResource", {
        configuration: {
            audiences: ["string"],
            resourceIdentifier: "string",
            accessTokenExpirationMinutes: 0,
            refreshTokenExpirationMinutes: 0,
        },
        description: "string",
        authServersId: "string",
        name: "string",
    });
    
    type: onelogin:AuthServers
    properties:
        authServersId: string
        configuration:
            accessTokenExpirationMinutes: 0
            audiences:
                - string
            refreshTokenExpirationMinutes: 0
            resourceIdentifier: string
        description: string
        name: string
    

    AuthServers 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 AuthServers resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuthServers resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AuthServers Resource

    Get an existing AuthServers 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?: AuthServersState, opts?: CustomResourceOptions): AuthServers
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_servers_id: Optional[str] = None,
            configuration: Optional[AuthServersConfigurationArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None) -> AuthServers
    func GetAuthServers(ctx *Context, name string, id IDInput, state *AuthServersState, opts ...ResourceOption) (*AuthServers, error)
    public static AuthServers Get(string name, Input<string> id, AuthServersState? state, CustomResourceOptions? opts = null)
    public static AuthServers get(String name, Output<String> id, AuthServersState state, CustomResourceOptions options)
    resources:  _:    type: onelogin:AuthServers    get:      id: ${id}
    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.

    Supporting Types

    AuthServersConfiguration, AuthServersConfigurationArgs

    Package Details

    Repository
    onelogin onelogin/terraform-provider-onelogin
    License
    Notes
    This Pulumi package is based on the onelogin Terraform Provider.
    onelogin logo
    onelogin 0.5.4 published on Wednesday, Apr 30, 2025 by onelogin