packer-cn/vendor/github.com/oracle/oci-go-sdk/loadbalancer/ssl_configuration.go

37 lines
1.2 KiB
Go

// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Load Balancing Service API
//
// API for the Load Balancing Service
//
package loadbalancer
import (
"github.com/oracle/oci-go-sdk/common"
)
// SslConfiguration A listener's SSL handling configuration.
// To use SSL, a listener must be associated with a Certificate.
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: `My_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"`
}
func (m SslConfiguration) String() string {
return common.PointerString(m)
}