Class RuleIdpDiscovery
Creates an IdP Discovery Policy Rule.
This resource allows you to create and configure an IdP Discovery Policy Rule.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Policy.RuleIdpDiscovery("example", new Okta.Policy.RuleIdpDiscoveryArgs
{
IdpId = "<idp id>",
IdpType = "SAML2",
Policyid = "<policy id>",
Priority = 1,
UserIdentifierAttribute = "company",
UserIdentifierPatterns =
{
new Okta.Policy.Inputs.RuleIdpDiscoveryUserIdentifierPatternArgs
{
MatchType = "EQUALS",
Value = "Articulate",
},
},
UserIdentifierType = "ATTRIBUTE",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Policy
Assembly: Pulumi.Okta.dll
Syntax
public class RuleIdpDiscovery : CustomResource
Constructors
View SourceRuleIdpDiscovery(String, RuleIdpDiscoveryArgs, CustomResourceOptions)
Create a RuleIdpDiscovery resource with the given unique name, arguments, and options.
Declaration
public RuleIdpDiscovery(string name, RuleIdpDiscoveryArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RuleIdpDiscoveryArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAppExcludes
Applications to exclude in discovery rule
Declaration
public Output<ImmutableArray<RuleIdpDiscoveryAppExclude>> AppExcludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<RuleIdpDiscoveryAppExclude>> |
AppIncludes
Applications to include in discovery rule
Declaration
public Output<ImmutableArray<RuleIdpDiscoveryAppInclude>> AppIncludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<RuleIdpDiscoveryAppInclude>> |
IdpId
Declaration
public Output<string> IdpId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IdpType
Declaration
public Output<string> IdpType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Policy Rule Name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkConnection
Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".
Declaration
public Output<string> NetworkConnection { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkExcludes
The network zones to exclude. Conflicts with network_includes.
Declaration
public Output<ImmutableArray<string>> NetworkExcludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
NetworkIncludes
The network zones to include. Conflicts with network_excludes.
Declaration
public Output<ImmutableArray<string>> NetworkIncludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
PlatformIncludes
Declaration
public Output<ImmutableArray<RuleIdpDiscoveryPlatformInclude>> PlatformIncludes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<RuleIdpDiscoveryPlatformInclude>> |
Policyid
Policy ID.
Declaration
public Output<string> Policyid { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Priority
Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.
Declaration
public Output<int?> Priority { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Status
Policy Rule Status: "ACTIVE" or "INACTIVE".
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserIdentifierAttribute
Declaration
public Output<string> UserIdentifierAttribute { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserIdentifierPatterns
Declaration
public Output<ImmutableArray<RuleIdpDiscoveryUserIdentifierPattern>> UserIdentifierPatterns { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<RuleIdpDiscoveryUserIdentifierPattern>> |
UserIdentifierType
Declaration
public Output<string> UserIdentifierType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RuleIdpDiscoveryState, CustomResourceOptions)
Get an existing RuleIdpDiscovery resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RuleIdpDiscovery Get(string name, Input<string> id, RuleIdpDiscoveryState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RuleIdpDiscoveryState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RuleIdpDiscovery |