Class BastionSummary
Summary information for a bastion resource. A bastion provides secured, public access to target resources in the cloud that you cannot otherwise reach from the internet. A bastion resides in a public subnet and establishes the network infrastructure needed to connect a user to a target resource in a private subnet.
Inherited Members
Namespace: Oci.BastionService.Models
Assembly: OCI.DotNetSDK.Bastion.dll
Syntax
public class BastionSummary
Properties
BastionType
Declaration
[Required(ErrorMessage = "BastionType is required.")]
[JsonProperty(PropertyName = "bastionType")]
public string BastionType { get; set; }
Property Value
Type | Description |
---|---|
string | The type of bastion. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the compartment where the bastion is located. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DnsProxyStatus
Declaration
[JsonProperty(PropertyName = "dnsProxyStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BastionDnsProxyStatus? DnsProxyStatus { get; set; }
Property Value
Type | Description |
---|---|
BastionDnsProxyStatus? | The current dns proxy status of the bastion. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the bastion, which can't be changed after creation. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BastionLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
BastionLifecycleState? | The current state of the bastion. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the bastion, which can't be changed after creation. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TargetSubnetId
Declaration
[Required(ErrorMessage = "TargetSubnetId is required.")]
[JsonProperty(PropertyName = "targetSubnetId")]
public string TargetSubnetId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the subnet that the bastion connects to. |
Remarks
Required
TargetVcnId
Declaration
[Required(ErrorMessage = "TargetVcnId is required.")]
[JsonProperty(PropertyName = "targetVcnId")]
public string TargetVcnId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects to. |
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 bastion was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the bastion was updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z |