v1alpha1

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group eventstreamsadminv1 resources of the IBM Cloud provider. +kubebuilder:object:generate=true +groupName=cos.ibmcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "cos.ibmcloud.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	BucketKind                   = reflect.TypeOf(Bucket{}).Name()
	BucketGroupKind              = schema.GroupKind{Group: Group, Kind: BucketKind}.String()
	BucketKindAPIVersion         = BucketKind + "." + SchemeGroupVersion.String()
	BucketGroupVersionKind       = SchemeGroupVersion.WithKind(BucketKind)
	BucketConfigKind             = reflect.TypeOf(BucketConfig{}).Name()
	BucketConfigGroupKind        = schema.GroupKind{Group: Group, Kind: BucketConfigKind}.String()
	BucketConfigKindAPIVersion   = BucketConfigKind + "." + SchemeGroupVersion.String()
	BucketConfigGroupVersionKind = SchemeGroupVersion.WithKind(BucketConfigKind)
)

types metadata.

Functions

This section is empty.

Types

type ActivityTracking

type ActivityTracking struct {
	// If set to `true`, all object read events (i.e. downloads) will be sent to Activity Tracker.
	//
	// +optional
	ReadDataEvents *bool `json:"readDataEvents,omitempty"`

	// If set to `true`, all object write events (i.e. uploads) will be sent to Activity Tracker.
	//
	// +optional
	WriteDataEvents *bool `json:"writeDataEvents,omitempty"`

	// Required the first time Activity Tracking is configured. The is the CRN of the instance of Activity Tracker that will receive object
	// event data. The format is "crn:v1:bluemix:public:logdnaat:{bucket location}:a/{storage account}:{activity tracker
	// service instance}::"
	//
	// If set to "0", tracking is disabled (independently of the values of the other paremeters)'
	//
	// +optional
	ActivityTrackerCRN *string `json:"activityTrackerCRN,omitempty"`
}

ActivityTracking contains the parameters used to configure activity tracking

Setting the CRN to "0" signals that we want to disable tracking (as this not a valid CRN)

func (*ActivityTracking) DeepCopy

func (in *ActivityTracking) DeepCopy() *ActivityTracking

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityTracking.

func (*ActivityTracking) DeepCopyInto

func (in *ActivityTracking) DeepCopyInto(out *ActivityTracking)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Bucket

type Bucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BucketSpec   `json:"spec"`
	Status BucketStatus `json:"status,omitempty"`
}

Bucket contains all the info (spec + status) for a bucket +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket.

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Bucket) DeepCopyObject

func (in *Bucket) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Bucket) GetCondition

GetCondition of this Bucket.

func (*Bucket) GetDeletionPolicy

func (mg *Bucket) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this Bucket.

func (*Bucket) GetProviderConfigReference

func (mg *Bucket) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this Bucket.

func (*Bucket) GetProviderReference

func (mg *Bucket) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this Bucket. Deprecated: Use GetProviderConfigReference.

func (*Bucket) GetWriteConnectionSecretToReference

func (mg *Bucket) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this Bucket.

func (*Bucket) ResolveReferences

func (mg *Bucket) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences resolves the crossplane reference id to the IBM Cloud reference instance id

func (*Bucket) SetConditions

func (mg *Bucket) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this Bucket.

func (*Bucket) SetDeletionPolicy

func (mg *Bucket) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this Bucket.

func (*Bucket) SetProviderConfigReference

func (mg *Bucket) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this Bucket.

func (*Bucket) SetProviderReference

func (mg *Bucket) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this Bucket. Deprecated: Use SetProviderConfigReference.

func (*Bucket) SetWriteConnectionSecretToReference

func (mg *Bucket) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this Bucket.

type BucketConfig

type BucketConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BucketConfigSpec   `json:"spec"`
	Status BucketConfigStatus `json:"status,omitempty"`
}

BucketConfig contains all the info (spec + status) for a bucket configuration

+kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*BucketConfig) DeepCopy

func (in *BucketConfig) DeepCopy() *BucketConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketConfig.

func (*BucketConfig) DeepCopyInto

func (in *BucketConfig) DeepCopyInto(out *BucketConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BucketConfig) DeepCopyObject

func (in *BucketConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BucketConfig) GetCondition

GetCondition of this BucketConfig.

func (*BucketConfig) GetDeletionPolicy

func (mg *BucketConfig) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this BucketConfig.

func (*BucketConfig) GetProviderConfigReference

func (mg *BucketConfig) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this BucketConfig.

func (*BucketConfig) GetProviderReference

func (mg *BucketConfig) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this BucketConfig. Deprecated: Use GetProviderConfigReference.

func (*BucketConfig) GetWriteConnectionSecretToReference

func (mg *BucketConfig) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this BucketConfig.

func (*BucketConfig) ResolveReferences

func (mg *BucketConfig) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences resolves the crossplane reference

func (*BucketConfig) SetConditions

func (mg *BucketConfig) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this BucketConfig.

func (*BucketConfig) SetDeletionPolicy

func (mg *BucketConfig) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this BucketConfig.

func (*BucketConfig) SetProviderConfigReference

func (mg *BucketConfig) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this BucketConfig.

func (*BucketConfig) SetProviderReference

func (mg *BucketConfig) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this BucketConfig. Deprecated: Use SetProviderConfigReference.

func (*BucketConfig) SetWriteConnectionSecretToReference

func (mg *BucketConfig) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this BucketConfig.

type BucketConfigList

type BucketConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// List of buckets configs returned
	Items []BucketConfig `json:"bucketConfigs"`
}

BucketConfigList - list of existing bucket configs

func (*BucketConfigList) DeepCopy

func (in *BucketConfigList) DeepCopy() *BucketConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketConfigList.

func (*BucketConfigList) DeepCopyInto

func (in *BucketConfigList) DeepCopyInto(out *BucketConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BucketConfigList) DeepCopyObject

func (in *BucketConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BucketConfigList) GetItems

func (l *BucketConfigList) GetItems() []resource.Managed

GetItems of this BucketConfigList.

type BucketConfigObservation

type BucketConfigObservation struct {
	// The CRN of the bucket
	CRN string `json:"crn"`

	// Id of the service instance that holds the bucket
	ServiceInstanceID string `json:"serviceInstanceID,omitempty"`

	// RN of the service instance that holds the bucket.
	ServiceInstanceCRN string `json:"serviceInstanceCRN,omitempty"`

	// The creation time of the bucket in RFC 3339 format
	TimeCreated metav1.Time `json:"timeCreated,omitempty"`

	// The modification time of the bucket in RFC 3339 format.
	TimeUpdated metav1.Time `json:"timeUpdated,omitempty"`

	// Total number of objects in the bucket
	ObjectCount int64 `json:"objectCount,omitempty"`

	// Total size of all objects in the bucket
	BytesUsed int64 `json:"bytesUsed,omitempty"`

	// Number of non-current object versions in the bucket. Non-mutable.
	NoncurrentObjectCount int64 `json:"noncurrentObjectCount,omitempty"`

	// Total size of all non-current object versions in the bucket. Non-mutable.
	NoncurrentBytesUsed int64 `json:"noncurrentBytesUsed,omitempty"`

	// Total number of delete markers in the bucket. Non-mutable.
	DeleteMarkerCount int64 `json:"deleteMarkerCount,omitempty"`
}

BucketConfigObservation are the observable fields of a bucket configuration

func (*BucketConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketConfigObservation.

func (*BucketConfigObservation) DeepCopyInto

func (in *BucketConfigObservation) DeepCopyInto(out *BucketConfigObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketConfigParams

type BucketConfigParams struct {
	// The name of the bucket. Non-mutable.
	//
	// Note:
	//    One of 'Name', 'NameRef' should be specified...
	//
	// +immutable
	// +optional
	Name *string `json:"name,omitempty"`

	// Crossplane reference of the bucket name (the bucket should already be "in the cluster")
	//
	// Note:
	//    One of 'Name', 'NameRef' should be specified
	//
	// +immutable
	// +optional
	NameRef *runtimev1alpha1.Reference `json:"nameRef,omitempty"`

	// Selects a reference to a resource used to set the name
	//
	// +immutable
	// +optional
	NameSelector *runtimev1alpha1.Selector `json:"nameSelector,omitempty"`

	// Maximum bytes for this bucket. If set to 0, quota is disabled
	//
	// +optional
	HardQuota *int64 `json:"hardQuota,omitempty"`

	// An access control mechanism based on the network (IP address) where request originated. Requests not originating
	// from IP addresses listed in the `allowed_ip` field will be denied regardless of any access policies (including
	// public access) that might otherwise permit the request.  Viewing or updating the `Firewall` element requires the
	// requester to have the `manager` role.
	//
	// +optional
	Firewall *Firewall `json:"firewall,omitempty"`

	// Enables sending log data to the Activity Tracker, to provide visibility into object read and write events. All
	// object events are sent to the activity tracker instance identified in the `ActivityTrackerCRN` field.
	//
	// +optional
	ActivityTracking *ActivityTracking `json:"activityTracking,omitempty"`

	// Enables sending metrics to IBM Cloud Monitoring. All metrics are sent to the IBM Cloud Monitoring instance identified
	// in the `MetricsMonitoringCRN` field.
	//
	// +optional
	MetricsMonitoring *MetricsMonitoring `json:"metricsMonitoring,omitempty"`

	// Allows users to set headers to be GDPR compliant
	//
	// +optional
	Headers *map[string]string `json:"headers,omitempty"`
}

BucketConfigParams are the configurable aspects of a bucket

func (*BucketConfigParams) DeepCopy

func (in *BucketConfigParams) DeepCopy() *BucketConfigParams

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketConfigParams.

func (*BucketConfigParams) DeepCopyInto

func (in *BucketConfigParams) DeepCopyInto(out *BucketConfigParams)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketConfigSpec

type BucketConfigSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Info the IBM cloud needs to create a bucket
	ForProvider BucketConfigParams `json:"forProvider"`
}

BucketConfigSpec - desired end-state of a bucket in the IBM cloud

func (*BucketConfigSpec) DeepCopy

func (in *BucketConfigSpec) DeepCopy() *BucketConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketConfigSpec.

func (*BucketConfigSpec) DeepCopyInto

func (in *BucketConfigSpec) DeepCopyInto(out *BucketConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketConfigStatus

type BucketConfigStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// Info the IBM cloud returns about a bucket
	AtProvider BucketConfigObservation `json:"atProvider,omitempty"`
}

BucketConfigStatus - whatever the status is (the IBM cloud decides that)

func (*BucketConfigStatus) DeepCopy

func (in *BucketConfigStatus) DeepCopy() *BucketConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketConfigStatus.

func (*BucketConfigStatus) DeepCopyInto

func (in *BucketConfigStatus) DeepCopyInto(out *BucketConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketList

type BucketList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// List of buckets returned
	Items []Bucket `json:"buckets"`
}

BucketList - list of existing buckets...

func (*BucketList) DeepCopy

func (in *BucketList) DeepCopy() *BucketList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketList.

func (*BucketList) DeepCopyInto

func (in *BucketList) DeepCopyInto(out *BucketList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BucketList) DeepCopyObject

func (in *BucketList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BucketList) GetItems

func (l *BucketList) GetItems() []resource.Managed

GetItems of this BucketList.

type BucketObservation

type BucketObservation struct {
	// When the bucket was created. Can change when making changes to it -
	// such as editing its policy
	CreationDate *metav1.Time `json:"creationDate"`
}

BucketObservation contains the fields of a bucket that are "set" by the IBM cloud

func (*BucketObservation) DeepCopy

func (in *BucketObservation) DeepCopy() *BucketObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketObservation.

func (*BucketObservation) DeepCopyInto

func (in *BucketObservation) DeepCopyInto(out *BucketObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketPararams

type BucketPararams struct {
	// Name of the bucket. Must be globally unique and DNS-compliant; names between 3 and 63 characters long must be made of lowercase letters, numbers, and dashes. Must begin and end with a lowercase letter or number.
	//
	// Names resembling IP addresses are not allowed. Names must be unique because all buckets in the public cloud share a global namespace, allowing access to buckets without the need to provide any service instance or account information.
	//
	// It is not possible to create a bucket with a name beginning with cosv1- or account- as these prefixes are reserved by the system.
	//
	// +immutable
	Name string `json:"bucket"`

	// The resource service instance where the bucket will be created and to which data usage will be billed. This value can be either the full Cloud Resource Name (CRN) or just the GUID segment that identifies the service instance.
	//
	// Note:
	//    Only one of 'IbmServiceInstanceID', 'IbmServiceInstanceIDRef', 'IbmServiceInstanceIDSelector' should be != nil
	//
	// Example: d6f76k03-6k4f-4a82-n165-697654o63903
	//
	// +immutable
	// +optional
	IbmServiceInstanceID *string `json:"ibmServiceInstanceID,omitempty"`

	// Crossplane reference to a resource instance containing the bucket
	//
	// Note:
	//    Only one of 'IbmServiceInstanceID', 'IbmServiceInstanceIDRef', 'IbmServiceInstanceIDSelector' should be != nil
	//
	// +immutable
	// +optional
	IbmServiceInstanceIDRef *runtimev1alpha1.Reference `json:"ibmServiceInstanceIDRef,omitempty"`

	// Selects a reference to a resource instance containing the bucket
	//
	// Note:
	//    Only one of 'IbmServiceInstanceID', 'IbmServiceInstanceIDRef', 'IbmServiceInstanceIDSelector' should be != nil
	//
	// +immutable
	// +optional
	IbmServiceInstanceIDSelector *runtimev1alpha1.Selector `json:"ibmServiceInstanceIDSelector,omitempty"`

	// The algorithm and key size used to for the managed encryption root key. Required if IbmSSEKpCustomerRootKeyCrn is also present.
	//
	// Allowable values: “AES256”
	//
	// +immutable
	// +optional
	IbmSSEKpEncryptionAlgorithm *string `json:"ibmSSEKpEncryptionAlgorithm,omitempty"`

	// The CRN of the root key used to encrypt the bucket. Required ifIbmSSEKpEncryptionAlgorithm is also present.
	//
	// Example: crn:v1:bluemix:public:kms:us-south:a/f047b55a3362ac06afad8a3f2f5586ea:12e8c9c2-a162-472d-b7d6-8b9a86b815a6:key:02fd6835-6001-4482-a892-13bd2085f75d
	//
	// +immutable
	// +optional
	IbmSSEKpCustomerRootKeyCrn *string `json:"ibmSSEKpCustomerRootKeyCrn,omitempty"`

	// Allowable values: “us-standard”, “us-cold”
	//
	// +immutable
	LocationConstraint string `json:"locationConstraint"`
}

BucketPararams are input params when creating a bucket

func (*BucketPararams) DeepCopy

func (in *BucketPararams) DeepCopy() *BucketPararams

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketPararams.

func (*BucketPararams) DeepCopyInto

func (in *BucketPararams) DeepCopyInto(out *BucketPararams)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketSpec

type BucketSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Info the IBM cloud needs to create a bucket
	ForProvider BucketPararams `json:"forProvider"`
}

BucketSpec - desired end-state of a Bucket in the IBM cloud

func (*BucketSpec) DeepCopy

func (in *BucketSpec) DeepCopy() *BucketSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketSpec.

func (*BucketSpec) DeepCopyInto

func (in *BucketSpec) DeepCopyInto(out *BucketSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BucketStatus

type BucketStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// Info the IBM cloud returns about a bucket
	AtProvider BucketObservation `json:"atProvider,omitempty"`
}

BucketStatus - whatever the status is (the IBM cloud decides that)

func (*BucketStatus) DeepCopy

func (in *BucketStatus) DeepCopy() *BucketStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketStatus.

func (*BucketStatus) DeepCopyInto

func (in *BucketStatus) DeepCopyInto(out *BucketStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Firewall

type Firewall struct {
	// List of IPv4 or IPv6 addresses in CIDR notation to be affected by firewall in CIDR notation is supported. Passing an
	// empty array will lift the IP address filter.  The `allowed_ip` array can contain a maximum of 1000 items.
	AllowedIP []string `json:"allowedIP"`
}

Firewall : An access control mechanism based on the network (IP address) where request originated. Requests not originating from IP addresses listed in the `allowed_ip` field will be denied regardless of any access policies (including public access) that might otherwise permit the request. Viewing or updating the `Firewall` element requires the requester to have the `manager` role.

func (*Firewall) DeepCopy

func (in *Firewall) DeepCopy() *Firewall

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firewall.

func (*Firewall) DeepCopyInto

func (in *Firewall) DeepCopyInto(out *Firewall)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricsMonitoring

type MetricsMonitoring struct {
	// If set to `true`, all usage metrics (i.e. `bytes_used`) will be sent to the monitoring service.
	//
	// +optional
	UsageMetricsEnabled *bool `json:"usageMetricsEnabled,omitempty"`

	// If set to `true`, all request metrics (i.e. `rest.object.head`) will be sent to the monitoring service.
	//
	// +optional
	RequestMetricsEnabled *bool `json:"requestMetricsEnabled,omitempty"`

	// Required the first time monitoring is be configured. This is CRN the instance of IBM Cloud Monitoring that will receive
	// the bucket metrics. The format is "crn:v1:bluemix:public:logdnaat:{bucket location}:a/{storage account}:{monitoring
	// service instance}::".
	//
	// If set to "0", monitoring is disabled (independently of the values of the other paremeters)
	//
	// +optional
	MetricsMonitoringCRN *string `json:"metricsMonitoringCRN,omitempty"`
}

MetricsMonitoring contains the parameters used to configure metrics monitoring.

Setting the CRN to "0" signals that we want to disable monitoring (as this not a valid CRN)

func (*MetricsMonitoring) DeepCopy

func (in *MetricsMonitoring) DeepCopy() *MetricsMonitoring

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsMonitoring.

func (*MetricsMonitoring) DeepCopyInto

func (in *MetricsMonitoring) DeepCopyInto(out *MetricsMonitoring)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL