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});
import pulumi
import pulumi_okta as okta
example = okta.OrgSupport("example", extend_by=1)
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
})
}
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,
});
});
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());
}
}
resources:
example:
type: okta:OrgSupport
properties:
extendBy: 1
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 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 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 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 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 String
- The unique name of the resource.
- args 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,
});
example, err := okta.NewOrgSupport(ctx, "orgSupportResource", &okta.OrgSupportArgs{
ExtendBy: pulumi.Int(0),
})
var orgSupportResource = new OrgSupport("orgSupportResource", OrgSupportArgs.builder()
.extendBy(0)
.build());
org_support_resource = okta.OrgSupport("orgSupportResource", extend_by=0)
const orgSupportResource = new okta.OrgSupport("orgSupportResource", {extendBy: 0});
type: okta:OrgSupport
properties:
extendBy: 0
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
The OrgSupport resource accepts the following input properties:
- Extend
By int - Number of days the support should be extended by
- Extend
By int - Number of days the support should be extended by
- extend
By Integer - Number of days the support should be extended by
- extend
By number - Number of days the support should be extended by
- extend_
by int - Number of days the support should be extended by
- extend
By 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)
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.
- Expiration string
- Expiration of Okta Support
- Extend
By int - Number of days the support should be extended by
- Status string
- Status of Okta Support
- Expiration string
- Expiration of Okta Support
- Extend
By int - Number of days the support should be extended by
- Status string
- Status of Okta Support
- expiration String
- Expiration of Okta Support
- extend
By Integer - Number of days the support should be extended by
- status String
- Status of Okta Support
- expiration string
- Expiration of Okta Support
- extend
By number - Number of days the support should be extended by
- status string
- Status of Okta Support
- expiration str
- Expiration of Okta Support
- extend_
by int - Number of days the support should be extended by
- status str
- Status of Okta Support
- expiration String
- Expiration of Okta Support
- extend
By 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.