Documentation ¶
Index ¶
- type Backend
- type BackendDetails
- type BackendHealth
- type BackendHealthStatusEnum
- type BackendSet
- type BackendSetDetails
- type BackendSetHealth
- type BackendSetHealthStatusEnum
- type Certificate
- type CertificateDetails
- type ConnectionConfiguration
- type CreateBackendDetails
- type CreateBackendRequest
- type CreateBackendResponse
- type CreateBackendSetDetails
- type CreateBackendSetRequest
- type CreateBackendSetResponse
- type CreateCertificateDetails
- type CreateCertificateRequest
- type CreateCertificateResponse
- type CreateHostnameDetails
- type CreateHostnameRequest
- type CreateHostnameResponse
- type CreateListenerDetails
- type CreateListenerRequest
- type CreateListenerResponse
- type CreateLoadBalancerDetails
- type CreateLoadBalancerRequest
- type CreateLoadBalancerResponse
- type CreatePathRouteSetDetails
- type CreatePathRouteSetRequest
- type CreatePathRouteSetResponse
- type DeleteBackendRequest
- type DeleteBackendResponse
- type DeleteBackendSetRequest
- type DeleteBackendSetResponse
- type DeleteCertificateRequest
- type DeleteCertificateResponse
- type DeleteHostnameRequest
- type DeleteHostnameResponse
- type DeleteListenerRequest
- type DeleteListenerResponse
- type DeleteLoadBalancerRequest
- type DeleteLoadBalancerResponse
- type DeletePathRouteSetRequest
- type DeletePathRouteSetResponse
- type GetBackendHealthRequest
- type GetBackendHealthResponse
- type GetBackendRequest
- type GetBackendResponse
- type GetBackendSetHealthRequest
- type GetBackendSetHealthResponse
- type GetBackendSetRequest
- type GetBackendSetResponse
- type GetHealthCheckerRequest
- type GetHealthCheckerResponse
- type GetHostnameRequest
- type GetHostnameResponse
- type GetLoadBalancerHealthRequest
- type GetLoadBalancerHealthResponse
- type GetLoadBalancerRequest
- type GetLoadBalancerResponse
- type GetPathRouteSetRequest
- type GetPathRouteSetResponse
- type GetWorkRequestRequest
- type GetWorkRequestResponse
- type HealthCheckResult
- type HealthCheckResultHealthCheckStatusEnum
- type HealthChecker
- type HealthCheckerDetails
- type Hostname
- type HostnameDetails
- type IpAddress
- type ListBackendSetsRequest
- type ListBackendSetsResponse
- type ListBackendsRequest
- type ListBackendsResponse
- type ListCertificatesRequest
- type ListCertificatesResponse
- type ListHostnamesRequest
- type ListHostnamesResponse
- type ListLoadBalancerHealthsRequest
- type ListLoadBalancerHealthsResponse
- type ListLoadBalancersRequest
- type ListLoadBalancersResponse
- type ListLoadBalancersSortByEnum
- type ListLoadBalancersSortOrderEnum
- type ListPathRouteSetsRequest
- type ListPathRouteSetsResponse
- type ListPoliciesRequest
- type ListPoliciesResponse
- type ListProtocolsRequest
- type ListProtocolsResponse
- type ListShapesRequest
- type ListShapesResponse
- type ListWorkRequestsRequest
- type ListWorkRequestsResponse
- type Listener
- type ListenerDetails
- type LoadBalancer
- type LoadBalancerClient
- func (client *LoadBalancerClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client LoadBalancerClient) CreateBackend(ctx context.Context, request CreateBackendRequest) (response CreateBackendResponse, err error)
- func (client LoadBalancerClient) CreateBackendSet(ctx context.Context, request CreateBackendSetRequest) (response CreateBackendSetResponse, err error)
- func (client LoadBalancerClient) CreateCertificate(ctx context.Context, request CreateCertificateRequest) (response CreateCertificateResponse, err error)
- func (client LoadBalancerClient) CreateHostname(ctx context.Context, request CreateHostnameRequest) (response CreateHostnameResponse, err error)
- func (client LoadBalancerClient) CreateListener(ctx context.Context, request CreateListenerRequest) (response CreateListenerResponse, err error)
- func (client LoadBalancerClient) CreateLoadBalancer(ctx context.Context, request CreateLoadBalancerRequest) (response CreateLoadBalancerResponse, err error)
- func (client LoadBalancerClient) CreatePathRouteSet(ctx context.Context, request CreatePathRouteSetRequest) (response CreatePathRouteSetResponse, err error)
- func (client LoadBalancerClient) DeleteBackend(ctx context.Context, request DeleteBackendRequest) (response DeleteBackendResponse, err error)
- func (client LoadBalancerClient) DeleteBackendSet(ctx context.Context, request DeleteBackendSetRequest) (response DeleteBackendSetResponse, err error)
- func (client LoadBalancerClient) DeleteCertificate(ctx context.Context, request DeleteCertificateRequest) (response DeleteCertificateResponse, err error)
- func (client LoadBalancerClient) DeleteHostname(ctx context.Context, request DeleteHostnameRequest) (response DeleteHostnameResponse, err error)
- func (client LoadBalancerClient) DeleteListener(ctx context.Context, request DeleteListenerRequest) (response DeleteListenerResponse, err error)
- func (client LoadBalancerClient) DeleteLoadBalancer(ctx context.Context, request DeleteLoadBalancerRequest) (response DeleteLoadBalancerResponse, err error)
- func (client LoadBalancerClient) DeletePathRouteSet(ctx context.Context, request DeletePathRouteSetRequest) (response DeletePathRouteSetResponse, err error)
- func (client LoadBalancerClient) GetBackend(ctx context.Context, request GetBackendRequest) (response GetBackendResponse, err error)
- func (client LoadBalancerClient) GetBackendHealth(ctx context.Context, request GetBackendHealthRequest) (response GetBackendHealthResponse, err error)
- func (client LoadBalancerClient) GetBackendSet(ctx context.Context, request GetBackendSetRequest) (response GetBackendSetResponse, err error)
- func (client LoadBalancerClient) GetBackendSetHealth(ctx context.Context, request GetBackendSetHealthRequest) (response GetBackendSetHealthResponse, err error)
- func (client LoadBalancerClient) GetHealthChecker(ctx context.Context, request GetHealthCheckerRequest) (response GetHealthCheckerResponse, err error)
- func (client LoadBalancerClient) GetHostname(ctx context.Context, request GetHostnameRequest) (response GetHostnameResponse, err error)
- func (client LoadBalancerClient) GetLoadBalancer(ctx context.Context, request GetLoadBalancerRequest) (response GetLoadBalancerResponse, err error)
- func (client LoadBalancerClient) GetLoadBalancerHealth(ctx context.Context, request GetLoadBalancerHealthRequest) (response GetLoadBalancerHealthResponse, err error)
- func (client LoadBalancerClient) GetPathRouteSet(ctx context.Context, request GetPathRouteSetRequest) (response GetPathRouteSetResponse, err error)
- func (client LoadBalancerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client LoadBalancerClient) ListBackendSets(ctx context.Context, request ListBackendSetsRequest) (response ListBackendSetsResponse, err error)
- func (client LoadBalancerClient) ListBackends(ctx context.Context, request ListBackendsRequest) (response ListBackendsResponse, err error)
- func (client LoadBalancerClient) ListCertificates(ctx context.Context, request ListCertificatesRequest) (response ListCertificatesResponse, err error)
- func (client LoadBalancerClient) ListHostnames(ctx context.Context, request ListHostnamesRequest) (response ListHostnamesResponse, err error)
- func (client LoadBalancerClient) ListLoadBalancerHealths(ctx context.Context, request ListLoadBalancerHealthsRequest) (response ListLoadBalancerHealthsResponse, err error)
- func (client LoadBalancerClient) ListLoadBalancers(ctx context.Context, request ListLoadBalancersRequest) (response ListLoadBalancersResponse, err error)
- func (client LoadBalancerClient) ListPathRouteSets(ctx context.Context, request ListPathRouteSetsRequest) (response ListPathRouteSetsResponse, err error)
- func (client LoadBalancerClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error)
- func (client LoadBalancerClient) ListProtocols(ctx context.Context, request ListProtocolsRequest) (response ListProtocolsResponse, err error)
- func (client LoadBalancerClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error)
- func (client LoadBalancerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *LoadBalancerClient) SetRegion(region string)
- func (client LoadBalancerClient) UpdateBackend(ctx context.Context, request UpdateBackendRequest) (response UpdateBackendResponse, err error)
- func (client LoadBalancerClient) UpdateBackendSet(ctx context.Context, request UpdateBackendSetRequest) (response UpdateBackendSetResponse, err error)
- func (client LoadBalancerClient) UpdateHealthChecker(ctx context.Context, request UpdateHealthCheckerRequest) (response UpdateHealthCheckerResponse, err error)
- func (client LoadBalancerClient) UpdateHostname(ctx context.Context, request UpdateHostnameRequest) (response UpdateHostnameResponse, err error)
- func (client LoadBalancerClient) UpdateListener(ctx context.Context, request UpdateListenerRequest) (response UpdateListenerResponse, err error)
- func (client LoadBalancerClient) UpdateLoadBalancer(ctx context.Context, request UpdateLoadBalancerRequest) (response UpdateLoadBalancerResponse, err error)
- func (client LoadBalancerClient) UpdatePathRouteSet(ctx context.Context, request UpdatePathRouteSetRequest) (response UpdatePathRouteSetResponse, err error)
- type LoadBalancerHealth
- type LoadBalancerHealthStatusEnum
- type LoadBalancerHealthSummary
- type LoadBalancerHealthSummaryStatusEnum
- type LoadBalancerLifecycleStateEnum
- type LoadBalancerPolicy
- type LoadBalancerProtocol
- type LoadBalancerShape
- type PathMatchType
- type PathMatchTypeMatchTypeEnum
- type PathRoute
- type PathRouteSet
- type PathRouteSetDetails
- type SessionPersistenceConfigurationDetails
- type SslConfiguration
- type SslConfigurationDetails
- type UpdateBackendDetails
- type UpdateBackendRequest
- type UpdateBackendResponse
- type UpdateBackendSetDetails
- type UpdateBackendSetRequest
- type UpdateBackendSetResponse
- type UpdateHealthCheckerDetails
- type UpdateHealthCheckerRequest
- type UpdateHealthCheckerResponse
- type UpdateHostnameDetails
- type UpdateHostnameRequest
- type UpdateHostnameResponse
- type UpdateListenerDetails
- type UpdateListenerRequest
- type UpdateListenerResponse
- type UpdateLoadBalancerDetails
- type UpdateLoadBalancerRequest
- type UpdateLoadBalancerResponse
- type UpdatePathRouteSetDetails
- type UpdatePathRouteSetRequest
- type UpdatePathRouteSetResponse
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorErrorCodeEnum
- type WorkRequestLifecycleStateEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { // Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress // traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. // Example: `false` Backup *bool `mandatory:"true" json:"backup"` // Whether the load balancer should drain this server. Servers marked "drain" receive no new // incoming traffic. // Example: `false` Drain *bool `mandatory:"true" json:"drain"` // The IP address of the backend server. // Example: `10.0.0.3` IpAddress *string `mandatory:"true" json:"ipAddress"` // A read-only field showing the IP address and port that uniquely identify this backend server in the backend set. // Example: `10.0.0.3:8080` Name *string `mandatory:"true" json:"name"` // Whether the load balancer should treat this server as offline. Offline servers receive no incoming // traffic. // Example: `false` Offline *bool `mandatory:"true" json:"offline"` // The communication port for the backend server. // Example: `8080` Port *int `mandatory:"true" json:"port"` // 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 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see // How Load Balancing Policies Work (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"true" json:"weight"` }
Backend The configuration of a backend server that is a member of a load balancer backend set. For more information, see Managing Backend Servers (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingbackendservers.htm).
type BackendDetails ¶
type BackendDetails struct { // The IP address of the backend server. // Example: `10.0.0.3` IpAddress *string `mandatory:"true" json:"ipAddress"` // The communication port for the backend server. // Example: `8080` Port *int `mandatory:"true" json:"port"` // Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress // traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. // Example: `false` Backup *bool `mandatory:"false" json:"backup"` // Whether the load balancer should drain this server. Servers marked "drain" receive no new // incoming traffic. // Example: `false` Drain *bool `mandatory:"false" json:"drain"` // Whether the load balancer should treat this server as offline. Offline servers receive no incoming // traffic. // Example: `false` Offline *bool `mandatory:"false" json:"offline"` // 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 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see // How Load Balancing Policies Work (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"false" json:"weight"` }
BackendDetails The load balancing configuration details of a backend server.
func (BackendDetails) String ¶
func (m BackendDetails) String() string
type BackendHealth ¶
type BackendHealth struct { // A list of the most recent health check results returned for the specified backend server. HealthCheckResults []HealthCheckResult `mandatory:"true" json:"healthCheckResults"` // The general health status of the specified backend server as reported by the primary and standby load balancers. // * **OK:** Both health checks returned `OK`. // * **WARNING:** One health check returned `OK` and one did not. // * **CRITICAL:** Neither health check returned `OK`. // * **UNKNOWN:** One or both health checks returned `UNKNOWN`, or the system was unable to retrieve metrics at this time. Status BackendHealthStatusEnum `mandatory:"true" json:"status"` }
BackendHealth The health status of the specified backend server as reported by the primary and standby load balancers.
func (BackendHealth) String ¶
func (m BackendHealth) String() string
type BackendHealthStatusEnum ¶
type BackendHealthStatusEnum string
BackendHealthStatusEnum Enum with underlying type: string
const ( BackendHealthStatusOk BackendHealthStatusEnum = "OK" BackendHealthStatusWarning BackendHealthStatusEnum = "WARNING" BackendHealthStatusCritical BackendHealthStatusEnum = "CRITICAL" BackendHealthStatusUnknown BackendHealthStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for BackendHealthStatus
func GetBackendHealthStatusEnumValues ¶
func GetBackendHealthStatusEnumValues() []BackendHealthStatusEnum
GetBackendHealthStatusEnumValues Enumerates the set of values for BackendHealthStatus
type BackendSet ¶
type BackendSet struct { Backends []Backend `mandatory:"true" json:"backends"` HealthChecker *HealthChecker `mandatory:"true" json:"healthChecker"` // A friendly name for the backend set. It must be unique and it 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 load balancer policy for the backend set. To get a list of available policies, use the // ListPolicies operation. // Example: `LEAST_CONNECTIONS` Policy *string `mandatory:"true" json:"policy"` SessionPersistenceConfiguration *SessionPersistenceConfigurationDetails `mandatory:"false" json:"sessionPersistenceConfiguration"` SslConfiguration *SslConfiguration `mandatory:"false" json:"sslConfiguration"` }
BackendSet The configuration of a load balancer backend set. For more information on backend set configuration, see Managing Backend Sets (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm).
func (BackendSet) String ¶
func (m BackendSet) String() string
type BackendSetDetails ¶
type BackendSetDetails struct { HealthChecker *HealthCheckerDetails `mandatory:"true" json:"healthChecker"` // The load balancer policy for the backend set. To get a list of available policies, use the // ListPolicies operation. // Example: `LEAST_CONNECTIONS` Policy *string `mandatory:"true" json:"policy"` Backends []BackendDetails `mandatory:"false" json:"backends"` SessionPersistenceConfiguration *SessionPersistenceConfigurationDetails `mandatory:"false" json:"sessionPersistenceConfiguration"` SslConfiguration *SslConfigurationDetails `mandatory:"false" json:"sslConfiguration"` }
BackendSetDetails The configuration details for a load balancer backend set. For more information on backend set configuration, see Managing Backend Sets (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm).
func (BackendSetDetails) String ¶
func (m BackendSetDetails) String() string
type BackendSetHealth ¶
type BackendSetHealth struct { // 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"` // 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 set's backend servers 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 set's backend servers return a status of `OK`. // * **UNKNOWN:** More than half of the backend set's backend servers return a status of `UNKNOWN`, the system was // unable to retrieve metrics, or the backend set does not have a listener attached. Status BackendSetHealthStatusEnum `mandatory:"true" json:"status"` // The total number of backend servers in this backend set. // Example: `7` TotalBackendCount *int `mandatory:"true" json:"totalBackendCount"` // 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"` // A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by // IP address and port. // Example: `10.0.0.3:8080` WarningStateBackendNames []string `mandatory:"true" json:"warningStateBackendNames"` }
BackendSetHealth The health status details for a backend set. This object does not explicitly enumerate backend servers with a status of `OK`. However, they are included in the `totalBackendCount` sum.
func (BackendSetHealth) String ¶
func (m BackendSetHealth) String() string
type BackendSetHealthStatusEnum ¶
type BackendSetHealthStatusEnum string
BackendSetHealthStatusEnum Enum with underlying type: string
const ( BackendSetHealthStatusOk BackendSetHealthStatusEnum = "OK" BackendSetHealthStatusWarning BackendSetHealthStatusEnum = "WARNING" BackendSetHealthStatusCritical BackendSetHealthStatusEnum = "CRITICAL" BackendSetHealthStatusUnknown BackendSetHealthStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for BackendSetHealthStatus
func GetBackendSetHealthStatusEnumValues ¶
func GetBackendSetHealthStatusEnumValues() []BackendSetHealthStatusEnum
GetBackendSetHealthStatusEnumValues Enumerates the set of values for BackendSetHealthStatus
type Certificate ¶
type Certificate struct { // The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. // Example: // -----BEGIN CERTIFICATE----- // MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix // EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD // VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y // aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy // ... // -----END CERTIFICATE----- CaCertificate *string `mandatory:"true" json:"caCertificate"` // A friendly name for the certificate bundle. It must be unique and it cannot be changed. // Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. // Certificate bundle names cannot contain spaces. Avoid entering confidential information. // Example: `example_certificate_bundle` CertificateName *string `mandatory:"true" json:"certificateName"` // The public certificate, in PEM format, that you received from your SSL certificate provider. // Example: // -----BEGIN CERTIFICATE----- // MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG // A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE // MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl // YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw // ... // -----END CERTIFICATE----- PublicCertificate *string `mandatory:"true" json:"publicCertificate"` }
Certificate The configuration details of a certificate bundle. For more information on SSL certficate configuration, see Managing SSL Certificates (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm).
func (Certificate) String ¶
func (m Certificate) String() string
type CertificateDetails ¶
type CertificateDetails struct { // A friendly name for the certificate bundle. It must be unique and it cannot be changed. // Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. // Certificate bundle names cannot contain spaces. Avoid entering confidential information. // Example: `example_certificate_bundle` CertificateName *string `mandatory:"true" json:"certificateName"` // The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. // Example: // -----BEGIN CERTIFICATE----- // MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix // EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD // VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y // aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy // ... // -----END CERTIFICATE----- CaCertificate *string `mandatory:"false" json:"caCertificate"` // A passphrase for encrypted private keys. This is needed only if you created your certificate with a passphrase. Passphrase *string `mandatory:"false" json:"passphrase"` // The SSL private key for your certificate, in PEM format. // Example: // -----BEGIN RSA PRIVATE KEY----- // jO1O1v2ftXMsawM90tnXwc6xhOAT1gDBC9S8DKeca..JZNUgYYwNS0dP2UK // tmyN+XqVcAKw4HqVmChXy5b5msu8eIq3uc2NqNVtR..2ksSLukP8pxXcHyb // +sEwvM4uf8qbnHAqwnOnP9+KV9vds6BaH1eRA4CHz..n+NVZlzBsTxTlS16 // /Umr7wJzVrMqK5sDiSu4WuaaBdqMGfL5hLsTjcBFD..Da2iyQmSKuVD4lIZ // ... // -----END RSA PRIVATE KEY----- PrivateKey *string `mandatory:"false" json:"privateKey"` // The public certificate, in PEM format, that you received from your SSL certificate provider. // Example: // -----BEGIN CERTIFICATE----- // MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG // A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE // MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl // YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw // ... // -----END CERTIFICATE----- PublicCertificate *string `mandatory:"false" json:"publicCertificate"` }
CertificateDetails The configuration details for a certificate bundle. For more information on SSL certficate configuration, see Managing SSL Certificates (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm).
func (CertificateDetails) String ¶
func (m CertificateDetails) String() string
type ConnectionConfiguration ¶ added in v1.1.0
type ConnectionConfiguration struct { // The maximum idle time, in seconds, allowed between two successive receive or two successive send operations // between the client and backend servers. A send operation does not reset the timer for receive operations. A // receive operation does not reset the timer for send operations. // For more information, see Connection Configuration (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration). // Example: `1200` IdleTimeout *int `mandatory:"true" json:"idleTimeout"` }
ConnectionConfiguration Configuration details for the connection between the client and backend servers.
func (ConnectionConfiguration) String ¶ added in v1.1.0
func (m ConnectionConfiguration) String() string
type CreateBackendDetails ¶
type CreateBackendDetails struct { // The IP address of the backend server. // Example: `10.0.0.3` IpAddress *string `mandatory:"true" json:"ipAddress"` // The communication port for the backend server. // Example: `8080` Port *int `mandatory:"true" json:"port"` // Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress // traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. // Example: `false` Backup *bool `mandatory:"false" json:"backup"` // Whether the load balancer should drain this server. Servers marked "drain" receive no new // incoming traffic. // Example: `false` Drain *bool `mandatory:"false" json:"drain"` // Whether the load balancer should treat this server as offline. Offline servers receive no incoming // traffic. // Example: `false` Offline *bool `mandatory:"false" json:"offline"` // 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 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see // How Load Balancing Policies Work (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"false" json:"weight"` }
CreateBackendDetails The configuration details for creating a backend server in a backend set. For more information on backend server configuration, see Managing Backend Servers (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendservers.htm).
func (CreateBackendDetails) String ¶
func (m CreateBackendDetails) String() string
type CreateBackendRequest ¶
type CreateBackendRequest struct { // The details to add a backend server to a backend set. CreateBackendDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to add the backend server to. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateBackendRequest wrapper for the CreateBackend operation
func (CreateBackendRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateBackendRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateBackendRequest) RetryPolicy ¶ added in v1.3.0
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
type CreateBackendResponse ¶
type CreateBackendResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateBackendResponse wrapper for the CreateBackend operation
func (CreateBackendResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateBackendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateBackendResponse) String ¶
func (response CreateBackendResponse) String() string
type CreateBackendSetDetails ¶
type CreateBackendSetDetails struct { HealthChecker *HealthCheckerDetails `mandatory:"true" json:"healthChecker"` // A friendly name for the backend set. It must be unique and it 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 load balancer policy for the backend set. To get a list of available policies, use the // ListPolicies operation. // Example: `LEAST_CONNECTIONS` Policy *string `mandatory:"true" json:"policy"` Backends []BackendDetails `mandatory:"false" json:"backends"` SessionPersistenceConfiguration *SessionPersistenceConfigurationDetails `mandatory:"false" json:"sessionPersistenceConfiguration"` SslConfiguration *SslConfigurationDetails `mandatory:"false" json:"sslConfiguration"` }
CreateBackendSetDetails The configuration details for creating a backend set in a load balancer. For more information on backend set configuration, see Managing Backend Sets (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm).
func (CreateBackendSetDetails) String ¶
func (m CreateBackendSetDetails) String() string
type CreateBackendSetRequest ¶
type CreateBackendSetRequest struct { // The details for adding a backend set. CreateBackendSetDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a backend set. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateBackendSetRequest wrapper for the CreateBackendSet operation
func (CreateBackendSetRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateBackendSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateBackendSetRequest) RetryPolicy ¶ added in v1.3.0
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
type CreateBackendSetResponse ¶
type CreateBackendSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateBackendSetResponse wrapper for the CreateBackendSet operation
func (CreateBackendSetResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateBackendSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateBackendSetResponse) String ¶
func (response CreateBackendSetResponse) String() string
type CreateCertificateDetails ¶
type CreateCertificateDetails struct { // A friendly name for the certificate bundle. It must be unique and it cannot be changed. // Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. // Certificate bundle names cannot contain spaces. Avoid entering confidential information. // Example: `example_certificate_bundle` CertificateName *string `mandatory:"true" json:"certificateName"` // The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider. // Example: // -----BEGIN CERTIFICATE----- // MIIEczCCA1ugAwIBAgIBADANBgkqhkiG9w0BAQQFAD..AkGA1UEBhMCR0Ix // EzARBgNVBAgTClNvbWUtU3RhdGUxFDASBgNVBAoTC0..0EgTHRkMTcwNQYD // VQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5IENlcn..XRpb24gQXV0aG9y // aXR5MRQwEgYDVQQDEwtCZXN0IENBIEx0ZDAeFw0wMD..TUwMTZaFw0wMTAy // ... // -----END CERTIFICATE----- CaCertificate *string `mandatory:"false" json:"caCertificate"` // A passphrase for encrypted private keys. This is needed only if you created your certificate with a passphrase. Passphrase *string `mandatory:"false" json:"passphrase"` // The SSL private key for your certificate, in PEM format. // Example: // -----BEGIN RSA PRIVATE KEY----- // jO1O1v2ftXMsawM90tnXwc6xhOAT1gDBC9S8DKeca..JZNUgYYwNS0dP2UK // tmyN+XqVcAKw4HqVmChXy5b5msu8eIq3uc2NqNVtR..2ksSLukP8pxXcHyb // +sEwvM4uf8qbnHAqwnOnP9+KV9vds6BaH1eRA4CHz..n+NVZlzBsTxTlS16 // /Umr7wJzVrMqK5sDiSu4WuaaBdqMGfL5hLsTjcBFD..Da2iyQmSKuVD4lIZ // ... // -----END RSA PRIVATE KEY----- PrivateKey *string `mandatory:"false" json:"privateKey"` // The public certificate, in PEM format, that you received from your SSL certificate provider. // Example: // -----BEGIN CERTIFICATE----- // MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbM..QswCQYDVQQGEwJKU // A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxE..TAPBgNVBAoTCEZyY // MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWB..gNVBAMTD0ZyYW5rN // YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmc..mFuazRkZC5jb20wH // ... // -----END CERTIFICATE----- PublicCertificate *string `mandatory:"false" json:"publicCertificate"` }
CreateCertificateDetails The configuration details for adding a certificate bundle to a listener. For more information on SSL certficate configuration, see Managing SSL Certificates (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingcertificates.htm).
func (CreateCertificateDetails) String ¶
func (m CreateCertificateDetails) String() string
type CreateCertificateRequest ¶
type CreateCertificateRequest struct { // The details of the certificate bundle to add. CreateCertificateDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add the certificate bundle. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateCertificateRequest wrapper for the CreateCertificate operation
func (CreateCertificateRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateCertificateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateCertificateRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateCertificateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateCertificateRequest) String ¶
func (request CreateCertificateRequest) String() string
type CreateCertificateResponse ¶
type CreateCertificateResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateCertificateResponse wrapper for the CreateCertificate operation
func (CreateCertificateResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateCertificateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateCertificateResponse) String ¶
func (response CreateCertificateResponse) String() string
type CreateHostnameDetails ¶ added in v1.4.0
type CreateHostnameDetails struct { // A virtual hostname. For more information about virtual hostname string construction, see // Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"true" json:"hostname"` // A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential // information. // Example: `example_hostname_001` Name *string `mandatory:"true" json:"name"` }
CreateHostnameDetails The details of the hostname resource to add to a load balancer.
func (CreateHostnameDetails) String ¶ added in v1.4.0
func (m CreateHostnameDetails) String() string
type CreateHostnameRequest ¶ added in v1.4.0
type CreateHostnameRequest struct { // The details of the hostname resource to add to the specified load balancer. CreateHostnameDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the hostname to. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateHostnameRequest wrapper for the CreateHostname operation
func (CreateHostnameRequest) HTTPRequest ¶ added in v1.4.0
func (request CreateHostnameRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateHostnameRequest) RetryPolicy ¶ added in v1.4.0
func (request CreateHostnameRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateHostnameRequest) String ¶ added in v1.4.0
func (request CreateHostnameRequest) String() string
type CreateHostnameResponse ¶ added in v1.4.0
type CreateHostnameResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateHostnameResponse wrapper for the CreateHostname operation
func (CreateHostnameResponse) HTTPResponse ¶ added in v1.4.0
func (response CreateHostnameResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateHostnameResponse) String ¶ added in v1.4.0
func (response CreateHostnameResponse) String() string
type CreateListenerDetails ¶
type CreateListenerDetails struct { // The name of the associated backend set. // Example: `example_backend_set` DefaultBackendSetName *string `mandatory:"true" json:"defaultBackendSetName"` // A friendly name for the listener. It must be unique and it cannot be changed. // Avoid entering confidential information. // Example: `example_listener` Name *string `mandatory:"true" json:"name"` // The communication port for the listener. // Example: `80` Port *int `mandatory:"true" json:"port"` // The protocol on which the listener accepts connection requests. // To get a list of valid protocols, use the ListProtocols // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` ConnectionConfiguration *ConnectionConfiguration `mandatory:"false" json:"connectionConfiguration"` // An array of hostname resource names. HostnameNames []string `mandatory:"false" json:"hostnameNames"` // The name of the set of path-based routing rules, PathRouteSet, // applied to this listener's traffic. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"false" json:"pathRouteSetName"` SslConfiguration *SslConfigurationDetails `mandatory:"false" json:"sslConfiguration"` }
CreateListenerDetails The configuration details for adding a listener to a backend set. For more information on listener configuration, see Managing Load Balancer Listeners (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managinglisteners.htm).
func (CreateListenerDetails) String ¶
func (m CreateListenerDetails) String() string
type CreateListenerRequest ¶
type CreateListenerRequest struct { // Details to add a listener. CreateListenerDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a listener. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateListenerRequest wrapper for the CreateListener operation
func (CreateListenerRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateListenerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateListenerRequest) RetryPolicy ¶ added in v1.3.0
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
type CreateListenerResponse ¶
type CreateListenerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateListenerResponse wrapper for the CreateListener operation
func (CreateListenerResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateListenerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateListenerResponse) String ¶
func (response CreateListenerResponse) String() string
type CreateLoadBalancerDetails ¶
type CreateLoadBalancerDetails struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. // Avoid entering confidential information. // Example: `example_load_balancer` DisplayName *string `mandatory:"true" json:"displayName"` // A template that determines the total pre-provisioned bandwidth (ingress plus egress). // To get a list of available shapes, use the ListShapes // operation. // Example: `100Mbps` ShapeName *string `mandatory:"true" json:"shapeName"` // An array of subnet OCIDs (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm). SubnetIds []string `mandatory:"true" json:"subnetIds"` BackendSets map[string]BackendSetDetails `mandatory:"false" json:"backendSets"` Certificates map[string]CertificateDetails `mandatory:"false" json:"certificates"` Hostnames map[string]HostnameDetails `mandatory:"false" json:"hostnames"` // Whether the load balancer has a VCN-local (private) IP address. // If "true", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet // to host both the primary and secondary load balancers. The private IP address is local to the subnet. The load balancer // is accessible only from within the VCN that contains the associated subnet, or as further restricted by your security // list rules. The load balancer can route traffic to any backend server that is reachable from the VCN. // For a private load balancer, both the primary and secondary load balancer hosts are within the same Availability Domain. // If "false", the service assigns a public IP address to the load balancer. A load balancer with a public IP address // requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other // hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your // VCN's security list rules (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm). // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` Listeners map[string]ListenerDetails `mandatory:"false" json:"listeners"` PathRouteSets map[string]PathRouteSetDetails `mandatory:"false" json:"pathRouteSets"` }
CreateLoadBalancerDetails The configuration details for creating a load balancer.
func (CreateLoadBalancerDetails) String ¶
func (m CreateLoadBalancerDetails) String() string
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct { // The configuration details for creating a load balancer. CreateLoadBalancerDetails `contributesTo:"body"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateLoadBalancerRequest wrapper for the CreateLoadBalancer operation
func (CreateLoadBalancerRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateLoadBalancerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateLoadBalancerRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateLoadBalancerRequest) String ¶
func (request CreateLoadBalancerRequest) String() string
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreateLoadBalancerResponse wrapper for the CreateLoadBalancer operation
func (CreateLoadBalancerResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateLoadBalancerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateLoadBalancerResponse) String ¶
func (response CreateLoadBalancerResponse) String() string
type CreatePathRouteSetDetails ¶ added in v1.1.0
type CreatePathRouteSetDetails struct { // The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering // confidential information. // Example: `example_path_route_set` Name *string `mandatory:"true" json:"name"` // The set of path route rules. PathRoutes []PathRoute `mandatory:"true" json:"pathRoutes"` }
CreatePathRouteSetDetails A named set of path route rules to add to the load balancer.
func (CreatePathRouteSetDetails) String ¶ added in v1.1.0
func (m CreatePathRouteSetDetails) String() string
type CreatePathRouteSetRequest ¶ added in v1.1.0
type CreatePathRouteSetRequest struct { // The details of the path route set to add. CreatePathRouteSetDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreatePathRouteSetRequest wrapper for the CreatePathRouteSet operation
func (CreatePathRouteSetRequest) HTTPRequest ¶ added in v1.3.0
func (request CreatePathRouteSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreatePathRouteSetRequest) RetryPolicy ¶ added in v1.3.0
func (request CreatePathRouteSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreatePathRouteSetRequest) String ¶ added in v1.1.0
func (request CreatePathRouteSetRequest) String() string
type CreatePathRouteSetResponse ¶ added in v1.1.0
type CreatePathRouteSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CreatePathRouteSetResponse wrapper for the CreatePathRouteSet operation
func (CreatePathRouteSetResponse) HTTPResponse ¶ added in v1.3.0
func (response CreatePathRouteSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreatePathRouteSetResponse) String ¶ added in v1.1.0
func (response CreatePathRouteSetResponse) String() string
type DeleteBackendRequest ¶
type DeleteBackendRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend server. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` // The IP address and port of the backend server to remove. // Example: `10.0.0.3:8080` BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteBackendRequest wrapper for the DeleteBackend operation
func (DeleteBackendRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteBackendRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteBackendRequest) RetryPolicy ¶ added in v1.3.0
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
type DeleteBackendResponse ¶
type DeleteBackendResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteBackendResponse wrapper for the DeleteBackend operation
func (DeleteBackendResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteBackendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteBackendResponse) String ¶
func (response DeleteBackendResponse) String() string
type DeleteBackendSetRequest ¶
type DeleteBackendSetRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteBackendSetRequest wrapper for the DeleteBackendSet operation
func (DeleteBackendSetRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteBackendSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteBackendSetRequest) RetryPolicy ¶ added in v1.3.0
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
type DeleteBackendSetResponse ¶
type DeleteBackendSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteBackendSetResponse wrapper for the DeleteBackendSet operation
func (DeleteBackendSetResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteBackendSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteBackendSetResponse) String ¶
func (response DeleteBackendSetResponse) String() string
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundle // to be deleted. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the certificate bundle to delete. // Example: `example_certificate_bundle` CertificateName *string `mandatory:"true" contributesTo:"path" name:"certificateName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteCertificateRequest wrapper for the DeleteCertificate operation
func (DeleteCertificateRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteCertificateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteCertificateRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteCertificateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteCertificateRequest) String ¶
func (request DeleteCertificateRequest) String() string
type DeleteCertificateResponse ¶
type DeleteCertificateResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteCertificateResponse wrapper for the DeleteCertificate operation
func (DeleteCertificateResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteCertificateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteCertificateResponse) String ¶
func (response DeleteCertificateResponse) String() string
type DeleteHostnameRequest ¶ added in v1.4.0
type DeleteHostnameRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostname to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the hostname resource to delete. // Example: `example_hostname_001` Name *string `mandatory:"true" contributesTo:"path" name:"name"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteHostnameRequest wrapper for the DeleteHostname operation
func (DeleteHostnameRequest) HTTPRequest ¶ added in v1.4.0
func (request DeleteHostnameRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteHostnameRequest) RetryPolicy ¶ added in v1.4.0
func (request DeleteHostnameRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteHostnameRequest) String ¶ added in v1.4.0
func (request DeleteHostnameRequest) String() string
type DeleteHostnameResponse ¶ added in v1.4.0
type DeleteHostnameResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteHostnameResponse wrapper for the DeleteHostname operation
func (DeleteHostnameResponse) HTTPResponse ¶ added in v1.4.0
func (response DeleteHostnameResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteHostnameResponse) String ¶ added in v1.4.0
func (response DeleteHostnameResponse) String() string
type DeleteListenerRequest ¶
type DeleteListenerRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteListenerRequest wrapper for the DeleteListener operation
func (DeleteListenerRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteListenerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteListenerRequest) RetryPolicy ¶ added in v1.3.0
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
type DeleteListenerResponse ¶
type DeleteListenerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteListenerResponse wrapper for the DeleteListener operation
func (DeleteListenerResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteListenerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteListenerResponse) String ¶
func (response DeleteListenerResponse) String() string
type DeleteLoadBalancerRequest ¶
type DeleteLoadBalancerRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeleteLoadBalancerRequest wrapper for the DeleteLoadBalancer operation
func (DeleteLoadBalancerRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteLoadBalancerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteLoadBalancerRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteLoadBalancerRequest) String ¶
func (request DeleteLoadBalancerRequest) String() string
type DeleteLoadBalancerResponse ¶
type DeleteLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteLoadBalancerResponse wrapper for the DeleteLoadBalancer operation
func (DeleteLoadBalancerResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteLoadBalancerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteLoadBalancerResponse) String ¶
func (response DeleteLoadBalancerResponse) String() string
type DeletePathRouteSetRequest ¶ added in v1.1.0
type DeletePathRouteSetRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the path route set to delete. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"true" contributesTo:"path" name:"pathRouteSetName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
DeletePathRouteSetRequest wrapper for the DeletePathRouteSet operation
func (DeletePathRouteSetRequest) HTTPRequest ¶ added in v1.3.0
func (request DeletePathRouteSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeletePathRouteSetRequest) RetryPolicy ¶ added in v1.3.0
func (request DeletePathRouteSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeletePathRouteSetRequest) String ¶ added in v1.1.0
func (request DeletePathRouteSetRequest) String() string
type DeletePathRouteSetResponse ¶ added in v1.1.0
type DeletePathRouteSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeletePathRouteSetResponse wrapper for the DeletePathRouteSet operation
func (DeletePathRouteSetResponse) HTTPResponse ¶ added in v1.3.0
func (response DeletePathRouteSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeletePathRouteSetResponse) String ¶ added in v1.1.0
func (response DeletePathRouteSetResponse) String() string
type GetBackendHealthRequest ¶
type GetBackendHealthRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend server health status to be retrieved. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend server to retrieve the health status for. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` // The IP address and port of the backend server to retrieve the health status for. // Example: `10.0.0.3:8080` BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetBackendHealthRequest wrapper for the GetBackendHealth operation
func (GetBackendHealthRequest) HTTPRequest ¶ added in v1.3.0
func (request GetBackendHealthRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetBackendHealthRequest) RetryPolicy ¶ added in v1.3.0
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
type GetBackendHealthResponse ¶
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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetBackendHealthResponse wrapper for the GetBackendHealth operation
func (GetBackendHealthResponse) HTTPResponse ¶ added in v1.3.0
func (response GetBackendHealthResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetBackendHealthResponse) String ¶
func (response GetBackendHealthResponse) String() string
type GetBackendRequest ¶
type GetBackendRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set that includes the backend server. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` // The IP address and port of the backend server to retrieve. // Example: `10.0.0.3:8080` BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetBackendRequest wrapper for the GetBackend operation
func (GetBackendRequest) HTTPRequest ¶ added in v1.3.0
func (request GetBackendRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetBackendRequest) RetryPolicy ¶ added in v1.3.0
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
type GetBackendResponse ¶
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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetBackendResponse wrapper for the GetBackend operation
func (GetBackendResponse) HTTPResponse ¶ added in v1.3.0
func (response GetBackendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetBackendResponse) String ¶
func (response GetBackendResponse) String() string
type GetBackendSetHealthRequest ¶
type GetBackendSetHealthRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set health status to be retrieved. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to retrieve the health status for. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetBackendSetHealthRequest wrapper for the GetBackendSetHealth operation
func (GetBackendSetHealthRequest) HTTPRequest ¶ added in v1.3.0
func (request GetBackendSetHealthRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetBackendSetHealthRequest) RetryPolicy ¶ added in v1.3.0
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
type GetBackendSetHealthResponse ¶
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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetBackendSetHealthResponse wrapper for the GetBackendSetHealth operation
func (GetBackendSetHealthResponse) HTTPResponse ¶ added in v1.3.0
func (response GetBackendSetHealthResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetBackendSetHealthResponse) String ¶
func (response GetBackendSetHealthResponse) String() string
type GetBackendSetRequest ¶
type GetBackendSetRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetBackendSetRequest wrapper for the GetBackendSet operation
func (GetBackendSetRequest) HTTPRequest ¶ added in v1.3.0
func (request GetBackendSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetBackendSetRequest) RetryPolicy ¶ added in v1.3.0
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
type GetBackendSetResponse ¶
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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetBackendSetResponse wrapper for the GetBackendSet operation
func (GetBackendSetResponse) HTTPResponse ¶ added in v1.3.0
func (response GetBackendSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetBackendSetResponse) String ¶
func (response GetBackendSetResponse) String() string
type GetHealthCheckerRequest ¶
type GetHealthCheckerRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be retrieved. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetHealthCheckerRequest wrapper for the GetHealthChecker operation
func (GetHealthCheckerRequest) HTTPRequest ¶ added in v1.3.0
func (request GetHealthCheckerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetHealthCheckerRequest) RetryPolicy ¶ added in v1.3.0
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
type GetHealthCheckerResponse ¶
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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetHealthCheckerResponse wrapper for the GetHealthChecker operation
func (GetHealthCheckerResponse) HTTPResponse ¶ added in v1.3.0
func (response GetHealthCheckerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetHealthCheckerResponse) String ¶
func (response GetHealthCheckerResponse) String() string
type GetHostnameRequest ¶ added in v1.4.0
type GetHostnameRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the hostname resource to retrieve. // Example: `example_hostname_001` Name *string `mandatory:"true" contributesTo:"path" name:"name"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetHostnameRequest wrapper for the GetHostname operation
func (GetHostnameRequest) HTTPRequest ¶ added in v1.4.0
func (request GetHostnameRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetHostnameRequest) RetryPolicy ¶ added in v1.4.0
func (request GetHostnameRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetHostnameRequest) String ¶ added in v1.4.0
func (request GetHostnameRequest) String() string
type GetHostnameResponse ¶ added in v1.4.0
type GetHostnameResponse struct { // The underlying http response RawResponse *http.Response // The Hostname instance Hostname `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetHostnameResponse wrapper for the GetHostname operation
func (GetHostnameResponse) HTTPResponse ¶ added in v1.4.0
func (response GetHostnameResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetHostnameResponse) String ¶ added in v1.4.0
func (response GetHostnameResponse) String() string
type GetLoadBalancerHealthRequest ¶
type GetLoadBalancerHealthRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to return health status for. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetLoadBalancerHealthRequest wrapper for the GetLoadBalancerHealth operation
func (GetLoadBalancerHealthRequest) HTTPRequest ¶ added in v1.3.0
func (request GetLoadBalancerHealthRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetLoadBalancerHealthRequest) RetryPolicy ¶ added in v1.3.0
func (request GetLoadBalancerHealthRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetLoadBalancerHealthRequest) String ¶
func (request GetLoadBalancerHealthRequest) String() string
type GetLoadBalancerHealthResponse ¶
type GetLoadBalancerHealthResponse struct { // The underlying http response RawResponse *http.Response // The LoadBalancerHealth instance LoadBalancerHealth `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetLoadBalancerHealthResponse wrapper for the GetLoadBalancerHealth operation
func (GetLoadBalancerHealthResponse) HTTPResponse ¶ added in v1.3.0
func (response GetLoadBalancerHealthResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetLoadBalancerHealthResponse) String ¶
func (response GetLoadBalancerHealthResponse) String() string
type GetLoadBalancerRequest ¶
type GetLoadBalancerRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetLoadBalancerRequest wrapper for the GetLoadBalancer operation
func (GetLoadBalancerRequest) HTTPRequest ¶ added in v1.3.0
func (request GetLoadBalancerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetLoadBalancerRequest) RetryPolicy ¶ added in v1.3.0
func (request GetLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetLoadBalancerRequest) String ¶
func (request GetLoadBalancerRequest) String() string
type GetLoadBalancerResponse ¶
type GetLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response // The LoadBalancer instance LoadBalancer `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetLoadBalancerResponse wrapper for the GetLoadBalancer operation
func (GetLoadBalancerResponse) HTTPResponse ¶ added in v1.3.0
func (response GetLoadBalancerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetLoadBalancerResponse) String ¶
func (response GetLoadBalancerResponse) String() string
type GetPathRouteSetRequest ¶ added in v1.1.0
type GetPathRouteSetRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the path route set to retrieve. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"true" contributesTo:"path" name:"pathRouteSetName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetPathRouteSetRequest wrapper for the GetPathRouteSet operation
func (GetPathRouteSetRequest) HTTPRequest ¶ added in v1.3.0
func (request GetPathRouteSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetPathRouteSetRequest) RetryPolicy ¶ added in v1.3.0
func (request GetPathRouteSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetPathRouteSetRequest) String ¶ added in v1.1.0
func (request GetPathRouteSetRequest) String() string
type GetPathRouteSetResponse ¶ added in v1.1.0
type GetPathRouteSetResponse struct { // The underlying http response RawResponse *http.Response // The PathRouteSet instance PathRouteSet `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetPathRouteSetResponse wrapper for the GetPathRouteSet operation
func (GetPathRouteSetResponse) HTTPResponse ¶ added in v1.3.0
func (response GetPathRouteSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetPathRouteSetResponse) String ¶ added in v1.1.0
func (response GetPathRouteSetResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request to retrieve. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
func (GetWorkRequestRequest) HTTPRequest ¶ added in v1.3.0
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶ added in v1.3.0
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
type GetWorkRequestResponse ¶
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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶ added in v1.3.0
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type HealthCheckResult ¶
type HealthCheckResult struct { // The result of the most recent health check. HealthCheckStatus HealthCheckResultHealthCheckStatusEnum `mandatory:"true" json:"healthCheckStatus"` // The IP address of the health check status report provider. This identifier helps you differentiate same-subnet // (private) load balancers that report health check status. // Example: `10.0.0.7` SourceIpAddress *string `mandatory:"true" json:"sourceIpAddress"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the subnet hosting the load balancer that reported this health check status. SubnetId *string `mandatory:"true" json:"subnetId"` // The date and time the data was retrieved, in the format defined by RFC3339. // Example: `2017-06-02T18:28:11+00:00` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
HealthCheckResult Information about a single backend server health check result reported by a load balancer.
func (HealthCheckResult) String ¶
func (m HealthCheckResult) String() string
type HealthCheckResultHealthCheckStatusEnum ¶
type HealthCheckResultHealthCheckStatusEnum string
HealthCheckResultHealthCheckStatusEnum Enum with underlying type: string
const ( HealthCheckResultHealthCheckStatusOk HealthCheckResultHealthCheckStatusEnum = "OK" HealthCheckResultHealthCheckStatusInvalidStatusCode HealthCheckResultHealthCheckStatusEnum = "INVALID_STATUS_CODE" HealthCheckResultHealthCheckStatusTimedOut HealthCheckResultHealthCheckStatusEnum = "TIMED_OUT" HealthCheckResultHealthCheckStatusRegexMismatch HealthCheckResultHealthCheckStatusEnum = "REGEX_MISMATCH" HealthCheckResultHealthCheckStatusConnectFailed HealthCheckResultHealthCheckStatusEnum = "CONNECT_FAILED" HealthCheckResultHealthCheckStatusIoError HealthCheckResultHealthCheckStatusEnum = "IO_ERROR" HealthCheckResultHealthCheckStatusOffline HealthCheckResultHealthCheckStatusEnum = "OFFLINE" HealthCheckResultHealthCheckStatusUnknown HealthCheckResultHealthCheckStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for HealthCheckResultHealthCheckStatus
func GetHealthCheckResultHealthCheckStatusEnumValues ¶
func GetHealthCheckResultHealthCheckStatusEnumValues() []HealthCheckResultHealthCheckStatusEnum
GetHealthCheckResultHealthCheckStatusEnumValues Enumerates the set of values for HealthCheckResultHealthCheckStatus
type HealthChecker ¶
type HealthChecker struct { // The backend server port against which to run the health check. If the port is not specified, the load balancer uses the // port information from the `Backend` object. // Example: `8080` Port *int `mandatory:"true" json:"port"` // The protocol the health check must use; either HTTP or TCP. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` // A regular expression for parsing the response body from the backend server. // Example: `^((?!false).|\s)*$` ResponseBodyRegex *string `mandatory:"true" json:"responseBodyRegex"` // The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, // you can use common HTTP status codes such as "200". // Example: `200` ReturnCode *int `mandatory:"true" json:"returnCode"` // The interval between health checks, in milliseconds. The default is 10000 (10 seconds). // Example: `10000` IntervalInMillis *int `mandatory:"false" json:"intervalInMillis"` // The number of retries to attempt before a backend server is considered "unhealthy". Defaults to 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. Defaults to 3000 (3 seconds). // Example: `3000` TimeoutInMillis *int `mandatory:"false" json:"timeoutInMillis"` // The path against which to run the health check. // Example: `/healthcheck` UrlPath *string `mandatory:"false" json:"urlPath"` }
HealthChecker The health check policy configuration. For more information, see Editing Health Check Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/editinghealthcheck.htm).
func (HealthChecker) String ¶
func (m HealthChecker) String() string
type HealthCheckerDetails ¶
type HealthCheckerDetails struct { // The protocol the health check must use; either HTTP or TCP. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` // The interval between health checks, in milliseconds. // Example: `10000` IntervalInMillis *int `mandatory:"false" json:"intervalInMillis"` // The backend server port against which to run the health check. If the port is not specified, the load balancer uses the // port information from the `Backend` object. // Example: `8080` Port *int `mandatory:"false" json:"port"` // A regular expression for parsing the response body from the backend server. // Example: `^((?!false).|\s)*$` ResponseBodyRegex *string `mandatory:"false" json:"responseBodyRegex"` // The number of retries to attempt before a backend server is considered "unhealthy". // Example: `3` Retries *int `mandatory:"false" json:"retries"` // The status code a healthy backend server should return. // Example: `200` ReturnCode *int `mandatory:"false" json:"returnCode"` // 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 path against which to run the health check. // Example: `/healthcheck` UrlPath *string `mandatory:"false" json:"urlPath"` }
HealthCheckerDetails The health check policy's configuration details.
func (HealthCheckerDetails) String ¶
func (m HealthCheckerDetails) String() string
type Hostname ¶ added in v1.4.0
type Hostname struct { // A virtual hostname. For more information about virtual hostname string construction, see // Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"true" json:"hostname"` // A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential // information. // Example: `example_hostname_001` Name *string `mandatory:"true" json:"name"` }
Hostname A hostname resource associated with a load balancer for use by one or more listeners.
type HostnameDetails ¶ added in v1.4.0
type HostnameDetails struct { // A virtual hostname. For more information about virtual hostname string construction, see // Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"true" json:"hostname"` // The name of the hostname resource. // Example: `example_hostname_001` Name *string `mandatory:"true" json:"name"` }
HostnameDetails The details of a hostname resource associated with a load balancer.
func (HostnameDetails) String ¶ added in v1.4.0
func (m HostnameDetails) String() string
type IpAddress ¶
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", the IP address is public and accessible from the internet. // If "false", the IP address is private and accessible only from within the associated VCN. IsPublic *bool `mandatory:"false" json:"isPublic"` }
IpAddress A load balancer IP address.
type ListBackendSetsRequest ¶
type ListBackendSetsRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend sets to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListBackendSetsRequest wrapper for the ListBackendSets operation
func (ListBackendSetsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListBackendSetsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListBackendSetsRequest) RetryPolicy ¶ added in v1.3.0
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
type ListBackendSetsResponse ¶
type ListBackendSetsResponse struct { // The underlying http response RawResponse *http.Response // The []BackendSet instance Items []BackendSet `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListBackendSetsResponse wrapper for the ListBackendSets operation
func (ListBackendSetsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListBackendSetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListBackendSetsResponse) String ¶
func (response ListBackendSetsResponse) String() string
type ListBackendsRequest ¶
type ListBackendsRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListBackendsRequest wrapper for the ListBackends operation
func (ListBackendsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListBackendsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListBackendsRequest) RetryPolicy ¶ added in v1.3.0
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
type ListBackendsResponse ¶
type ListBackendsResponse struct { // The underlying http response RawResponse *http.Response // The []Backend instance Items []Backend `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListBackendsResponse wrapper for the ListBackends operation
func (ListBackendsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListBackendsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListBackendsResponse) String ¶
func (response ListBackendsResponse) String() string
type ListCertificatesRequest ¶
type ListCertificatesRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundles // to be listed. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListCertificatesRequest wrapper for the ListCertificates operation
func (ListCertificatesRequest) HTTPRequest ¶ added in v1.3.0
func (request ListCertificatesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListCertificatesRequest) RetryPolicy ¶ added in v1.3.0
func (request ListCertificatesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListCertificatesRequest) String ¶
func (request ListCertificatesRequest) String() string
type ListCertificatesResponse ¶
type ListCertificatesResponse struct { // The underlying http response RawResponse *http.Response // The []Certificate instance Items []Certificate `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListCertificatesResponse wrapper for the ListCertificates operation
func (ListCertificatesResponse) HTTPResponse ¶ added in v1.3.0
func (response ListCertificatesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListCertificatesResponse) String ¶
func (response ListCertificatesResponse) String() string
type ListHostnamesRequest ¶ added in v1.4.0
type ListHostnamesRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames // to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListHostnamesRequest wrapper for the ListHostnames operation
func (ListHostnamesRequest) HTTPRequest ¶ added in v1.4.0
func (request ListHostnamesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListHostnamesRequest) RetryPolicy ¶ added in v1.4.0
func (request ListHostnamesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListHostnamesRequest) String ¶ added in v1.4.0
func (request ListHostnamesRequest) String() string
type ListHostnamesResponse ¶ added in v1.4.0
type ListHostnamesResponse struct { // The underlying http response RawResponse *http.Response // The []Hostname instance Items []Hostname `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListHostnamesResponse wrapper for the ListHostnames operation
func (ListHostnamesResponse) HTTPResponse ¶ added in v1.4.0
func (response ListHostnamesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListHostnamesResponse) String ¶ added in v1.4.0
func (response ListHostnamesResponse) String() string
type ListLoadBalancerHealthsRequest ¶
type ListLoadBalancerHealthsRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to return health status information for. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return in a paginated "List" call. // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. // Example: `3` 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 }
ListLoadBalancerHealthsRequest wrapper for the ListLoadBalancerHealths operation
func (ListLoadBalancerHealthsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListLoadBalancerHealthsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListLoadBalancerHealthsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListLoadBalancerHealthsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListLoadBalancerHealthsRequest) String ¶
func (request ListLoadBalancerHealthsRequest) String() string
type ListLoadBalancerHealthsResponse ¶
type ListLoadBalancerHealthsResponse struct { // The underlying http response RawResponse *http.Response // A list of []LoadBalancerHealthSummary instances Items []LoadBalancerHealthSummary `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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListLoadBalancerHealthsResponse wrapper for the ListLoadBalancerHealths operation
func (ListLoadBalancerHealthsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListLoadBalancerHealthsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListLoadBalancerHealthsResponse) String ¶
func (response ListLoadBalancerHealthsResponse) String() string
type ListLoadBalancersRequest ¶
type ListLoadBalancersRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return in a paginated "List" call. // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The level of detail to return for each result. Can be `full` or `simple`. // Example: `full` Detail *string `mandatory:"false" contributesTo:"query" name:"detail"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. // Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. SortBy ListLoadBalancersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. SortOrder ListLoadBalancersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the given display name exactly. // Example: `example_load_balancer` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only resources that match the given lifecycle state. // Example: `SUCCEEDED` LifecycleState LoadBalancerLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 }
ListLoadBalancersRequest wrapper for the ListLoadBalancers operation
func (ListLoadBalancersRequest) HTTPRequest ¶ added in v1.3.0
func (request ListLoadBalancersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListLoadBalancersRequest) RetryPolicy ¶ added in v1.3.0
func (request ListLoadBalancersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListLoadBalancersRequest) String ¶
func (request ListLoadBalancersRequest) String() string
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct { // The underlying http response RawResponse *http.Response // A list of []LoadBalancer instances Items []LoadBalancer `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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListLoadBalancersResponse wrapper for the ListLoadBalancers operation
func (ListLoadBalancersResponse) HTTPResponse ¶ added in v1.3.0
func (response ListLoadBalancersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListLoadBalancersResponse) String ¶
func (response ListLoadBalancersResponse) String() string
type ListLoadBalancersSortByEnum ¶
type ListLoadBalancersSortByEnum string
ListLoadBalancersSortByEnum Enum with underlying type: string
const ( ListLoadBalancersSortByTimecreated ListLoadBalancersSortByEnum = "TIMECREATED" ListLoadBalancersSortByDisplayname ListLoadBalancersSortByEnum = "DISPLAYNAME" )
Set of constants representing the allowable values for ListLoadBalancersSortBy
func GetListLoadBalancersSortByEnumValues ¶
func GetListLoadBalancersSortByEnumValues() []ListLoadBalancersSortByEnum
GetListLoadBalancersSortByEnumValues Enumerates the set of values for ListLoadBalancersSortBy
type ListLoadBalancersSortOrderEnum ¶
type ListLoadBalancersSortOrderEnum string
ListLoadBalancersSortOrderEnum Enum with underlying type: string
const ( ListLoadBalancersSortOrderAsc ListLoadBalancersSortOrderEnum = "ASC" ListLoadBalancersSortOrderDesc ListLoadBalancersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListLoadBalancersSortOrder
func GetListLoadBalancersSortOrderEnumValues ¶
func GetListLoadBalancersSortOrderEnumValues() []ListLoadBalancersSortOrderEnum
GetListLoadBalancersSortOrderEnumValues Enumerates the set of values for ListLoadBalancersSortOrder
type ListPathRouteSetsRequest ¶ added in v1.1.0
type ListPathRouteSetsRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route sets // to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
ListPathRouteSetsRequest wrapper for the ListPathRouteSets operation
func (ListPathRouteSetsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListPathRouteSetsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListPathRouteSetsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListPathRouteSetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListPathRouteSetsRequest) String ¶ added in v1.1.0
func (request ListPathRouteSetsRequest) String() string
type ListPathRouteSetsResponse ¶ added in v1.1.0
type ListPathRouteSetsResponse struct { // The underlying http response RawResponse *http.Response // The []PathRouteSet instance Items []PathRouteSet `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListPathRouteSetsResponse wrapper for the ListPathRouteSets operation
func (ListPathRouteSetsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListPathRouteSetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListPathRouteSetsResponse) String ¶ added in v1.1.0
func (response ListPathRouteSetsResponse) String() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer policies to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return in a paginated "List" call. // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. // Example: `3` 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 }
ListPoliciesRequest wrapper for the ListPolicies operation
func (ListPoliciesRequest) HTTPRequest ¶ added in v1.3.0
func (request ListPoliciesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListPoliciesRequest) RetryPolicy ¶ added in v1.3.0
func (request ListPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListPoliciesRequest) String ¶
func (request ListPoliciesRequest) String() string
type ListPoliciesResponse ¶
type ListPoliciesResponse struct { // The underlying http response RawResponse *http.Response // A list of []LoadBalancerPolicy instances Items []LoadBalancerPolicy `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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListPoliciesResponse wrapper for the ListPolicies operation
func (ListPoliciesResponse) HTTPResponse ¶ added in v1.3.0
func (response ListPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListPoliciesResponse) String ¶
func (response ListPoliciesResponse) String() string
type ListProtocolsRequest ¶
type ListProtocolsRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer protocols to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return in a paginated "List" call. // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. // Example: `3` 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 }
ListProtocolsRequest wrapper for the ListProtocols operation
func (ListProtocolsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListProtocolsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListProtocolsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListProtocolsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListProtocolsRequest) String ¶
func (request ListProtocolsRequest) String() string
type ListProtocolsResponse ¶
type ListProtocolsResponse struct { // The underlying http response RawResponse *http.Response // A list of []LoadBalancerProtocol instances Items []LoadBalancerProtocol `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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListProtocolsResponse wrapper for the ListProtocols operation
func (ListProtocolsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListProtocolsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListProtocolsResponse) String ¶
func (response ListProtocolsResponse) String() string
type ListShapesRequest ¶
type ListShapesRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer shapes to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return in a paginated "List" call. // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. // Example: `3` 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 }
ListShapesRequest wrapper for the ListShapes operation
func (ListShapesRequest) HTTPRequest ¶ added in v1.3.0
func (request ListShapesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListShapesRequest) RetryPolicy ¶ added in v1.3.0
func (request ListShapesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListShapesRequest) String ¶
func (request ListShapesRequest) String() string
type ListShapesResponse ¶
type ListShapesResponse struct { // The underlying http response RawResponse *http.Response // A list of []LoadBalancerShape instances Items []LoadBalancerShape `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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListShapesResponse wrapper for the ListShapes operation
func (ListShapesResponse) HTTPResponse ¶ added in v1.3.0
func (response ListShapesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListShapesResponse) String ¶
func (response ListShapesResponse) String() string
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the work requests to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return in a paginated "List" call. // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. // Example: `3` 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
func (ListWorkRequestsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶ added in v1.3.0
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
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequest instances Items []WorkRequest `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 need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type Listener ¶
type Listener struct { // The name of the associated backend set. // Example: `example_backend_set` DefaultBackendSetName *string `mandatory:"true" json:"defaultBackendSetName"` // 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 communication port for the listener. // Example: `80` Port *int `mandatory:"true" json:"port"` // The protocol on which the listener accepts connection requests. // To get a list of valid protocols, use the ListProtocols // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` ConnectionConfiguration *ConnectionConfiguration `mandatory:"false" json:"connectionConfiguration"` // An array of hostname resource names. HostnameNames []string `mandatory:"false" json:"hostnameNames"` // The name of the set of path-based routing rules, PathRouteSet, // applied to this listener's traffic. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"false" json:"pathRouteSetName"` SslConfiguration *SslConfiguration `mandatory:"false" json:"sslConfiguration"` }
Listener The listener's configuration. For more information on backend set configuration, see Managing Load Balancer Listeners (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managinglisteners.htm).
type ListenerDetails ¶
type ListenerDetails struct { // 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. // To get a list of valid protocols, use the ListProtocols // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` ConnectionConfiguration *ConnectionConfiguration `mandatory:"false" json:"connectionConfiguration"` // An array of hostname resource names. HostnameNames []string `mandatory:"false" json:"hostnameNames"` // The name of the set of path-based routing rules, PathRouteSet, // applied to this listener's traffic. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"false" json:"pathRouteSetName"` SslConfiguration *SslConfigurationDetails `mandatory:"false" json:"sslConfiguration"` }
ListenerDetails The listener's configuration details.
func (ListenerDetails) String ¶
func (m ListenerDetails) String() string
type LoadBalancer ¶
type LoadBalancer struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. // Example: `example_load_balancer` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer. Id *string `mandatory:"true" json:"id"` // The current state of the load balancer. LifecycleState LoadBalancerLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A template that determines the total pre-provisioned bandwidth (ingress plus egress). // To get a list of available shapes, use the ListShapes // operation. // Example: `100Mbps` ShapeName *string `mandatory:"true" json:"shapeName"` // The date and time the load balancer was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` BackendSets map[string]BackendSet `mandatory:"false" json:"backendSets"` Certificates map[string]Certificate `mandatory:"false" json:"certificates"` Hostnames map[string]Hostname `mandatory:"false" json:"hostnames"` // An array of IP addresses. IpAddresses []IpAddress `mandatory:"false" json:"ipAddresses"` // Whether the load balancer has a VCN-local (private) IP address. // If "true", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet // to host both the primary and secondary load balancers. The private IP address is local to the subnet. The load balancer // is accessible only from within the VCN that contains the associated subnet, or as further restricted by your security // list rules. The load balancer can route traffic to any backend server that is reachable from the VCN. // For a private load balancer, both the primary and secondary load balancer hosts are within the same Availability Domain. // If "false", the service assigns a public IP address to the load balancer. A load balancer with a public IP address // requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other // hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your // VCN's security list rules (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm). // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` Listeners map[string]Listener `mandatory:"false" json:"listeners"` PathRouteSets map[string]PathRouteSet `mandatory:"false" json:"pathRouteSets"` // An array of subnet OCIDs (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm). SubnetIds []string `mandatory:"false" json:"subnetIds"` }
LoadBalancer The properties that define a load balancer. For more information, see Managing a Load Balancer (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingloadbalancer.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm). For information about endpoints and signing API requests, see About the API (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see SDKS and Other Tools (https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm).
func (LoadBalancer) String ¶
func (m LoadBalancer) String() string
type LoadBalancerClient ¶
type LoadBalancerClient struct { common.BaseClient // contains filtered or unexported fields }
LoadBalancerClient a client for LoadBalancer
func NewLoadBalancerClientWithConfigurationProvider ¶
func NewLoadBalancerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LoadBalancerClient, err error)
NewLoadBalancerClientWithConfigurationProvider Creates a new default LoadBalancer client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func (*LoadBalancerClient) ConfigurationProvider ¶
func (client *LoadBalancerClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (LoadBalancerClient) CreateBackend ¶
func (client LoadBalancerClient) CreateBackend(ctx context.Context, request CreateBackendRequest) (response CreateBackendResponse, err error)
CreateBackend Adds a backend server to a backend set.
func (LoadBalancerClient) CreateBackendSet ¶
func (client LoadBalancerClient) CreateBackendSet(ctx context.Context, request CreateBackendSetRequest) (response CreateBackendSetResponse, err error)
CreateBackendSet Adds a backend set to a load balancer.
func (LoadBalancerClient) CreateCertificate ¶
func (client LoadBalancerClient) CreateCertificate(ctx context.Context, request CreateCertificateRequest) (response CreateCertificateResponse, err error)
CreateCertificate Creates an asynchronous request to add an SSL certificate bundle.
func (LoadBalancerClient) CreateHostname ¶ added in v1.4.0
func (client LoadBalancerClient) CreateHostname(ctx context.Context, request CreateHostnameRequest) (response CreateHostnameResponse, err error)
CreateHostname Adds a hostname resource to the specified load balancer. For more information, see Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm).
func (LoadBalancerClient) CreateListener ¶
func (client LoadBalancerClient) CreateListener(ctx context.Context, request CreateListenerRequest) (response CreateListenerResponse, err error)
CreateListener Adds a listener to a load balancer.
func (LoadBalancerClient) CreateLoadBalancer ¶
func (client LoadBalancerClient) CreateLoadBalancer(ctx context.Context, request CreateLoadBalancerRequest) (response CreateLoadBalancerResponse, err error)
CreateLoadBalancer Creates a new load balancer in the specified compartment. For general information about load balancers, see Overview of the Load Balancing Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Concepts/balanceoverview.htm). For the purposes of access control, you must provide the OCID of the compartment where you want the load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN or backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN. For information about access control and compartments, see Overview of the IAM Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). You must specify a display name for the load balancer. It does not have to be unique, and you can change it. For information about Availability Domains, see Regions and Availability Domains (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm). To get a list of Availability Domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. Fore more information, see Resource Identifiers (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm). After you send your request, the new object's state will temporarily be PROVISIONING. Before using the object, first make sure its state has changed to RUNNING. When you create a load balancer, the system assigns an IP address. To get the IP address, use the GetLoadBalancer operation.
func (LoadBalancerClient) CreatePathRouteSet ¶ added in v1.1.0
func (client LoadBalancerClient) CreatePathRouteSet(ctx context.Context, request CreatePathRouteSetRequest) (response CreatePathRouteSetResponse, err error)
CreatePathRouteSet Adds a path route set to a load balancer. For more information, see Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm).
func (LoadBalancerClient) DeleteBackend ¶
func (client LoadBalancerClient) DeleteBackend(ctx context.Context, request DeleteBackendRequest) (response DeleteBackendResponse, err error)
DeleteBackend Removes a backend server from a given load balancer and backend set.
func (LoadBalancerClient) DeleteBackendSet ¶
func (client LoadBalancerClient) 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 load balancer. Before you can delete a backend set, you must remove it from any active listeners.
func (LoadBalancerClient) DeleteCertificate ¶
func (client LoadBalancerClient) DeleteCertificate(ctx context.Context, request DeleteCertificateRequest) (response DeleteCertificateResponse, err error)
DeleteCertificate Deletes an SSL certificate bundle from a load balancer.
func (LoadBalancerClient) DeleteHostname ¶ added in v1.4.0
func (client LoadBalancerClient) DeleteHostname(ctx context.Context, request DeleteHostnameRequest) (response DeleteHostnameResponse, err error)
DeleteHostname Deletes a hostname resource from the specified load balancer.
func (LoadBalancerClient) DeleteListener ¶
func (client LoadBalancerClient) DeleteListener(ctx context.Context, request DeleteListenerRequest) (response DeleteListenerResponse, err error)
DeleteListener Deletes a listener from a load balancer.
func (LoadBalancerClient) DeleteLoadBalancer ¶
func (client LoadBalancerClient) DeleteLoadBalancer(ctx context.Context, request DeleteLoadBalancerRequest) (response DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer Stops a load balancer and removes it from service.
func (LoadBalancerClient) DeletePathRouteSet ¶ added in v1.1.0
func (client LoadBalancerClient) DeletePathRouteSet(ctx context.Context, request DeletePathRouteSetRequest) (response DeletePathRouteSetResponse, err error)
DeletePathRouteSet Deletes a path route set from the specified load balancer. To delete a path route rule from a path route set, use the UpdatePathRouteSet operation.
func (LoadBalancerClient) GetBackend ¶
func (client LoadBalancerClient) GetBackend(ctx context.Context, request GetBackendRequest) (response GetBackendResponse, err error)
GetBackend Gets the specified backend server's configuration information.
func (LoadBalancerClient) GetBackendHealth ¶
func (client LoadBalancerClient) GetBackendHealth(ctx context.Context, request GetBackendHealthRequest) (response GetBackendHealthResponse, err error)
GetBackendHealth Gets the current health status of the specified backend server.
func (LoadBalancerClient) GetBackendSet ¶
func (client LoadBalancerClient) GetBackendSet(ctx context.Context, request GetBackendSetRequest) (response GetBackendSetResponse, err error)
GetBackendSet Gets the specified backend set's configuration information.
func (LoadBalancerClient) GetBackendSetHealth ¶
func (client LoadBalancerClient) GetBackendSetHealth(ctx context.Context, request GetBackendSetHealthRequest) (response GetBackendSetHealthResponse, err error)
GetBackendSetHealth Gets the health status for the specified backend set.
func (LoadBalancerClient) GetHealthChecker ¶
func (client LoadBalancerClient) GetHealthChecker(ctx context.Context, request GetHealthCheckerRequest) (response GetHealthCheckerResponse, err error)
GetHealthChecker Gets the health check policy information for a given load balancer and backend set.
func (LoadBalancerClient) GetHostname ¶ added in v1.4.0
func (client LoadBalancerClient) GetHostname(ctx context.Context, request GetHostnameRequest) (response GetHostnameResponse, err error)
GetHostname Gets the specified hostname resource's configuration information.
func (LoadBalancerClient) GetLoadBalancer ¶
func (client LoadBalancerClient) GetLoadBalancer(ctx context.Context, request GetLoadBalancerRequest) (response GetLoadBalancerResponse, err error)
GetLoadBalancer Gets the specified load balancer's configuration information.
func (LoadBalancerClient) GetLoadBalancerHealth ¶
func (client LoadBalancerClient) GetLoadBalancerHealth(ctx context.Context, request GetLoadBalancerHealthRequest) (response GetLoadBalancerHealthResponse, err error)
GetLoadBalancerHealth Gets the health status for the specified load balancer.
func (LoadBalancerClient) GetPathRouteSet ¶ added in v1.1.0
func (client LoadBalancerClient) GetPathRouteSet(ctx context.Context, request GetPathRouteSetRequest) (response GetPathRouteSetResponse, err error)
GetPathRouteSet Gets the specified path route set's configuration information.
func (LoadBalancerClient) GetWorkRequest ¶
func (client LoadBalancerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the details of a work request.
func (LoadBalancerClient) ListBackendSets ¶
func (client LoadBalancerClient) ListBackendSets(ctx context.Context, request ListBackendSetsRequest) (response ListBackendSetsResponse, err error)
ListBackendSets Lists all backend sets associated with a given load balancer.
func (LoadBalancerClient) ListBackends ¶
func (client LoadBalancerClient) ListBackends(ctx context.Context, request ListBackendsRequest) (response ListBackendsResponse, err error)
ListBackends Lists the backend servers for a given load balancer and backend set.
func (LoadBalancerClient) ListCertificates ¶
func (client LoadBalancerClient) ListCertificates(ctx context.Context, request ListCertificatesRequest) (response ListCertificatesResponse, err error)
ListCertificates Lists all SSL certificates bundles associated with a given load balancer.
func (LoadBalancerClient) ListHostnames ¶ added in v1.4.0
func (client LoadBalancerClient) ListHostnames(ctx context.Context, request ListHostnamesRequest) (response ListHostnamesResponse, err error)
ListHostnames Lists all hostname resources associated with the specified load balancer.
func (LoadBalancerClient) ListLoadBalancerHealths ¶
func (client LoadBalancerClient) ListLoadBalancerHealths(ctx context.Context, request ListLoadBalancerHealthsRequest) (response ListLoadBalancerHealthsResponse, err error)
ListLoadBalancerHealths Lists the summary health statuses for all load balancers in the specified compartment.
func (LoadBalancerClient) ListLoadBalancers ¶
func (client LoadBalancerClient) ListLoadBalancers(ctx context.Context, request ListLoadBalancersRequest) (response ListLoadBalancersResponse, err error)
ListLoadBalancers Lists all load balancers in the specified compartment.
func (LoadBalancerClient) ListPathRouteSets ¶ added in v1.1.0
func (client LoadBalancerClient) ListPathRouteSets(ctx context.Context, request ListPathRouteSetsRequest) (response ListPathRouteSetsResponse, err error)
ListPathRouteSets Lists all path route sets associated with the specified load balancer.
func (LoadBalancerClient) ListPolicies ¶
func (client LoadBalancerClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error)
ListPolicies Lists the available load balancer policies.
func (LoadBalancerClient) ListProtocols ¶
func (client LoadBalancerClient) ListProtocols(ctx context.Context, request ListProtocolsRequest) (response ListProtocolsResponse, err error)
ListProtocols Lists all supported traffic protocols.
func (LoadBalancerClient) ListShapes ¶
func (client LoadBalancerClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error)
ListShapes Lists the valid load balancer shapes.
func (LoadBalancerClient) ListWorkRequests ¶
func (client LoadBalancerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests for a given load balancer.
func (*LoadBalancerClient) SetRegion ¶
func (client *LoadBalancerClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (LoadBalancerClient) UpdateBackend ¶
func (client LoadBalancerClient) UpdateBackend(ctx context.Context, request UpdateBackendRequest) (response UpdateBackendResponse, err error)
UpdateBackend Updates the configuration of a backend server within the specified backend set.
func (LoadBalancerClient) UpdateBackendSet ¶
func (client LoadBalancerClient) UpdateBackendSet(ctx context.Context, request UpdateBackendSetRequest) (response UpdateBackendSetResponse, err error)
UpdateBackendSet Updates a backend set.
func (LoadBalancerClient) UpdateHealthChecker ¶
func (client LoadBalancerClient) UpdateHealthChecker(ctx context.Context, request UpdateHealthCheckerRequest) (response UpdateHealthCheckerResponse, err error)
UpdateHealthChecker Updates the health check policy for a given load balancer and backend set.
func (LoadBalancerClient) UpdateHostname ¶ added in v1.4.0
func (client LoadBalancerClient) UpdateHostname(ctx context.Context, request UpdateHostnameRequest) (response UpdateHostnameResponse, err error)
UpdateHostname Overwrites an existing hostname resource on the specified load balancer. Use this operation to change a virtual hostname.
func (LoadBalancerClient) UpdateListener ¶
func (client LoadBalancerClient) UpdateListener(ctx context.Context, request UpdateListenerRequest) (response UpdateListenerResponse, err error)
UpdateListener Updates a listener for a given load balancer.
func (LoadBalancerClient) UpdateLoadBalancer ¶
func (client LoadBalancerClient) UpdateLoadBalancer(ctx context.Context, request UpdateLoadBalancerRequest) (response UpdateLoadBalancerResponse, err error)
UpdateLoadBalancer Updates a load balancer's configuration.
func (LoadBalancerClient) UpdatePathRouteSet ¶ added in v1.1.0
func (client LoadBalancerClient) UpdatePathRouteSet(ctx context.Context, request UpdatePathRouteSetRequest) (response UpdatePathRouteSetResponse, err error)
UpdatePathRouteSet Overwrites an existing path route set on the specified load balancer. Use this operation to add, delete, or alter path route rules in a path route set. To add a new path route rule to a path route set, the `pathRoutes` in the UpdatePathRouteSetDetails object must include both the new path route rule to add and the existing path route rules to retain.
type LoadBalancerHealth ¶
type LoadBalancerHealth struct { // A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the // friendly name you assigned when you created it. // Example: `example_backend_set` CriticalStateBackendSetNames []string `mandatory:"true" json:"criticalStateBackendSetNames"` // The overall health status of the load balancer. // * **OK:** All backend sets associated with the load balancer return a status of `OK`. // * **WARNING:** At least one of the backend sets associated with the load balancer returns a status of `WARNING`, // no backend sets return a status of `CRITICAL`, and the load balancer life cycle state is `ACTIVE`. // * **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of `CRITICAL`. // * **UNKNOWN:** If any one of the following conditions is true: // * The load balancer life cycle state is not `ACTIVE`. // * No backend sets are defined for the load balancer. // * More than half of the backend sets associated with the load balancer return a status of `UNKNOWN`, none of the backend // sets return a status of `WARNING` or `CRITICAL`, and the load balancer life cycle state is `ACTIVE`. // * The system could not retrieve metrics for any reason. Status LoadBalancerHealthStatusEnum `mandatory:"true" json:"status"` // The total number of backend sets associated with this load balancer. // Example: `4` TotalBackendSetCount *int `mandatory:"true" json:"totalBackendSetCount"` // A list of backend sets that are currently in the `UNKNOWN` health state. The list identifies each backend set by the // friendly name you assigned when you created it. // Example: `example_backend_set2` UnknownStateBackendSetNames []string `mandatory:"true" json:"unknownStateBackendSetNames"` // A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the // friendly name you assigned when you created it. // Example: `example_backend_set3` WarningStateBackendSetNames []string `mandatory:"true" json:"warningStateBackendSetNames"` }
LoadBalancerHealth The health status details for the specified load balancer. This object does not explicitly enumerate backend sets with a status of `OK`. However, they are included in the `totalBackendSetCount` sum.
func (LoadBalancerHealth) String ¶
func (m LoadBalancerHealth) String() string
type LoadBalancerHealthStatusEnum ¶
type LoadBalancerHealthStatusEnum string
LoadBalancerHealthStatusEnum Enum with underlying type: string
const ( LoadBalancerHealthStatusOk LoadBalancerHealthStatusEnum = "OK" LoadBalancerHealthStatusWarning LoadBalancerHealthStatusEnum = "WARNING" LoadBalancerHealthStatusCritical LoadBalancerHealthStatusEnum = "CRITICAL" LoadBalancerHealthStatusUnknown LoadBalancerHealthStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for LoadBalancerHealthStatus
func GetLoadBalancerHealthStatusEnumValues ¶
func GetLoadBalancerHealthStatusEnumValues() []LoadBalancerHealthStatusEnum
GetLoadBalancerHealthStatusEnumValues Enumerates the set of values for LoadBalancerHealthStatus
type LoadBalancerHealthSummary ¶
type LoadBalancerHealthSummary struct { // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer the health status is associated with. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` // The overall health status of the load balancer. // * **OK:** All backend sets associated with the load balancer return a status of `OK`. // * **WARNING:** At least one of the backend sets associated with the load balancer returns a status of `WARNING`, // no backend sets return a status of `CRITICAL`, and the load balancer life cycle state is `ACTIVE`. // * **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of `CRITICAL`. // * **UNKNOWN:** If any one of the following conditions is true: // * The load balancer life cycle state is not `ACTIVE`. // * No backend sets are defined for the load balancer. // * More than half of the backend sets associated with the load balancer return a status of `UNKNOWN`, none of the backend // sets return a status of `WARNING` or `CRITICAL`, and the load balancer life cycle state is `ACTIVE`. // * The system could not retrieve metrics for any reason. Status LoadBalancerHealthSummaryStatusEnum `mandatory:"true" json:"status"` }
LoadBalancerHealthSummary A health status summary for the specified load balancer.
func (LoadBalancerHealthSummary) String ¶
func (m LoadBalancerHealthSummary) String() string
type LoadBalancerHealthSummaryStatusEnum ¶
type LoadBalancerHealthSummaryStatusEnum string
LoadBalancerHealthSummaryStatusEnum Enum with underlying type: string
const ( LoadBalancerHealthSummaryStatusOk LoadBalancerHealthSummaryStatusEnum = "OK" LoadBalancerHealthSummaryStatusWarning LoadBalancerHealthSummaryStatusEnum = "WARNING" LoadBalancerHealthSummaryStatusCritical LoadBalancerHealthSummaryStatusEnum = "CRITICAL" LoadBalancerHealthSummaryStatusUnknown LoadBalancerHealthSummaryStatusEnum = "UNKNOWN" )
Set of constants representing the allowable values for LoadBalancerHealthSummaryStatus
func GetLoadBalancerHealthSummaryStatusEnumValues ¶
func GetLoadBalancerHealthSummaryStatusEnumValues() []LoadBalancerHealthSummaryStatusEnum
GetLoadBalancerHealthSummaryStatusEnumValues Enumerates the set of values for LoadBalancerHealthSummaryStatus
type LoadBalancerLifecycleStateEnum ¶
type LoadBalancerLifecycleStateEnum string
LoadBalancerLifecycleStateEnum Enum with underlying type: string
const ( LoadBalancerLifecycleStateCreating LoadBalancerLifecycleStateEnum = "CREATING" LoadBalancerLifecycleStateFailed LoadBalancerLifecycleStateEnum = "FAILED" LoadBalancerLifecycleStateActive LoadBalancerLifecycleStateEnum = "ACTIVE" LoadBalancerLifecycleStateDeleting LoadBalancerLifecycleStateEnum = "DELETING" LoadBalancerLifecycleStateDeleted LoadBalancerLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for LoadBalancerLifecycleState
func GetLoadBalancerLifecycleStateEnumValues ¶
func GetLoadBalancerLifecycleStateEnumValues() []LoadBalancerLifecycleStateEnum
GetLoadBalancerLifecycleStateEnumValues Enumerates the set of values for LoadBalancerLifecycleState
type LoadBalancerPolicy ¶
type LoadBalancerPolicy struct { // The name of a load balancing policy. // Example: 'LEAST_CONNECTIONS' Name *string `mandatory:"true" json:"name"` }
LoadBalancerPolicy A policy that determines how traffic is distributed among backend servers. For more information on load balancing policies, see How Load Balancing Policies Work (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm).
func (LoadBalancerPolicy) String ¶
func (m LoadBalancerPolicy) String() string
type LoadBalancerProtocol ¶
type LoadBalancerProtocol struct { // The name of a protocol. // Example: 'HTTP' Name *string `mandatory:"true" json:"name"` }
LoadBalancerProtocol A protocol that defines the type of traffic accepted by a listener.
func (LoadBalancerProtocol) String ¶
func (m LoadBalancerProtocol) String() string
type LoadBalancerShape ¶
type LoadBalancerShape struct { // The name of the shape. // Example: `100Mbps` Name *string `mandatory:"true" json:"name"` }
LoadBalancerShape A shape is a template that determines the total pre-provisioned bandwidth (ingress plus egress) for the load balancer. Note that the pre-provisioned maximum capacity applies to aggregated connections, not to a single client attempting to use the full bandwidth.
func (LoadBalancerShape) String ¶
func (m LoadBalancerShape) String() string
type PathMatchType ¶ added in v1.1.0
type PathMatchType struct { // Specifies how the load balancing service compares a PathRoute // object's `path` string against the incoming URI. // * **EXACT_MATCH** - Looks for a `path` string that exactly matches the incoming URI path. // * **FORCE_LONGEST_PREFIX_MATCH** - Looks for the `path` string with the best, longest match of the beginning // portion of the incoming URI path. // * **PREFIX_MATCH** - Looks for a `path` string that matches the beginning portion of the incoming URI path. // * **SUFFIX_MATCH** - Looks for a `path` string that matches the ending portion of the incoming URI path. // For a full description of how the system handles `matchType` in a path route set containing multiple rules, see // Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm). MatchType PathMatchTypeMatchTypeEnum `mandatory:"true" json:"matchType"` }
PathMatchType The type of matching to apply to incoming URIs.
func (PathMatchType) String ¶ added in v1.1.0
func (m PathMatchType) String() string
type PathMatchTypeMatchTypeEnum ¶ added in v1.1.0
type PathMatchTypeMatchTypeEnum string
PathMatchTypeMatchTypeEnum Enum with underlying type: string
const ( PathMatchTypeMatchTypeExactMatch PathMatchTypeMatchTypeEnum = "EXACT_MATCH" PathMatchTypeMatchTypeForceLongestPrefixMatch PathMatchTypeMatchTypeEnum = "FORCE_LONGEST_PREFIX_MATCH" PathMatchTypeMatchTypePrefixMatch PathMatchTypeMatchTypeEnum = "PREFIX_MATCH" PathMatchTypeMatchTypeSuffixMatch PathMatchTypeMatchTypeEnum = "SUFFIX_MATCH" )
Set of constants representing the allowable values for PathMatchTypeMatchType
func GetPathMatchTypeMatchTypeEnumValues ¶ added in v1.1.0
func GetPathMatchTypeMatchTypeEnumValues() []PathMatchTypeMatchTypeEnum
GetPathMatchTypeMatchTypeEnumValues Enumerates the set of values for PathMatchTypeMatchType
type PathRoute ¶ added in v1.1.0
type PathRoute struct { // The name of the target backend set for requests where the incoming URI matches the specified path. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" json:"backendSetName"` // The path string to match against the incoming URI path. // * Path strings are case-insensitive. // * Asterisk (*) wildcards are not supported. // * Regular expressions are not supported. // Example: `/example/video/123` Path *string `mandatory:"true" json:"path"` // The type of matching to apply to incoming URIs. PathMatchType *PathMatchType `mandatory:"true" json:"pathMatchType"` }
PathRoute A "path route rule" to evaluate an incoming URI path, and then route a matching request to the specified backend set. Path route rules apply only to HTTP and HTTPS requests. They have no effect on TCP requests.
type PathRouteSet ¶ added in v1.1.0
type PathRouteSet struct { // The unique name for this set of path route rules. Avoid entering confidential information. // Example: `example_path_route_set` Name *string `mandatory:"true" json:"name"` // The set of path route rules. PathRoutes []PathRoute `mandatory:"true" json:"pathRoutes"` }
PathRouteSet A named set of path route rules. For more information, see Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm).
func (PathRouteSet) String ¶ added in v1.1.0
func (m PathRouteSet) String() string
type PathRouteSetDetails ¶ added in v1.1.0
type PathRouteSetDetails struct { // The set of path route rules. PathRoutes []PathRoute `mandatory:"true" json:"pathRoutes"` }
PathRouteSetDetails A set of path route rules.
func (PathRouteSetDetails) String ¶ added in v1.1.0
func (m PathRouteSetDetails) String() string
type SessionPersistenceConfigurationDetails ¶
type SessionPersistenceConfigurationDetails struct { // The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify // that any cookie set by the backend causes the session to persist. // Example: `example_cookie` CookieName *string `mandatory:"true" json:"cookieName"` // Whether the load balancer is prevented from directing traffic from a persistent session client to // a different backend server if the original server is unavailable. Defaults to false. // Example: `false` DisableFallback *bool `mandatory:"false" json:"disableFallback"` }
SessionPersistenceConfigurationDetails The configuration details for implementing session persistence. Session persistence enables the Load Balancing Service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/sessionpersistence.htm). To disable session persistence on a running load balancer, use the UpdateBackendSet operation and specify "null" for the `SessionPersistenceConfigurationDetails` object. Example: `SessionPersistenceConfigurationDetails: null`
func (SessionPersistenceConfigurationDetails) String ¶
func (m SessionPersistenceConfigurationDetails) String() string
type SslConfiguration ¶
type SslConfiguration struct { // A friendly name for the certificate bundle. It must be unique and it cannot be changed. // Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. // Certificate bundle names cannot contain spaces. Avoid entering confidential information. // Example: `example_certificate_bundle` CertificateName *string `mandatory:"true" json:"certificateName"` // The maximum depth for peer certificate chain verification. // Example: `3` VerifyDepth *int `mandatory:"true" json:"verifyDepth"` // Whether the load balancer listener should verify peer certificates. // Example: `true` VerifyPeerCertificate *bool `mandatory:"true" json:"verifyPeerCertificate"` }
SslConfiguration A listener's SSL handling configuration. To use SSL, a listener must be associated with a Certificate.
func (SslConfiguration) String ¶
func (m SslConfiguration) String() string
type SslConfigurationDetails ¶
type SslConfigurationDetails struct { // A friendly name for the certificate bundle. It must be unique and it cannot be changed. // Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. // Certificate bundle names cannot contain spaces. Avoid entering confidential information. // Example: `example_certificate_bundle` CertificateName *string `mandatory:"true" json:"certificateName"` // The maximum depth for peer certificate chain verification. // Example: `3` VerifyDepth *int `mandatory:"false" json:"verifyDepth"` // Whether the load balancer listener should verify peer certificates. // Example: `true` VerifyPeerCertificate *bool `mandatory:"false" json:"verifyPeerCertificate"` }
SslConfigurationDetails The load balancer's SSL handling configuration details.
func (SslConfigurationDetails) String ¶
func (m SslConfigurationDetails) String() string
type UpdateBackendDetails ¶
type UpdateBackendDetails struct { // Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress // traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. // Example: `false` Backup *bool `mandatory:"true" json:"backup"` // Whether the load balancer should drain this server. Servers marked "drain" receive no new // incoming traffic. // Example: `false` Drain *bool `mandatory:"true" json:"drain"` // Whether the load balancer should treat this server as offline. Offline servers receive no incoming // traffic. // Example: `false` Offline *bool `mandatory:"true" json:"offline"` // 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 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see // How Load Balancing Policies Work (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"true" json:"weight"` }
UpdateBackendDetails The configuration details for updating a backend server.
func (UpdateBackendDetails) String ¶
func (m UpdateBackendDetails) String() string
type UpdateBackendRequest ¶
type UpdateBackendRequest struct { // Details for updating a backend server. UpdateBackendDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend server. // Example: `example_backend_set` BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` // The IP address and port of the backend server to update. // Example: `10.0.0.3:8080` BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UpdateBackendRequest wrapper for the UpdateBackend operation
func (UpdateBackendRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateBackendRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateBackendRequest) RetryPolicy ¶ added in v1.3.0
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
type UpdateBackendResponse ¶
type UpdateBackendResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateBackendResponse wrapper for the UpdateBackend operation
func (UpdateBackendResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateBackendResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateBackendResponse) String ¶
func (response UpdateBackendResponse) String() string
type UpdateBackendSetDetails ¶
type UpdateBackendSetDetails struct { Backends []BackendDetails `mandatory:"true" json:"backends"` HealthChecker *HealthCheckerDetails `mandatory:"true" json:"healthChecker"` // The load balancer policy for the backend set. To get a list of available policies, use the // ListPolicies operation. // Example: `LEAST_CONNECTIONS` Policy *string `mandatory:"true" json:"policy"` SessionPersistenceConfiguration *SessionPersistenceConfigurationDetails `mandatory:"false" json:"sessionPersistenceConfiguration"` SslConfiguration *SslConfigurationDetails `mandatory:"false" json:"sslConfiguration"` }
UpdateBackendSetDetails The configuration details for updating a load balancer backend set. For more information on backend set configuration, see Managing Backend Sets (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm).
func (UpdateBackendSetDetails) String ¶
func (m UpdateBackendSetDetails) String() string
type UpdateBackendSetRequest ¶
type UpdateBackendSetRequest struct { // The details to update a backend set. UpdateBackendSetDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UpdateBackendSetRequest wrapper for the UpdateBackendSet operation
func (UpdateBackendSetRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateBackendSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateBackendSetRequest) RetryPolicy ¶ added in v1.3.0
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
type UpdateBackendSetResponse ¶
type UpdateBackendSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateBackendSetResponse wrapper for the UpdateBackendSet operation
func (UpdateBackendSetResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateBackendSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateBackendSetResponse) String ¶
func (response UpdateBackendSetResponse) String() string
type UpdateHealthCheckerDetails ¶
type UpdateHealthCheckerDetails struct { // The interval between health checks, in milliseconds. // Example: `10000` IntervalInMillis *int `mandatory:"true" json:"intervalInMillis"` // The backend server port against which to run the health check. // Example: `8080` Port *int `mandatory:"true" json:"port"` // The protocol the health check must use; either HTTP or TCP. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` // A regular expression for parsing the response body from the backend server. // Example: `^((?!false).|\s)*$` ResponseBodyRegex *string `mandatory:"true" json:"responseBodyRegex"` // The number of retries to attempt before a backend server is considered "unhealthy". // Example: `3` Retries *int `mandatory:"true" json:"retries"` // The status code a healthy backend server should return. // Example: `200` ReturnCode *int `mandatory:"true" json:"returnCode"` // 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:"true" json:"timeoutInMillis"` // The path against which to run the health check. // Example: `/healthcheck` UrlPath *string `mandatory:"false" json:"urlPath"` }
UpdateHealthCheckerDetails The health checker's configuration details.
func (UpdateHealthCheckerDetails) String ¶
func (m UpdateHealthCheckerDetails) String() string
type UpdateHealthCheckerRequest ¶
type UpdateHealthCheckerRequest struct { // The health check policy configuration details. UpdateHealthCheckerDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be updated. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UpdateHealthCheckerRequest wrapper for the UpdateHealthChecker operation
func (UpdateHealthCheckerRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateHealthCheckerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateHealthCheckerRequest) RetryPolicy ¶ added in v1.3.0
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
type UpdateHealthCheckerResponse ¶
type UpdateHealthCheckerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateHealthCheckerResponse wrapper for the UpdateHealthChecker operation
func (UpdateHealthCheckerResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateHealthCheckerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateHealthCheckerResponse) String ¶
func (response UpdateHealthCheckerResponse) String() string
type UpdateHostnameDetails ¶ added in v1.4.0
type UpdateHostnameDetails struct { // The virtual hostname to update. For more information about virtual hostname string construction, see // Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"false" json:"hostname"` }
UpdateHostnameDetails The configuration details for updating a virtual hostname. For more information on virtual hostnames, see Managing Request Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm).
func (UpdateHostnameDetails) String ¶ added in v1.4.0
func (m UpdateHostnameDetails) String() string
type UpdateHostnameRequest ¶ added in v1.4.0
type UpdateHostnameRequest struct { // The configuration details to update a virtual hostname. UpdateHostnameDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the virtual hostname // to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the hostname resource to update. // Example: `example_hostname_001` Name *string `mandatory:"true" contributesTo:"path" name:"name"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. 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 }
UpdateHostnameRequest wrapper for the UpdateHostname operation
func (UpdateHostnameRequest) HTTPRequest ¶ added in v1.4.0
func (request UpdateHostnameRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateHostnameRequest) RetryPolicy ¶ added in v1.4.0
func (request UpdateHostnameRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateHostnameRequest) String ¶ added in v1.4.0
func (request UpdateHostnameRequest) String() string
type UpdateHostnameResponse ¶ added in v1.4.0
type UpdateHostnameResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateHostnameResponse wrapper for the UpdateHostname operation
func (UpdateHostnameResponse) HTTPResponse ¶ added in v1.4.0
func (response UpdateHostnameResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateHostnameResponse) String ¶ added in v1.4.0
func (response UpdateHostnameResponse) String() string
type UpdateListenerDetails ¶
type UpdateListenerDetails struct { // 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. // To get a list of valid protocols, use the ListProtocols // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` ConnectionConfiguration *ConnectionConfiguration `mandatory:"false" json:"connectionConfiguration"` // An array of hostname resource names. HostnameNames []string `mandatory:"false" json:"hostnameNames"` // The name of the set of path-based routing rules, PathRouteSet, // applied to this listener's traffic. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"false" json:"pathRouteSetName"` SslConfiguration *SslConfigurationDetails `mandatory:"false" json:"sslConfiguration"` }
UpdateListenerDetails The configuration details for updating a listener.
func (UpdateListenerDetails) String ¶
func (m UpdateListenerDetails) String() string
type UpdateListenerRequest ¶
type UpdateListenerRequest struct { // Details to update a listener. UpdateListenerDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // 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 need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UpdateListenerRequest wrapper for the UpdateListener operation
func (UpdateListenerRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateListenerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateListenerRequest) RetryPolicy ¶ added in v1.3.0
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
type UpdateListenerResponse ¶
type UpdateListenerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateListenerResponse wrapper for the UpdateListener operation
func (UpdateListenerResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateListenerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateListenerResponse) String ¶
func (response UpdateListenerResponse) String() string
type UpdateLoadBalancerDetails ¶
type UpdateLoadBalancerDetails struct { // The user-friendly display name for the load balancer. It does not have to be unique, and it is changeable. // Avoid entering confidential information. // Example: `example_load_balancer` DisplayName *string `mandatory:"true" json:"displayName"` }
UpdateLoadBalancerDetails Configuration details to update a load balancer.
func (UpdateLoadBalancerDetails) String ¶
func (m UpdateLoadBalancerDetails) String() string
type UpdateLoadBalancerRequest ¶
type UpdateLoadBalancerRequest struct { // The details for updating a load balancer's configuration. UpdateLoadBalancerDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UpdateLoadBalancerRequest wrapper for the UpdateLoadBalancer operation
func (UpdateLoadBalancerRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateLoadBalancerRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateLoadBalancerRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateLoadBalancerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateLoadBalancerRequest) String ¶
func (request UpdateLoadBalancerRequest) String() string
type UpdateLoadBalancerResponse ¶
type UpdateLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdateLoadBalancerResponse wrapper for the UpdateLoadBalancer operation
func (UpdateLoadBalancerResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateLoadBalancerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateLoadBalancerResponse) String ¶
func (response UpdateLoadBalancerResponse) String() string
type UpdatePathRouteSetDetails ¶ added in v1.1.0
type UpdatePathRouteSetDetails struct { // The set of path route rules. PathRoutes []PathRoute `mandatory:"true" json:"pathRoutes"` }
UpdatePathRouteSetDetails An updated set of path route rules that overwrites the existing set of rules.
func (UpdatePathRouteSetDetails) String ¶ added in v1.1.0
func (m UpdatePathRouteSetDetails) String() string
type UpdatePathRouteSetRequest ¶ added in v1.1.0
type UpdatePathRouteSetRequest struct { // The configuration details to update a path route set. UpdatePathRouteSetDetails `contributesTo:"body"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the path route set to update. // Example: `example_path_route_set` PathRouteSetName *string `mandatory:"true" contributesTo:"path" name:"pathRouteSetName"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UpdatePathRouteSetRequest wrapper for the UpdatePathRouteSet operation
func (UpdatePathRouteSetRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdatePathRouteSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdatePathRouteSetRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdatePathRouteSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdatePathRouteSetRequest) String ¶ added in v1.1.0
func (request UpdatePathRouteSetRequest) String() string
type UpdatePathRouteSetResponse ¶ added in v1.1.0
type UpdatePathRouteSetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about // a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
UpdatePathRouteSetResponse wrapper for the UpdatePathRouteSet operation
func (UpdatePathRouteSetResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdatePathRouteSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdatePathRouteSetResponse) String ¶ added in v1.1.0
func (response UpdatePathRouteSetResponse) String() string
type WorkRequest ¶
type WorkRequest struct { ErrorDetails []WorkRequestError `mandatory:"true" json:"errorDetails"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The current state of the work request. LifecycleState WorkRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer with which the work request // is associated. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` // A collection of data, related to the load balancer provisioning process, that helps with debugging in the event of failure. // Possible data elements include: // - workflow name // - event ID // - work request ID // - load balancer ID // - workflow completion message Message *string `mandatory:"true" json:"message"` // The date and time the work request was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The type of action the work request represents. // Example: `CreateListener` Type *string `mandatory:"true" json:"type"` // The date and time the work request was completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest Many of the API requests you use to create and configure load balancing do not take effect immediately. In these cases, the request spawns an asynchronous work flow to fulfill the request. WorkRequest objects provide visibility for in-progress work flows. For more information about work requests, see Viewing the State of a Work Request (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/viewingworkrequest.htm).
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestError ¶
type WorkRequestError struct { ErrorCode WorkRequestErrorErrorCodeEnum `mandatory:"true" json:"errorCode"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` }
WorkRequestError An object returned in the event of a work request error.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestErrorErrorCodeEnum ¶
type WorkRequestErrorErrorCodeEnum string
WorkRequestErrorErrorCodeEnum Enum with underlying type: string
const ( WorkRequestErrorErrorCodeBadInput WorkRequestErrorErrorCodeEnum = "BAD_INPUT" WorkRequestErrorErrorCodeInternalError WorkRequestErrorErrorCodeEnum = "INTERNAL_ERROR" )
Set of constants representing the allowable values for WorkRequestErrorErrorCode
func GetWorkRequestErrorErrorCodeEnumValues ¶
func GetWorkRequestErrorErrorCodeEnumValues() []WorkRequestErrorErrorCodeEnum
GetWorkRequestErrorErrorCodeEnumValues Enumerates the set of values for WorkRequestErrorErrorCode
type WorkRequestLifecycleStateEnum ¶
type WorkRequestLifecycleStateEnum string
WorkRequestLifecycleStateEnum Enum with underlying type: string
const ( WorkRequestLifecycleStateAccepted WorkRequestLifecycleStateEnum = "ACCEPTED" WorkRequestLifecycleStateInProgress WorkRequestLifecycleStateEnum = "IN_PROGRESS" WorkRequestLifecycleStateFailed WorkRequestLifecycleStateEnum = "FAILED" WorkRequestLifecycleStateSucceeded WorkRequestLifecycleStateEnum = "SUCCEEDED" )
Set of constants representing the allowable values for WorkRequestLifecycleState
func GetWorkRequestLifecycleStateEnumValues ¶
func GetWorkRequestLifecycleStateEnumValues() []WorkRequestLifecycleStateEnum
GetWorkRequestLifecycleStateEnumValues Enumerates the set of values for WorkRequestLifecycleState
Source Files ¶
- backend.go
- backend_details.go
- backend_health.go
- backend_set.go
- backend_set_details.go
- backend_set_health.go
- certificate.go
- certificate_details.go
- connection_configuration.go
- create_backend_details.go
- create_backend_request_response.go
- create_backend_set_details.go
- create_backend_set_request_response.go
- create_certificate_details.go
- create_certificate_request_response.go
- create_hostname_details.go
- create_hostname_request_response.go
- create_listener_details.go
- create_listener_request_response.go
- create_load_balancer_details.go
- create_load_balancer_request_response.go
- create_path_route_set_details.go
- create_path_route_set_request_response.go
- delete_backend_request_response.go
- delete_backend_set_request_response.go
- delete_certificate_request_response.go
- delete_hostname_request_response.go
- delete_listener_request_response.go
- delete_load_balancer_request_response.go
- delete_path_route_set_request_response.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_hostname_request_response.go
- get_load_balancer_health_request_response.go
- get_load_balancer_request_response.go
- get_path_route_set_request_response.go
- get_work_request_request_response.go
- health_check_result.go
- health_checker.go
- health_checker_details.go
- hostname.go
- hostname_details.go
- ip_address.go
- list_backend_sets_request_response.go
- list_backends_request_response.go
- list_certificates_request_response.go
- list_hostnames_request_response.go
- list_load_balancer_healths_request_response.go
- list_load_balancers_request_response.go
- list_path_route_sets_request_response.go
- list_policies_request_response.go
- list_protocols_request_response.go
- list_shapes_request_response.go
- list_work_requests_request_response.go
- listener.go
- listener_details.go
- load_balancer.go
- load_balancer_health.go
- load_balancer_health_summary.go
- load_balancer_policy.go
- load_balancer_protocol.go
- load_balancer_shape.go
- loadbalancer_client.go
- path_match_type.go
- path_route.go
- path_route_set.go
- path_route_set_details.go
- session_persistence_configuration_details.go
- ssl_configuration.go
- ssl_configuration_details.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_hostname_details.go
- update_hostname_request_response.go
- update_listener_details.go
- update_listener_request_response.go
- update_load_balancer_details.go
- update_load_balancer_request_response.go
- update_path_route_set_details.go
- update_path_route_set_request_response.go
- work_request.go
- work_request_error.go