HostnameDetails

class oci.load_balancer.models.HostnameDetails(**kwargs)

Bases: object

The details of a hostname resource associated with a load balancer.

Methods

__init__(**kwargs) Initializes a new HostnameDetails object with values from keyword arguments.

Attributes

hostname [Required] Gets the hostname of this HostnameDetails.
name [Required] Gets the name of this HostnameDetails.
__init__(**kwargs)

Initializes a new HostnameDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this HostnameDetails.
  • hostname (str) – The value to assign to the hostname property of this HostnameDetails.
hostname

[Required] Gets the hostname of this HostnameDetails. A virtual hostname. For more information about virtual hostname string construction, see Managing Request Routing.

Example: app.example.com

Returns:The hostname of this HostnameDetails.
Return type:str
name

[Required] Gets the name of this HostnameDetails. The name of the hostname resource.

Example: example_hostname_001

Returns:The name of this HostnameDetails.
Return type:str