okta.RequestSequence
Manages request sequence. This resource allows you to read and delete an Okta request-sequence.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const test = new okta.RequestSequence("test", {
idProperty: "<sequence_id>",
resourceId: "<resource_id>",
});
import pulumi
import pulumi_okta as okta
test = okta.RequestSequence("test",
id_property="<sequence_id>",
resource_id="<resource_id>")
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := okta.NewRequestSequence(ctx, "test", &okta.RequestSequenceArgs{
IdProperty: pulumi.String("<sequence_id>"),
ResourceId: pulumi.String("<resource_id>"),
})
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 test = new Okta.RequestSequence("test", new()
{
IdProperty = "<sequence_id>",
ResourceId = "<resource_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.RequestSequence;
import com.pulumi.okta.RequestSequenceArgs;
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 test = new RequestSequence("test", RequestSequenceArgs.builder()
.idProperty("<sequence_id>")
.resourceId("<resource_id>")
.build());
}
}
resources:
test:
type: okta:RequestSequence
properties:
idProperty: <sequence_id>
resourceId: <resource_id>
Create RequestSequence Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RequestSequence(name: string, args: RequestSequenceArgs, opts?: CustomResourceOptions);
@overload
def RequestSequence(resource_name: str,
args: RequestSequenceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RequestSequence(resource_name: str,
opts: Optional[ResourceOptions] = None,
id_property: Optional[str] = None,
resource_id: Optional[str] = None)
func NewRequestSequence(ctx *Context, name string, args RequestSequenceArgs, opts ...ResourceOption) (*RequestSequence, error)
public RequestSequence(string name, RequestSequenceArgs args, CustomResourceOptions? opts = null)
public RequestSequence(String name, RequestSequenceArgs args)
public RequestSequence(String name, RequestSequenceArgs args, CustomResourceOptions options)
type: okta:RequestSequence
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 RequestSequenceArgs
- 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 RequestSequenceArgs
- 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 RequestSequenceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RequestSequenceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RequestSequenceArgs
- 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 requestSequenceResource = new Okta.RequestSequence("requestSequenceResource", new()
{
IdProperty = "string",
ResourceId = "string",
});
example, err := okta.NewRequestSequence(ctx, "requestSequenceResource", &okta.RequestSequenceArgs{
IdProperty: pulumi.String("string"),
ResourceId: pulumi.String("string"),
})
var requestSequenceResource = new RequestSequence("requestSequenceResource", RequestSequenceArgs.builder()
.idProperty("string")
.resourceId("string")
.build());
request_sequence_resource = okta.RequestSequence("requestSequenceResource",
id_property="string",
resource_id="string")
const requestSequenceResource = new okta.RequestSequence("requestSequenceResource", {
idProperty: "string",
resourceId: "string",
});
type: okta:RequestSequence
properties:
idProperty: string
resourceId: string
RequestSequence 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 RequestSequence resource accepts the following input properties:
- Id
Property string - The id of the sequence.Must be of 24 characters length.
- Resource
Id string - The id of the resource in Okta ID format.
- Id
Property string - The id of the sequence.Must be of 24 characters length.
- Resource
Id string - The id of the resource in Okta ID format.
- id
Property String - The id of the sequence.Must be of 24 characters length.
- resource
Id String - The id of the resource in Okta ID format.
- id
Property string - The id of the sequence.Must be of 24 characters length.
- resource
Id string - The id of the resource in Okta ID format.
- id_
property str - The id of the sequence.Must be of 24 characters length.
- resource_
id str - The id of the resource in Okta ID format.
- id
Property String - The id of the sequence.Must be of 24 characters length.
- resource
Id String - The id of the resource in Okta ID format.
Outputs
All input properties are implicitly available as output properties. Additionally, the RequestSequence resource produces the following output properties:
- Compatible
Resource List<string>Types - Enum:
APP
,GROUP
. - Description string
- The description of the request condition.
- Id string
- The provider-assigned unique ID for this managed resource.
- Link string
- Link to edit the request sequence.
- Name string
- The access duration settings for the request condition
- Compatible
Resource []stringTypes - Enum:
APP
,GROUP
. - Description string
- The description of the request condition.
- Id string
- The provider-assigned unique ID for this managed resource.
- Link string
- Link to edit the request sequence.
- Name string
- The access duration settings for the request condition
- compatible
Resource List<String>Types - Enum:
APP
,GROUP
. - description String
- The description of the request condition.
- id String
- The provider-assigned unique ID for this managed resource.
- link String
- Link to edit the request sequence.
- name String
- The access duration settings for the request condition
- compatible
Resource string[]Types - Enum:
APP
,GROUP
. - description string
- The description of the request condition.
- id string
- The provider-assigned unique ID for this managed resource.
- link string
- Link to edit the request sequence.
- name string
- The access duration settings for the request condition
- compatible_
resource_ Sequence[str]types - Enum:
APP
,GROUP
. - description str
- The description of the request condition.
- id str
- The provider-assigned unique ID for this managed resource.
- link str
- Link to edit the request sequence.
- name str
- The access duration settings for the request condition
- compatible
Resource List<String>Types - Enum:
APP
,GROUP
. - description String
- The description of the request condition.
- id String
- The provider-assigned unique ID for this managed resource.
- link String
- Link to edit the request sequence.
- name String
- The access duration settings for the request condition
Look up Existing RequestSequence Resource
Get an existing RequestSequence 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?: RequestSequenceState, opts?: CustomResourceOptions): RequestSequence
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compatible_resource_types: Optional[Sequence[str]] = None,
description: Optional[str] = None,
id_property: Optional[str] = None,
link: Optional[str] = None,
name: Optional[str] = None,
resource_id: Optional[str] = None) -> RequestSequence
func GetRequestSequence(ctx *Context, name string, id IDInput, state *RequestSequenceState, opts ...ResourceOption) (*RequestSequence, error)
public static RequestSequence Get(string name, Input<string> id, RequestSequenceState? state, CustomResourceOptions? opts = null)
public static RequestSequence get(String name, Output<String> id, RequestSequenceState state, CustomResourceOptions options)
resources: _: type: okta:RequestSequence 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.
- Compatible
Resource List<string>Types - Enum:
APP
,GROUP
. - Description string
- The description of the request condition.
- Id
Property string - The id of the sequence.Must be of 24 characters length.
- Link string
- Link to edit the request sequence.
- Name string
- The access duration settings for the request condition
- Resource
Id string - The id of the resource in Okta ID format.
- Compatible
Resource []stringTypes - Enum:
APP
,GROUP
. - Description string
- The description of the request condition.
- Id
Property string - The id of the sequence.Must be of 24 characters length.
- Link string
- Link to edit the request sequence.
- Name string
- The access duration settings for the request condition
- Resource
Id string - The id of the resource in Okta ID format.
- compatible
Resource List<String>Types - Enum:
APP
,GROUP
. - description String
- The description of the request condition.
- id
Property String - The id of the sequence.Must be of 24 characters length.
- link String
- Link to edit the request sequence.
- name String
- The access duration settings for the request condition
- resource
Id String - The id of the resource in Okta ID format.
- compatible
Resource string[]Types - Enum:
APP
,GROUP
. - description string
- The description of the request condition.
- id
Property string - The id of the sequence.Must be of 24 characters length.
- link string
- Link to edit the request sequence.
- name string
- The access duration settings for the request condition
- resource
Id string - The id of the resource in Okta ID format.
- compatible_
resource_ Sequence[str]types - Enum:
APP
,GROUP
. - description str
- The description of the request condition.
- id_
property str - The id of the sequence.Must be of 24 characters length.
- link str
- Link to edit the request sequence.
- name str
- The access duration settings for the request condition
- resource_
id str - The id of the resource in Okta ID format.
- compatible
Resource List<String>Types - Enum:
APP
,GROUP
. - description String
- The description of the request condition.
- id
Property String - The id of the sequence.Must be of 24 characters length.
- link String
- Link to edit the request sequence.
- name String
- The access duration settings for the request condition
- resource
Id String - The id of the resource in Okta ID format.
Import
$ pulumi import okta:index/requestSequence:RequestSequence example <resource_id>/<id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.