Class CreateHostedApplicationDetails
The details required to create a hosted application.
Inherited Members
Namespace: Oci.GenerativeaiService.Models
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class CreateHostedApplicationDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The compartment OCID for the Hosted Application. |
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.
For more information, see Resource Tags.
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The description for the Hosted Application. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The user-friendly display name for the Hosted Application. Does not need to be unique and can be updated after creation. |
Remarks
Required
EnvironmentVariables
Declaration
[JsonProperty(PropertyName = "environmentVariables")]
public List<EnvironmentVariable> EnvironmentVariables { get; set; }
Property Value
| Type | Description |
|---|---|
| List<EnvironmentVariable> | The list of environment variables for the Hosted Application. Defines a list of environment variables injected at runtime. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
InboundAuthConfig
Declaration
[JsonProperty(PropertyName = "inboundAuthConfig")]
public InboundAuthConfig InboundAuthConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| InboundAuthConfig |
NetworkingConfig
Declaration
[JsonProperty(PropertyName = "networkingConfig")]
public NetworkingConfig NetworkingConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| NetworkingConfig |
ScalingConfig
Declaration
[JsonProperty(PropertyName = "scalingConfig")]
public ScalingConfig ScalingConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| ScalingConfig |
StorageConfigs
Declaration
[JsonProperty(PropertyName = "storageConfigs")]
public List<StorageConfig> StorageConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| List<StorageConfig> | The list of storage configuration for the Hosted Application. Defines a list of service-managed storage back-ends. |