1. Packages
  2. Okta Provider
  3. API Docs
  4. OrgSupport
Okta v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi

okta.OrgSupport

Explore with Pulumi AI

Manages Okta Support access your org This resource allows you to temporarily allow Okta Support to access your org as an administrator. By default, access will be granted for eight hours. Removing this resource will revoke Okta Support access to your org.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const example = new okta.OrgSupport("example", {extendBy: 1});
Copy
import pulumi
import pulumi_okta as okta

example = okta.OrgSupport("example", extend_by=1)
Copy
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v4/go/okta"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewOrgSupport(ctx, "example", &okta.OrgSupportArgs{
			ExtendBy: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;

return await Deployment.RunAsync(() => 
{
    var example = new Okta.OrgSupport("example", new()
    {
        ExtendBy = 1,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OrgSupport;
import com.pulumi.okta.OrgSupportArgs;
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 OrgSupport("example", OrgSupportArgs.builder()
            .extendBy(1)
            .build());

    }
}
Copy
resources:
  example:
    type: okta:OrgSupport
    properties:
      extendBy: 1
Copy

Create OrgSupport Resource

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

Constructor syntax

new OrgSupport(name: string, args?: OrgSupportArgs, opts?: CustomResourceOptions);
@overload
def OrgSupport(resource_name: str,
               args: Optional[OrgSupportArgs] = None,
               opts: Optional[ResourceOptions] = None)

@overload
def OrgSupport(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               extend_by: Optional[int] = None)
func NewOrgSupport(ctx *Context, name string, args *OrgSupportArgs, opts ...ResourceOption) (*OrgSupport, error)
public OrgSupport(string name, OrgSupportArgs? args = null, CustomResourceOptions? opts = null)
public OrgSupport(String name, OrgSupportArgs args)
public OrgSupport(String name, OrgSupportArgs args, CustomResourceOptions options)
type: okta:OrgSupport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args OrgSupportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args OrgSupportArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args OrgSupportArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args OrgSupportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OrgSupportArgs
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 orgSupportResource = new Okta.OrgSupport("orgSupportResource", new()
{
    ExtendBy = 0,
});
Copy
example, err := okta.NewOrgSupport(ctx, "orgSupportResource", &okta.OrgSupportArgs{
	ExtendBy: pulumi.Int(0),
})
Copy
var orgSupportResource = new OrgSupport("orgSupportResource", OrgSupportArgs.builder()
    .extendBy(0)
    .build());
Copy
org_support_resource = okta.OrgSupport("orgSupportResource", extend_by=0)
Copy
const orgSupportResource = new okta.OrgSupport("orgSupportResource", {extendBy: 0});
Copy
type: okta:OrgSupport
properties:
    extendBy: 0
Copy

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

ExtendBy Changes to this property will trigger replacement. int
Number of days the support should be extended by
ExtendBy Changes to this property will trigger replacement. int
Number of days the support should be extended by
extendBy Changes to this property will trigger replacement. Integer
Number of days the support should be extended by
extendBy Changes to this property will trigger replacement. number
Number of days the support should be extended by
extend_by Changes to this property will trigger replacement. int
Number of days the support should be extended by
extendBy Changes to this property will trigger replacement. Number
Number of days the support should be extended by

Outputs

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

Expiration string
Expiration of Okta Support
Id string
The provider-assigned unique ID for this managed resource.
Status string
Status of Okta Support
Expiration string
Expiration of Okta Support
Id string
The provider-assigned unique ID for this managed resource.
Status string
Status of Okta Support
expiration String
Expiration of Okta Support
id String
The provider-assigned unique ID for this managed resource.
status String
Status of Okta Support
expiration string
Expiration of Okta Support
id string
The provider-assigned unique ID for this managed resource.
status string
Status of Okta Support
expiration str
Expiration of Okta Support
id str
The provider-assigned unique ID for this managed resource.
status str
Status of Okta Support
expiration String
Expiration of Okta Support
id String
The provider-assigned unique ID for this managed resource.
status String
Status of Okta Support

Look up Existing OrgSupport Resource

Get an existing OrgSupport 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?: OrgSupportState, opts?: CustomResourceOptions): OrgSupport
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        expiration: Optional[str] = None,
        extend_by: Optional[int] = None,
        status: Optional[str] = None) -> OrgSupport
func GetOrgSupport(ctx *Context, name string, id IDInput, state *OrgSupportState, opts ...ResourceOption) (*OrgSupport, error)
public static OrgSupport Get(string name, Input<string> id, OrgSupportState? state, CustomResourceOptions? opts = null)
public static OrgSupport get(String name, Output<String> id, OrgSupportState state, CustomResourceOptions options)
resources:  _:    type: okta:OrgSupport    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Expiration string
Expiration of Okta Support
ExtendBy Changes to this property will trigger replacement. int
Number of days the support should be extended by
Status string
Status of Okta Support
Expiration string
Expiration of Okta Support
ExtendBy Changes to this property will trigger replacement. int
Number of days the support should be extended by
Status string
Status of Okta Support
expiration String
Expiration of Okta Support
extendBy Changes to this property will trigger replacement. Integer
Number of days the support should be extended by
status String
Status of Okta Support
expiration string
Expiration of Okta Support
extendBy Changes to this property will trigger replacement. number
Number of days the support should be extended by
status string
Status of Okta Support
expiration str
Expiration of Okta Support
extend_by Changes to this property will trigger replacement. int
Number of days the support should be extended by
status str
Status of Okta Support
expiration String
Expiration of Okta Support
extendBy Changes to this property will trigger replacement. Number
Number of days the support should be extended by
status String
Status of Okta Support

Package Details

Repository
Okta pulumi/pulumi-okta
License
Apache-2.0
Notes
This Pulumi package is based on the okta Terraform Provider.