Show / Hide Table of Contents

Class ResourcePrincipalConfiguration

Resource Principal Session Token Details.

Inheritance
object
ResourcePrincipalConfiguration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.BdsService.Models
Assembly: OCI.DotNetSDK.Bds.dll
Syntax
public class ResourcePrincipalConfiguration

Properties

BdsInstanceId

Declaration
[Required(ErrorMessage = "BdsInstanceId is required.")]
[JsonProperty(PropertyName = "bdsInstanceId")]
public string BdsInstanceId { get; set; }
Property Value
Type Description
string

The OCID of the bdsInstance which is the parent resource id.

Remarks

Required

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The id of the ResourcePrincipalConfiguration.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ResourcePrincipalConfiguration.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
ResourcePrincipalConfiguration.LifecycleStateEnum?

The state of the ResourcePrincipalConfiguration.

Remarks

Required

SessionTokenLifeSpanDurationInHours

Declaration
[Required(ErrorMessage = "SessionTokenLifeSpanDurationInHours is required.")]
[JsonProperty(PropertyName = "sessionTokenLifeSpanDurationInHours")]
public int? SessionTokenLifeSpanDurationInHours { get; set; }
Property Value
Type Description
int?

Life span in hours of each resource principal session token.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.

Remarks

Required

TimeTokenExpiry

Declaration
[JsonProperty(PropertyName = "timeTokenExpiry")]
public DateTime? TimeTokenExpiry { get; set; }
Property Value
Type Description
DateTime?

the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.

TimeTokenRefreshed

Declaration
[JsonProperty(PropertyName = "timeTokenRefreshed")]
public DateTime? TimeTokenRefreshed { get; set; }
Property Value
Type Description
DateTime?

the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.

Remarks

Required

In this article
Back to top