func (r *logging) CreateLoggingConfig(params LoggingCreateRequest, target LoggingTargetHeader) (LoggingCreateResponse, error) {
	var resp LoggingCreateResponse
	_, err := r.client.Post("/v2/observe/logging/createConfig", params, &resp, target.ToMap())
	return resp, err
}
CreateLoggingConfig ...
Create a Logging configuration for a cluster.
package containerv2
import (
	"fmt"
	"github.com/IBM-Cloud/bluemix-go/client"
)
const (
	authResourceAccount = "X-Auth-Resource-Account"
)
type LoggingTargetHeader struct {
	AccountID string
}
func (c LoggingTargetHeader) ToMap() map[string]string {
	m := make(map[string]string, 2)
	m[authResourceAccount] = c.AccountID
	return m
}
type LoggingCreateRequest struct {
	Cluster         string `json:"cluster"`
	IngestionKey    string `json:"ingestionKey,omitempty"`
	LoggingInstance string `json:"instance"`
	PrivateEndpoint bool   `json:"privateEndpoint,omitempty"`
}
type LoggingCreateResponse struct {
	DaemonsetName   string `json:"daemonsetName"`
	IngestionKey    string `json:"ingestionKey"`
	InstanceID      string `json:"instanceId"`
	InstanceName    string `json:"instanceName"`
	PrivateEndpoint bool   `json:"privateEndpoint"`
}
type LoggingUpdateRequest struct {
	Cluster         string `json:"cluster"`
	IngestionKey    string `json:"ingestionKey"`
	Instance        string `json:"instance"`
	NewInstance     string `json:"newInstance"`
	PrivateEndpoint bool   `json:"privateEndpoint"`
}
type LoggingUpdateResponse struct {
	AgentKey        string `json:"agentKey"`
	AgentNamespace  string `json:"agentNamespace"`
	CRN             string `json:"crn"`
	DaemonsetName   string `json:"daemonsetName"`
	DiscoveredAgent bool   `json:"discoveredAgent"`
	InstanceID      string `json:"instanceId"`
	InstanceName    string `json:"instanceName"`
	Namespace       string `json:"namespace"`
	PrivateEndpoint bool   `json:"privateEndpoint"`
}
type LoggingInfo struct {
	AgentKey        string `json:"agentKey"`
	AgentNamespace  string `json:"agentNamespace"`
	CRN             string `json:"crn"`
	DaemonsetName   string `json:"daemonsetName"`
	DiscoveredAgent bool   `json:"discoveredAgent"`
	InstanceID      string `json:"instanceId"`
	InstanceName    string `json:"instanceName"`
	Namespace       string `json:"namespace"`
	PrivateEndpoint bool   `json:"privateEndpoint"`
}
type LoggingDeleteRequest struct {
	Cluster  string `json:"cluster"`
	Instance string `json:"instance"`
}
type Logging interface {
	CreateLoggingConfig(params LoggingCreateRequest, target LoggingTargetHeader) (LoggingCreateResponse, error)
	GetLoggingConfig(clusterName string, LoggingInstance string, target LoggingTargetHeader) (*LoggingInfo, error)
	ListLoggingInstances(clusterName string, target LoggingTargetHeader) ([]LoggingInfo, error)
	UpdateLoggingConfig(params LoggingUpdateRequest, target LoggingTargetHeader) (LoggingUpdateResponse, error)
	DeleteLoggingConfig(params LoggingDeleteRequest, target LoggingTargetHeader) (interface{}, error)
}
type logging struct {
	client *client.Client
}
func newLoggingAPI(c *client.Client) Logging {
	return &logging{
		client: c,
	}
}