HostnameDetails¶
- class oci.load_balancer.models.HostnameDetails(**kwargs)¶
Bases:
objectThe details of a hostname resource associated with a load balancer.
Methods:
__init__(**kwargs)Initializes a new HostnameDetails object with values from keyword arguments.
Attributes:
[Required] Gets the hostname of this HostnameDetails.
[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.
- property 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
- property 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