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.
Inherited Members
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.
|
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.
|
Remarks
Required