...

Package networkloadbalancer

import "github.com/oracle/oci-go-sdk/networkloadbalancer"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetBackendHealthStatusEnumStringValues() []string
func GetBackendSetHealthStatusEnumStringValues() []string
func GetDnsHealthCheckQueryClassesEnumStringValues() []string
func GetDnsHealthCheckQueryTypesEnumStringValues() []string
func GetDnsHealthCheckRCodesEnumStringValues() []string
func GetDnsHealthCheckTransportProtocolsEnumStringValues() []string
func GetHcsInfraIpVersionEnumStringValues() []string
func GetHealthCheckProtocolsEnumStringValues() []string
func GetHealthCheckResultHealthCheckStatusEnumStringValues() []string
func GetIpVersionEnumStringValues() []string
func GetLifecycleStateEnumStringValues() []string
func GetListBackendSetsSortByEnumStringValues() []string
func GetListBackendSetsSortOrderEnumStringValues() []string
func GetListBackendsSortByEnumStringValues() []string
func GetListBackendsSortOrderEnumStringValues() []string
func GetListListenersSortByEnumStringValues() []string
func GetListListenersSortOrderEnumStringValues() []string
func GetListNetworkLoadBalancerHealthsSortByEnumStringValues() []string
func GetListNetworkLoadBalancerHealthsSortOrderEnumStringValues() []string
func GetListNetworkLoadBalancersLifecycleStateEnumStringValues() []string
func GetListNetworkLoadBalancersPoliciesSortByEnumStringValues() []string
func GetListNetworkLoadBalancersPoliciesSortOrderEnumStringValues() []string
func GetListNetworkLoadBalancersProtocolsSortByEnumStringValues() []string
func GetListNetworkLoadBalancersProtocolsSortOrderEnumStringValues() []string
func GetListNetworkLoadBalancersSortByEnumStringValues() []string
func GetListNetworkLoadBalancersSortOrderEnumStringValues() []string
func GetListenerProtocolsEnumStringValues() []string
func GetNetworkLoadBalancerHealthStatusEnumStringValues() []string
func GetNetworkLoadBalancerHealthSummaryStatusEnumStringValues() []string
func GetNetworkLoadBalancersPolicySummaryEnumStringValues() []string
func GetNetworkLoadBalancersProtocolSummaryEnumStringValues() []string
func GetNetworkLoadBalancingPolicyEnumStringValues() []string
func GetNlbIpVersionEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type Backend
    func (m Backend) String() string
    func (m Backend) ValidateEnumValue() (bool, error)
type BackendCollection
    func (m BackendCollection) String() string
    func (m BackendCollection) ValidateEnumValue() (bool, error)
type BackendDetails
    func (m BackendDetails) String() string
    func (m BackendDetails) ValidateEnumValue() (bool, error)
type BackendHealth
    func (m BackendHealth) String() string
    func (m BackendHealth) ValidateEnumValue() (bool, error)
type BackendHealthStatusEnum
    func GetBackendHealthStatusEnumValues() []BackendHealthStatusEnum
    func GetMappingBackendHealthStatusEnum(val string) (BackendHealthStatusEnum, bool)
type BackendSet
    func (m BackendSet) String() string
    func (m BackendSet) ValidateEnumValue() (bool, error)
type BackendSetCollection
    func (m BackendSetCollection) String() string
    func (m BackendSetCollection) ValidateEnumValue() (bool, error)
type BackendSetDetails
    func (m BackendSetDetails) String() string
    func (m BackendSetDetails) ValidateEnumValue() (bool, error)
type BackendSetHealth
    func (m BackendSetHealth) String() string
    func (m BackendSetHealth) ValidateEnumValue() (bool, error)
type BackendSetHealthStatusEnum
    func GetBackendSetHealthStatusEnumValues() []BackendSetHealthStatusEnum
    func GetMappingBackendSetHealthStatusEnum(val string) (BackendSetHealthStatusEnum, bool)
type BackendSetSummary
    func (m BackendSetSummary) String() string
    func (m BackendSetSummary) ValidateEnumValue() (bool, error)
type BackendSummary
    func (m BackendSummary) String() string
    func (m BackendSummary) ValidateEnumValue() (bool, error)
type ChangeNetworkLoadBalancerCompartmentDetails
    func (m ChangeNetworkLoadBalancerCompartmentDetails) String() string
    func (m ChangeNetworkLoadBalancerCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeNetworkLoadBalancerCompartmentRequest
    func (request ChangeNetworkLoadBalancerCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeNetworkLoadBalancerCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeNetworkLoadBalancerCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeNetworkLoadBalancerCompartmentRequest) String() string
    func (request ChangeNetworkLoadBalancerCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeNetworkLoadBalancerCompartmentResponse
    func (response ChangeNetworkLoadBalancerCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeNetworkLoadBalancerCompartmentResponse) String() string
type CreateBackendDetails
    func (m CreateBackendDetails) String() string
    func (m CreateBackendDetails) ValidateEnumValue() (bool, error)
type CreateBackendRequest
    func (request CreateBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBackendRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBackendRequest) String() string
    func (request CreateBackendRequest) ValidateEnumValue() (bool, error)
type CreateBackendResponse
    func (response CreateBackendResponse) HTTPResponse() *http.Response
    func (response CreateBackendResponse) String() string
type CreateBackendSetDetails
    func (m CreateBackendSetDetails) String() string
    func (m CreateBackendSetDetails) ValidateEnumValue() (bool, error)
type CreateBackendSetRequest
    func (request CreateBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBackendSetRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBackendSetRequest) String() string
    func (request CreateBackendSetRequest) ValidateEnumValue() (bool, error)
type CreateBackendSetResponse
    func (response CreateBackendSetResponse) HTTPResponse() *http.Response
    func (response CreateBackendSetResponse) String() string
type CreateListenerDetails
    func (m CreateListenerDetails) String() string
    func (m CreateListenerDetails) ValidateEnumValue() (bool, error)
type CreateListenerRequest
    func (request CreateListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateListenerRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateListenerRequest) String() string
    func (request CreateListenerRequest) ValidateEnumValue() (bool, error)
type CreateListenerResponse
    func (response CreateListenerResponse) HTTPResponse() *http.Response
    func (response CreateListenerResponse) String() string
type CreateNetworkLoadBalancerDetails
    func (m CreateNetworkLoadBalancerDetails) String() string
    func (m CreateNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error)
type CreateNetworkLoadBalancerRequest
    func (request CreateNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateNetworkLoadBalancerRequest) String() string
    func (request CreateNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)
type CreateNetworkLoadBalancerResponse
    func (response CreateNetworkLoadBalancerResponse) HTTPResponse() *http.Response
    func (response CreateNetworkLoadBalancerResponse) String() string
type DeleteBackendRequest
    func (request DeleteBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBackendRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBackendRequest) String() string
    func (request DeleteBackendRequest) ValidateEnumValue() (bool, error)
type DeleteBackendResponse
    func (response DeleteBackendResponse) HTTPResponse() *http.Response
    func (response DeleteBackendResponse) String() string
type DeleteBackendSetRequest
    func (request DeleteBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBackendSetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBackendSetRequest) String() string
    func (request DeleteBackendSetRequest) ValidateEnumValue() (bool, error)
type DeleteBackendSetResponse
    func (response DeleteBackendSetResponse) HTTPResponse() *http.Response
    func (response DeleteBackendSetResponse) String() string
type DeleteListenerRequest
    func (request DeleteListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteListenerRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteListenerRequest) String() string
    func (request DeleteListenerRequest) ValidateEnumValue() (bool, error)
type DeleteListenerResponse
    func (response DeleteListenerResponse) HTTPResponse() *http.Response
    func (response DeleteListenerResponse) String() string
type DeleteNetworkLoadBalancerRequest
    func (request DeleteNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteNetworkLoadBalancerRequest) String() string
    func (request DeleteNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)
type DeleteNetworkLoadBalancerResponse
    func (response DeleteNetworkLoadBalancerResponse) HTTPResponse() *http.Response
    func (response DeleteNetworkLoadBalancerResponse) String() string
type DnsHealthCheckQueryClassesEnum
    func GetDnsHealthCheckQueryClassesEnumValues() []DnsHealthCheckQueryClassesEnum
    func GetMappingDnsHealthCheckQueryClassesEnum(val string) (DnsHealthCheckQueryClassesEnum, bool)
type DnsHealthCheckQueryTypesEnum
    func GetDnsHealthCheckQueryTypesEnumValues() []DnsHealthCheckQueryTypesEnum
    func GetMappingDnsHealthCheckQueryTypesEnum(val string) (DnsHealthCheckQueryTypesEnum, bool)
type DnsHealthCheckRCodesEnum
    func GetDnsHealthCheckRCodesEnumValues() []DnsHealthCheckRCodesEnum
    func GetMappingDnsHealthCheckRCodesEnum(val string) (DnsHealthCheckRCodesEnum, bool)
type DnsHealthCheckTransportProtocolsEnum
    func GetDnsHealthCheckTransportProtocolsEnumValues() []DnsHealthCheckTransportProtocolsEnum
    func GetMappingDnsHealthCheckTransportProtocolsEnum(val string) (DnsHealthCheckTransportProtocolsEnum, bool)
type DnsHealthCheckerDetails
    func (m DnsHealthCheckerDetails) String() string
    func (m DnsHealthCheckerDetails) ValidateEnumValue() (bool, error)
type GetBackendHealthRequest
    func (request GetBackendHealthRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBackendHealthRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBackendHealthRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBackendHealthRequest) String() string
    func (request GetBackendHealthRequest) ValidateEnumValue() (bool, error)
type GetBackendHealthResponse
    func (response GetBackendHealthResponse) HTTPResponse() *http.Response
    func (response GetBackendHealthResponse) String() string
type GetBackendRequest
    func (request GetBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBackendRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBackendRequest) String() string
    func (request GetBackendRequest) ValidateEnumValue() (bool, error)
type GetBackendResponse
    func (response GetBackendResponse) HTTPResponse() *http.Response
    func (response GetBackendResponse) String() string
type GetBackendSetHealthRequest
    func (request GetBackendSetHealthRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBackendSetHealthRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBackendSetHealthRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBackendSetHealthRequest) String() string
    func (request GetBackendSetHealthRequest) ValidateEnumValue() (bool, error)
type GetBackendSetHealthResponse
    func (response GetBackendSetHealthResponse) HTTPResponse() *http.Response
    func (response GetBackendSetHealthResponse) String() string
type GetBackendSetRequest
    func (request GetBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBackendSetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBackendSetRequest) String() string
    func (request GetBackendSetRequest) ValidateEnumValue() (bool, error)
type GetBackendSetResponse
    func (response GetBackendSetResponse) HTTPResponse() *http.Response
    func (response GetBackendSetResponse) String() string
type GetHealthCheckerRequest
    func (request GetHealthCheckerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetHealthCheckerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetHealthCheckerRequest) RetryPolicy() *common.RetryPolicy
    func (request GetHealthCheckerRequest) String() string
    func (request GetHealthCheckerRequest) ValidateEnumValue() (bool, error)
type GetHealthCheckerResponse
    func (response GetHealthCheckerResponse) HTTPResponse() *http.Response
    func (response GetHealthCheckerResponse) String() string
type GetListenerRequest
    func (request GetListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetListenerRequest) RetryPolicy() *common.RetryPolicy
    func (request GetListenerRequest) String() string
    func (request GetListenerRequest) ValidateEnumValue() (bool, error)
type GetListenerResponse
    func (response GetListenerResponse) HTTPResponse() *http.Response
    func (response GetListenerResponse) String() string
type GetNetworkLoadBalancerHealthRequest
    func (request GetNetworkLoadBalancerHealthRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNetworkLoadBalancerHealthRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNetworkLoadBalancerHealthRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNetworkLoadBalancerHealthRequest) String() string
    func (request GetNetworkLoadBalancerHealthRequest) ValidateEnumValue() (bool, error)
type GetNetworkLoadBalancerHealthResponse
    func (response GetNetworkLoadBalancerHealthResponse) HTTPResponse() *http.Response
    func (response GetNetworkLoadBalancerHealthResponse) String() string
type GetNetworkLoadBalancerRequest
    func (request GetNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNetworkLoadBalancerRequest) String() string
    func (request GetNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)
type GetNetworkLoadBalancerResponse
    func (response GetNetworkLoadBalancerResponse) HTTPResponse() *http.Response
    func (response GetNetworkLoadBalancerResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type HcsInfraIpVersionEnum
    func GetHcsInfraIpVersionEnumValues() []HcsInfraIpVersionEnum
    func GetMappingHcsInfraIpVersionEnum(val string) (HcsInfraIpVersionEnum, bool)
type HealthCheckProtocolsEnum
    func GetHealthCheckProtocolsEnumValues() []HealthCheckProtocolsEnum
    func GetMappingHealthCheckProtocolsEnum(val string) (HealthCheckProtocolsEnum, bool)
type HealthCheckResult
    func (m HealthCheckResult) String() string
    func (m HealthCheckResult) ValidateEnumValue() (bool, error)
type HealthCheckResultHealthCheckStatusEnum
    func GetHealthCheckResultHealthCheckStatusEnumValues() []HealthCheckResultHealthCheckStatusEnum
    func GetMappingHealthCheckResultHealthCheckStatusEnum(val string) (HealthCheckResultHealthCheckStatusEnum, bool)
type HealthChecker
    func (m HealthChecker) String() string
    func (m HealthChecker) ValidateEnumValue() (bool, error)
type HealthCheckerDetails
    func (m HealthCheckerDetails) String() string
    func (m HealthCheckerDetails) ValidateEnumValue() (bool, error)
type IpAddress
    func (m IpAddress) String() string
    func (m IpAddress) ValidateEnumValue() (bool, error)
type IpVersionEnum
    func GetIpVersionEnumValues() []IpVersionEnum
    func GetMappingIpVersionEnum(val string) (IpVersionEnum, bool)
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []LifecycleStateEnum
    func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
type ListBackendSetsRequest
    func (request ListBackendSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBackendSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBackendSetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBackendSetsRequest) String() string
    func (request ListBackendSetsRequest) ValidateEnumValue() (bool, error)
type ListBackendSetsResponse
    func (response ListBackendSetsResponse) HTTPResponse() *http.Response
    func (response ListBackendSetsResponse) String() string
type ListBackendSetsSortByEnum
    func GetListBackendSetsSortByEnumValues() []ListBackendSetsSortByEnum
    func GetMappingListBackendSetsSortByEnum(val string) (ListBackendSetsSortByEnum, bool)
type ListBackendSetsSortOrderEnum
    func GetListBackendSetsSortOrderEnumValues() []ListBackendSetsSortOrderEnum
    func GetMappingListBackendSetsSortOrderEnum(val string) (ListBackendSetsSortOrderEnum, bool)
type ListBackendsRequest
    func (request ListBackendsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBackendsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBackendsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBackendsRequest) String() string
    func (request ListBackendsRequest) ValidateEnumValue() (bool, error)
type ListBackendsResponse
    func (response ListBackendsResponse) HTTPResponse() *http.Response
    func (response ListBackendsResponse) String() string
type ListBackendsSortByEnum
    func GetListBackendsSortByEnumValues() []ListBackendsSortByEnum
    func GetMappingListBackendsSortByEnum(val string) (ListBackendsSortByEnum, bool)
type ListBackendsSortOrderEnum
    func GetListBackendsSortOrderEnumValues() []ListBackendsSortOrderEnum
    func GetMappingListBackendsSortOrderEnum(val string) (ListBackendsSortOrderEnum, bool)
type ListListenersRequest
    func (request ListListenersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListListenersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListListenersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListListenersRequest) String() string
    func (request ListListenersRequest) ValidateEnumValue() (bool, error)
type ListListenersResponse
    func (response ListListenersResponse) HTTPResponse() *http.Response
    func (response ListListenersResponse) String() string
type ListListenersSortByEnum
    func GetListListenersSortByEnumValues() []ListListenersSortByEnum
    func GetMappingListListenersSortByEnum(val string) (ListListenersSortByEnum, bool)
type ListListenersSortOrderEnum
    func GetListListenersSortOrderEnumValues() []ListListenersSortOrderEnum
    func GetMappingListListenersSortOrderEnum(val string) (ListListenersSortOrderEnum, bool)
type ListNetworkLoadBalancerHealthsRequest
    func (request ListNetworkLoadBalancerHealthsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkLoadBalancerHealthsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkLoadBalancerHealthsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkLoadBalancerHealthsRequest) String() string
    func (request ListNetworkLoadBalancerHealthsRequest) ValidateEnumValue() (bool, error)
type ListNetworkLoadBalancerHealthsResponse
    func (response ListNetworkLoadBalancerHealthsResponse) HTTPResponse() *http.Response
    func (response ListNetworkLoadBalancerHealthsResponse) String() string
type ListNetworkLoadBalancerHealthsSortByEnum
    func GetListNetworkLoadBalancerHealthsSortByEnumValues() []ListNetworkLoadBalancerHealthsSortByEnum
    func GetMappingListNetworkLoadBalancerHealthsSortByEnum(val string) (ListNetworkLoadBalancerHealthsSortByEnum, bool)
type ListNetworkLoadBalancerHealthsSortOrderEnum
    func GetListNetworkLoadBalancerHealthsSortOrderEnumValues() []ListNetworkLoadBalancerHealthsSortOrderEnum
    func GetMappingListNetworkLoadBalancerHealthsSortOrderEnum(val string) (ListNetworkLoadBalancerHealthsSortOrderEnum, bool)
type ListNetworkLoadBalancersLifecycleStateEnum
    func GetListNetworkLoadBalancersLifecycleStateEnumValues() []ListNetworkLoadBalancersLifecycleStateEnum
    func GetMappingListNetworkLoadBalancersLifecycleStateEnum(val string) (ListNetworkLoadBalancersLifecycleStateEnum, bool)
type ListNetworkLoadBalancersPoliciesRequest
    func (request ListNetworkLoadBalancersPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkLoadBalancersPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkLoadBalancersPoliciesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkLoadBalancersPoliciesRequest) String() string
    func (request ListNetworkLoadBalancersPoliciesRequest) ValidateEnumValue() (bool, error)
type ListNetworkLoadBalancersPoliciesResponse
    func (response ListNetworkLoadBalancersPoliciesResponse) HTTPResponse() *http.Response
    func (response ListNetworkLoadBalancersPoliciesResponse) String() string
type ListNetworkLoadBalancersPoliciesSortByEnum
    func GetListNetworkLoadBalancersPoliciesSortByEnumValues() []ListNetworkLoadBalancersPoliciesSortByEnum
    func GetMappingListNetworkLoadBalancersPoliciesSortByEnum(val string) (ListNetworkLoadBalancersPoliciesSortByEnum, bool)
type ListNetworkLoadBalancersPoliciesSortOrderEnum
    func GetListNetworkLoadBalancersPoliciesSortOrderEnumValues() []ListNetworkLoadBalancersPoliciesSortOrderEnum
    func GetMappingListNetworkLoadBalancersPoliciesSortOrderEnum(val string) (ListNetworkLoadBalancersPoliciesSortOrderEnum, bool)
type ListNetworkLoadBalancersProtocolsRequest
    func (request ListNetworkLoadBalancersProtocolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkLoadBalancersProtocolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkLoadBalancersProtocolsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkLoadBalancersProtocolsRequest) String() string
    func (request ListNetworkLoadBalancersProtocolsRequest) ValidateEnumValue() (bool, error)
type ListNetworkLoadBalancersProtocolsResponse
    func (response ListNetworkLoadBalancersProtocolsResponse) HTTPResponse() *http.Response
    func (response ListNetworkLoadBalancersProtocolsResponse) String() string
type ListNetworkLoadBalancersProtocolsSortByEnum
    func GetListNetworkLoadBalancersProtocolsSortByEnumValues() []ListNetworkLoadBalancersProtocolsSortByEnum
    func GetMappingListNetworkLoadBalancersProtocolsSortByEnum(val string) (ListNetworkLoadBalancersProtocolsSortByEnum, bool)
type ListNetworkLoadBalancersProtocolsSortOrderEnum
    func GetListNetworkLoadBalancersProtocolsSortOrderEnumValues() []ListNetworkLoadBalancersProtocolsSortOrderEnum
    func GetMappingListNetworkLoadBalancersProtocolsSortOrderEnum(val string) (ListNetworkLoadBalancersProtocolsSortOrderEnum, bool)
type ListNetworkLoadBalancersRequest
    func (request ListNetworkLoadBalancersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkLoadBalancersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkLoadBalancersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkLoadBalancersRequest) String() string
    func (request ListNetworkLoadBalancersRequest) ValidateEnumValue() (bool, error)
type ListNetworkLoadBalancersResponse
    func (response ListNetworkLoadBalancersResponse) HTTPResponse() *http.Response
    func (response ListNetworkLoadBalancersResponse) String() string
type ListNetworkLoadBalancersSortByEnum
    func GetListNetworkLoadBalancersSortByEnumValues() []ListNetworkLoadBalancersSortByEnum
    func GetMappingListNetworkLoadBalancersSortByEnum(val string) (ListNetworkLoadBalancersSortByEnum, bool)
type ListNetworkLoadBalancersSortOrderEnum
    func GetListNetworkLoadBalancersSortOrderEnumValues() []ListNetworkLoadBalancersSortOrderEnum
    func GetMappingListNetworkLoadBalancersSortOrderEnum(val string) (ListNetworkLoadBalancersSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type Listener
    func (m Listener) String() string
    func (m Listener) ValidateEnumValue() (bool, error)
type ListenerCollection
    func (m ListenerCollection) String() string
    func (m ListenerCollection) ValidateEnumValue() (bool, error)
type ListenerDetails
    func (m ListenerDetails) String() string
    func (m ListenerDetails) ValidateEnumValue() (bool, error)
type ListenerProtocolsEnum
    func GetListenerProtocolsEnumValues() []ListenerProtocolsEnum
    func GetMappingListenerProtocolsEnum(val string) (ListenerProtocolsEnum, bool)
type ListenerSummary
    func (m ListenerSummary) String() string
    func (m ListenerSummary) ValidateEnumValue() (bool, error)
type NetworkLoadBalancer
    func (m NetworkLoadBalancer) String() string
    func (m NetworkLoadBalancer) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerClient
    func NewNetworkLoadBalancerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client NetworkLoadBalancerClient, err error)
    func NewNetworkLoadBalancerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client NetworkLoadBalancerClient, err error)
    func (client NetworkLoadBalancerClient) ChangeNetworkLoadBalancerCompartment(ctx context.Context, request ChangeNetworkLoadBalancerCompartmentRequest) (response ChangeNetworkLoadBalancerCompartmentResponse, err error)
    func (client *NetworkLoadBalancerClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client NetworkLoadBalancerClient) CreateBackend(ctx context.Context, request CreateBackendRequest) (response CreateBackendResponse, err error)
    func (client NetworkLoadBalancerClient) CreateBackendSet(ctx context.Context, request CreateBackendSetRequest) (response CreateBackendSetResponse, err error)
    func (client NetworkLoadBalancerClient) CreateListener(ctx context.Context, request CreateListenerRequest) (response CreateListenerResponse, err error)
    func (client NetworkLoadBalancerClient) CreateNetworkLoadBalancer(ctx context.Context, request CreateNetworkLoadBalancerRequest) (response CreateNetworkLoadBalancerResponse, err error)
    func (client NetworkLoadBalancerClient) DeleteBackend(ctx context.Context, request DeleteBackendRequest) (response DeleteBackendResponse, err error)
    func (client NetworkLoadBalancerClient) DeleteBackendSet(ctx context.Context, request DeleteBackendSetRequest) (response DeleteBackendSetResponse, err error)
    func (client NetworkLoadBalancerClient) DeleteListener(ctx context.Context, request DeleteListenerRequest) (response DeleteListenerResponse, err error)
    func (client NetworkLoadBalancerClient) DeleteNetworkLoadBalancer(ctx context.Context, request DeleteNetworkLoadBalancerRequest) (response DeleteNetworkLoadBalancerResponse, err error)
    func (client NetworkLoadBalancerClient) GetBackend(ctx context.Context, request GetBackendRequest) (response GetBackendResponse, err error)
    func (client NetworkLoadBalancerClient) GetBackendHealth(ctx context.Context, request GetBackendHealthRequest) (response GetBackendHealthResponse, err error)
    func (client NetworkLoadBalancerClient) GetBackendSet(ctx context.Context, request GetBackendSetRequest) (response GetBackendSetResponse, err error)
    func (client NetworkLoadBalancerClient) GetBackendSetHealth(ctx context.Context, request GetBackendSetHealthRequest) (response GetBackendSetHealthResponse, err error)
    func (client NetworkLoadBalancerClient) GetHealthChecker(ctx context.Context, request GetHealthCheckerRequest) (response GetHealthCheckerResponse, err error)
    func (client NetworkLoadBalancerClient) GetListener(ctx context.Context, request GetListenerRequest) (response GetListenerResponse, err error)
    func (client NetworkLoadBalancerClient) GetNetworkLoadBalancer(ctx context.Context, request GetNetworkLoadBalancerRequest) (response GetNetworkLoadBalancerResponse, err error)
    func (client NetworkLoadBalancerClient) GetNetworkLoadBalancerHealth(ctx context.Context, request GetNetworkLoadBalancerHealthRequest) (response GetNetworkLoadBalancerHealthResponse, err error)
    func (client NetworkLoadBalancerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client NetworkLoadBalancerClient) ListBackendSets(ctx context.Context, request ListBackendSetsRequest) (response ListBackendSetsResponse, err error)
    func (client NetworkLoadBalancerClient) ListBackends(ctx context.Context, request ListBackendsRequest) (response ListBackendsResponse, err error)
    func (client NetworkLoadBalancerClient) ListListeners(ctx context.Context, request ListListenersRequest) (response ListListenersResponse, err error)
    func (client NetworkLoadBalancerClient) ListNetworkLoadBalancerHealths(ctx context.Context, request ListNetworkLoadBalancerHealthsRequest) (response ListNetworkLoadBalancerHealthsResponse, err error)
    func (client NetworkLoadBalancerClient) ListNetworkLoadBalancers(ctx context.Context, request ListNetworkLoadBalancersRequest) (response ListNetworkLoadBalancersResponse, err error)
    func (client NetworkLoadBalancerClient) ListNetworkLoadBalancersPolicies(ctx context.Context, request ListNetworkLoadBalancersPoliciesRequest) (response ListNetworkLoadBalancersPoliciesResponse, err error)
    func (client NetworkLoadBalancerClient) ListNetworkLoadBalancersProtocols(ctx context.Context, request ListNetworkLoadBalancersProtocolsRequest) (response ListNetworkLoadBalancersProtocolsResponse, err error)
    func (client NetworkLoadBalancerClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client NetworkLoadBalancerClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client NetworkLoadBalancerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *NetworkLoadBalancerClient) SetRegion(region string)
    func (client NetworkLoadBalancerClient) UpdateBackend(ctx context.Context, request UpdateBackendRequest) (response UpdateBackendResponse, err error)
    func (client NetworkLoadBalancerClient) UpdateBackendSet(ctx context.Context, request UpdateBackendSetRequest) (response UpdateBackendSetResponse, err error)
    func (client NetworkLoadBalancerClient) UpdateHealthChecker(ctx context.Context, request UpdateHealthCheckerRequest) (response UpdateHealthCheckerResponse, err error)
    func (client NetworkLoadBalancerClient) UpdateListener(ctx context.Context, request UpdateListenerRequest) (response UpdateListenerResponse, err error)
    func (client NetworkLoadBalancerClient) UpdateNetworkLoadBalancer(ctx context.Context, request UpdateNetworkLoadBalancerRequest) (response UpdateNetworkLoadBalancerResponse, err error)
    func (client NetworkLoadBalancerClient) UpdateNetworkSecurityGroups(ctx context.Context, request UpdateNetworkSecurityGroupsRequest) (response UpdateNetworkSecurityGroupsResponse, err error)
type NetworkLoadBalancerCollection
    func (m NetworkLoadBalancerCollection) String() string
    func (m NetworkLoadBalancerCollection) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerHealth
    func (m NetworkLoadBalancerHealth) String() string
    func (m NetworkLoadBalancerHealth) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerHealthCollection
    func (m NetworkLoadBalancerHealthCollection) String() string
    func (m NetworkLoadBalancerHealthCollection) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerHealthStatusEnum
    func GetMappingNetworkLoadBalancerHealthStatusEnum(val string) (NetworkLoadBalancerHealthStatusEnum, bool)
    func GetNetworkLoadBalancerHealthStatusEnumValues() []NetworkLoadBalancerHealthStatusEnum
type NetworkLoadBalancerHealthSummary
    func (m NetworkLoadBalancerHealthSummary) String() string
    func (m NetworkLoadBalancerHealthSummary) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerHealthSummaryStatusEnum
    func GetMappingNetworkLoadBalancerHealthSummaryStatusEnum(val string) (NetworkLoadBalancerHealthSummaryStatusEnum, bool)
    func GetNetworkLoadBalancerHealthSummaryStatusEnumValues() []NetworkLoadBalancerHealthSummaryStatusEnum
type NetworkLoadBalancerSummary
    func (m NetworkLoadBalancerSummary) String() string
    func (m NetworkLoadBalancerSummary) ValidateEnumValue() (bool, error)
type NetworkLoadBalancersPolicyCollection
    func (m NetworkLoadBalancersPolicyCollection) String() string
    func (m NetworkLoadBalancersPolicyCollection) ValidateEnumValue() (bool, error)
type NetworkLoadBalancersPolicySummaryEnum
    func GetMappingNetworkLoadBalancersPolicySummaryEnum(val string) (NetworkLoadBalancersPolicySummaryEnum, bool)
    func GetNetworkLoadBalancersPolicySummaryEnumValues() []NetworkLoadBalancersPolicySummaryEnum
type NetworkLoadBalancersProtocolCollection
    func (m NetworkLoadBalancersProtocolCollection) String() string
    func (m NetworkLoadBalancersProtocolCollection) ValidateEnumValue() (bool, error)
type NetworkLoadBalancersProtocolSummaryEnum
    func GetMappingNetworkLoadBalancersProtocolSummaryEnum(val string) (NetworkLoadBalancersProtocolSummaryEnum, bool)
    func GetNetworkLoadBalancersProtocolSummaryEnumValues() []NetworkLoadBalancersProtocolSummaryEnum
type NetworkLoadBalancingPolicyEnum
    func GetMappingNetworkLoadBalancingPolicyEnum(val string) (NetworkLoadBalancingPolicyEnum, bool)
    func GetNetworkLoadBalancingPolicyEnumValues() []NetworkLoadBalancingPolicyEnum
type NlbIpVersionEnum
    func GetMappingNlbIpVersionEnum(val string) (NlbIpVersionEnum, bool)
    func GetNlbIpVersionEnumValues() []NlbIpVersionEnum
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type ReservedIp
    func (m ReservedIp) String() string
    func (m ReservedIp) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateBackendDetails
    func (m UpdateBackendDetails) String() string
    func (m UpdateBackendDetails) ValidateEnumValue() (bool, error)
type UpdateBackendRequest
    func (request UpdateBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBackendRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBackendRequest) String() string
    func (request UpdateBackendRequest) ValidateEnumValue() (bool, error)
type UpdateBackendResponse
    func (response UpdateBackendResponse) HTTPResponse() *http.Response
    func (response UpdateBackendResponse) String() string
type UpdateBackendSetDetails
    func (m UpdateBackendSetDetails) String() string
    func (m UpdateBackendSetDetails) ValidateEnumValue() (bool, error)
type UpdateBackendSetRequest
    func (request UpdateBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBackendSetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBackendSetRequest) String() string
    func (request UpdateBackendSetRequest) ValidateEnumValue() (bool, error)
type UpdateBackendSetResponse
    func (response UpdateBackendSetResponse) HTTPResponse() *http.Response
    func (response UpdateBackendSetResponse) String() string
type UpdateHealthCheckerDetails
    func (m UpdateHealthCheckerDetails) String() string
    func (m UpdateHealthCheckerDetails) ValidateEnumValue() (bool, error)
type UpdateHealthCheckerRequest
    func (request UpdateHealthCheckerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateHealthCheckerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateHealthCheckerRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateHealthCheckerRequest) String() string
    func (request UpdateHealthCheckerRequest) ValidateEnumValue() (bool, error)
type UpdateHealthCheckerResponse
    func (response UpdateHealthCheckerResponse) HTTPResponse() *http.Response
    func (response UpdateHealthCheckerResponse) String() string
type UpdateListenerDetails
    func (m UpdateListenerDetails) String() string
    func (m UpdateListenerDetails) ValidateEnumValue() (bool, error)
type UpdateListenerRequest
    func (request UpdateListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateListenerRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateListenerRequest) String() string
    func (request UpdateListenerRequest) ValidateEnumValue() (bool, error)
type UpdateListenerResponse
    func (response UpdateListenerResponse) HTTPResponse() *http.Response
    func (response UpdateListenerResponse) String() string
type UpdateNetworkLoadBalancerDetails
    func (m UpdateNetworkLoadBalancerDetails) String() string
    func (m UpdateNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error)
type UpdateNetworkLoadBalancerRequest
    func (request UpdateNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNetworkLoadBalancerRequest) String() string
    func (request UpdateNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)
type UpdateNetworkLoadBalancerResponse
    func (response UpdateNetworkLoadBalancerResponse) HTTPResponse() *http.Response
    func (response UpdateNetworkLoadBalancerResponse) String() string
type UpdateNetworkSecurityGroupsDetails
    func (m UpdateNetworkSecurityGroupsDetails) String() string
    func (m UpdateNetworkSecurityGroupsDetails) ValidateEnumValue() (bool, error)
type UpdateNetworkSecurityGroupsRequest
    func (request UpdateNetworkSecurityGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNetworkSecurityGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNetworkSecurityGroupsRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNetworkSecurityGroupsRequest) String() string
    func (request UpdateNetworkSecurityGroupsRequest) ValidateEnumValue() (bool, error)
type UpdateNetworkSecurityGroupsResponse
    func (response UpdateNetworkSecurityGroupsResponse) HTTPResponse() *http.Response
    func (response UpdateNetworkSecurityGroupsResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestCollection
    func (m WorkRequestCollection) String() string
    func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

Package files

action_type.go backend.go backend_collection.go backend_details.go backend_health.go backend_set.go backend_set_collection.go backend_set_details.go backend_set_health.go backend_set_summary.go backend_summary.go change_network_load_balancer_compartment_details.go change_network_load_balancer_compartment_request_response.go create_backend_details.go create_backend_request_response.go create_backend_set_details.go create_backend_set_request_response.go create_listener_details.go create_listener_request_response.go create_network_load_balancer_details.go create_network_load_balancer_request_response.go delete_backend_request_response.go delete_backend_set_request_response.go delete_listener_request_response.go delete_network_load_balancer_request_response.go dns_health_check_query_classes.go dns_health_check_query_types.go dns_health_check_r_codes.go dns_health_check_transport_protocols.go dns_health_checker_details.go get_backend_health_request_response.go get_backend_request_response.go get_backend_set_health_request_response.go get_backend_set_request_response.go get_health_checker_request_response.go get_listener_request_response.go get_network_load_balancer_health_request_response.go get_network_load_balancer_request_response.go get_work_request_request_response.go hcs_infra_ip_version.go health_check_protocols.go health_check_result.go health_checker.go health_checker_details.go ip_address.go ip_version.go lifecycle_state.go list_backend_sets_request_response.go list_backends_request_response.go list_listeners_request_response.go list_network_load_balancer_healths_request_response.go list_network_load_balancers_policies_request_response.go list_network_load_balancers_protocols_request_response.go list_network_load_balancers_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go listener.go listener_collection.go listener_details.go listener_protocols.go listener_summary.go network_load_balancer.go network_load_balancer_collection.go network_load_balancer_health.go network_load_balancer_health_collection.go network_load_balancer_health_summary.go network_load_balancer_summary.go network_load_balancers_policy_collection.go network_load_balancers_policy_summary.go network_load_balancers_protocol_collection.go network_load_balancers_protocol_summary.go network_load_balancing_policy.go networkloadbalancer_client.go nlb_ip_version.go operation_status.go operation_type.go reserved_ip.go sort_order.go update_backend_details.go update_backend_request_response.go update_backend_set_details.go update_backend_set_request_response.go update_health_checker_details.go update_health_checker_request_response.go update_listener_details.go update_listener_request_response.go update_network_load_balancer_details.go update_network_load_balancer_request_response.go update_network_security_groups_details.go update_network_security_groups_request_response.go work_request.go work_request_collection.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_summary.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBackendHealthStatusEnumStringValues

func GetBackendHealthStatusEnumStringValues() []string

GetBackendHealthStatusEnumStringValues Enumerates the set of values in String for BackendHealthStatusEnum

func GetBackendSetHealthStatusEnumStringValues

func GetBackendSetHealthStatusEnumStringValues() []string

GetBackendSetHealthStatusEnumStringValues Enumerates the set of values in String for BackendSetHealthStatusEnum

func GetDnsHealthCheckQueryClassesEnumStringValues

func GetDnsHealthCheckQueryClassesEnumStringValues() []string

GetDnsHealthCheckQueryClassesEnumStringValues Enumerates the set of values in String for DnsHealthCheckQueryClassesEnum

func GetDnsHealthCheckQueryTypesEnumStringValues

func GetDnsHealthCheckQueryTypesEnumStringValues() []string

GetDnsHealthCheckQueryTypesEnumStringValues Enumerates the set of values in String for DnsHealthCheckQueryTypesEnum

func GetDnsHealthCheckRCodesEnumStringValues

func GetDnsHealthCheckRCodesEnumStringValues() []string

GetDnsHealthCheckRCodesEnumStringValues Enumerates the set of values in String for DnsHealthCheckRCodesEnum

func GetDnsHealthCheckTransportProtocolsEnumStringValues

func GetDnsHealthCheckTransportProtocolsEnumStringValues() []string

GetDnsHealthCheckTransportProtocolsEnumStringValues Enumerates the set of values in String for DnsHealthCheckTransportProtocolsEnum

func GetHcsInfraIpVersionEnumStringValues

func GetHcsInfraIpVersionEnumStringValues() []string

GetHcsInfraIpVersionEnumStringValues Enumerates the set of values in String for HcsInfraIpVersionEnum

func GetHealthCheckProtocolsEnumStringValues

func GetHealthCheckProtocolsEnumStringValues() []string

GetHealthCheckProtocolsEnumStringValues Enumerates the set of values in String for HealthCheckProtocolsEnum

func GetHealthCheckResultHealthCheckStatusEnumStringValues

func GetHealthCheckResultHealthCheckStatusEnumStringValues() []string

GetHealthCheckResultHealthCheckStatusEnumStringValues Enumerates the set of values in String for HealthCheckResultHealthCheckStatusEnum

func GetIpVersionEnumStringValues

func GetIpVersionEnumStringValues() []string

GetIpVersionEnumStringValues Enumerates the set of values in String for IpVersionEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListBackendSetsSortByEnumStringValues

func GetListBackendSetsSortByEnumStringValues() []string

GetListBackendSetsSortByEnumStringValues Enumerates the set of values in String for ListBackendSetsSortByEnum

func GetListBackendSetsSortOrderEnumStringValues

func GetListBackendSetsSortOrderEnumStringValues() []string

GetListBackendSetsSortOrderEnumStringValues Enumerates the set of values in String for ListBackendSetsSortOrderEnum

func GetListBackendsSortByEnumStringValues

func GetListBackendsSortByEnumStringValues() []string

GetListBackendsSortByEnumStringValues Enumerates the set of values in String for ListBackendsSortByEnum

func GetListBackendsSortOrderEnumStringValues

func GetListBackendsSortOrderEnumStringValues() []string

GetListBackendsSortOrderEnumStringValues Enumerates the set of values in String for ListBackendsSortOrderEnum

func GetListListenersSortByEnumStringValues

func GetListListenersSortByEnumStringValues() []string

GetListListenersSortByEnumStringValues Enumerates the set of values in String for ListListenersSortByEnum

func GetListListenersSortOrderEnumStringValues

func GetListListenersSortOrderEnumStringValues() []string

GetListListenersSortOrderEnumStringValues Enumerates the set of values in String for ListListenersSortOrderEnum

func GetListNetworkLoadBalancerHealthsSortByEnumStringValues

func GetListNetworkLoadBalancerHealthsSortByEnumStringValues() []string

GetListNetworkLoadBalancerHealthsSortByEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancerHealthsSortByEnum

func GetListNetworkLoadBalancerHealthsSortOrderEnumStringValues

func GetListNetworkLoadBalancerHealthsSortOrderEnumStringValues() []string

GetListNetworkLoadBalancerHealthsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancerHealthsSortOrderEnum

func GetListNetworkLoadBalancersLifecycleStateEnumStringValues

func GetListNetworkLoadBalancersLifecycleStateEnumStringValues() []string

GetListNetworkLoadBalancersLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersLifecycleStateEnum

func GetListNetworkLoadBalancersPoliciesSortByEnumStringValues

func GetListNetworkLoadBalancersPoliciesSortByEnumStringValues() []string

GetListNetworkLoadBalancersPoliciesSortByEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersPoliciesSortByEnum

func GetListNetworkLoadBalancersPoliciesSortOrderEnumStringValues

func GetListNetworkLoadBalancersPoliciesSortOrderEnumStringValues() []string

GetListNetworkLoadBalancersPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersPoliciesSortOrderEnum

func GetListNetworkLoadBalancersProtocolsSortByEnumStringValues

func GetListNetworkLoadBalancersProtocolsSortByEnumStringValues() []string

GetListNetworkLoadBalancersProtocolsSortByEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersProtocolsSortByEnum

func GetListNetworkLoadBalancersProtocolsSortOrderEnumStringValues

func GetListNetworkLoadBalancersProtocolsSortOrderEnumStringValues() []string

GetListNetworkLoadBalancersProtocolsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersProtocolsSortOrderEnum

func GetListNetworkLoadBalancersSortByEnumStringValues

func GetListNetworkLoadBalancersSortByEnumStringValues() []string

GetListNetworkLoadBalancersSortByEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersSortByEnum

func GetListNetworkLoadBalancersSortOrderEnumStringValues

func GetListNetworkLoadBalancersSortOrderEnumStringValues() []string

GetListNetworkLoadBalancersSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkLoadBalancersSortOrderEnum

func GetListenerProtocolsEnumStringValues

func GetListenerProtocolsEnumStringValues() []string

GetListenerProtocolsEnumStringValues Enumerates the set of values in String for ListenerProtocolsEnum

func GetNetworkLoadBalancerHealthStatusEnumStringValues

func GetNetworkLoadBalancerHealthStatusEnumStringValues() []string

GetNetworkLoadBalancerHealthStatusEnumStringValues Enumerates the set of values in String for NetworkLoadBalancerHealthStatusEnum

func GetNetworkLoadBalancerHealthSummaryStatusEnumStringValues

func GetNetworkLoadBalancerHealthSummaryStatusEnumStringValues() []string

GetNetworkLoadBalancerHealthSummaryStatusEnumStringValues Enumerates the set of values in String for NetworkLoadBalancerHealthSummaryStatusEnum

func GetNetworkLoadBalancersPolicySummaryEnumStringValues

func GetNetworkLoadBalancersPolicySummaryEnumStringValues() []string

GetNetworkLoadBalancersPolicySummaryEnumStringValues Enumerates the set of values in String for NetworkLoadBalancersPolicySummaryEnum

func GetNetworkLoadBalancersProtocolSummaryEnumStringValues

func GetNetworkLoadBalancersProtocolSummaryEnumStringValues() []string

GetNetworkLoadBalancersProtocolSummaryEnumStringValues Enumerates the set of values in String for NetworkLoadBalancersProtocolSummaryEnum

func GetNetworkLoadBalancingPolicyEnumStringValues

func GetNetworkLoadBalancingPolicyEnumStringValues() []string

GetNetworkLoadBalancingPolicyEnumStringValues Enumerates the set of values in String for NetworkLoadBalancingPolicyEnum

func GetNlbIpVersionEnumStringValues

func GetNlbIpVersionEnumStringValues() []string

GetNlbIpVersionEnumStringValues Enumerates the set of values in String for NlbIpVersionEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
)

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type Backend

Backend The configuration of a backend server that is a member of a network load balancer backend set. For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm).

type Backend struct {

    // The communication port for the backend server.
    // Example: `8080`
    Port *int `mandatory:"true" json:"port"`

    // A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
    // Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:443` or `10.0.0.3:0`
    Name *string `mandatory:"false" json:"name"`

    // The IP address of the backend server.
    // Example: `10.0.0.3`
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // The IP OCID/Instance OCID associated with the backend server.
    // Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
    TargetId *string `mandatory:"false" json:"targetId"`

    // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
    // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
    // as a server weighted '1'.
    // For more information about load balancing policies, see
    // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies).
    // Example: `3`
    Weight *int `mandatory:"false" json:"weight"`

    // Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
    // incoming traffic.
    // Example: `false`
    IsDrain *bool `mandatory:"false" json:"isDrain"`

    // Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
    // traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy.
    // Example: `false`
    IsBackup *bool `mandatory:"false" json:"isBackup"`

    // Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
    // traffic.
    // Example: `false`
    IsOffline *bool `mandatory:"false" json:"isOffline"`
}

func (Backend) String

func (m Backend) String() string

func (Backend) ValidateEnumValue

func (m Backend) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendCollection

BackendCollection Wrapper object for an array of BackendSummary objects.

type BackendCollection struct {

    // An array of BackendSummary objects.
    Items []BackendSummary `mandatory:"false" json:"items"`
}

func (BackendCollection) String

func (m BackendCollection) String() string

func (BackendCollection) ValidateEnumValue

func (m BackendCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendDetails

BackendDetails The network network load balancing configuration details of a backend server.

type BackendDetails struct {

    // The communication port for the backend server.
    // Example: `8080`
    Port *int `mandatory:"true" json:"port"`

    // A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set.
    // Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:443` or `10.0.0.3:0`
    Name *string `mandatory:"false" json:"name"`

    // The IP address of the backend server.
    // Example: `10.0.0.3`
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // The IP OCID/Instance OCID associated with the backend server.
    // Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
    TargetId *string `mandatory:"false" json:"targetId"`

    // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
    // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
    // as a server weighted '1'.
    // For more information about load balancing policies, see
    // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies).
    // Example: `3`
    Weight *int `mandatory:"false" json:"weight"`

    // Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
    // traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy.
    // Example: `false`
    IsBackup *bool `mandatory:"false" json:"isBackup"`

    // Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
    // incoming traffic.
    // Example: `false`
    IsDrain *bool `mandatory:"false" json:"isDrain"`

    // Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
    // traffic.
    // Example: `false`
    IsOffline *bool `mandatory:"false" json:"isOffline"`
}

func (BackendDetails) String

func (m BackendDetails) String() string

func (BackendDetails) ValidateEnumValue

func (m BackendDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendHealth

BackendHealth The health status of the specified backend server.

type BackendHealth struct {

    // The general health status of the specified backend server.
    // *   **OK:**  All health check probes return `OK`
    // *   **WARNING:** At least one of the health check probes does not return `OK`
    // *   **CRITICAL:** None of the health check probes return `OK`.
    // *
    // *   **UNKNOWN:** One of the health checks probes return `UNKNOWN`,
    // *   or the system is unable to retrieve metrics at this time.
    Status BackendHealthStatusEnum `mandatory:"true" json:"status"`

    // A list of the most recent health check results returned for the specified backend server.
    HealthCheckResults []HealthCheckResult `mandatory:"true" json:"healthCheckResults"`
}

func (BackendHealth) String

func (m BackendHealth) String() string

func (BackendHealth) ValidateEnumValue

func (m BackendHealth) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendHealthStatusEnum

BackendHealthStatusEnum Enum with underlying type: string

type BackendHealthStatusEnum string

Set of constants representing the allowable values for BackendHealthStatusEnum

const (
    BackendHealthStatusOk       BackendHealthStatusEnum = "OK"
    BackendHealthStatusWarning  BackendHealthStatusEnum = "WARNING"
    BackendHealthStatusCritical BackendHealthStatusEnum = "CRITICAL"
    BackendHealthStatusUnknown  BackendHealthStatusEnum = "UNKNOWN"
)

func GetBackendHealthStatusEnumValues

func GetBackendHealthStatusEnumValues() []BackendHealthStatusEnum

GetBackendHealthStatusEnumValues Enumerates the set of values for BackendHealthStatusEnum

func GetMappingBackendHealthStatusEnum

func GetMappingBackendHealthStatusEnum(val string) (BackendHealthStatusEnum, bool)

GetMappingBackendHealthStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type BackendSet

BackendSet The configuration of a network load balancer backend set. For more information about backend set configuration, see Managing Backend Sets (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type BackendSet struct {

    // A user-friendly name for the backend set that must be unique and cannot be changed.
    // Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
    // contain spaces. Avoid entering confidential information.
    // Example: `example_backend_set`
    Name *string `mandatory:"true" json:"name"`

    HealthChecker *HealthChecker `mandatory:"true" json:"healthChecker"`

    // The network load balancer policy for the backend set.
    // Example: `FIVE_TUPLE`
    Policy NetworkLoadBalancingPolicyEnum `mandatory:"false" json:"policy,omitempty"`

    // If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends.
    // Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled.
    // The value is true by default.
    IsPreserveSource *bool `mandatory:"false" json:"isPreserveSource"`

    // If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
    // The value is false by default.
    IsFailOpen *bool `mandatory:"false" json:"isFailOpen"`

    // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
    IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"`

    // IP version associated with the backend set.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`

    // Array of backends.
    Backends []Backend `mandatory:"false" json:"backends"`
}

func (BackendSet) String

func (m BackendSet) String() string

func (BackendSet) ValidateEnumValue

func (m BackendSet) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendSetCollection

BackendSetCollection Wrapper object for an array of `BackendSetSummary` objects.

type BackendSetCollection struct {

    // An array of `BackendSetSummary` objects.
    Items []BackendSetSummary `mandatory:"false" json:"items"`
}

func (BackendSetCollection) String

func (m BackendSetCollection) String() string

func (BackendSetCollection) ValidateEnumValue

func (m BackendSetCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendSetDetails

BackendSetDetails The configuration of a network load balancer backend set. For more information about backend set configuration, see Managing Backend Sets (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type BackendSetDetails struct {
    HealthChecker *HealthChecker `mandatory:"true" json:"healthChecker"`

    // The network load balancer policy for the backend set.
    // Example: `FIVE_TUPLE`
    Policy NetworkLoadBalancingPolicyEnum `mandatory:"false" json:"policy,omitempty"`

    // IP version associated with the backend set.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`

    // If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends.
    // Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled.
    // The value is true by default.
    IsPreserveSource *bool `mandatory:"false" json:"isPreserveSource"`

    // If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
    // The value is false by default.
    IsFailOpen *bool `mandatory:"false" json:"isFailOpen"`

    // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
    IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"`

    // An array of backends.
    Backends []Backend `mandatory:"false" json:"backends"`
}

func (BackendSetDetails) String

func (m BackendSetDetails) String() string

func (BackendSetDetails) ValidateEnumValue

func (m BackendSetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendSetHealth

BackendSetHealth The health status details for a backend set. This object does not explicitly enumerate backend servers with a status of `OK`. However, the backend sets are included in the `totalBackendCount` sum.

type BackendSetHealth struct {

    // Overall health status of the backend set.
    // *  **OK:** All backend servers in the backend set return a status of `OK`.
    // *  **WARNING:** Half or more of the backend servers in a backend set return a status of `OK` and at least one backend
    // server returns a status of `WARNING`, `CRITICAL`, or `UNKNOWN`.
    // *  **CRITICAL:** Fewer than half of the backend servers in a backend set return a status of `OK`.
    // *  **UNKNOWN:** If no probes have yet been sent to the backends, or the system is
    // unable to retrieve metrics from the backends.
    Status BackendSetHealthStatusEnum `mandatory:"true" json:"status"`

    // A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by
    // IP address or OCID and port.
    // Example: `10.0.0.3:8080` or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:8080`
    WarningStateBackendNames []string `mandatory:"true" json:"warningStateBackendNames"`

    // A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by
    // IP address and port.
    // Example: `10.0.0.4:8080`
    CriticalStateBackendNames []string `mandatory:"true" json:"criticalStateBackendNames"`

    // A list of backend servers that are currently in the `UNKNOWN` health state. The list identifies each backend server by
    // IP address and port.
    // Example: `10.0.0.5:8080`
    UnknownStateBackendNames []string `mandatory:"true" json:"unknownStateBackendNames"`

    // The total number of backend servers in this backend set.
    // Example: `7`
    TotalBackendCount *int `mandatory:"true" json:"totalBackendCount"`
}

func (BackendSetHealth) String

func (m BackendSetHealth) String() string

func (BackendSetHealth) ValidateEnumValue

func (m BackendSetHealth) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendSetHealthStatusEnum

BackendSetHealthStatusEnum Enum with underlying type: string

type BackendSetHealthStatusEnum string

Set of constants representing the allowable values for BackendSetHealthStatusEnum

const (
    BackendSetHealthStatusOk       BackendSetHealthStatusEnum = "OK"
    BackendSetHealthStatusWarning  BackendSetHealthStatusEnum = "WARNING"
    BackendSetHealthStatusCritical BackendSetHealthStatusEnum = "CRITICAL"
    BackendSetHealthStatusUnknown  BackendSetHealthStatusEnum = "UNKNOWN"
)

func GetBackendSetHealthStatusEnumValues

func GetBackendSetHealthStatusEnumValues() []BackendSetHealthStatusEnum

GetBackendSetHealthStatusEnumValues Enumerates the set of values for BackendSetHealthStatusEnum

func GetMappingBackendSetHealthStatusEnum

func GetMappingBackendSetHealthStatusEnum(val string) (BackendSetHealthStatusEnum, bool)

GetMappingBackendSetHealthStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type BackendSetSummary

BackendSetSummary The configuration of a network load balancer backend set. For more information about backend set configuration, see Managing Backend Sets (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type BackendSetSummary struct {

    // A user-friendly name for the backend set that must be unique and cannot be changed.
    // Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
    // contain spaces. Avoid entering confidential information.
    // Example: `example_backend_set`
    Name *string `mandatory:"true" json:"name"`

    // The network load balancer policy for the backend set.
    // Example: `FIVE_TUPLE`
    Policy NetworkLoadBalancingPolicyEnum `mandatory:"true" json:"policy"`

    // An array of backends.
    Backends []Backend `mandatory:"true" json:"backends"`

    HealthChecker *HealthChecker `mandatory:"true" json:"healthChecker"`

    // If this parameter is enabled, the network load balancer preserves the source IP of the packet forwarded to the backend servers.
    // Backend servers see the original source IP. If the `isPreserveSourceDestination` parameter is enabled for the network load balancer resource, this parameter cannot be disabled.
    // The value is true by default.
    IsPreserveSource *bool `mandatory:"false" json:"isPreserveSource"`

    // If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
    // The value is false by default.
    IsFailOpen *bool `mandatory:"false" json:"isFailOpen"`

    // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
    IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"`

    // IP version associated with the backend set.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}

func (BackendSetSummary) String

func (m BackendSetSummary) String() string

func (BackendSetSummary) ValidateEnumValue

func (m BackendSetSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendSummary

BackendSummary The configuration of a backend server that is a member of a network load balancer backend set. For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm).

type BackendSummary struct {

    // The communication port for the backend server.
    // Example: `8080`
    Port *int `mandatory:"true" json:"port"`

    // A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
    // Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:443` or `10.0.0.3:0`
    Name *string `mandatory:"false" json:"name"`

    // The IP address of the backend server.
    // Example: `10.0.0.3`
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // The IP OCID/Instance OCID associated with the backend server.
    // Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
    TargetId *string `mandatory:"false" json:"targetId"`

    // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
    // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
    // as a server weighted '1'.
    // For more information about load balancing policies, see
    // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies).
    // Example: `3`
    Weight *int `mandatory:"false" json:"weight"`

    // Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
    // incoming traffic.
    // Example: `false`
    IsDrain *bool `mandatory:"false" json:"isDrain"`

    // Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
    // traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy.
    // Example: `false`
    IsBackup *bool `mandatory:"false" json:"isBackup"`

    // Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
    // traffic.
    // Example: `false`
    IsOffline *bool `mandatory:"false" json:"isOffline"`
}

func (BackendSummary) String

func (m BackendSummary) String() string

func (BackendSummary) ValidateEnumValue

func (m BackendSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeNetworkLoadBalancerCompartmentDetails

ChangeNetworkLoadBalancerCompartmentDetails The configuration details for moving a network load balancer to a different compartment. **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ChangeNetworkLoadBalancerCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which to move the network load balancer.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeNetworkLoadBalancerCompartmentDetails) String

func (m ChangeNetworkLoadBalancerCompartmentDetails) String() string

func (ChangeNetworkLoadBalancerCompartmentDetails) ValidateEnumValue

func (m ChangeNetworkLoadBalancerCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeNetworkLoadBalancerCompartmentRequest

ChangeNetworkLoadBalancerCompartmentRequest wrapper for the ChangeNetworkLoadBalancerCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.go.html to see an example of how to use ChangeNetworkLoadBalancerCompartmentRequest.

type ChangeNetworkLoadBalancerCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The configuration details for moving a network load balancer to a different compartment.
    ChangeNetworkLoadBalancerCompartmentDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeNetworkLoadBalancerCompartmentRequest) BinaryRequestBody

func (request ChangeNetworkLoadBalancerCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkLoadBalancerCompartmentRequest) HTTPRequest

func (request ChangeNetworkLoadBalancerCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkLoadBalancerCompartmentRequest) RetryPolicy

func (request ChangeNetworkLoadBalancerCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeNetworkLoadBalancerCompartmentRequest) String

func (request ChangeNetworkLoadBalancerCompartmentRequest) String() string

func (ChangeNetworkLoadBalancerCompartmentRequest) ValidateEnumValue

func (request ChangeNetworkLoadBalancerCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeNetworkLoadBalancerCompartmentResponse

ChangeNetworkLoadBalancerCompartmentResponse wrapper for the ChangeNetworkLoadBalancerCompartment operation

type ChangeNetworkLoadBalancerCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeNetworkLoadBalancerCompartmentResponse) HTTPResponse

func (response ChangeNetworkLoadBalancerCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkLoadBalancerCompartmentResponse) String

func (response ChangeNetworkLoadBalancerCompartmentResponse) String() string

type CreateBackendDetails

CreateBackendDetails The configuration of a backend server that is a member of a network load balancer backend set. For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm).

type CreateBackendDetails struct {

    // The communication port for the backend server.
    // Example: `8080`
    Port *int `mandatory:"true" json:"port"`

    // Optional unique name identifying the backend within the backend set. If not specified, then one will be generated.
    // Example: `webServer1`
    Name *string `mandatory:"false" json:"name"`

    // The IP address of the backend server.
    // Example: `10.0.0.3`
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // The IP OCID/Instance OCID associated with the backend server.
    // Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
    TargetId *string `mandatory:"false" json:"targetId"`

    // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
    // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
    // as a server weighted '1'.
    // For more information about load balancing policies, see
    // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies).
    // Example: `3`
    Weight *int `mandatory:"false" json:"weight"`

    // Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
    // incoming traffic.
    // Example: `false`
    IsDrain *bool `mandatory:"false" json:"isDrain"`

    // Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
    // traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy.
    // Example: `false`
    IsBackup *bool `mandatory:"false" json:"isBackup"`

    // Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
    // traffic.
    // Example: `false`
    IsOffline *bool `mandatory:"false" json:"isOffline"`
}

func (CreateBackendDetails) String

func (m CreateBackendDetails) String() string

func (CreateBackendDetails) ValidateEnumValue

func (m CreateBackendDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackendRequest

CreateBackendRequest wrapper for the CreateBackend operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateBackend.go.html to see an example of how to use CreateBackendRequest.

type CreateBackendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The details to add a backend server to a backend set.
    CreateBackendDetails `contributesTo:"body"`

    // The name of the backend set to which to add the backend server.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateBackendRequest) BinaryRequestBody

func (request CreateBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateBackendRequest) HTTPRequest

func (request CreateBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateBackendRequest) RetryPolicy

func (request CreateBackendRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateBackendRequest) String

func (request CreateBackendRequest) String() string

func (CreateBackendRequest) ValidateEnumValue

func (request CreateBackendRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackendResponse

CreateBackendResponse wrapper for the CreateBackend operation

type CreateBackendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateBackendResponse) HTTPResponse

func (response CreateBackendResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateBackendResponse) String

func (response CreateBackendResponse) String() string

type CreateBackendSetDetails

CreateBackendSetDetails The configuration details for creating a backend set in a network load balancer. For more information about backend set configuration, see Managing Backend Sets (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateBackendSetDetails struct {

    // A user-friendly name for the backend set that must be unique and cannot be changed.
    // Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
    // contain spaces. Avoid entering confidential information.
    // Example: `example_backend_set`
    Name *string `mandatory:"true" json:"name"`

    // The network load balancer policy for the backend set.
    // Example: `FIVE_TUPLE``
    Policy NetworkLoadBalancingPolicyEnum `mandatory:"true" json:"policy"`

    HealthChecker *HealthCheckerDetails `mandatory:"true" json:"healthChecker"`

    // If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends.
    // Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled.
    // The value is true by default.
    IsPreserveSource *bool `mandatory:"false" json:"isPreserveSource"`

    // If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
    // The value is false by default.
    IsFailOpen *bool `mandatory:"false" json:"isFailOpen"`

    // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
    IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"`

    // IP version associated with the backend set.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`

    // An array of backends to be associated with the backend set.
    Backends []BackendDetails `mandatory:"false" json:"backends"`
}

func (CreateBackendSetDetails) String

func (m CreateBackendSetDetails) String() string

func (CreateBackendSetDetails) ValidateEnumValue

func (m CreateBackendSetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackendSetRequest

CreateBackendSetRequest wrapper for the CreateBackendSet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSetRequest.

type CreateBackendSetRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The details for adding a backend set.
    CreateBackendSetDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateBackendSetRequest) BinaryRequestBody

func (request CreateBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateBackendSetRequest) HTTPRequest

func (request CreateBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateBackendSetRequest) RetryPolicy

func (request CreateBackendSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateBackendSetRequest) String

func (request CreateBackendSetRequest) String() string

func (CreateBackendSetRequest) ValidateEnumValue

func (request CreateBackendSetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBackendSetResponse

CreateBackendSetResponse wrapper for the CreateBackendSet operation

type CreateBackendSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateBackendSetResponse) HTTPResponse

func (response CreateBackendSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateBackendSetResponse) String

func (response CreateBackendSetResponse) String() string

type CreateListenerDetails

CreateListenerDetails The configuration of the listener. For more information about listener configuration, see Managing Network Load Balancer Listeners (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm).

type CreateListenerDetails struct {

    // A friendly name for the listener. It must be unique and it cannot be changed.
    // Example: `example_listener`
    Name *string `mandatory:"true" json:"name"`

    // The name of the associated backend set.
    // Example: `example_backend_set`
    DefaultBackendSetName *string `mandatory:"true" json:"defaultBackendSetName"`

    // The communication port for the listener.
    // Example: `80`
    Port *int `mandatory:"true" json:"port"`

    // The protocol on which the listener accepts connection requests.
    // For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port.
    // For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true).
    // "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
    // Example: `TCP`
    Protocol ListenerProtocolsEnum `mandatory:"true" json:"protocol"`

    // IP version associated with the listener.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}

func (CreateListenerDetails) String

func (m CreateListenerDetails) String() string

func (CreateListenerDetails) ValidateEnumValue

func (m CreateListenerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateListenerRequest

CreateListenerRequest wrapper for the CreateListener operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateListener.go.html to see an example of how to use CreateListenerRequest.

type CreateListenerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // Details to add a listener.
    CreateListenerDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateListenerRequest) BinaryRequestBody

func (request CreateListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateListenerRequest) HTTPRequest

func (request CreateListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateListenerRequest) RetryPolicy

func (request CreateListenerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateListenerRequest) String

func (request CreateListenerRequest) String() string

func (CreateListenerRequest) ValidateEnumValue

func (request CreateListenerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateListenerResponse

CreateListenerResponse wrapper for the CreateListener operation

type CreateListenerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    ETag *string `presentIn:"header" name:"etag"`
}

func (CreateListenerResponse) HTTPResponse

func (response CreateListenerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateListenerResponse) String

func (response CreateListenerResponse) String() string

type CreateNetworkLoadBalancerDetails

CreateNetworkLoadBalancerDetails The properties that define a network load balancer. For more information, see Managing a network load balancer (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/NetworkLoadBalancers/network-load-balancer-management.htm). To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, then contact an administrator. If you are an administrator who writes policies to give users access, then see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). For information about endpoints and signing API requests, see About the API (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see SDKS and Other Tools (https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm).

type CreateNetworkLoadBalancerDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Network load balancer identifier, which can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The subnet in which the network load balancer is spawned OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically
    // enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
    IsPreserveSourceDestination *bool `mandatory:"false" json:"isPreserveSourceDestination"`

    // This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
    // This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
    IsSymmetricHashEnabled *bool `mandatory:"false" json:"isSymmetricHashEnabled"`

    // An array of reserved Ips.
    ReservedIps []ReservedIp `mandatory:"false" json:"reservedIps"`

    // Whether the network load balancer has a virtual cloud network-local (private) IP address.
    // If "true", then the service assigns a private IP address to the network load balancer.
    // If "false", then the service assigns a public IP address to the network load balancer.
    // A public network load balancer is accessible from the internet, depending on the
    // security list rules (https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and
    // private network load balancers,
    // see How Network Load Balancing Works (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/overview.htm).
    // This value is true by default.
    // Example: `true`
    IsPrivate *bool `mandatory:"false" json:"isPrivate"`

    // An array of network security groups OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load
    // balancer.
    // During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups.
    // The benefits of associating the network load balancer with network security groups include:
    // *  Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
    // *  The network security rules of other resources can reference the network security groups associated with the network load balancer
    //    to ensure access.
    // Example: ["ocid1.nsg.oc1.phx.unique_ID"]
    NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

    // IP version associated with the NLB.
    NlbIpVersion NlbIpVersionEnum `mandatory:"false" json:"nlbIpVersion,omitempty"`

    // IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this.
    SubnetIpv6Cidr *string `mandatory:"false" json:"subnetIpv6Cidr"`

    // Private IP address to be assigned to the network load balancer being created.
    // This IP address has to be in the CIDR range of the subnet where network load balancer is being created
    // Example: "10.0.0.1"
    AssignedPrivateIpv4 *string `mandatory:"false" json:"assignedPrivateIpv4"`

    // IPv6 address to be assigned to the network load balancer being created.
    // This IP address has to be part of one of the prefixes supported by the subnet.
    // Example: "2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789"
    AssignedIpv6 *string `mandatory:"false" json:"assignedIpv6"`

    // Listeners associated with the network load balancer.
    Listeners map[string]ListenerDetails `mandatory:"false" json:"listeners"`

    // Backend sets associated with the network load balancer.
    BackendSets map[string]BackendSetDetails `mandatory:"false" json:"backendSets"`

    // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateNetworkLoadBalancerDetails) String

func (m CreateNetworkLoadBalancerDetails) String() string

func (CreateNetworkLoadBalancerDetails) ValidateEnumValue

func (m CreateNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNetworkLoadBalancerRequest

CreateNetworkLoadBalancerRequest wrapper for the CreateNetworkLoadBalancer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateNetworkLoadBalancer.go.html to see an example of how to use CreateNetworkLoadBalancerRequest.

type CreateNetworkLoadBalancerRequest struct {

    // Details for the new network load balancer.
    CreateNetworkLoadBalancerDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateNetworkLoadBalancerRequest) BinaryRequestBody

func (request CreateNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkLoadBalancerRequest) HTTPRequest

func (request CreateNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateNetworkLoadBalancerRequest) RetryPolicy

func (request CreateNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateNetworkLoadBalancerRequest) String

func (request CreateNetworkLoadBalancerRequest) String() string

func (CreateNetworkLoadBalancerRequest) ValidateEnumValue

func (request CreateNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNetworkLoadBalancerResponse

CreateNetworkLoadBalancerResponse wrapper for the CreateNetworkLoadBalancer operation

type CreateNetworkLoadBalancerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NetworkLoadBalancer instance
    NetworkLoadBalancer `presentIn:"body"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (CreateNetworkLoadBalancerResponse) HTTPResponse

func (response CreateNetworkLoadBalancerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateNetworkLoadBalancerResponse) String

func (response CreateNetworkLoadBalancerResponse) String() string

type DeleteBackendRequest

DeleteBackendRequest wrapper for the DeleteBackend operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackendRequest.

type DeleteBackendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set associated with the backend server.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The name of the backend server to remove.
    // If the backend was created with an explicitly specified name, that name should be used here.
    // If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as <ipAddress>:<port>.
    // If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as <targetId>:<port>.
    // Example: `10.0.0.3:8080` or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:8080`
    BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteBackendRequest) BinaryRequestBody

func (request DeleteBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBackendRequest) HTTPRequest

func (request DeleteBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBackendRequest) RetryPolicy

func (request DeleteBackendRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteBackendRequest) String

func (request DeleteBackendRequest) String() string

func (DeleteBackendRequest) ValidateEnumValue

func (request DeleteBackendRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteBackendResponse

DeleteBackendResponse wrapper for the DeleteBackend operation

type DeleteBackendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteBackendResponse) HTTPResponse

func (response DeleteBackendResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteBackendResponse) String

func (response DeleteBackendResponse) String() string

type DeleteBackendSetRequest

DeleteBackendSetRequest wrapper for the DeleteBackendSet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSetRequest.

type DeleteBackendSetRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set to delete.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteBackendSetRequest) BinaryRequestBody

func (request DeleteBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBackendSetRequest) HTTPRequest

func (request DeleteBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBackendSetRequest) RetryPolicy

func (request DeleteBackendSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteBackendSetRequest) String

func (request DeleteBackendSetRequest) String() string

func (DeleteBackendSetRequest) ValidateEnumValue

func (request DeleteBackendSetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteBackendSetResponse

DeleteBackendSetResponse wrapper for the DeleteBackendSet operation

type DeleteBackendSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteBackendSetResponse) HTTPResponse

func (response DeleteBackendSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteBackendSetResponse) String

func (response DeleteBackendSetResponse) String() string

type DeleteListenerRequest

DeleteListenerRequest wrapper for the DeleteListener operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteListener.go.html to see an example of how to use DeleteListenerRequest.

type DeleteListenerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the listener to delete.
    // Example: `example_listener`
    ListenerName *string `mandatory:"true" contributesTo:"path" name:"listenerName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteListenerRequest) BinaryRequestBody

func (request DeleteListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteListenerRequest) HTTPRequest

func (request DeleteListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteListenerRequest) RetryPolicy

func (request DeleteListenerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteListenerRequest) String

func (request DeleteListenerRequest) String() string

func (DeleteListenerRequest) ValidateEnumValue

func (request DeleteListenerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteListenerResponse

DeleteListenerResponse wrapper for the DeleteListener operation

type DeleteListenerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    ETag *string `presentIn:"header" name:"etag"`
}

func (DeleteListenerResponse) HTTPResponse

func (response DeleteListenerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteListenerResponse) String

func (response DeleteListenerResponse) String() string

type DeleteNetworkLoadBalancerRequest

DeleteNetworkLoadBalancerRequest wrapper for the DeleteNetworkLoadBalancer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteNetworkLoadBalancer.go.html to see an example of how to use DeleteNetworkLoadBalancerRequest.

type DeleteNetworkLoadBalancerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteNetworkLoadBalancerRequest) BinaryRequestBody

func (request DeleteNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkLoadBalancerRequest) HTTPRequest

func (request DeleteNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkLoadBalancerRequest) RetryPolicy

func (request DeleteNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteNetworkLoadBalancerRequest) String

func (request DeleteNetworkLoadBalancerRequest) String() string

func (DeleteNetworkLoadBalancerRequest) ValidateEnumValue

func (request DeleteNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteNetworkLoadBalancerResponse

DeleteNetworkLoadBalancerResponse wrapper for the DeleteNetworkLoadBalancer operation

type DeleteNetworkLoadBalancerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteNetworkLoadBalancerResponse) HTTPResponse

func (response DeleteNetworkLoadBalancerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkLoadBalancerResponse) String

func (response DeleteNetworkLoadBalancerResponse) String() string

type DnsHealthCheckQueryClassesEnum

DnsHealthCheckQueryClassesEnum Enum with underlying type: string

type DnsHealthCheckQueryClassesEnum string

Set of constants representing the allowable values for DnsHealthCheckQueryClassesEnum

const (
    DnsHealthCheckQueryClassesIn DnsHealthCheckQueryClassesEnum = "IN"
    DnsHealthCheckQueryClassesCh DnsHealthCheckQueryClassesEnum = "CH"
)

func GetDnsHealthCheckQueryClassesEnumValues

func GetDnsHealthCheckQueryClassesEnumValues() []DnsHealthCheckQueryClassesEnum

GetDnsHealthCheckQueryClassesEnumValues Enumerates the set of values for DnsHealthCheckQueryClassesEnum

func GetMappingDnsHealthCheckQueryClassesEnum

func GetMappingDnsHealthCheckQueryClassesEnum(val string) (DnsHealthCheckQueryClassesEnum, bool)

GetMappingDnsHealthCheckQueryClassesEnum performs case Insensitive comparison on enum value and return the desired enum

type DnsHealthCheckQueryTypesEnum

DnsHealthCheckQueryTypesEnum Enum with underlying type: string

type DnsHealthCheckQueryTypesEnum string

Set of constants representing the allowable values for DnsHealthCheckQueryTypesEnum

const (
    DnsHealthCheckQueryTypesA    DnsHealthCheckQueryTypesEnum = "A"
    DnsHealthCheckQueryTypesTxt  DnsHealthCheckQueryTypesEnum = "TXT"
    DnsHealthCheckQueryTypesAaaa DnsHealthCheckQueryTypesEnum = "AAAA"
)

func GetDnsHealthCheckQueryTypesEnumValues

func GetDnsHealthCheckQueryTypesEnumValues() []DnsHealthCheckQueryTypesEnum

GetDnsHealthCheckQueryTypesEnumValues Enumerates the set of values for DnsHealthCheckQueryTypesEnum

func GetMappingDnsHealthCheckQueryTypesEnum

func GetMappingDnsHealthCheckQueryTypesEnum(val string) (DnsHealthCheckQueryTypesEnum, bool)

GetMappingDnsHealthCheckQueryTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type DnsHealthCheckRCodesEnum

DnsHealthCheckRCodesEnum Enum with underlying type: string

type DnsHealthCheckRCodesEnum string

Set of constants representing the allowable values for DnsHealthCheckRCodesEnum

const (
    DnsHealthCheckRCodesNoerror  DnsHealthCheckRCodesEnum = "NOERROR"
    DnsHealthCheckRCodesServfail DnsHealthCheckRCodesEnum = "SERVFAIL"
    DnsHealthCheckRCodesNxdomain DnsHealthCheckRCodesEnum = "NXDOMAIN"
    DnsHealthCheckRCodesRefused  DnsHealthCheckRCodesEnum = "REFUSED"
)

func GetDnsHealthCheckRCodesEnumValues

func GetDnsHealthCheckRCodesEnumValues() []DnsHealthCheckRCodesEnum

GetDnsHealthCheckRCodesEnumValues Enumerates the set of values for DnsHealthCheckRCodesEnum

func GetMappingDnsHealthCheckRCodesEnum

func GetMappingDnsHealthCheckRCodesEnum(val string) (DnsHealthCheckRCodesEnum, bool)

GetMappingDnsHealthCheckRCodesEnum performs case Insensitive comparison on enum value and return the desired enum

type DnsHealthCheckTransportProtocolsEnum

DnsHealthCheckTransportProtocolsEnum Enum with underlying type: string

type DnsHealthCheckTransportProtocolsEnum string

Set of constants representing the allowable values for DnsHealthCheckTransportProtocolsEnum

const (
    DnsHealthCheckTransportProtocolsUdp DnsHealthCheckTransportProtocolsEnum = "UDP"
    DnsHealthCheckTransportProtocolsTcp DnsHealthCheckTransportProtocolsEnum = "TCP"
)

func GetDnsHealthCheckTransportProtocolsEnumValues

func GetDnsHealthCheckTransportProtocolsEnumValues() []DnsHealthCheckTransportProtocolsEnum

GetDnsHealthCheckTransportProtocolsEnumValues Enumerates the set of values for DnsHealthCheckTransportProtocolsEnum

func GetMappingDnsHealthCheckTransportProtocolsEnum

func GetMappingDnsHealthCheckTransportProtocolsEnum(val string) (DnsHealthCheckTransportProtocolsEnum, bool)

GetMappingDnsHealthCheckTransportProtocolsEnum performs case Insensitive comparison on enum value and return the desired enum

type DnsHealthCheckerDetails

DnsHealthCheckerDetails DNS healthcheck configurations.

type DnsHealthCheckerDetails struct {

    // The absolute fully-qualified domain name to perform periodic DNS queries.
    // If not provided, an extra dot will be added at the end of a domain name during the query.
    DomainName *string `mandatory:"true" json:"domainName"`

    // DNS transport protocol; either UDP or TCP.
    // Example: `UDP`
    TransportProtocol DnsHealthCheckTransportProtocolsEnum `mandatory:"false" json:"transportProtocol,omitempty"`

    // The class the dns health check query to use; either IN or CH.
    // Example: `IN`
    QueryClass DnsHealthCheckQueryClassesEnum `mandatory:"false" json:"queryClass,omitempty"`

    // The type the dns health check query to use; A, AAAA, TXT.
    // Example: `A`
    QueryType DnsHealthCheckQueryTypesEnum `mandatory:"false" json:"queryType,omitempty"`

    // An array that represents accepetable RCODE values for DNS query response.
    // Example: ["NOERROR", "NXDOMAIN"]
    Rcodes []DnsHealthCheckRCodesEnum `mandatory:"false" json:"rcodes"`
}

func (DnsHealthCheckerDetails) String

func (m DnsHealthCheckerDetails) String() string

func (DnsHealthCheckerDetails) ValidateEnumValue

func (m DnsHealthCheckerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBackendHealthRequest

GetBackendHealthRequest wrapper for the GetBackendHealth operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealthRequest.

type GetBackendHealthRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set associated with the backend server for which to retrieve the health status.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The name of the backend server to retrieve health status for.
    // If the backend was created with an explicitly specified name, that name should be used here.
    // If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as <ipAddress>:<port>.
    // If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as <targetId>:<port>.
    // Example: `10.0.0.3:8080` or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:8080`
    BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetBackendHealthRequest) BinaryRequestBody

func (request GetBackendHealthRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBackendHealthRequest) HTTPRequest

func (request GetBackendHealthRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBackendHealthRequest) RetryPolicy

func (request GetBackendHealthRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBackendHealthRequest) String

func (request GetBackendHealthRequest) String() string

func (GetBackendHealthRequest) ValidateEnumValue

func (request GetBackendHealthRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBackendHealthResponse

GetBackendHealthResponse wrapper for the GetBackendHealth operation

type GetBackendHealthResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BackendHealth instance
    BackendHealth `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetBackendHealthResponse) HTTPResponse

func (response GetBackendHealthResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBackendHealthResponse) String

func (response GetBackendHealthResponse) String() string

type GetBackendRequest

GetBackendRequest wrapper for the GetBackend operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackend.go.html to see an example of how to use GetBackendRequest.

type GetBackendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set that includes the backend server.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The name of the backend server to retrieve.
    // If the backend was created with an explicitly specified name, that name should be used here.
    // If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as <ipAddress>:<port>.
    // If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as <targetId>:<port>.
    // Example: `10.0.0.3:8080` or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:8080`
    BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetBackendRequest) BinaryRequestBody

func (request GetBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBackendRequest) HTTPRequest

func (request GetBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBackendRequest) RetryPolicy

func (request GetBackendRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBackendRequest) String

func (request GetBackendRequest) String() string

func (GetBackendRequest) ValidateEnumValue

func (request GetBackendRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBackendResponse

GetBackendResponse wrapper for the GetBackend operation

type GetBackendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Backend instance
    Backend `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetBackendResponse) HTTPResponse

func (response GetBackendResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBackendResponse) String

func (response GetBackendResponse) String() string

type GetBackendSetHealthRequest

GetBackendSetHealthRequest wrapper for the GetBackendSetHealth operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealthRequest.

type GetBackendSetHealthRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set for which to retrieve the health status.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetBackendSetHealthRequest) BinaryRequestBody

func (request GetBackendSetHealthRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBackendSetHealthRequest) HTTPRequest

func (request GetBackendSetHealthRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBackendSetHealthRequest) RetryPolicy

func (request GetBackendSetHealthRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBackendSetHealthRequest) String

func (request GetBackendSetHealthRequest) String() string

func (GetBackendSetHealthRequest) ValidateEnumValue

func (request GetBackendSetHealthRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBackendSetHealthResponse

GetBackendSetHealthResponse wrapper for the GetBackendSetHealth operation

type GetBackendSetHealthResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BackendSetHealth instance
    BackendSetHealth `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetBackendSetHealthResponse) HTTPResponse

func (response GetBackendSetHealthResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBackendSetHealthResponse) String

func (response GetBackendSetHealthResponse) String() string

type GetBackendSetRequest

GetBackendSetRequest wrapper for the GetBackendSet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSetRequest.

type GetBackendSetRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set to retrieve.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetBackendSetRequest) BinaryRequestBody

func (request GetBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBackendSetRequest) HTTPRequest

func (request GetBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBackendSetRequest) RetryPolicy

func (request GetBackendSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBackendSetRequest) String

func (request GetBackendSetRequest) String() string

func (GetBackendSetRequest) ValidateEnumValue

func (request GetBackendSetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBackendSetResponse

GetBackendSetResponse wrapper for the GetBackendSet operation

type GetBackendSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The BackendSet instance
    BackendSet `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetBackendSetResponse) HTTPResponse

func (response GetBackendSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBackendSetResponse) String

func (response GetBackendSetResponse) String() string

type GetHealthCheckerRequest

GetHealthCheckerRequest wrapper for the GetHealthChecker operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthCheckerRequest.

type GetHealthCheckerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set associated with the health check policy to be retrieved.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetHealthCheckerRequest) BinaryRequestBody

func (request GetHealthCheckerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetHealthCheckerRequest) HTTPRequest

func (request GetHealthCheckerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHealthCheckerRequest) RetryPolicy

func (request GetHealthCheckerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetHealthCheckerRequest) String

func (request GetHealthCheckerRequest) String() string

func (GetHealthCheckerRequest) ValidateEnumValue

func (request GetHealthCheckerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetHealthCheckerResponse

GetHealthCheckerResponse wrapper for the GetHealthChecker operation

type GetHealthCheckerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The HealthChecker instance
    HealthChecker `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetHealthCheckerResponse) HTTPResponse

func (response GetHealthCheckerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetHealthCheckerResponse) String

func (response GetHealthCheckerResponse) String() string

type GetListenerRequest

GetListenerRequest wrapper for the GetListener operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetListener.go.html to see an example of how to use GetListenerRequest.

type GetListenerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the listener to get.
    // Example: `example_listener`
    ListenerName *string `mandatory:"true" contributesTo:"path" name:"listenerName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetListenerRequest) BinaryRequestBody

func (request GetListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetListenerRequest) HTTPRequest

func (request GetListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetListenerRequest) RetryPolicy

func (request GetListenerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetListenerRequest) String

func (request GetListenerRequest) String() string

func (GetListenerRequest) ValidateEnumValue

func (request GetListenerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetListenerResponse

GetListenerResponse wrapper for the GetListener operation

type GetListenerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Listener instance
    Listener `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

func (GetListenerResponse) HTTPResponse

func (response GetListenerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetListenerResponse) String

func (response GetListenerResponse) String() string

type GetNetworkLoadBalancerHealthRequest

GetNetworkLoadBalancerHealthRequest wrapper for the GetNetworkLoadBalancerHealth operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetNetworkLoadBalancerHealth.go.html to see an example of how to use GetNetworkLoadBalancerHealthRequest.

type GetNetworkLoadBalancerHealthRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetNetworkLoadBalancerHealthRequest) BinaryRequestBody

func (request GetNetworkLoadBalancerHealthRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkLoadBalancerHealthRequest) HTTPRequest

func (request GetNetworkLoadBalancerHealthRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNetworkLoadBalancerHealthRequest) RetryPolicy

func (request GetNetworkLoadBalancerHealthRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNetworkLoadBalancerHealthRequest) String

func (request GetNetworkLoadBalancerHealthRequest) String() string

func (GetNetworkLoadBalancerHealthRequest) ValidateEnumValue

func (request GetNetworkLoadBalancerHealthRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNetworkLoadBalancerHealthResponse

GetNetworkLoadBalancerHealthResponse wrapper for the GetNetworkLoadBalancerHealth operation

type GetNetworkLoadBalancerHealthResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NetworkLoadBalancerHealth instance
    NetworkLoadBalancerHealth `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetNetworkLoadBalancerHealthResponse) HTTPResponse

func (response GetNetworkLoadBalancerHealthResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNetworkLoadBalancerHealthResponse) String

func (response GetNetworkLoadBalancerHealthResponse) String() string

type GetNetworkLoadBalancerRequest

GetNetworkLoadBalancerRequest wrapper for the GetNetworkLoadBalancer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetNetworkLoadBalancer.go.html to see an example of how to use GetNetworkLoadBalancerRequest.

type GetNetworkLoadBalancerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetNetworkLoadBalancerRequest) BinaryRequestBody

func (request GetNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkLoadBalancerRequest) HTTPRequest

func (request GetNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNetworkLoadBalancerRequest) RetryPolicy

func (request GetNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNetworkLoadBalancerRequest) String

func (request GetNetworkLoadBalancerRequest) String() string

func (GetNetworkLoadBalancerRequest) ValidateEnumValue

func (request GetNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNetworkLoadBalancerResponse

GetNetworkLoadBalancerResponse wrapper for the GetNetworkLoadBalancer operation

type GetNetworkLoadBalancerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NetworkLoadBalancer instance
    NetworkLoadBalancer `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetNetworkLoadBalancerResponse) HTTPResponse

func (response GetNetworkLoadBalancerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNetworkLoadBalancerResponse) String

func (response GetNetworkLoadBalancerResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The identifier of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HcsInfraIpVersionEnum

HcsInfraIpVersionEnum Enum with underlying type: string

type HcsInfraIpVersionEnum string

Set of constants representing the allowable values for HcsInfraIpVersionEnum

const (
    HcsInfraIpVersionIpv4        HcsInfraIpVersionEnum = "IPV4"
    HcsInfraIpVersionIpv4AndIpv6 HcsInfraIpVersionEnum = "IPV4_AND_IPV6"
    HcsInfraIpVersionIpv6        HcsInfraIpVersionEnum = "IPV6"
)

func GetHcsInfraIpVersionEnumValues

func GetHcsInfraIpVersionEnumValues() []HcsInfraIpVersionEnum

GetHcsInfraIpVersionEnumValues Enumerates the set of values for HcsInfraIpVersionEnum

func GetMappingHcsInfraIpVersionEnum

func GetMappingHcsInfraIpVersionEnum(val string) (HcsInfraIpVersionEnum, bool)

GetMappingHcsInfraIpVersionEnum performs case Insensitive comparison on enum value and return the desired enum

type HealthCheckProtocolsEnum

HealthCheckProtocolsEnum Enum with underlying type: string

type HealthCheckProtocolsEnum string

Set of constants representing the allowable values for HealthCheckProtocolsEnum

const (
    HealthCheckProtocolsHttp  HealthCheckProtocolsEnum = "HTTP"
    HealthCheckProtocolsHttps HealthCheckProtocolsEnum = "HTTPS"
    HealthCheckProtocolsTcp   HealthCheckProtocolsEnum = "TCP"
    HealthCheckProtocolsUdp   HealthCheckProtocolsEnum = "UDP"
    HealthCheckProtocolsDns   HealthCheckProtocolsEnum = "DNS"
)

func GetHealthCheckProtocolsEnumValues

func GetHealthCheckProtocolsEnumValues() []HealthCheckProtocolsEnum

GetHealthCheckProtocolsEnumValues Enumerates the set of values for HealthCheckProtocolsEnum

func GetMappingHealthCheckProtocolsEnum

func GetMappingHealthCheckProtocolsEnum(val string) (HealthCheckProtocolsEnum, bool)

GetMappingHealthCheckProtocolsEnum performs case Insensitive comparison on enum value and return the desired enum

type HealthCheckResult

HealthCheckResult Information about a single backend server health check result reported by a network load balancer.

type HealthCheckResult struct {

    // The date and time the data was retrieved, in the format defined by RFC3339.
    // Example: `2020-05-01T18:28:11+00:00`
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`

    // The result of the most recent health check.
    HealthCheckStatus HealthCheckResultHealthCheckStatusEnum `mandatory:"true" json:"healthCheckStatus"`
}

func (HealthCheckResult) String

func (m HealthCheckResult) String() string

func (HealthCheckResult) ValidateEnumValue

func (m HealthCheckResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HealthCheckResultHealthCheckStatusEnum

HealthCheckResultHealthCheckStatusEnum Enum with underlying type: string

type HealthCheckResultHealthCheckStatusEnum string

Set of constants representing the allowable values for HealthCheckResultHealthCheckStatusEnum

const (
    HealthCheckResultHealthCheckStatusOk                    HealthCheckResultHealthCheckStatusEnum = "OK"
    HealthCheckResultHealthCheckStatusInvalidStatusCode     HealthCheckResultHealthCheckStatusEnum = "INVALID_STATUS_CODE"
    HealthCheckResultHealthCheckStatusTimedOut              HealthCheckResultHealthCheckStatusEnum = "TIMED_OUT"
    HealthCheckResultHealthCheckStatusHealthPayloadMismatch HealthCheckResultHealthCheckStatusEnum = "HEALTH_PAYLOAD_MISMATCH"
    HealthCheckResultHealthCheckStatusConnectFailed         HealthCheckResultHealthCheckStatusEnum = "CONNECT_FAILED"
    HealthCheckResultHealthCheckStatusUnknown               HealthCheckResultHealthCheckStatusEnum = "UNKNOWN"
)

func GetHealthCheckResultHealthCheckStatusEnumValues

func GetHealthCheckResultHealthCheckStatusEnumValues() []HealthCheckResultHealthCheckStatusEnum

GetHealthCheckResultHealthCheckStatusEnumValues Enumerates the set of values for HealthCheckResultHealthCheckStatusEnum

func GetMappingHealthCheckResultHealthCheckStatusEnum

func GetMappingHealthCheckResultHealthCheckStatusEnum(val string) (HealthCheckResultHealthCheckStatusEnum, bool)

GetMappingHealthCheckResultHealthCheckStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type HealthChecker

HealthChecker The health check policy configuration. For more information, see Editing Health Check Policies (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/HealthCheckPolicies/health-check-policy-management.htm).

type HealthChecker struct {

    // The protocol the health check must use; either HTTP or HTTPS, or UDP or TCP.
    // Example: `HTTP`
    Protocol HealthCheckProtocolsEnum `mandatory:"true" json:"protocol"`

    // The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the
    // port information from the `Backend` object. The port must be specified if the backend port is 0.
    // Example: `8080`
    Port *int `mandatory:"false" json:"port"`

    // The number of retries to attempt before a backend server is considered "unhealthy". This number also applies
    // when recovering a server to the "healthy" state. The default value is 3.
    // Example: `3`
    Retries *int `mandatory:"false" json:"retries"`

    // The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
    // returns within this timeout period. The default value is 3000 (3 seconds).
    // Example: `3000`
    TimeoutInMillis *int `mandatory:"false" json:"timeoutInMillis"`

    // The interval between health checks, in milliseconds. The default value is 10000 (10 seconds).
    // Example: `10000`
    IntervalInMillis *int `mandatory:"false" json:"intervalInMillis"`

    // The path against which to run the health check.
    // Example: `/healthcheck`
    UrlPath *string `mandatory:"false" json:"urlPath"`

    // A regular expression for parsing the response body from the backend server.
    // Example: `^((?!false).|\s)*$`
    ResponseBodyRegex *string `mandatory:"false" json:"responseBodyRegex"`

    // The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
    // then you can use common HTTP status codes such as "200".
    // Example: `200`
    ReturnCode *int `mandatory:"false" json:"returnCode"`

    // Base64 encoded pattern to be sent as UDP or TCP health check probe.
    RequestData []byte `mandatory:"false" json:"requestData"`

    // Base64 encoded pattern to be validated as UDP or TCP health check probe response.
    ResponseData []byte `mandatory:"false" json:"responseData"`

    Dns *DnsHealthCheckerDetails `mandatory:"false" json:"dns"`
}

func (HealthChecker) String

func (m HealthChecker) String() string

func (HealthChecker) ValidateEnumValue

func (m HealthChecker) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HealthCheckerDetails

HealthCheckerDetails The health check policy configuration. For more information, see Editing Health Check Policies (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/HealthCheckPolicies/health-check-policy-management.htm).

type HealthCheckerDetails struct {

    // The protocol the health check must use; either HTTP or HTTPS, or UDP or TCP.
    // Example: `HTTP`
    Protocol HealthCheckProtocolsEnum `mandatory:"true" json:"protocol"`

    // The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the
    // port information from the `Backend` object. The port must be specified if the backend port is 0.
    // Example: `8080`
    Port *int `mandatory:"false" json:"port"`

    // The number of retries to attempt before a backend server is considered "unhealthy". This number also applies
    // when recovering a server to the "healthy" state. The default value is 3.
    // Example: `3`
    Retries *int `mandatory:"false" json:"retries"`

    // The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
    // returns within this timeout period. The default value is 3000 (3 seconds).
    // Example: `3000`
    TimeoutInMillis *int `mandatory:"false" json:"timeoutInMillis"`

    // The interval between health checks, in milliseconds. The default value is 10000 (10 seconds).
    // Example: `10000`
    IntervalInMillis *int `mandatory:"false" json:"intervalInMillis"`

    // The path against which to run the health check.
    // Example: `/healthcheck`
    UrlPath *string `mandatory:"false" json:"urlPath"`

    // A regular expression for parsing the response body from the backend server.
    // Example: `^((?!false).|\s)*$`
    ResponseBodyRegex *string `mandatory:"false" json:"responseBodyRegex"`

    // The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
    // then you can use common HTTP status codes such as "200".
    // Example: `200`
    ReturnCode *int `mandatory:"false" json:"returnCode"`

    // Base64 encoded pattern to be sent as UDP or TCP health check probe.
    RequestData []byte `mandatory:"false" json:"requestData"`

    // Base64 encoded pattern to be validated as UDP or TCP health check probe response.
    ResponseData []byte `mandatory:"false" json:"responseData"`

    Dns *DnsHealthCheckerDetails `mandatory:"false" json:"dns"`
}

func (HealthCheckerDetails) String

func (m HealthCheckerDetails) String() string

func (HealthCheckerDetails) ValidateEnumValue

func (m HealthCheckerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type IpAddress

IpAddress A load balancer IP address.

type IpAddress struct {

    // An IP address.
    // Example: `192.168.0.3`
    IpAddress *string `mandatory:"true" json:"ipAddress"`

    // Whether the IP address is public or private.
    // If "true", then the IP address is public and accessible from the internet.
    // If "false", then the IP address is private and accessible only from within the associated virtual cloud network.
    IsPublic *bool `mandatory:"false" json:"isPublic"`

    // IP version associated with this IP address.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`

    ReservedIp *ReservedIp `mandatory:"false" json:"reservedIp"`
}

func (IpAddress) String

func (m IpAddress) String() string

func (IpAddress) ValidateEnumValue

func (m IpAddress) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type IpVersionEnum

IpVersionEnum Enum with underlying type: string

type IpVersionEnum string

Set of constants representing the allowable values for IpVersionEnum

const (
    IpVersionIpv4 IpVersionEnum = "IPV4"
    IpVersionIpv6 IpVersionEnum = "IPV6"
)

func GetIpVersionEnumValues

func GetIpVersionEnumValues() []IpVersionEnum

GetIpVersionEnumValues Enumerates the set of values for IpVersionEnum

func GetMappingIpVersionEnum

func GetMappingIpVersionEnum(val string) (IpVersionEnum, bool)

GetMappingIpVersionEnum performs case Insensitive comparison on enum value and return the desired enum

type LifecycleStateEnum

LifecycleStateEnum Enum with underlying type: string

type LifecycleStateEnum string

Set of constants representing the allowable values for LifecycleStateEnum

const (
    LifecycleStateCreating LifecycleStateEnum = "CREATING"
    LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
    LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    LifecycleStateDeleting LifecycleStateEnum = "DELETING"
    LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
    LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBackendSetsRequest

ListBackendSetsRequest wrapper for the ListBackendSets operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSetsRequest.

type ListBackendSetsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListBackendSetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListBackendSetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListBackendSetsRequest) BinaryRequestBody

func (request ListBackendSetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBackendSetsRequest) HTTPRequest

func (request ListBackendSetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBackendSetsRequest) RetryPolicy

func (request ListBackendSetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBackendSetsRequest) String

func (request ListBackendSetsRequest) String() string

func (ListBackendSetsRequest) ValidateEnumValue

func (request ListBackendSetsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListBackendSetsResponse

ListBackendSetsResponse wrapper for the ListBackendSets operation

type ListBackendSetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BackendSetCollection instances
    BackendSetCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBackendSetsResponse) HTTPResponse

func (response ListBackendSetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBackendSetsResponse) String

func (response ListBackendSetsResponse) String() string

type ListBackendSetsSortByEnum

ListBackendSetsSortByEnum Enum with underlying type: string

type ListBackendSetsSortByEnum string

Set of constants representing the allowable values for ListBackendSetsSortByEnum

const (
    ListBackendSetsSortByTimecreated ListBackendSetsSortByEnum = "timeCreated"
    ListBackendSetsSortByDisplayname ListBackendSetsSortByEnum = "displayName"
)

func GetListBackendSetsSortByEnumValues

func GetListBackendSetsSortByEnumValues() []ListBackendSetsSortByEnum

GetListBackendSetsSortByEnumValues Enumerates the set of values for ListBackendSetsSortByEnum

func GetMappingListBackendSetsSortByEnum

func GetMappingListBackendSetsSortByEnum(val string) (ListBackendSetsSortByEnum, bool)

GetMappingListBackendSetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBackendSetsSortOrderEnum

ListBackendSetsSortOrderEnum Enum with underlying type: string

type ListBackendSetsSortOrderEnum string

Set of constants representing the allowable values for ListBackendSetsSortOrderEnum

const (
    ListBackendSetsSortOrderAsc  ListBackendSetsSortOrderEnum = "ASC"
    ListBackendSetsSortOrderDesc ListBackendSetsSortOrderEnum = "DESC"
)

func GetListBackendSetsSortOrderEnumValues

func GetListBackendSetsSortOrderEnumValues() []ListBackendSetsSortOrderEnum

GetListBackendSetsSortOrderEnumValues Enumerates the set of values for ListBackendSetsSortOrderEnum

func GetMappingListBackendSetsSortOrderEnum

func GetMappingListBackendSetsSortOrderEnum(val string) (ListBackendSetsSortOrderEnum, bool)

GetMappingListBackendSetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBackendsRequest

ListBackendsRequest wrapper for the ListBackends operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListBackends.go.html to see an example of how to use ListBackendsRequest.

type ListBackendsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The name of the backend set associated with the backend servers.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListBackendsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListBackendsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListBackendsRequest) BinaryRequestBody

func (request ListBackendsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBackendsRequest) HTTPRequest

func (request ListBackendsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBackendsRequest) RetryPolicy

func (request ListBackendsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBackendsRequest) String

func (request ListBackendsRequest) String() string

func (ListBackendsRequest) ValidateEnumValue

func (request ListBackendsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListBackendsResponse

ListBackendsResponse wrapper for the ListBackends operation

type ListBackendsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BackendCollection instances
    BackendCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBackendsResponse) HTTPResponse

func (response ListBackendsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBackendsResponse) String

func (response ListBackendsResponse) String() string

type ListBackendsSortByEnum

ListBackendsSortByEnum Enum with underlying type: string

type ListBackendsSortByEnum string

Set of constants representing the allowable values for ListBackendsSortByEnum

const (
    ListBackendsSortByTimecreated ListBackendsSortByEnum = "timeCreated"
    ListBackendsSortByDisplayname ListBackendsSortByEnum = "displayName"
)

func GetListBackendsSortByEnumValues

func GetListBackendsSortByEnumValues() []ListBackendsSortByEnum

GetListBackendsSortByEnumValues Enumerates the set of values for ListBackendsSortByEnum

func GetMappingListBackendsSortByEnum

func GetMappingListBackendsSortByEnum(val string) (ListBackendsSortByEnum, bool)

GetMappingListBackendsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBackendsSortOrderEnum

ListBackendsSortOrderEnum Enum with underlying type: string

type ListBackendsSortOrderEnum string

Set of constants representing the allowable values for ListBackendsSortOrderEnum

const (
    ListBackendsSortOrderAsc  ListBackendsSortOrderEnum = "ASC"
    ListBackendsSortOrderDesc ListBackendsSortOrderEnum = "DESC"
)

func GetListBackendsSortOrderEnumValues

func GetListBackendsSortOrderEnumValues() []ListBackendsSortOrderEnum

GetListBackendsSortOrderEnumValues Enumerates the set of values for ListBackendsSortOrderEnum

func GetMappingListBackendsSortOrderEnum

func GetMappingListBackendsSortOrderEnum(val string) (ListBackendsSortOrderEnum, bool)

GetMappingListBackendsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListListenersRequest

ListListenersRequest wrapper for the ListListeners operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListListeners.go.html to see an example of how to use ListListenersRequest.

type ListListenersRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The system returns the requested resource, with a 200 status, only if the resource has no etag
    // matching the one specified. If the condition fails for the GET and HEAD methods, then the system returns the
    // HTTP status code `304 (Not Modified)`.
    // Example: `example-etag`
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListListenersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListListenersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListListenersRequest) BinaryRequestBody

func (request ListListenersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListListenersRequest) HTTPRequest

func (request ListListenersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListListenersRequest) RetryPolicy

func (request ListListenersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListListenersRequest) String

func (request ListListenersRequest) String() string

func (ListListenersRequest) ValidateEnumValue

func (request ListListenersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListListenersResponse

ListListenersResponse wrapper for the ListListeners operation

type ListListenersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ListenerCollection instances
    ListenerCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListListenersResponse) HTTPResponse

func (response ListListenersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListListenersResponse) String

func (response ListListenersResponse) String() string

type ListListenersSortByEnum

ListListenersSortByEnum Enum with underlying type: string

type ListListenersSortByEnum string

Set of constants representing the allowable values for ListListenersSortByEnum

const (
    ListListenersSortByTimecreated ListListenersSortByEnum = "timeCreated"
    ListListenersSortByDisplayname ListListenersSortByEnum = "displayName"
)

func GetListListenersSortByEnumValues

func GetListListenersSortByEnumValues() []ListListenersSortByEnum

GetListListenersSortByEnumValues Enumerates the set of values for ListListenersSortByEnum

func GetMappingListListenersSortByEnum

func GetMappingListListenersSortByEnum(val string) (ListListenersSortByEnum, bool)

GetMappingListListenersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListListenersSortOrderEnum

ListListenersSortOrderEnum Enum with underlying type: string

type ListListenersSortOrderEnum string

Set of constants representing the allowable values for ListListenersSortOrderEnum

const (
    ListListenersSortOrderAsc  ListListenersSortOrderEnum = "ASC"
    ListListenersSortOrderDesc ListListenersSortOrderEnum = "DESC"
)

func GetListListenersSortOrderEnumValues

func GetListListenersSortOrderEnumValues() []ListListenersSortOrderEnum

GetListListenersSortOrderEnumValues Enumerates the set of values for ListListenersSortOrderEnum

func GetMappingListListenersSortOrderEnum

func GetMappingListListenersSortOrderEnum(val string) (ListListenersSortOrderEnum, bool)

GetMappingListListenersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancerHealthsRequest

ListNetworkLoadBalancerHealthsRequest wrapper for the ListNetworkLoadBalancerHealths operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancerHealths.go.html to see an example of how to use ListNetworkLoadBalancerHealthsRequest.

type ListNetworkLoadBalancerHealthsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListNetworkLoadBalancerHealthsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListNetworkLoadBalancerHealthsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListNetworkLoadBalancerHealthsRequest) BinaryRequestBody

func (request ListNetworkLoadBalancerHealthsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkLoadBalancerHealthsRequest) HTTPRequest

func (request ListNetworkLoadBalancerHealthsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkLoadBalancerHealthsRequest) RetryPolicy

func (request ListNetworkLoadBalancerHealthsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkLoadBalancerHealthsRequest) String

func (request ListNetworkLoadBalancerHealthsRequest) String() string

func (ListNetworkLoadBalancerHealthsRequest) ValidateEnumValue

func (request ListNetworkLoadBalancerHealthsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListNetworkLoadBalancerHealthsResponse

ListNetworkLoadBalancerHealthsResponse wrapper for the ListNetworkLoadBalancerHealths operation

type ListNetworkLoadBalancerHealthsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of NetworkLoadBalancerHealthCollection instances
    NetworkLoadBalancerHealthCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListNetworkLoadBalancerHealthsResponse) HTTPResponse

func (response ListNetworkLoadBalancerHealthsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNetworkLoadBalancerHealthsResponse) String

func (response ListNetworkLoadBalancerHealthsResponse) String() string

type ListNetworkLoadBalancerHealthsSortByEnum

ListNetworkLoadBalancerHealthsSortByEnum Enum with underlying type: string

type ListNetworkLoadBalancerHealthsSortByEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancerHealthsSortByEnum

const (
    ListNetworkLoadBalancerHealthsSortByTimecreated ListNetworkLoadBalancerHealthsSortByEnum = "timeCreated"
    ListNetworkLoadBalancerHealthsSortByDisplayname ListNetworkLoadBalancerHealthsSortByEnum = "displayName"
)

func GetListNetworkLoadBalancerHealthsSortByEnumValues

func GetListNetworkLoadBalancerHealthsSortByEnumValues() []ListNetworkLoadBalancerHealthsSortByEnum

GetListNetworkLoadBalancerHealthsSortByEnumValues Enumerates the set of values for ListNetworkLoadBalancerHealthsSortByEnum

func GetMappingListNetworkLoadBalancerHealthsSortByEnum

func GetMappingListNetworkLoadBalancerHealthsSortByEnum(val string) (ListNetworkLoadBalancerHealthsSortByEnum, bool)

GetMappingListNetworkLoadBalancerHealthsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancerHealthsSortOrderEnum

ListNetworkLoadBalancerHealthsSortOrderEnum Enum with underlying type: string

type ListNetworkLoadBalancerHealthsSortOrderEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancerHealthsSortOrderEnum

const (
    ListNetworkLoadBalancerHealthsSortOrderAsc  ListNetworkLoadBalancerHealthsSortOrderEnum = "ASC"
    ListNetworkLoadBalancerHealthsSortOrderDesc ListNetworkLoadBalancerHealthsSortOrderEnum = "DESC"
)

func GetListNetworkLoadBalancerHealthsSortOrderEnumValues

func GetListNetworkLoadBalancerHealthsSortOrderEnumValues() []ListNetworkLoadBalancerHealthsSortOrderEnum

GetListNetworkLoadBalancerHealthsSortOrderEnumValues Enumerates the set of values for ListNetworkLoadBalancerHealthsSortOrderEnum

func GetMappingListNetworkLoadBalancerHealthsSortOrderEnum

func GetMappingListNetworkLoadBalancerHealthsSortOrderEnum(val string) (ListNetworkLoadBalancerHealthsSortOrderEnum, bool)

GetMappingListNetworkLoadBalancerHealthsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersLifecycleStateEnum

ListNetworkLoadBalancersLifecycleStateEnum Enum with underlying type: string

type ListNetworkLoadBalancersLifecycleStateEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersLifecycleStateEnum

const (
    ListNetworkLoadBalancersLifecycleStateCreating ListNetworkLoadBalancersLifecycleStateEnum = "CREATING"
    ListNetworkLoadBalancersLifecycleStateUpdating ListNetworkLoadBalancersLifecycleStateEnum = "UPDATING"
    ListNetworkLoadBalancersLifecycleStateActive   ListNetworkLoadBalancersLifecycleStateEnum = "ACTIVE"
    ListNetworkLoadBalancersLifecycleStateDeleting ListNetworkLoadBalancersLifecycleStateEnum = "DELETING"
    ListNetworkLoadBalancersLifecycleStateDeleted  ListNetworkLoadBalancersLifecycleStateEnum = "DELETED"
    ListNetworkLoadBalancersLifecycleStateFailed   ListNetworkLoadBalancersLifecycleStateEnum = "FAILED"
)

func GetListNetworkLoadBalancersLifecycleStateEnumValues

func GetListNetworkLoadBalancersLifecycleStateEnumValues() []ListNetworkLoadBalancersLifecycleStateEnum

GetListNetworkLoadBalancersLifecycleStateEnumValues Enumerates the set of values for ListNetworkLoadBalancersLifecycleStateEnum

func GetMappingListNetworkLoadBalancersLifecycleStateEnum

func GetMappingListNetworkLoadBalancersLifecycleStateEnum(val string) (ListNetworkLoadBalancersLifecycleStateEnum, bool)

GetMappingListNetworkLoadBalancersLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersPoliciesRequest

ListNetworkLoadBalancersPoliciesRequest wrapper for the ListNetworkLoadBalancersPolicies operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancersPolicies.go.html to see an example of how to use ListNetworkLoadBalancersPoliciesRequest.

type ListNetworkLoadBalancersPoliciesRequest struct {

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListNetworkLoadBalancersPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListNetworkLoadBalancersPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListNetworkLoadBalancersPoliciesRequest) BinaryRequestBody

func (request ListNetworkLoadBalancersPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkLoadBalancersPoliciesRequest) HTTPRequest

func (request ListNetworkLoadBalancersPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkLoadBalancersPoliciesRequest) RetryPolicy

func (request ListNetworkLoadBalancersPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkLoadBalancersPoliciesRequest) String

func (request ListNetworkLoadBalancersPoliciesRequest) String() string

func (ListNetworkLoadBalancersPoliciesRequest) ValidateEnumValue

func (request ListNetworkLoadBalancersPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListNetworkLoadBalancersPoliciesResponse

ListNetworkLoadBalancersPoliciesResponse wrapper for the ListNetworkLoadBalancersPolicies operation

type ListNetworkLoadBalancersPoliciesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of NetworkLoadBalancersPolicyCollection instances
    NetworkLoadBalancersPolicyCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListNetworkLoadBalancersPoliciesResponse) HTTPResponse

func (response ListNetworkLoadBalancersPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNetworkLoadBalancersPoliciesResponse) String

func (response ListNetworkLoadBalancersPoliciesResponse) String() string

type ListNetworkLoadBalancersPoliciesSortByEnum

ListNetworkLoadBalancersPoliciesSortByEnum Enum with underlying type: string

type ListNetworkLoadBalancersPoliciesSortByEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersPoliciesSortByEnum

const (
    ListNetworkLoadBalancersPoliciesSortByTimecreated ListNetworkLoadBalancersPoliciesSortByEnum = "timeCreated"
    ListNetworkLoadBalancersPoliciesSortByDisplayname ListNetworkLoadBalancersPoliciesSortByEnum = "displayName"
)

func GetListNetworkLoadBalancersPoliciesSortByEnumValues

func GetListNetworkLoadBalancersPoliciesSortByEnumValues() []ListNetworkLoadBalancersPoliciesSortByEnum

GetListNetworkLoadBalancersPoliciesSortByEnumValues Enumerates the set of values for ListNetworkLoadBalancersPoliciesSortByEnum

func GetMappingListNetworkLoadBalancersPoliciesSortByEnum

func GetMappingListNetworkLoadBalancersPoliciesSortByEnum(val string) (ListNetworkLoadBalancersPoliciesSortByEnum, bool)

GetMappingListNetworkLoadBalancersPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersPoliciesSortOrderEnum

ListNetworkLoadBalancersPoliciesSortOrderEnum Enum with underlying type: string

type ListNetworkLoadBalancersPoliciesSortOrderEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersPoliciesSortOrderEnum

const (
    ListNetworkLoadBalancersPoliciesSortOrderAsc  ListNetworkLoadBalancersPoliciesSortOrderEnum = "ASC"
    ListNetworkLoadBalancersPoliciesSortOrderDesc ListNetworkLoadBalancersPoliciesSortOrderEnum = "DESC"
)

func GetListNetworkLoadBalancersPoliciesSortOrderEnumValues

func GetListNetworkLoadBalancersPoliciesSortOrderEnumValues() []ListNetworkLoadBalancersPoliciesSortOrderEnum

GetListNetworkLoadBalancersPoliciesSortOrderEnumValues Enumerates the set of values for ListNetworkLoadBalancersPoliciesSortOrderEnum

func GetMappingListNetworkLoadBalancersPoliciesSortOrderEnum

func GetMappingListNetworkLoadBalancersPoliciesSortOrderEnum(val string) (ListNetworkLoadBalancersPoliciesSortOrderEnum, bool)

GetMappingListNetworkLoadBalancersPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersProtocolsRequest

ListNetworkLoadBalancersProtocolsRequest wrapper for the ListNetworkLoadBalancersProtocols operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancersProtocols.go.html to see an example of how to use ListNetworkLoadBalancersProtocolsRequest.

type ListNetworkLoadBalancersProtocolsRequest struct {

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListNetworkLoadBalancersProtocolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListNetworkLoadBalancersProtocolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListNetworkLoadBalancersProtocolsRequest) BinaryRequestBody

func (request ListNetworkLoadBalancersProtocolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkLoadBalancersProtocolsRequest) HTTPRequest

func (request ListNetworkLoadBalancersProtocolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkLoadBalancersProtocolsRequest) RetryPolicy

func (request ListNetworkLoadBalancersProtocolsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkLoadBalancersProtocolsRequest) String

func (request ListNetworkLoadBalancersProtocolsRequest) String() string

func (ListNetworkLoadBalancersProtocolsRequest) ValidateEnumValue

func (request ListNetworkLoadBalancersProtocolsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListNetworkLoadBalancersProtocolsResponse

ListNetworkLoadBalancersProtocolsResponse wrapper for the ListNetworkLoadBalancersProtocols operation

type ListNetworkLoadBalancersProtocolsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of NetworkLoadBalancersProtocolCollection instances
    NetworkLoadBalancersProtocolCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListNetworkLoadBalancersProtocolsResponse) HTTPResponse

func (response ListNetworkLoadBalancersProtocolsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNetworkLoadBalancersProtocolsResponse) String

func (response ListNetworkLoadBalancersProtocolsResponse) String() string

type ListNetworkLoadBalancersProtocolsSortByEnum

ListNetworkLoadBalancersProtocolsSortByEnum Enum with underlying type: string

type ListNetworkLoadBalancersProtocolsSortByEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersProtocolsSortByEnum

const (
    ListNetworkLoadBalancersProtocolsSortByTimecreated ListNetworkLoadBalancersProtocolsSortByEnum = "timeCreated"
    ListNetworkLoadBalancersProtocolsSortByDisplayname ListNetworkLoadBalancersProtocolsSortByEnum = "displayName"
)

func GetListNetworkLoadBalancersProtocolsSortByEnumValues

func GetListNetworkLoadBalancersProtocolsSortByEnumValues() []ListNetworkLoadBalancersProtocolsSortByEnum

GetListNetworkLoadBalancersProtocolsSortByEnumValues Enumerates the set of values for ListNetworkLoadBalancersProtocolsSortByEnum

func GetMappingListNetworkLoadBalancersProtocolsSortByEnum

func GetMappingListNetworkLoadBalancersProtocolsSortByEnum(val string) (ListNetworkLoadBalancersProtocolsSortByEnum, bool)

GetMappingListNetworkLoadBalancersProtocolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersProtocolsSortOrderEnum

ListNetworkLoadBalancersProtocolsSortOrderEnum Enum with underlying type: string

type ListNetworkLoadBalancersProtocolsSortOrderEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersProtocolsSortOrderEnum

const (
    ListNetworkLoadBalancersProtocolsSortOrderAsc  ListNetworkLoadBalancersProtocolsSortOrderEnum = "ASC"
    ListNetworkLoadBalancersProtocolsSortOrderDesc ListNetworkLoadBalancersProtocolsSortOrderEnum = "DESC"
)

func GetListNetworkLoadBalancersProtocolsSortOrderEnumValues

func GetListNetworkLoadBalancersProtocolsSortOrderEnumValues() []ListNetworkLoadBalancersProtocolsSortOrderEnum

GetListNetworkLoadBalancersProtocolsSortOrderEnumValues Enumerates the set of values for ListNetworkLoadBalancersProtocolsSortOrderEnum

func GetMappingListNetworkLoadBalancersProtocolsSortOrderEnum

func GetMappingListNetworkLoadBalancersProtocolsSortOrderEnum(val string) (ListNetworkLoadBalancersProtocolsSortOrderEnum, bool)

GetMappingListNetworkLoadBalancersProtocolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersRequest

ListNetworkLoadBalancersRequest wrapper for the ListNetworkLoadBalancers operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancers.go.html to see an example of how to use ListNetworkLoadBalancersRequest.

type ListNetworkLoadBalancersRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state.
    LifecycleState ListNetworkLoadBalancersLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' (ascending) or 'desc' (descending).
    SortOrder ListNetworkLoadBalancersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for timeCreated is descending.
    // The default order for displayName is ascending. If no value is specified, then timeCreated is the default.
    SortBy ListNetworkLoadBalancersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListNetworkLoadBalancersRequest) BinaryRequestBody

func (request ListNetworkLoadBalancersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkLoadBalancersRequest) HTTPRequest

func (request ListNetworkLoadBalancersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkLoadBalancersRequest) RetryPolicy

func (request ListNetworkLoadBalancersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkLoadBalancersRequest) String

func (request ListNetworkLoadBalancersRequest) String() string

func (ListNetworkLoadBalancersRequest) ValidateEnumValue

func (request ListNetworkLoadBalancersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListNetworkLoadBalancersResponse

ListNetworkLoadBalancersResponse wrapper for the ListNetworkLoadBalancers operation

type ListNetworkLoadBalancersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of NetworkLoadBalancerCollection instances
    NetworkLoadBalancerCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListNetworkLoadBalancersResponse) HTTPResponse

func (response ListNetworkLoadBalancersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNetworkLoadBalancersResponse) String

func (response ListNetworkLoadBalancersResponse) String() string

type ListNetworkLoadBalancersSortByEnum

ListNetworkLoadBalancersSortByEnum Enum with underlying type: string

type ListNetworkLoadBalancersSortByEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersSortByEnum

const (
    ListNetworkLoadBalancersSortByTimecreated ListNetworkLoadBalancersSortByEnum = "timeCreated"
    ListNetworkLoadBalancersSortByDisplayname ListNetworkLoadBalancersSortByEnum = "displayName"
)

func GetListNetworkLoadBalancersSortByEnumValues

func GetListNetworkLoadBalancersSortByEnumValues() []ListNetworkLoadBalancersSortByEnum

GetListNetworkLoadBalancersSortByEnumValues Enumerates the set of values for ListNetworkLoadBalancersSortByEnum

func GetMappingListNetworkLoadBalancersSortByEnum

func GetMappingListNetworkLoadBalancersSortByEnum(val string) (ListNetworkLoadBalancersSortByEnum, bool)

GetMappingListNetworkLoadBalancersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkLoadBalancersSortOrderEnum

ListNetworkLoadBalancersSortOrderEnum Enum with underlying type: string

type ListNetworkLoadBalancersSortOrderEnum string

Set of constants representing the allowable values for ListNetworkLoadBalancersSortOrderEnum

const (
    ListNetworkLoadBalancersSortOrderAsc  ListNetworkLoadBalancersSortOrderEnum = "ASC"
    ListNetworkLoadBalancersSortOrderDesc ListNetworkLoadBalancersSortOrderEnum = "DESC"
)

func GetListNetworkLoadBalancersSortOrderEnumValues

func GetListNetworkLoadBalancersSortOrderEnumValues() []ListNetworkLoadBalancersSortOrderEnum

GetListNetworkLoadBalancersSortOrderEnumValues Enumerates the set of values for ListNetworkLoadBalancersSortOrderEnum

func GetMappingListNetworkLoadBalancersSortOrderEnum

func GetMappingListNetworkLoadBalancersSortOrderEnum(val string) (ListNetworkLoadBalancersSortOrderEnum, bool)

GetMappingListNetworkLoadBalancersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The identifier of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The identifier of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page from which to start retrieving results.
    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestCollection instances
    WorkRequestCollection `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type Listener

Listener The congfiguration of the listener. For more information about listener configuration, see Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm).

type Listener struct {

    // A friendly name for the listener. It must be unique and it cannot be changed.
    // Example: `example_listener`
    Name *string `mandatory:"true" json:"name"`

    // The name of the associated backend set.
    // Example: `example_backend_set`
    DefaultBackendSetName *string `mandatory:"true" json:"defaultBackendSetName"`

    // The communication port for the listener.
    // Example: `80`
    Port *int `mandatory:"true" json:"port"`

    // The protocol on which the listener accepts connection requests.
    // For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port.
    // For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true).
    // "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
    // Example: `TCP`
    Protocol ListenerProtocolsEnum `mandatory:"true" json:"protocol"`

    // IP version associated with the listener.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}

func (Listener) String

func (m Listener) String() string

func (Listener) ValidateEnumValue

func (m Listener) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListenerCollection

ListenerCollection Wrapper object for an array of ListenerSummary objects.

type ListenerCollection struct {

    // Array of ListenerSummary objects.
    Items []ListenerSummary `mandatory:"false" json:"items"`
}

func (ListenerCollection) String

func (m ListenerCollection) String() string

func (ListenerCollection) ValidateEnumValue

func (m ListenerCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListenerDetails

ListenerDetails The listener's configuration. For more information about listener configuration, see Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm).

type ListenerDetails struct {

    // A friendly name for the listener. It must be unique and it cannot be changed.
    // Example: `example_listener`
    Name *string `mandatory:"true" json:"name"`

    // The name of the associated backend set.
    // Example: `example_backend_set`
    DefaultBackendSetName *string `mandatory:"true" json:"defaultBackendSetName"`

    // The communication port for the listener.
    // Example: `80`
    Port *int `mandatory:"true" json:"port"`

    // The protocol on which the listener accepts connection requests.
    // For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port.
    // For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true).
    // "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
    // Example: `TCP`
    Protocol ListenerProtocolsEnum `mandatory:"true" json:"protocol"`

    // IP version associated with the listener.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}

func (ListenerDetails) String

func (m ListenerDetails) String() string

func (ListenerDetails) ValidateEnumValue

func (m ListenerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListenerProtocolsEnum

ListenerProtocolsEnum Enum with underlying type: string

type ListenerProtocolsEnum string

Set of constants representing the allowable values for ListenerProtocolsEnum

const (
    ListenerProtocolsAny       ListenerProtocolsEnum = "ANY"
    ListenerProtocolsTcp       ListenerProtocolsEnum = "TCP"
    ListenerProtocolsUdp       ListenerProtocolsEnum = "UDP"
    ListenerProtocolsTcpAndUdp ListenerProtocolsEnum = "TCP_AND_UDP"
)

func GetListenerProtocolsEnumValues

func GetListenerProtocolsEnumValues() []ListenerProtocolsEnum

GetListenerProtocolsEnumValues Enumerates the set of values for ListenerProtocolsEnum

func GetMappingListenerProtocolsEnum

func GetMappingListenerProtocolsEnum(val string) (ListenerProtocolsEnum, bool)

GetMappingListenerProtocolsEnum performs case Insensitive comparison on enum value and return the desired enum

type ListenerSummary

ListenerSummary The configuration of the listener. For more information about listener configuration, see Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm).

type ListenerSummary struct {

    // A friendly name for the listener. It must be unique and it cannot be changed.
    // Example: `example_listener`
    Name *string `mandatory:"true" json:"name"`

    // The name of the associated backend set.
    // Example: `example_backend_set`
    DefaultBackendSetName *string `mandatory:"true" json:"defaultBackendSetName"`

    // The communication port for the listener.
    // Example: `80`
    Port *int `mandatory:"true" json:"port"`

    // The protocol on which the listener accepts connection requests.
    // For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port.
    // For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true).
    // "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
    // Example: `TCP`
    Protocol ListenerProtocolsEnum `mandatory:"true" json:"protocol"`

    // IP version associated with the listener.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}

func (ListenerSummary) String

func (m ListenerSummary) String() string

func (ListenerSummary) ValidateEnumValue

func (m ListenerSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancer

NetworkLoadBalancer The properties that define a network load balancer. For more information, see Managing a network load balancer (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/NetworkLoadBalancers/network-load-balancer-management.htm). To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator. If you are an administrator who writes policies to give users access, then see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). For information about endpoints and signing API requests, see About the API (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see SDKS and Other Tools (https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm).

type NetworkLoadBalancer struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name, which does not have to be unique, and can be changed.
    // Example: `example_load_balancer`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The current state of the network load balancer.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the network load balancer was created, in the format defined by RFC3339.
    // Example: `2020-05-01T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // An array of IP addresses.
    IpAddresses []IpAddress `mandatory:"true" json:"ipAddresses"`

    // The subnet in which the network load balancer is spawned OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)."
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // IP version associated with the NLB.
    NlbIpVersion NlbIpVersionEnum `mandatory:"false" json:"nlbIpVersion,omitempty"`

    // The time the network load balancer was updated. An RFC3339 formatted date-time string.
    // Example: `2020-05-01T22:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Whether the network load balancer has a virtual cloud network-local (private) IP address.
    // If "true", then the service assigns a private IP address to the network load balancer.
    // If "false", then the service assigns a public IP address to the network load balancer.
    // A public network load balancer is accessible from the internet, depending the
    // security list rules (https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and
    // private network load balancers,
    // see How Network Load Balancing Works (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/overview.htm).
    // This value is true by default.
    // Example: `true`
    IsPrivate *bool `mandatory:"false" json:"isPrivate"`

    // When enabled, the skipSourceDestinationCheck parameter is automatically enabled on the load balancer VNIC.
    // Packets are sent to the backend set without any changes to the source and destination IP.
    IsPreserveSourceDestination *bool `mandatory:"false" json:"isPreserveSourceDestination"`

    // This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
    // This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
    IsSymmetricHashEnabled *bool `mandatory:"false" json:"isSymmetricHashEnabled"`

    // An array of network security groups OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load
    // balancer.
    // During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups.
    // The benefits of associating the network load balancer with network security groups include:
    // *  Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
    // *  The network security rules of other resources can reference the network security groups associated with the network load balancer
    //    to ensure access.
    // Example: ["ocid1.nsg.oc1.phx.unique_ID"]
    NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

    // Listeners associated with the network load balancer.
    Listeners map[string]Listener `mandatory:"false" json:"listeners"`

    // Backend sets associated with the network load balancer.
    BackendSets map[string]BackendSet `mandatory:"false" json:"backendSets"`

    // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Key-value pair representing system tags' keys and values scoped to a namespace.
    // Example: `{"bar-key": "value"}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (NetworkLoadBalancer) String

func (m NetworkLoadBalancer) String() string

func (NetworkLoadBalancer) ValidateEnumValue

func (m NetworkLoadBalancer) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancerClient

NetworkLoadBalancerClient a client for NetworkLoadBalancer

type NetworkLoadBalancerClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewNetworkLoadBalancerClientWithConfigurationProvider

func NewNetworkLoadBalancerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client NetworkLoadBalancerClient, err error)

NewNetworkLoadBalancerClientWithConfigurationProvider Creates a new default NetworkLoadBalancer client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewNetworkLoadBalancerClientWithOboToken

func NewNetworkLoadBalancerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client NetworkLoadBalancerClient, err error)

NewNetworkLoadBalancerClientWithOboToken Creates a new default NetworkLoadBalancer client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (NetworkLoadBalancerClient) ChangeNetworkLoadBalancerCompartment

func (client NetworkLoadBalancerClient) ChangeNetworkLoadBalancerCompartment(ctx context.Context, request ChangeNetworkLoadBalancerCompartmentRequest) (response ChangeNetworkLoadBalancerCompartmentResponse, err error)

ChangeNetworkLoadBalancerCompartment Moves a network load balancer into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.go.html to see an example of how to use ChangeNetworkLoadBalancerCompartment API. A default retry strategy applies to this operation ChangeNetworkLoadBalancerCompartment()

func (*NetworkLoadBalancerClient) ConfigurationProvider

func (client *NetworkLoadBalancerClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (NetworkLoadBalancerClient) CreateBackend

func (client NetworkLoadBalancerClient) CreateBackend(ctx context.Context, request CreateBackendRequest) (response CreateBackendResponse, err error)

CreateBackend Adds a backend server to a backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateBackend.go.html to see an example of how to use CreateBackend API. A default retry strategy applies to this operation CreateBackend()

func (NetworkLoadBalancerClient) CreateBackendSet

func (client NetworkLoadBalancerClient) CreateBackendSet(ctx context.Context, request CreateBackendSetRequest) (response CreateBackendSetResponse, err error)

CreateBackendSet Adds a backend set to a network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSet API. A default retry strategy applies to this operation CreateBackendSet()

func (NetworkLoadBalancerClient) CreateListener

func (client NetworkLoadBalancerClient) CreateListener(ctx context.Context, request CreateListenerRequest) (response CreateListenerResponse, err error)

CreateListener Adds a listener to a network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateListener.go.html to see an example of how to use CreateListener API. A default retry strategy applies to this operation CreateListener()

func (NetworkLoadBalancerClient) CreateNetworkLoadBalancer

func (client NetworkLoadBalancerClient) CreateNetworkLoadBalancer(ctx context.Context, request CreateNetworkLoadBalancerRequest) (response CreateNetworkLoadBalancerResponse, err error)

CreateNetworkLoadBalancer Creates a network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/CreateNetworkLoadBalancer.go.html to see an example of how to use CreateNetworkLoadBalancer API. A default retry strategy applies to this operation CreateNetworkLoadBalancer()

func (NetworkLoadBalancerClient) DeleteBackend

func (client NetworkLoadBalancerClient) DeleteBackend(ctx context.Context, request DeleteBackendRequest) (response DeleteBackendResponse, err error)

DeleteBackend Removes a backend server from a given network load balancer and backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackend API. A default retry strategy applies to this operation DeleteBackend()

func (NetworkLoadBalancerClient) DeleteBackendSet

func (client NetworkLoadBalancerClient) DeleteBackendSet(ctx context.Context, request DeleteBackendSetRequest) (response DeleteBackendSetResponse, err error)

DeleteBackendSet Deletes the specified backend set. Note that deleting a backend set removes its backend servers from the network load balancer. Before you can delete a backend set, you must remove it from any active listeners.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSet API. A default retry strategy applies to this operation DeleteBackendSet()

func (NetworkLoadBalancerClient) DeleteListener

func (client NetworkLoadBalancerClient) DeleteListener(ctx context.Context, request DeleteListenerRequest) (response DeleteListenerResponse, err error)

DeleteListener Deletes a listener from a network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteListener.go.html to see an example of how to use DeleteListener API. A default retry strategy applies to this operation DeleteListener()

func (NetworkLoadBalancerClient) DeleteNetworkLoadBalancer

func (client NetworkLoadBalancerClient) DeleteNetworkLoadBalancer(ctx context.Context, request DeleteNetworkLoadBalancerRequest) (response DeleteNetworkLoadBalancerResponse, err error)

DeleteNetworkLoadBalancer Deletes a network load balancer resource by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/DeleteNetworkLoadBalancer.go.html to see an example of how to use DeleteNetworkLoadBalancer API. A default retry strategy applies to this operation DeleteNetworkLoadBalancer()

func (NetworkLoadBalancerClient) GetBackend

func (client NetworkLoadBalancerClient) GetBackend(ctx context.Context, request GetBackendRequest) (response GetBackendResponse, err error)

GetBackend Retrieves the configuration information for the specified backend server.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackend.go.html to see an example of how to use GetBackend API. A default retry strategy applies to this operation GetBackend()

func (NetworkLoadBalancerClient) GetBackendHealth

func (client NetworkLoadBalancerClient) GetBackendHealth(ctx context.Context, request GetBackendHealthRequest) (response GetBackendHealthResponse, err error)

GetBackendHealth Retrieves the current health status of the specified backend server.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealth API. A default retry strategy applies to this operation GetBackendHealth()

func (NetworkLoadBalancerClient) GetBackendSet

func (client NetworkLoadBalancerClient) GetBackendSet(ctx context.Context, request GetBackendSetRequest) (response GetBackendSetResponse, err error)

GetBackendSet Retrieves the configuration information for the specified backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSet API. A default retry strategy applies to this operation GetBackendSet()

func (NetworkLoadBalancerClient) GetBackendSetHealth

func (client NetworkLoadBalancerClient) GetBackendSetHealth(ctx context.Context, request GetBackendSetHealthRequest) (response GetBackendSetHealthResponse, err error)

GetBackendSetHealth Retrieves the health status for the specified backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealth API. A default retry strategy applies to this operation GetBackendSetHealth()

func (NetworkLoadBalancerClient) GetHealthChecker

func (client NetworkLoadBalancerClient) GetHealthChecker(ctx context.Context, request GetHealthCheckerRequest) (response GetHealthCheckerResponse, err error)

GetHealthChecker Retrieves the health check policy information for a given network load balancer and backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthChecker API. A default retry strategy applies to this operation GetHealthChecker()

func (NetworkLoadBalancerClient) GetListener

func (client NetworkLoadBalancerClient) GetListener(ctx context.Context, request GetListenerRequest) (response GetListenerResponse, err error)

GetListener Retrieves listener properties associated with a given network load balancer and listener name.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetListener.go.html to see an example of how to use GetListener API. A default retry strategy applies to this operation GetListener()

func (NetworkLoadBalancerClient) GetNetworkLoadBalancer

func (client NetworkLoadBalancerClient) GetNetworkLoadBalancer(ctx context.Context, request GetNetworkLoadBalancerRequest) (response GetNetworkLoadBalancerResponse, err error)

GetNetworkLoadBalancer Retrieves network load balancer configuration information by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetNetworkLoadBalancer.go.html to see an example of how to use GetNetworkLoadBalancer API. A default retry strategy applies to this operation GetNetworkLoadBalancer()

func (NetworkLoadBalancerClient) GetNetworkLoadBalancerHealth

func (client NetworkLoadBalancerClient) GetNetworkLoadBalancerHealth(ctx context.Context, request GetNetworkLoadBalancerHealthRequest) (response GetNetworkLoadBalancerHealthResponse, err error)

GetNetworkLoadBalancerHealth Retrieves the health status for the specified network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetNetworkLoadBalancerHealth.go.html to see an example of how to use GetNetworkLoadBalancerHealth API. A default retry strategy applies to this operation GetNetworkLoadBalancerHealth()

func (NetworkLoadBalancerClient) GetWorkRequest

func (client NetworkLoadBalancerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Retrieves the details of the work request with the given identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (NetworkLoadBalancerClient) ListBackendSets

func (client NetworkLoadBalancerClient) ListBackendSets(ctx context.Context, request ListBackendSetsRequest) (response ListBackendSetsResponse, err error)

ListBackendSets Lists all backend sets associated with a given network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSets API. A default retry strategy applies to this operation ListBackendSets()

func (NetworkLoadBalancerClient) ListBackends

func (client NetworkLoadBalancerClient) ListBackends(ctx context.Context, request ListBackendsRequest) (response ListBackendsResponse, err error)

ListBackends Lists the backend servers for a given network load balancer and backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListBackends.go.html to see an example of how to use ListBackends API. A default retry strategy applies to this operation ListBackends()

func (NetworkLoadBalancerClient) ListListeners

func (client NetworkLoadBalancerClient) ListListeners(ctx context.Context, request ListListenersRequest) (response ListListenersResponse, err error)

ListListeners Lists all listeners associated with a given network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListListeners.go.html to see an example of how to use ListListeners API. A default retry strategy applies to this operation ListListeners()

func (NetworkLoadBalancerClient) ListNetworkLoadBalancerHealths

func (client NetworkLoadBalancerClient) ListNetworkLoadBalancerHealths(ctx context.Context, request ListNetworkLoadBalancerHealthsRequest) (response ListNetworkLoadBalancerHealthsResponse, err error)

ListNetworkLoadBalancerHealths Lists the summary health statuses for all network load balancers in the specified compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancerHealths.go.html to see an example of how to use ListNetworkLoadBalancerHealths API. A default retry strategy applies to this operation ListNetworkLoadBalancerHealths()

func (NetworkLoadBalancerClient) ListNetworkLoadBalancers

func (client NetworkLoadBalancerClient) ListNetworkLoadBalancers(ctx context.Context, request ListNetworkLoadBalancersRequest) (response ListNetworkLoadBalancersResponse, err error)

ListNetworkLoadBalancers Returns a list of network load balancers.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancers.go.html to see an example of how to use ListNetworkLoadBalancers API. A default retry strategy applies to this operation ListNetworkLoadBalancers()

func (NetworkLoadBalancerClient) ListNetworkLoadBalancersPolicies

func (client NetworkLoadBalancerClient) ListNetworkLoadBalancersPolicies(ctx context.Context, request ListNetworkLoadBalancersPoliciesRequest) (response ListNetworkLoadBalancersPoliciesResponse, err error)

ListNetworkLoadBalancersPolicies Lists the available network load balancer policies.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancersPolicies.go.html to see an example of how to use ListNetworkLoadBalancersPolicies API. A default retry strategy applies to this operation ListNetworkLoadBalancersPolicies()

func (NetworkLoadBalancerClient) ListNetworkLoadBalancersProtocols

func (client NetworkLoadBalancerClient) ListNetworkLoadBalancersProtocols(ctx context.Context, request ListNetworkLoadBalancersProtocolsRequest) (response ListNetworkLoadBalancersProtocolsResponse, err error)

ListNetworkLoadBalancersProtocols This API has been deprecated so it won't return the updated list of supported protocls. Lists all supported traffic protocols.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListNetworkLoadBalancersProtocols.go.html to see an example of how to use ListNetworkLoadBalancersProtocols API. A default retry strategy applies to this operation ListNetworkLoadBalancersProtocols()

func (NetworkLoadBalancerClient) ListWorkRequestErrors

func (client NetworkLoadBalancerClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (NetworkLoadBalancerClient) ListWorkRequestLogs

func (client NetworkLoadBalancerClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Returns a (paginated) list of logs for a given work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (NetworkLoadBalancerClient) ListWorkRequests

func (client NetworkLoadBalancerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists all work requests.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*NetworkLoadBalancerClient) SetRegion

func (client *NetworkLoadBalancerClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (NetworkLoadBalancerClient) UpdateBackend

func (client NetworkLoadBalancerClient) UpdateBackend(ctx context.Context, request UpdateBackendRequest) (response UpdateBackendResponse, err error)

UpdateBackend Updates the configuration of a backend server within the specified backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackend API. A default retry strategy applies to this operation UpdateBackend()

func (NetworkLoadBalancerClient) UpdateBackendSet

func (client NetworkLoadBalancerClient) UpdateBackendSet(ctx context.Context, request UpdateBackendSetRequest) (response UpdateBackendSetResponse, err error)

UpdateBackendSet Updates a backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSet API. A default retry strategy applies to this operation UpdateBackendSet()

func (NetworkLoadBalancerClient) UpdateHealthChecker

func (client NetworkLoadBalancerClient) UpdateHealthChecker(ctx context.Context, request UpdateHealthCheckerRequest) (response UpdateHealthCheckerResponse, err error)

UpdateHealthChecker Updates the health check policy for a given network load balancer and backend set.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthChecker API. A default retry strategy applies to this operation UpdateHealthChecker()

func (NetworkLoadBalancerClient) UpdateListener

func (client NetworkLoadBalancerClient) UpdateListener(ctx context.Context, request UpdateListenerRequest) (response UpdateListenerResponse, err error)

UpdateListener Updates a listener for a given network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateListener.go.html to see an example of how to use UpdateListener API. A default retry strategy applies to this operation UpdateListener()

func (NetworkLoadBalancerClient) UpdateNetworkLoadBalancer

func (client NetworkLoadBalancerClient) UpdateNetworkLoadBalancer(ctx context.Context, request UpdateNetworkLoadBalancerRequest) (response UpdateNetworkLoadBalancerResponse, err error)

UpdateNetworkLoadBalancer Updates the network load balancer

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateNetworkLoadBalancer.go.html to see an example of how to use UpdateNetworkLoadBalancer API. A default retry strategy applies to this operation UpdateNetworkLoadBalancer()

func (NetworkLoadBalancerClient) UpdateNetworkSecurityGroups

func (client NetworkLoadBalancerClient) UpdateNetworkSecurityGroups(ctx context.Context, request UpdateNetworkSecurityGroupsRequest) (response UpdateNetworkSecurityGroupsResponse, err error)

UpdateNetworkSecurityGroups Updates the network security groups associated with the specified network load balancer.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroups API. A default retry strategy applies to this operation UpdateNetworkSecurityGroups()

type NetworkLoadBalancerCollection

NetworkLoadBalancerCollection Wrapper object for an array of NetworkLoadBalancerSummary objects.

type NetworkLoadBalancerCollection struct {

    // Array of NetworkLoadBalancerSummary objects.
    Items []NetworkLoadBalancerSummary `mandatory:"false" json:"items"`
}

func (NetworkLoadBalancerCollection) String

func (m NetworkLoadBalancerCollection) String() string

func (NetworkLoadBalancerCollection) ValidateEnumValue

func (m NetworkLoadBalancerCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancerHealth

NetworkLoadBalancerHealth The health status details for the specified network load balancer. This object does not explicitly enumerate backend sets with a status of `OK`. However, the backend sets are included in the `totalBackendSetCount` sum.

type NetworkLoadBalancerHealth struct {

    // The overall health status of the network load balancer.
    // *  **OK:** All backend sets associated with the network load balancer return a status of `OK`.
    // *  **WARNING:** At least one of the backend sets associated with the network load balancer returns a status of `WARNING`,
    // no backend sets return a status of `CRITICAL`, and the network load balancer life cycle state is `ACTIVE`.
    // *  **CRITICAL:** One or more of the backend sets associated with the network load balancer return a status of `CRITICAL`.
    // *  **UNKNOWN:** If any one of the following conditions is true:
    //     *  The network load balancer life cycle state is not `ACTIVE`.
    //     *  No backend sets are defined for the network load balancer.
    //     *  More than half of the backend sets associated with the network load balancer return a status of `UNKNOWN`, none of the backend
    //        sets return a status of `WARNING` or `CRITICAL`, and the network load balancer life cycle state is `ACTIVE`.
    //     *  The system could not retrieve metrics for any reason.
    Status NetworkLoadBalancerHealthStatusEnum `mandatory:"true" json:"status"`

    // A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the
    // user-friendly name you assigned when you created the backend set.
    // Example: `example_backend_set3`
    WarningStateBackendSetNames []string `mandatory:"true" json:"warningStateBackendSetNames"`

    // A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the
    // user-friendly name you assigned when you created the backend set.
    // Example: `example_backend_set`
    CriticalStateBackendSetNames []string `mandatory:"true" json:"criticalStateBackendSetNames"`

    // A list of backend sets that are currently in the `UNKNOWN` health state. The list identifies each backend set by the
    // user-friendly name you assigned when you created the backend set.
    // Example: `example_backend_set2`
    UnknownStateBackendSetNames []string `mandatory:"true" json:"unknownStateBackendSetNames"`

    // The total number of backend sets associated with this network load balancer.
    // Example: `4`
    TotalBackendSetCount *int `mandatory:"true" json:"totalBackendSetCount"`
}

func (NetworkLoadBalancerHealth) String

func (m NetworkLoadBalancerHealth) String() string

func (NetworkLoadBalancerHealth) ValidateEnumValue

func (m NetworkLoadBalancerHealth) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancerHealthCollection

NetworkLoadBalancerHealthCollection Wrapper object for an array of NetworkLoadBalancerHealthSummary objects.

type NetworkLoadBalancerHealthCollection struct {

    // An array of BackendSetSummary objects.
    Items []NetworkLoadBalancerHealthSummary `mandatory:"false" json:"items"`
}

func (NetworkLoadBalancerHealthCollection) String

func (m NetworkLoadBalancerHealthCollection) String() string

func (NetworkLoadBalancerHealthCollection) ValidateEnumValue

func (m NetworkLoadBalancerHealthCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancerHealthStatusEnum

NetworkLoadBalancerHealthStatusEnum Enum with underlying type: string

type NetworkLoadBalancerHealthStatusEnum string

Set of constants representing the allowable values for NetworkLoadBalancerHealthStatusEnum

const (
    NetworkLoadBalancerHealthStatusOk       NetworkLoadBalancerHealthStatusEnum = "OK"
    NetworkLoadBalancerHealthStatusWarning  NetworkLoadBalancerHealthStatusEnum = "WARNING"
    NetworkLoadBalancerHealthStatusCritical NetworkLoadBalancerHealthStatusEnum = "CRITICAL"
    NetworkLoadBalancerHealthStatusUnknown  NetworkLoadBalancerHealthStatusEnum = "UNKNOWN"
)

func GetMappingNetworkLoadBalancerHealthStatusEnum

func GetMappingNetworkLoadBalancerHealthStatusEnum(val string) (NetworkLoadBalancerHealthStatusEnum, bool)

GetMappingNetworkLoadBalancerHealthStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkLoadBalancerHealthStatusEnumValues

func GetNetworkLoadBalancerHealthStatusEnumValues() []NetworkLoadBalancerHealthStatusEnum

GetNetworkLoadBalancerHealthStatusEnumValues Enumerates the set of values for NetworkLoadBalancerHealthStatusEnum

type NetworkLoadBalancerHealthSummary

NetworkLoadBalancerHealthSummary A health status summary for the specified network load balancer

type NetworkLoadBalancerHealthSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer with which the health status is associated.
    NetworkLoadBalancerId *string `mandatory:"true" json:"networkLoadBalancerId"`

    // The overall health status of the network load balancer.
    // *  **OK:** All backend sets associated with the network load balancer return a status of `OK`.
    // *  **WARNING:** At least one of the backend sets associated with the network load balancer returns a status of `WARNING`,
    // no backend sets return a status of `CRITICAL`, and the network load balancer life cycle state is `ACTIVE`.
    // *  **CRITICAL:** One or more of the backend sets associated with the network load balancer returns a status of `CRITICAL`.
    // *  **UNKNOWN:** If any one of the following conditions is true:
    //     *  The network load balancer life cycle state is not `ACTIVE`.
    //     *  No backend sets are defined for the network load balancer.
    //     *  More than half of the backend sets associated with the network load balancer return a status of `UNKNOWN`, none of the backend
    //        sets returns a status of `WARNING` or `CRITICAL`, and the network load balancer life cycle state is `ACTIVE`.
    //     *  The system could not retrieve metrics for any reason.
    Status NetworkLoadBalancerHealthSummaryStatusEnum `mandatory:"true" json:"status"`
}

func (NetworkLoadBalancerHealthSummary) String

func (m NetworkLoadBalancerHealthSummary) String() string

func (NetworkLoadBalancerHealthSummary) ValidateEnumValue

func (m NetworkLoadBalancerHealthSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancerHealthSummaryStatusEnum

NetworkLoadBalancerHealthSummaryStatusEnum Enum with underlying type: string

type NetworkLoadBalancerHealthSummaryStatusEnum string

Set of constants representing the allowable values for NetworkLoadBalancerHealthSummaryStatusEnum

const (
    NetworkLoadBalancerHealthSummaryStatusOk       NetworkLoadBalancerHealthSummaryStatusEnum = "OK"
    NetworkLoadBalancerHealthSummaryStatusWarning  NetworkLoadBalancerHealthSummaryStatusEnum = "WARNING"
    NetworkLoadBalancerHealthSummaryStatusCritical NetworkLoadBalancerHealthSummaryStatusEnum = "CRITICAL"
    NetworkLoadBalancerHealthSummaryStatusUnknown  NetworkLoadBalancerHealthSummaryStatusEnum = "UNKNOWN"
)

func GetMappingNetworkLoadBalancerHealthSummaryStatusEnum

func GetMappingNetworkLoadBalancerHealthSummaryStatusEnum(val string) (NetworkLoadBalancerHealthSummaryStatusEnum, bool)

GetMappingNetworkLoadBalancerHealthSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkLoadBalancerHealthSummaryStatusEnumValues

func GetNetworkLoadBalancerHealthSummaryStatusEnumValues() []NetworkLoadBalancerHealthSummaryStatusEnum

GetNetworkLoadBalancerHealthSummaryStatusEnumValues Enumerates the set of values for NetworkLoadBalancerHealthSummaryStatusEnum

type NetworkLoadBalancerSummary

NetworkLoadBalancerSummary Network load balancer object to be used for list operations.

type NetworkLoadBalancerSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name, which does not have to be unique, and can be changed.
    // Example: `example_load_balancer`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The current state of the network load balancer.
    LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the network load balancer was created, in the format defined by RFC3339.
    // Example: `2020-05-01T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // An array of IP addresses.
    IpAddresses []IpAddress `mandatory:"true" json:"ipAddresses"`

    // The subnet in which the network load balancer is spawned OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)."
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // IP version associated with the NLB.
    NlbIpVersion NlbIpVersionEnum `mandatory:"false" json:"nlbIpVersion,omitempty"`

    // The time the network load balancer was updated. An RFC3339 formatted date-time string.
    // Example: `2020-05-01T22:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Whether the network load balancer has a virtual cloud network-local (private) IP address.
    // If "true", then the service assigns a private IP address to the network load balancer.
    // If "false", then the service assigns a public IP address to the network load balancer.
    // A public network load balancer is accessible from the internet, depending the
    // security list rules (https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and
    // private network load balancers,
    // see How Network Load Balancing Works (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/overview.htm).
    // This value is true by default.
    // Example: `true`
    IsPrivate *bool `mandatory:"false" json:"isPrivate"`

    // When enabled, the skipSourceDestinationCheck parameter is automatically enabled on the load balancer VNIC.
    // Packets are sent to the backend set without any changes to the source and destination IP.
    IsPreserveSourceDestination *bool `mandatory:"false" json:"isPreserveSourceDestination"`

    // This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
    // This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
    IsSymmetricHashEnabled *bool `mandatory:"false" json:"isSymmetricHashEnabled"`

    // An array of network security groups OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load
    // balancer.
    // During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups.
    // The benefits of associating the network load balancer with network security groups include:
    // *  Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
    // *  The network security rules of other resources can reference the network security groups associated with the network load balancer
    //    to ensure access.
    // Example: ["ocid1.nsg.oc1.phx.unique_ID"]
    NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

    // Listeners associated with the network load balancer.
    Listeners map[string]Listener `mandatory:"false" json:"listeners"`

    // Backend sets associated with the network load balancer.
    BackendSets map[string]BackendSet `mandatory:"false" json:"backendSets"`

    // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Key-value pair representing system tags' keys and values scoped to a namespace.
    // Example: `{"bar-key": "value"}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (NetworkLoadBalancerSummary) String

func (m NetworkLoadBalancerSummary) String() string

func (NetworkLoadBalancerSummary) ValidateEnumValue

func (m NetworkLoadBalancerSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancersPolicyCollection

NetworkLoadBalancersPolicyCollection Wrapper object for array of NetworkLoadBalancersPolicySummary objects.

type NetworkLoadBalancersPolicyCollection struct {

    // Array of NetworkLoadBalancersPolicySummary objects.
    Items []NetworkLoadBalancersPolicySummaryEnum `mandatory:"false" json:"items"`
}

func (NetworkLoadBalancersPolicyCollection) String

func (m NetworkLoadBalancersPolicyCollection) String() string

func (NetworkLoadBalancersPolicyCollection) ValidateEnumValue

func (m NetworkLoadBalancersPolicyCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancersPolicySummaryEnum

NetworkLoadBalancersPolicySummaryEnum Enum with underlying type: string

type NetworkLoadBalancersPolicySummaryEnum string

Set of constants representing the allowable values for NetworkLoadBalancersPolicySummaryEnum

const (
    NetworkLoadBalancersPolicySummaryTwoTuple   NetworkLoadBalancersPolicySummaryEnum = "TWO_TUPLE"
    NetworkLoadBalancersPolicySummaryThreeTuple NetworkLoadBalancersPolicySummaryEnum = "THREE_TUPLE"
    NetworkLoadBalancersPolicySummaryFiveTuple  NetworkLoadBalancersPolicySummaryEnum = "FIVE_TUPLE"
)

func GetMappingNetworkLoadBalancersPolicySummaryEnum

func GetMappingNetworkLoadBalancersPolicySummaryEnum(val string) (NetworkLoadBalancersPolicySummaryEnum, bool)

GetMappingNetworkLoadBalancersPolicySummaryEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkLoadBalancersPolicySummaryEnumValues

func GetNetworkLoadBalancersPolicySummaryEnumValues() []NetworkLoadBalancersPolicySummaryEnum

GetNetworkLoadBalancersPolicySummaryEnumValues Enumerates the set of values for NetworkLoadBalancersPolicySummaryEnum

type NetworkLoadBalancersProtocolCollection

NetworkLoadBalancersProtocolCollection This object is deprecated. Wrapper object for array of ProtocolSummary objects.

type NetworkLoadBalancersProtocolCollection struct {

    // Array of NetworkLoadBalancersProtocolSummary objects.
    Items []NetworkLoadBalancersProtocolSummaryEnum `mandatory:"false" json:"items"`
}

func (NetworkLoadBalancersProtocolCollection) String

func (m NetworkLoadBalancersProtocolCollection) String() string

func (NetworkLoadBalancersProtocolCollection) ValidateEnumValue

func (m NetworkLoadBalancersProtocolCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancersProtocolSummaryEnum

NetworkLoadBalancersProtocolSummaryEnum Enum with underlying type: string

type NetworkLoadBalancersProtocolSummaryEnum string

Set of constants representing the allowable values for NetworkLoadBalancersProtocolSummaryEnum

const (
    NetworkLoadBalancersProtocolSummaryAny       NetworkLoadBalancersProtocolSummaryEnum = "ANY"
    NetworkLoadBalancersProtocolSummaryTcp       NetworkLoadBalancersProtocolSummaryEnum = "TCP"
    NetworkLoadBalancersProtocolSummaryUdp       NetworkLoadBalancersProtocolSummaryEnum = "UDP"
    NetworkLoadBalancersProtocolSummaryTcpAndUdp NetworkLoadBalancersProtocolSummaryEnum = "TCP_AND_UDP"
)

func GetMappingNetworkLoadBalancersProtocolSummaryEnum

func GetMappingNetworkLoadBalancersProtocolSummaryEnum(val string) (NetworkLoadBalancersProtocolSummaryEnum, bool)

GetMappingNetworkLoadBalancersProtocolSummaryEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkLoadBalancersProtocolSummaryEnumValues

func GetNetworkLoadBalancersProtocolSummaryEnumValues() []NetworkLoadBalancersProtocolSummaryEnum

GetNetworkLoadBalancersProtocolSummaryEnumValues Enumerates the set of values for NetworkLoadBalancersProtocolSummaryEnum

type NetworkLoadBalancingPolicyEnum

NetworkLoadBalancingPolicyEnum Enum with underlying type: string

type NetworkLoadBalancingPolicyEnum string

Set of constants representing the allowable values for NetworkLoadBalancingPolicyEnum

const (
    NetworkLoadBalancingPolicyTwoTuple   NetworkLoadBalancingPolicyEnum = "TWO_TUPLE"
    NetworkLoadBalancingPolicyThreeTuple NetworkLoadBalancingPolicyEnum = "THREE_TUPLE"
    NetworkLoadBalancingPolicyFiveTuple  NetworkLoadBalancingPolicyEnum = "FIVE_TUPLE"
)

func GetMappingNetworkLoadBalancingPolicyEnum

func GetMappingNetworkLoadBalancingPolicyEnum(val string) (NetworkLoadBalancingPolicyEnum, bool)

GetMappingNetworkLoadBalancingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkLoadBalancingPolicyEnumValues

func GetNetworkLoadBalancingPolicyEnumValues() []NetworkLoadBalancingPolicyEnum

GetNetworkLoadBalancingPolicyEnumValues Enumerates the set of values for NetworkLoadBalancingPolicyEnum

type NlbIpVersionEnum

NlbIpVersionEnum Enum with underlying type: string

type NlbIpVersionEnum string

Set of constants representing the allowable values for NlbIpVersionEnum

const (
    NlbIpVersionIpv4        NlbIpVersionEnum = "IPV4"
    NlbIpVersionIpv4AndIpv6 NlbIpVersionEnum = "IPV4_AND_IPV6"
    NlbIpVersionIpv6        NlbIpVersionEnum = "IPV6"
)

func GetMappingNlbIpVersionEnum

func GetMappingNlbIpVersionEnum(val string) (NlbIpVersionEnum, bool)

GetMappingNlbIpVersionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNlbIpVersionEnumValues

func GetNlbIpVersionEnumValues() []NlbIpVersionEnum

GetNlbIpVersionEnumValues Enumerates the set of values for NlbIpVersionEnum

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
    OperationStatusFailed     OperationStatusEnum = "FAILED"
    OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling  OperationStatusEnum = "CANCELING"
    OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreateNetworkLoadBalancer OperationTypeEnum = "CREATE_NETWORK_LOAD_BALANCER"
    OperationTypeUpdateNetworkLoadBalancer OperationTypeEnum = "UPDATE_NETWORK_LOAD_BALANCER"
    OperationTypeDeleteNetworkLoadBalancer OperationTypeEnum = "DELETE_NETWORK_LOAD_BALANCER"
    OperationTypeCreateBackend             OperationTypeEnum = "CREATE_BACKEND"
    OperationTypeUpdateBackend             OperationTypeEnum = "UPDATE_BACKEND"
    OperationTypeDeleteBackend             OperationTypeEnum = "DELETE_BACKEND"
    OperationTypeCreateListener            OperationTypeEnum = "CREATE_LISTENER"
    OperationTypeUpdateListener            OperationTypeEnum = "UPDATE_LISTENER"
    OperationTypeDeleteListener            OperationTypeEnum = "DELETE_LISTENER"
    OperationTypeCreateBackendset          OperationTypeEnum = "CREATE_BACKENDSET"
    OperationTypeUpdateBackendset          OperationTypeEnum = "UPDATE_BACKENDSET"
    OperationTypeDeleteBackendset          OperationTypeEnum = "DELETE_BACKENDSET"
    OperationTypeUpdateNsgs                OperationTypeEnum = "UPDATE_NSGS"
    OperationTypeUpdateHealthChecker       OperationTypeEnum = "UPDATE_HEALTH_CHECKER"
    OperationTypeChangeCompartment         OperationTypeEnum = "CHANGE_COMPARTMENT"
    OperationTypeAttachNlbToPod            OperationTypeEnum = "ATTACH_NLB_TO_POD"
    OperationTypeDetachNlbFromPod          OperationTypeEnum = "DETACH_NLB_FROM_POD"
    OperationTypeLiveMigration             OperationTypeEnum = "LIVE_MIGRATION"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type ReservedIp

ReservedIp An object representing a reserved IP address to be attached or that is already attached to a network load balancer.

type ReservedIp struct {

    // OCID of the reserved public IP address created with the virtual cloud network.
    // Reserved public IP addresses are IP addresses that are registered using the virtual cloud network API.
    // Create a reserved public IP address. When you create the network load balancer, enter the OCID of the reserved public IP address in the
    // reservedIp field to attach the IP address to the network load balancer. This task configures the network load balancer to listen to traffic on this IP address.
    // Reserved public IP addresses are not deleted when the network load balancer is deleted. The IP addresses become unattached from the network load balancer.
    // Example: "ocid1.publicip.oc1.phx.unique_ID"
    Id *string `mandatory:"false" json:"id"`
}

func (ReservedIp) String

func (m ReservedIp) String() string

func (ReservedIp) ValidateEnumValue

func (m ReservedIp) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateBackendDetails

UpdateBackendDetails The configuration details for updating a backend server.

type UpdateBackendDetails struct {

    // The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
    // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
    // as a server weighted '1'.
    // For more information about load balancing policies, see
    // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies).
    // Example: `3`
    Weight *int `mandatory:"false" json:"weight"`

    // Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
    // traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy.
    // Example: `false`
    IsBackup *bool `mandatory:"false" json:"isBackup"`

    // Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
    // incoming traffic.
    // Example: `false`
    IsDrain *bool `mandatory:"false" json:"isDrain"`

    // Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
    // traffic.
    // Example: `false`
    IsOffline *bool `mandatory:"false" json:"isOffline"`
}

func (UpdateBackendDetails) String

func (m UpdateBackendDetails) String() string

func (UpdateBackendDetails) ValidateEnumValue

func (m UpdateBackendDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBackendRequest

UpdateBackendRequest wrapper for the UpdateBackend operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackendRequest.

type UpdateBackendRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // Details for updating a backend server.
    UpdateBackendDetails `contributesTo:"body"`

    // The name of the backend set associated with the backend server.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The name of the backend server to update.
    // If the backend was created with an explicitly specified name, that name should be used here.
    // If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as <ipAddress>:<port>.
    // If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as <targetId>:<port>.
    // Example: `10.0.0.3:8080` or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:8080`
    BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateBackendRequest) BinaryRequestBody

func (request UpdateBackendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBackendRequest) HTTPRequest

func (request UpdateBackendRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBackendRequest) RetryPolicy

func (request UpdateBackendRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBackendRequest) String

func (request UpdateBackendRequest) String() string

func (UpdateBackendRequest) ValidateEnumValue

func (request UpdateBackendRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBackendResponse

UpdateBackendResponse wrapper for the UpdateBackend operation

type UpdateBackendResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateBackendResponse) HTTPResponse

func (response UpdateBackendResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBackendResponse) String

func (response UpdateBackendResponse) String() string

type UpdateBackendSetDetails

UpdateBackendSetDetails The configuration details for updating a load balancer backend set. For more information about backend set configuration, see Managing Backend Sets (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateBackendSetDetails struct {

    // The network load balancer policy for the backend set. To get a list of available policies, use the
    // ListNetworkLoadBalancersPolicies operation.
    // Example: `FIVE_TUPLE`
    Policy *string `mandatory:"false" json:"policy"`

    // If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends.
    // Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled.
    // The value is true by default.
    IsPreserveSource *bool `mandatory:"false" json:"isPreserveSource"`

    // If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
    // The value is false by default.
    IsFailOpen *bool `mandatory:"false" json:"isFailOpen"`

    // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
    IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"`

    // The IP version associated with the backend set.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`

    // An array of backends associated with the backend set.
    Backends []BackendDetails `mandatory:"false" json:"backends"`

    HealthChecker *HealthCheckerDetails `mandatory:"false" json:"healthChecker"`
}

func (UpdateBackendSetDetails) String

func (m UpdateBackendSetDetails) String() string

func (UpdateBackendSetDetails) ValidateEnumValue

func (m UpdateBackendSetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBackendSetRequest

UpdateBackendSetRequest wrapper for the UpdateBackendSet operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSetRequest.

type UpdateBackendSetRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The details to update a backend set.
    UpdateBackendSetDetails `contributesTo:"body"`

    // The name of the backend set to update.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateBackendSetRequest) BinaryRequestBody

func (request UpdateBackendSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBackendSetRequest) HTTPRequest

func (request UpdateBackendSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBackendSetRequest) RetryPolicy

func (request UpdateBackendSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBackendSetRequest) String

func (request UpdateBackendSetRequest) String() string

func (UpdateBackendSetRequest) ValidateEnumValue

func (request UpdateBackendSetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBackendSetResponse

UpdateBackendSetResponse wrapper for the UpdateBackendSet operation

type UpdateBackendSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateBackendSetResponse) HTTPResponse

func (response UpdateBackendSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBackendSetResponse) String

func (response UpdateBackendSetResponse) String() string

type UpdateHealthCheckerDetails

UpdateHealthCheckerDetails The configuration details of the health checker.

type UpdateHealthCheckerDetails struct {

    // The protocol that the health check must use; either HTTP, UDP, or TCP.
    // Example: `HTTP`
    Protocol HealthCheckProtocolsEnum `mandatory:"false" json:"protocol,omitempty"`

    // The backend server port against which to run the health check.
    // Example: `8080`
    Port *int `mandatory:"false" json:"port"`

    // The number of retries to attempt before a backend server is considered "unhealthy". This number also applies
    // when recovering a server to the "healthy" state.
    // Example: `3`
    Retries *int `mandatory:"false" json:"retries"`

    // The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
    // returns within this timeout period.
    // Example: `3000`
    TimeoutInMillis *int `mandatory:"false" json:"timeoutInMillis"`

    // The interval between health checks, in milliseconds.
    // Example: `10000`
    IntervalInMillis *int `mandatory:"false" json:"intervalInMillis"`

    // The path against which to run the health check.
    // Example: `/healthcheck`
    UrlPath *string `mandatory:"false" json:"urlPath"`

    // A regular expression for parsing the response body from the backend server.
    // Example: `^((?!false).|\s)*$`
    ResponseBodyRegex *string `mandatory:"false" json:"responseBodyRegex"`

    // The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
    // then you can use common HTTP status codes such as "200".
    // Example: `200`
    ReturnCode *int `mandatory:"false" json:"returnCode"`

    // Base64 encoded pattern to be sent as UDP or TCP health check probe.
    RequestData []byte `mandatory:"false" json:"requestData"`

    // Base64 encoded pattern to be validated as UDP or TCP health check probe response.
    ResponseData []byte `mandatory:"false" json:"responseData"`

    Dns *DnsHealthCheckerDetails `mandatory:"false" json:"dns"`
}

func (UpdateHealthCheckerDetails) String

func (m UpdateHealthCheckerDetails) String() string

func (UpdateHealthCheckerDetails) ValidateEnumValue

func (m UpdateHealthCheckerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHealthCheckerRequest

UpdateHealthCheckerRequest wrapper for the UpdateHealthChecker operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthCheckerRequest.

type UpdateHealthCheckerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The health check policy configuration details.
    UpdateHealthCheckerDetails `contributesTo:"body"`

    // The name of the backend set associated with the health check policy to be retrieved.
    // Example: `example_backend_set`
    BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateHealthCheckerRequest) BinaryRequestBody

func (request UpdateHealthCheckerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateHealthCheckerRequest) HTTPRequest

func (request UpdateHealthCheckerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateHealthCheckerRequest) RetryPolicy

func (request UpdateHealthCheckerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateHealthCheckerRequest) String

func (request UpdateHealthCheckerRequest) String() string

func (UpdateHealthCheckerRequest) ValidateEnumValue

func (request UpdateHealthCheckerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHealthCheckerResponse

UpdateHealthCheckerResponse wrapper for the UpdateHealthChecker operation

type UpdateHealthCheckerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateHealthCheckerResponse) HTTPResponse

func (response UpdateHealthCheckerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateHealthCheckerResponse) String

func (response UpdateHealthCheckerResponse) String() string

type UpdateListenerDetails

UpdateListenerDetails The configuration of the listener. For more information about backend set configuration, see Managing Network Load Balancer Listeners (https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm).

type UpdateListenerDetails struct {

    // The name of the associated backend set.
    // Example: `example_backend_set`
    DefaultBackendSetName *string `mandatory:"false" json:"defaultBackendSetName"`

    // The communication port for the listener.
    // Example: `80`
    Port *int `mandatory:"false" json:"port"`

    // The protocol on which the listener accepts connection requests.
    // For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port.
    // For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true).
    // "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
    // Example: `TCP`
    Protocol ListenerProtocolsEnum `mandatory:"false" json:"protocol,omitempty"`

    // IP version associated with the listener.
    IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"`
}

func (UpdateListenerDetails) String

func (m UpdateListenerDetails) String() string

func (UpdateListenerDetails) ValidateEnumValue

func (m UpdateListenerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateListenerRequest

UpdateListenerRequest wrapper for the UpdateListener operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateListener.go.html to see an example of how to use UpdateListenerRequest.

type UpdateListenerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // Details to update a listener.
    UpdateListenerDetails `contributesTo:"body"`

    // The name of the listener to update.
    // Example: `example_listener`
    ListenerName *string `mandatory:"true" contributesTo:"path" name:"listenerName"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateListenerRequest) BinaryRequestBody

func (request UpdateListenerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateListenerRequest) HTTPRequest

func (request UpdateListenerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateListenerRequest) RetryPolicy

func (request UpdateListenerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateListenerRequest) String

func (request UpdateListenerRequest) String() string

func (UpdateListenerRequest) ValidateEnumValue

func (request UpdateListenerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateListenerResponse

UpdateListenerResponse wrapper for the UpdateListener operation

type UpdateListenerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateListenerResponse) HTTPResponse

func (response UpdateListenerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateListenerResponse) String

func (response UpdateListenerResponse) String() string

type UpdateNetworkLoadBalancerDetails

UpdateNetworkLoadBalancerDetails Configuration details to update a network load balancer. **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateNetworkLoadBalancerDetails struct {

    // The user-friendly display name for the network load balancer, which does not have to be unique and can be changed.
    // Avoid entering confidential information.
    // Example: `example_network_load_balancer`
    DisplayName *string `mandatory:"false" json:"displayName"`

    // This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically
    // enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
    IsPreserveSourceDestination *bool `mandatory:"false" json:"isPreserveSourceDestination"`

    // This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
    // This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
    IsSymmetricHashEnabled *bool `mandatory:"false" json:"isSymmetricHashEnabled"`

    // IP version associated with the NLB.
    NlbIpVersion NlbIpVersionEnum `mandatory:"false" json:"nlbIpVersion,omitempty"`

    // IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this.
    SubnetIpv6Cidr *string `mandatory:"false" json:"subnetIpv6Cidr"`

    // IPv6 address to be assigned to the network load balancer being created.
    // This IP address has to be part of one of the prefixes supported by the subnet.
    // Example: "2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789"
    AssignedIpv6 *string `mandatory:"false" json:"assignedIpv6"`

    // 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 (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateNetworkLoadBalancerDetails) String

func (m UpdateNetworkLoadBalancerDetails) String() string

func (UpdateNetworkLoadBalancerDetails) ValidateEnumValue

func (m UpdateNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkLoadBalancerRequest

UpdateNetworkLoadBalancerRequest wrapper for the UpdateNetworkLoadBalancer operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateNetworkLoadBalancer.go.html to see an example of how to use UpdateNetworkLoadBalancerRequest.

type UpdateNetworkLoadBalancerRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The information to be updated.
    UpdateNetworkLoadBalancerDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateNetworkLoadBalancerRequest) BinaryRequestBody

func (request UpdateNetworkLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkLoadBalancerRequest) HTTPRequest

func (request UpdateNetworkLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkLoadBalancerRequest) RetryPolicy

func (request UpdateNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNetworkLoadBalancerRequest) String

func (request UpdateNetworkLoadBalancerRequest) String() string

func (UpdateNetworkLoadBalancerRequest) ValidateEnumValue

func (request UpdateNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkLoadBalancerResponse

UpdateNetworkLoadBalancerResponse wrapper for the UpdateNetworkLoadBalancer operation

type UpdateNetworkLoadBalancerResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateNetworkLoadBalancerResponse) HTTPResponse

func (response UpdateNetworkLoadBalancerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkLoadBalancerResponse) String

func (response UpdateNetworkLoadBalancerResponse) String() string

type UpdateNetworkSecurityGroupsDetails

UpdateNetworkSecurityGroupsDetails An object representing an updated list of network security groups that overwrites the existing list of network security groups. * If the network load balancer has no configured network security groups, then the network load balancer uses the network security groups in this list. * If the network load balancer has a list of configured network security groups, then this list replaces the existing list. * If the network load balancer has a list of configured network security groups and this list is empty, then the operation removes all of the network security groups associated with the network load balancer.

type UpdateNetworkSecurityGroupsDetails struct {

    // An array of network security group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load
    // balancer.
    // During the creation of the network load balancer, the service adds the new network load balancer to the specified network security groups.
    // The benefits of associating the network load balancer with network security groups include:
    // *  Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
    // *  The network security rules of other resources can reference the network security groups associated with the network load balancer
    //    to ensure access.
    NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`
}

func (UpdateNetworkSecurityGroupsDetails) String

func (m UpdateNetworkSecurityGroupsDetails) String() string

func (UpdateNetworkSecurityGroupsDetails) ValidateEnumValue

func (m UpdateNetworkSecurityGroupsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkSecurityGroupsRequest

UpdateNetworkSecurityGroupsRequest wrapper for the UpdateNetworkSecurityGroups operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/networkloadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroupsRequest.

type UpdateNetworkSecurityGroupsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
    NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"`

    // The details for updating the network security groups associated with the specified network load balancer.
    UpdateNetworkSecurityGroupsDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a
    // particular request, then provide the request identifier.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so that it can be retried in case of a timeout or
    // server error without risk of rerunning that same action. Retry tokens expire after 24
    // hours but they can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the current etag value of the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateNetworkSecurityGroupsRequest) BinaryRequestBody

func (request UpdateNetworkSecurityGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkSecurityGroupsRequest) HTTPRequest

func (request UpdateNetworkSecurityGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkSecurityGroupsRequest) RetryPolicy

func (request UpdateNetworkSecurityGroupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNetworkSecurityGroupsRequest) String

func (request UpdateNetworkSecurityGroupsRequest) String() string

func (UpdateNetworkSecurityGroupsRequest) ValidateEnumValue

func (request UpdateNetworkSecurityGroupsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkSecurityGroupsResponse

UpdateNetworkSecurityGroupsResponse wrapper for the UpdateNetworkSecurityGroups operation

type UpdateNetworkSecurityGroupsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you must contact
    // Oracle about a particular request, then provide the request identifier.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateNetworkSecurityGroupsResponse) HTTPResponse

func (response UpdateNetworkSecurityGroupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkSecurityGroupsResponse) String

func (response UpdateNetworkSecurityGroupsResponse) String() string

type WorkRequest

WorkRequest A description of work request status.

type WorkRequest struct {

    // Type of work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The identifier of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment that contains the work request. Work requests are scoped to
    // the same compartment as the resource that the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, then the service team must choose the primary
    // resource whose compartment is to be used.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time that the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time that the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time that the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestCollection

WorkRequestCollection Wrapper object for an array of WorkRequest objects.

type WorkRequestCollection struct {

    // An array of WorkRequest objects.
    Items []WorkRequestSummary `mandatory:"false" json:"items"`
}

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

func (m WorkRequestCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while running a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed here:
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human-readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occured in the form of an RFC3339 formatted date-time string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection Wrapper object for an array of WorkRequestErrorSummary objects.

type WorkRequestErrorCollection struct {

    // An array of WorkRequestErrorSummary objects.
    Items []WorkRequestError `mandatory:"false" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the running of a work request.

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written displayed as an RFC3339 formatted date-time string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection Wrapper object for an array of WorkRequestLogEntry objects.

type WorkRequestLogEntryCollection struct {

    // An array of WorkRequestLogEntry objects.
    Items []WorkRequestLogEntry `mandatory:"false" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

WorkRequestResource A resource that a work request creates or on which the work request operates.

type WorkRequestResource struct {

    // The resource type that the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the work request.
    // A resource being created, updated, or deleted remains in the IN_PROGRESS state until
    // work is complete for that resource, at which point the resource transitions to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path on which the user can perform a GET request to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummary

WorkRequestSummary Summary of work request object.

type WorkRequestSummary struct {

    // Type of work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The identifier of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment that contains the work request. Work requests are scoped to
    // the same compartment as the resource that the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, then the service team must choose the primary
    // resource whose compartment is to be used.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time that the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time that the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time that the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly