Class CloudFoundryApplicationOptions
- Namespace
- Steeltoe.Configuration.CloudFoundry
- Assembly
- Steeltoe.Configuration.CloudFoundry.dll
public sealed class CloudFoundryApplicationOptions : ApplicationInstanceInfo, IApplicationInstanceInfo
- Inheritance
-
CloudFoundryApplicationOptions
- Implements
- Inherited Members
Properties
Api
Gets or sets the location of the Cloud Controller API for the Cloud Foundry deployment where the app runs.
[ConfigurationKeyName("cf_api")]
public string? Api { get; set; }
Property Value
ApplicationId
Gets or sets the GUID identifying the app.
[ConfigurationKeyName("application_id")]
public string? ApplicationId { get; set; }
Property Value
ApplicationName
Gets or sets the name assigned to the app when it was pushed.
[ConfigurationKeyName("application_name")]
public override string? ApplicationName { get; set; }
Property Value
ApplicationVersion
Gets or sets the GUID identifying a version of the app. Each time an app is pushed or restarted, this value is updated.
[ConfigurationKeyName("application_version")]
public string? ApplicationVersion { get; set; }
Property Value
InstanceIP
Gets or sets the external IP address of the host running the app instance. Originates from the CF_INSTANCE_IP environment variable.
[ConfigurationKeyName("instance_ip")]
public string? InstanceIP { get; set; }
Property Value
InstanceId
Gets or sets the UUID of the app instance. Originates from the CF_INSTANCE_GUID environment variable.
[ConfigurationKeyName("instance_id")]
public string? InstanceId { get; set; }
Property Value
InstanceIndex
Gets or sets the zero-based index number of the app instance. Originates from the CF_INSTANCE_INDEX environment variable.
[ConfigurationKeyName("instance_index")]
public int InstanceIndex { get; set; }
Property Value
InstancePort
Gets or sets the external (host-side) port corresponding to the internal (container-side) port. Originates from the CF_INSTANCE_PORT environment variable.
[ConfigurationKeyName("port")]
public int InstancePort { get; set; }
Property Value
InternalIP
Gets or sets the internal IP address of the container running the app instance. Originates from the CF_INSTANCE_INTERNAL_IP environment variable.
[ConfigurationKeyName("internal_ip")]
public string? InternalIP { get; set; }
Property Value
Limits
Gets or sets the limits to disk space, number of files, and memory permitted to the app. Memory and disk space limits are supplied when the app is deployed, either on the command line or in the app manifest. The number of files allowed is operator-defined.
public ApplicationLimits? Limits { get; set; }
Property Value
OrganizationId
Gets or sets the GUID identifying the org where the app is deployed.
[ConfigurationKeyName("organization_id")]
public string? OrganizationId { get; set; }
Property Value
OrganizationName
Gets or sets the human-readable name of the org where the app is deployed.
[ConfigurationKeyName("organization_name")]
public string? OrganizationName { get; set; }
Property Value
ProcessId
Gets or sets the UID identifying the process. Only present in running application containers.
[ConfigurationKeyName("process_id")]
public string? ProcessId { get; set; }
Property Value
ProcessType
Gets or sets the type of process. Only present in running application containers.
[ConfigurationKeyName("process_type")]
public string? ProcessType { get; set; }
Property Value
SpaceId
Gets or sets the GUID identifying the space where the app is deployed.
[ConfigurationKeyName("space_id")]
public string? SpaceId { get; set; }
Property Value
SpaceName
Gets or sets the human-readable name of the space where the app is deployed.
[ConfigurationKeyName("space_name")]
public string? SpaceName { get; set; }
Property Value
Start
Gets or sets the human-readable timestamp for the time the instance was started. Not provided on Diego Cells.
[ConfigurationKeyName("start")]
public string? Start { get; set; }
Property Value
StartedAtTimestamp
Gets or sets the UNIX epoch timestamp for the time the instance was started. Not provided on Diego Cells.
[ConfigurationKeyName("started_at_timestamp")]
public long StartedAtTimestamp { get; set; }
Property Value
Uris
Gets the URIs assigned to the app.
[ConfigurationKeyName("application_uris")]
public IList<string> Uris { get; }