Interface IPolicyRule
Represents a PolicyRule resource in the Okta API.
Assembly: Okta.Sdk.dll
Syntax
public interface IPolicyRule : IResource
Properties
Actions
Declaration
IPolicyRuleActions Actions { get; set; }
Property Value
Conditions
Declaration
IPolicyRuleConditions Conditions { get; set; }
Property Value
Created
Declaration
DateTimeOffset? Created { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Id
Declaration
Property Value
Type |
Description |
System.String |
|
LastUpdated
Declaration
DateTimeOffset? LastUpdated { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Name
Declaration
string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Priority
Declaration
int? Priority { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Status
Declaration
string Status { get; set; }
Property Value
Type |
Description |
System.String |
|
System
Declaration
bool? System { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Type
Declaration
string Type { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
ActivateAsync(String, CancellationToken)
Declaration
Task ActivateAsync(string policyId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
policyId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DeactivateAsync(String, CancellationToken)
Declaration
Task DeactivateAsync(string policyId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
policyId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|