okta.EndUserMyRequests
Import
$ pulumi import okta:index/endUserMyRequests:EndUserMyRequests example <request_id/entry_id>
Create EndUserMyRequests Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndUserMyRequests(name: string, args: EndUserMyRequestsArgs, opts?: CustomResourceOptions);
@overload
def EndUserMyRequests(resource_name: str,
args: EndUserMyRequestsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndUserMyRequests(resource_name: str,
opts: Optional[ResourceOptions] = None,
entry_id: Optional[str] = None,
requester_field_values: Optional[Sequence[EndUserMyRequestsRequesterFieldValueArgs]] = None)
func NewEndUserMyRequests(ctx *Context, name string, args EndUserMyRequestsArgs, opts ...ResourceOption) (*EndUserMyRequests, error)
public EndUserMyRequests(string name, EndUserMyRequestsArgs args, CustomResourceOptions? opts = null)
public EndUserMyRequests(String name, EndUserMyRequestsArgs args)
public EndUserMyRequests(String name, EndUserMyRequestsArgs args, CustomResourceOptions options)
type: okta:EndUserMyRequests
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 EndUserMyRequestsArgs
- 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 EndUserMyRequestsArgs
- 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 EndUserMyRequestsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndUserMyRequestsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndUserMyRequestsArgs
- 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 endUserMyRequestsResource = new Okta.EndUserMyRequests("endUserMyRequestsResource", new()
{
EntryId = "string",
RequesterFieldValues = new[]
{
new Okta.Inputs.EndUserMyRequestsRequesterFieldValueArgs
{
Id = "string",
Label = "string",
Type = "string",
Value = "string",
Values = new[]
{
"string",
},
},
},
});
example, err := okta.NewEndUserMyRequests(ctx, "endUserMyRequestsResource", &okta.EndUserMyRequestsArgs{
EntryId: pulumi.String("string"),
RequesterFieldValues: okta.EndUserMyRequestsRequesterFieldValueArray{
&okta.EndUserMyRequestsRequesterFieldValueArgs{
Id: pulumi.String("string"),
Label: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var endUserMyRequestsResource = new EndUserMyRequests("endUserMyRequestsResource", EndUserMyRequestsArgs.builder()
.entryId("string")
.requesterFieldValues(EndUserMyRequestsRequesterFieldValueArgs.builder()
.id("string")
.label("string")
.type("string")
.value("string")
.values("string")
.build())
.build());
end_user_my_requests_resource = okta.EndUserMyRequests("endUserMyRequestsResource",
entry_id="string",
requester_field_values=[{
"id": "string",
"label": "string",
"type": "string",
"value": "string",
"values": ["string"],
}])
const endUserMyRequestsResource = new okta.EndUserMyRequests("endUserMyRequestsResource", {
entryId: "string",
requesterFieldValues: [{
id: "string",
label: "string",
type: "string",
value: "string",
values: ["string"],
}],
});
type: okta:EndUserMyRequests
properties:
entryId: string
requesterFieldValues:
- id: string
label: string
type: string
value: string
values:
- string
EndUserMyRequests 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 EndUserMyRequests resource accepts the following input properties:
- Entry
Id string - The ID of the catalog entry for which the request is being made.
- Requester
Field List<EndValues User My Requests Requester Field Value> - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- Entry
Id string - The ID of the catalog entry for which the request is being made.
- Requester
Field []EndValues User My Requests Requester Field Value Args - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- entry
Id String - The ID of the catalog entry for which the request is being made.
- requester
Field List<EndValues User My Requests Requester Field Value> - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- entry
Id string - The ID of the catalog entry for which the request is being made.
- requester
Field EndValues User My Requests Requester Field Value[] - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- entry_
id str - The ID of the catalog entry for which the request is being made.
- requester_
field_ Sequence[Endvalues User My Requests Requester Field Value Args] - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- entry
Id String - The ID of the catalog entry for which the request is being made.
- requester
Field List<Property Map>Values - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
Outputs
All input properties are implicitly available as output properties. Additionally, the EndUserMyRequests resource produces the following output properties:
Look up Existing EndUserMyRequests Resource
Get an existing EndUserMyRequests 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?: EndUserMyRequestsState, opts?: CustomResourceOptions): EndUserMyRequests
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
entry_id: Optional[str] = None,
requester_field_values: Optional[Sequence[EndUserMyRequestsRequesterFieldValueArgs]] = None,
status: Optional[str] = None) -> EndUserMyRequests
func GetEndUserMyRequests(ctx *Context, name string, id IDInput, state *EndUserMyRequestsState, opts ...ResourceOption) (*EndUserMyRequests, error)
public static EndUserMyRequests Get(string name, Input<string> id, EndUserMyRequestsState? state, CustomResourceOptions? opts = null)
public static EndUserMyRequests get(String name, Output<String> id, EndUserMyRequestsState state, CustomResourceOptions options)
resources: _: type: okta:EndUserMyRequests 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.
- Entry
Id string - The ID of the catalog entry for which the request is being made.
- Requester
Field List<EndValues User My Requests Requester Field Value> - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- Status string
- The status of the request. Possible values include:
APPROVED
,CANCELED
,DENIED
,EXPIRED
,PENDING
,REJECTED
,SUBMITTED
- Entry
Id string - The ID of the catalog entry for which the request is being made.
- Requester
Field []EndValues User My Requests Requester Field Value Args - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- Status string
- The status of the request. Possible values include:
APPROVED
,CANCELED
,DENIED
,EXPIRED
,PENDING
,REJECTED
,SUBMITTED
- entry
Id String - The ID of the catalog entry for which the request is being made.
- requester
Field List<EndValues User My Requests Requester Field Value> - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- status String
- The status of the request. Possible values include:
APPROVED
,CANCELED
,DENIED
,EXPIRED
,PENDING
,REJECTED
,SUBMITTED
- entry
Id string - The ID of the catalog entry for which the request is being made.
- requester
Field EndValues User My Requests Requester Field Value[] - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- status string
- The status of the request. Possible values include:
APPROVED
,CANCELED
,DENIED
,EXPIRED
,PENDING
,REJECTED
,SUBMITTED
- entry_
id str - The ID of the catalog entry for which the request is being made.
- requester_
field_ Sequence[Endvalues User My Requests Requester Field Value Args] - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- status str
- The status of the request. Possible values include:
APPROVED
,CANCELED
,DENIED
,EXPIRED
,PENDING
,REJECTED
,SUBMITTED
- entry
Id String - The ID of the catalog entry for which the request is being made.
- requester
Field List<Property Map>Values - The requester input fields required by the approval system. Note: The fields required are determined by the approval system.
- status String
- The status of the request. Possible values include:
APPROVED
,CANCELED
,DENIED
,EXPIRED
,PENDING
,REJECTED
,SUBMITTED
Supporting Types
EndUserMyRequestsRequesterFieldValue, EndUserMyRequestsRequesterFieldValueArgs
- Id string
- The ID of a requesterField. This identifies the specific field in the approval system.
- Label string
- A human-readable description of requesterField. It's used for display purposes and is optional.
- Type string
- Type of value for the requester field. Valid values:
DURATION
,ISO_DATE
,MULTISELECT
,OKTA_USER_ID
,SELECT
,TEXT
. - Value string
- The value of requesterField, which depends on the type of the field. Used for single-value fields.
- Values List<string>
- The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of
value
.
- Id string
- The ID of a requesterField. This identifies the specific field in the approval system.
- Label string
- A human-readable description of requesterField. It's used for display purposes and is optional.
- Type string
- Type of value for the requester field. Valid values:
DURATION
,ISO_DATE
,MULTISELECT
,OKTA_USER_ID
,SELECT
,TEXT
. - Value string
- The value of requesterField, which depends on the type of the field. Used for single-value fields.
- Values []string
- The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of
value
.
- id String
- The ID of a requesterField. This identifies the specific field in the approval system.
- label String
- A human-readable description of requesterField. It's used for display purposes and is optional.
- type String
- Type of value for the requester field. Valid values:
DURATION
,ISO_DATE
,MULTISELECT
,OKTA_USER_ID
,SELECT
,TEXT
. - value String
- The value of requesterField, which depends on the type of the field. Used for single-value fields.
- values List<String>
- The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of
value
.
- id string
- The ID of a requesterField. This identifies the specific field in the approval system.
- label string
- A human-readable description of requesterField. It's used for display purposes and is optional.
- type string
- Type of value for the requester field. Valid values:
DURATION
,ISO_DATE
,MULTISELECT
,OKTA_USER_ID
,SELECT
,TEXT
. - value string
- The value of requesterField, which depends on the type of the field. Used for single-value fields.
- values string[]
- The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of
value
.
- id str
- The ID of a requesterField. This identifies the specific field in the approval system.
- label str
- A human-readable description of requesterField. It's used for display purposes and is optional.
- type str
- Type of value for the requester field. Valid values:
DURATION
,ISO_DATE
,MULTISELECT
,OKTA_USER_ID
,SELECT
,TEXT
. - value str
- The value of requesterField, which depends on the type of the field. Used for single-value fields.
- values Sequence[str]
- The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of
value
.
- id String
- The ID of a requesterField. This identifies the specific field in the approval system.
- label String
- A human-readable description of requesterField. It's used for display purposes and is optional.
- type String
- Type of value for the requester field. Valid values:
DURATION
,ISO_DATE
,MULTISELECT
,OKTA_USER_ID
,SELECT
,TEXT
. - value String
- The value of requesterField, which depends on the type of the field. Used for single-value fields.
- values List<String>
- The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of
value
.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.