Show / Hide Table of Contents

Class CreateHostnameDetails

The details of the hostname resource to add to a load balancer.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

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

Properties

Hostname

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

A virtual hostname. For more information about virtual hostname string construction, see Managing Request Routing.
Example: app.example.com

Remarks

Required

Name

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

A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential information.
Example: example_hostname_001

Remarks

Required

In this article
Back to top