v1beta1

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=licensemanager.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "licensemanager.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Association_Kind             = "Association"
	Association_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Association_Kind}.String()
	Association_KindAPIVersion   = Association_Kind + "." + CRDGroupVersion.String()
	Association_GroupVersionKind = CRDGroupVersion.WithKind(Association_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LicenseConfiguration_Kind             = "LicenseConfiguration"
	LicenseConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LicenseConfiguration_Kind}.String()
	LicenseConfiguration_KindAPIVersion   = LicenseConfiguration_Kind + "." + CRDGroupVersion.String()
	LicenseConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(LicenseConfiguration_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Association

type Association struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssociationSpec   `json:"spec"`
	Status            AssociationStatus `json:"status,omitempty"`
}

Association is the Schema for the Associations API. Provides a License Manager association resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Association) DeepCopy

func (in *Association) DeepCopy() *Association

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

func (*Association) DeepCopyInto

func (in *Association) DeepCopyInto(out *Association)

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

func (*Association) DeepCopyObject

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

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

func (*Association) GetCondition

func (mg *Association) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Association.

func (*Association) GetConnectionDetailsMapping

func (tr *Association) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Association

func (*Association) GetDeletionPolicy

func (mg *Association) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Association.

func (*Association) GetID

func (tr *Association) GetID() string

GetID returns ID of underlying Terraform resource of this Association

func (*Association) GetInitParameters added in v0.38.0

func (tr *Association) GetInitParameters() (map[string]any, error)

GetInitParameters of this Association

func (*Association) GetManagementPolicies added in v0.38.0

func (mg *Association) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Association.

func (*Association) GetMergedParameters added in v0.44.0

func (tr *Association) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Association

func (*Association) GetObservation

func (tr *Association) GetObservation() (map[string]any, error)

GetObservation of this Association

func (*Association) GetParameters

func (tr *Association) GetParameters() (map[string]any, error)

GetParameters of this Association

func (*Association) GetProviderConfigReference

func (mg *Association) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Association.

func (*Association) GetPublishConnectionDetailsTo

func (mg *Association) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Association.

func (*Association) GetTerraformResourceType

func (mg *Association) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Association

func (*Association) GetTerraformSchemaVersion

func (tr *Association) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Association) GetWriteConnectionSecretToReference

func (mg *Association) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Association.

func (*Association) Hub added in v0.47.2

func (tr *Association) Hub()

Hub marks this type as a conversion hub.

func (*Association) LateInitialize

func (tr *Association) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Association using its observed tfState. returns True if there are any spec changes for the resource.

func (*Association) ResolveReferences

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

func (*Association) SetConditions

func (mg *Association) SetConditions(c ...xpv1.Condition)

SetConditions of this Association.

func (*Association) SetDeletionPolicy

func (mg *Association) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Association.

func (*Association) SetManagementPolicies added in v0.38.0

func (mg *Association) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Association.

func (*Association) SetObservation

func (tr *Association) SetObservation(obs map[string]any) error

SetObservation for this Association

func (*Association) SetParameters

func (tr *Association) SetParameters(params map[string]any) error

SetParameters for this Association

func (*Association) SetProviderConfigReference

func (mg *Association) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Association.

func (*Association) SetPublishConnectionDetailsTo

func (mg *Association) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Association.

func (*Association) SetWriteConnectionSecretToReference

func (mg *Association) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Association.

type AssociationInitParameters added in v0.38.0

type AssociationInitParameters struct {

	// ARN of the license configuration.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/licensemanager/v1beta1.LicenseConfiguration
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	LicenseConfigurationArn *string `json:"licenseConfigurationArn,omitempty" tf:"license_configuration_arn,omitempty"`

	// Reference to a LicenseConfiguration in licensemanager to populate licenseConfigurationArn.
	// +kubebuilder:validation:Optional
	LicenseConfigurationArnRef *v1.Reference `json:"licenseConfigurationArnRef,omitempty" tf:"-"`

	// Selector for a LicenseConfiguration in licensemanager to populate licenseConfigurationArn.
	// +kubebuilder:validation:Optional
	LicenseConfigurationArnSelector *v1.Selector `json:"licenseConfigurationArnSelector,omitempty" tf:"-"`

	// ARN of the resource associated with the license configuration.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta2.Instance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Instance in ec2 to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Instance in ec2 to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`
}

func (*AssociationInitParameters) DeepCopy added in v0.38.0

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

func (*AssociationInitParameters) DeepCopyInto added in v0.38.0

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

type AssociationList

type AssociationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Association `json:"items"`
}

AssociationList contains a list of Associations

func (*AssociationList) DeepCopy

func (in *AssociationList) DeepCopy() *AssociationList

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

func (*AssociationList) DeepCopyInto

func (in *AssociationList) DeepCopyInto(out *AssociationList)

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

func (*AssociationList) DeepCopyObject

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

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

func (*AssociationList) GetItems

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

GetItems of this AssociationList.

type AssociationObservation

type AssociationObservation struct {

	// The license configuration ARN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// ARN of the license configuration.
	LicenseConfigurationArn *string `json:"licenseConfigurationArn,omitempty" tf:"license_configuration_arn,omitempty"`

	// ARN of the resource associated with the license configuration.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`
}

func (*AssociationObservation) DeepCopy

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

func (*AssociationObservation) DeepCopyInto

func (in *AssociationObservation) DeepCopyInto(out *AssociationObservation)

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

type AssociationParameters

type AssociationParameters struct {

	// ARN of the license configuration.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/licensemanager/v1beta1.LicenseConfiguration
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	LicenseConfigurationArn *string `json:"licenseConfigurationArn,omitempty" tf:"license_configuration_arn,omitempty"`

	// Reference to a LicenseConfiguration in licensemanager to populate licenseConfigurationArn.
	// +kubebuilder:validation:Optional
	LicenseConfigurationArnRef *v1.Reference `json:"licenseConfigurationArnRef,omitempty" tf:"-"`

	// Selector for a LicenseConfiguration in licensemanager to populate licenseConfigurationArn.
	// +kubebuilder:validation:Optional
	LicenseConfigurationArnSelector *v1.Selector `json:"licenseConfigurationArnSelector,omitempty" tf:"-"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// ARN of the resource associated with the license configuration.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta2.Instance
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Instance in ec2 to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Instance in ec2 to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`
}

func (*AssociationParameters) DeepCopy

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

func (*AssociationParameters) DeepCopyInto

func (in *AssociationParameters) DeepCopyInto(out *AssociationParameters)

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

type AssociationSpec

type AssociationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AssociationParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AssociationInitParameters `json:"initProvider,omitempty"`
}

AssociationSpec defines the desired state of Association

func (*AssociationSpec) DeepCopy

func (in *AssociationSpec) DeepCopy() *AssociationSpec

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

func (*AssociationSpec) DeepCopyInto

func (in *AssociationSpec) DeepCopyInto(out *AssociationSpec)

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

type AssociationStatus

type AssociationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AssociationObservation `json:"atProvider,omitempty"`
}

AssociationStatus defines the observed state of Association.

func (*AssociationStatus) DeepCopy

func (in *AssociationStatus) DeepCopy() *AssociationStatus

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

func (*AssociationStatus) DeepCopyInto

func (in *AssociationStatus) DeepCopyInto(out *AssociationStatus)

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

type LicenseConfiguration

type LicenseConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.licenseCountingType) || (has(self.initProvider) && has(self.initProvider.licenseCountingType))",message="spec.forProvider.licenseCountingType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   LicenseConfigurationSpec   `json:"spec"`
	Status LicenseConfigurationStatus `json:"status,omitempty"`
}

LicenseConfiguration is the Schema for the LicenseConfigurations API. Provides a License Manager license configuration resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*LicenseConfiguration) DeepCopy

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

func (*LicenseConfiguration) DeepCopyInto

func (in *LicenseConfiguration) DeepCopyInto(out *LicenseConfiguration)

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

func (*LicenseConfiguration) DeepCopyObject

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

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

func (*LicenseConfiguration) GetCondition

func (mg *LicenseConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this LicenseConfiguration.

func (*LicenseConfiguration) GetConnectionDetailsMapping

func (tr *LicenseConfiguration) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LicenseConfiguration

func (*LicenseConfiguration) GetDeletionPolicy

func (mg *LicenseConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LicenseConfiguration.

func (*LicenseConfiguration) GetID

func (tr *LicenseConfiguration) GetID() string

GetID returns ID of underlying Terraform resource of this LicenseConfiguration

func (*LicenseConfiguration) GetInitParameters added in v0.38.0

func (tr *LicenseConfiguration) GetInitParameters() (map[string]any, error)

GetInitParameters of this LicenseConfiguration

func (*LicenseConfiguration) GetManagementPolicies added in v0.38.0

func (mg *LicenseConfiguration) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this LicenseConfiguration.

func (*LicenseConfiguration) GetMergedParameters added in v0.44.0

func (tr *LicenseConfiguration) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this LicenseConfiguration

func (*LicenseConfiguration) GetObservation

func (tr *LicenseConfiguration) GetObservation() (map[string]any, error)

GetObservation of this LicenseConfiguration

func (*LicenseConfiguration) GetParameters

func (tr *LicenseConfiguration) GetParameters() (map[string]any, error)

GetParameters of this LicenseConfiguration

func (*LicenseConfiguration) GetProviderConfigReference

func (mg *LicenseConfiguration) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LicenseConfiguration.

func (*LicenseConfiguration) GetPublishConnectionDetailsTo

func (mg *LicenseConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LicenseConfiguration.

func (*LicenseConfiguration) GetTerraformResourceType

func (mg *LicenseConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LicenseConfiguration

func (*LicenseConfiguration) GetTerraformSchemaVersion

func (tr *LicenseConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LicenseConfiguration) GetWriteConnectionSecretToReference

func (mg *LicenseConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LicenseConfiguration.

func (*LicenseConfiguration) Hub added in v0.47.2

func (tr *LicenseConfiguration) Hub()

Hub marks this type as a conversion hub.

func (*LicenseConfiguration) LateInitialize

func (tr *LicenseConfiguration) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LicenseConfiguration using its observed tfState. returns True if there are any spec changes for the resource.

func (*LicenseConfiguration) SetConditions

func (mg *LicenseConfiguration) SetConditions(c ...xpv1.Condition)

SetConditions of this LicenseConfiguration.

func (*LicenseConfiguration) SetDeletionPolicy

func (mg *LicenseConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LicenseConfiguration.

func (*LicenseConfiguration) SetManagementPolicies added in v0.38.0

func (mg *LicenseConfiguration) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this LicenseConfiguration.

func (*LicenseConfiguration) SetObservation

func (tr *LicenseConfiguration) SetObservation(obs map[string]any) error

SetObservation for this LicenseConfiguration

func (*LicenseConfiguration) SetParameters

func (tr *LicenseConfiguration) SetParameters(params map[string]any) error

SetParameters for this LicenseConfiguration

func (*LicenseConfiguration) SetProviderConfigReference

func (mg *LicenseConfiguration) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LicenseConfiguration.

func (*LicenseConfiguration) SetPublishConnectionDetailsTo

func (mg *LicenseConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LicenseConfiguration.

func (*LicenseConfiguration) SetWriteConnectionSecretToReference

func (mg *LicenseConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LicenseConfiguration.

type LicenseConfigurationInitParameters added in v0.38.0

type LicenseConfigurationInitParameters struct {

	// Description of the license configuration.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Number of licenses managed by the license configuration.
	LicenseCount *float64 `json:"licenseCount,omitempty" tf:"license_count,omitempty"`

	// Sets the number of available licenses as a hard limit.
	LicenseCountHardLimit *bool `json:"licenseCountHardLimit,omitempty" tf:"license_count_hard_limit,omitempty"`

	// Dimension to use to track license inventory. Specify either vCPU, Instance, Core or Socket.
	LicenseCountingType *string `json:"licenseCountingType,omitempty" tf:"license_counting_type,omitempty"`

	// Array of configured License Manager rules.
	LicenseRules []*string `json:"licenseRules,omitempty" tf:"license_rules,omitempty"`

	// Name of the license configuration.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LicenseConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*LicenseConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type LicenseConfigurationList

type LicenseConfigurationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LicenseConfiguration `json:"items"`
}

LicenseConfigurationList contains a list of LicenseConfigurations

func (*LicenseConfigurationList) DeepCopy

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

func (*LicenseConfigurationList) DeepCopyInto

func (in *LicenseConfigurationList) DeepCopyInto(out *LicenseConfigurationList)

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

func (*LicenseConfigurationList) DeepCopyObject

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

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

func (*LicenseConfigurationList) GetItems

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

GetItems of this LicenseConfigurationList.

type LicenseConfigurationObservation

type LicenseConfigurationObservation struct {

	// The license configuration ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Description of the license configuration.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The license configuration ARN.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Number of licenses managed by the license configuration.
	LicenseCount *float64 `json:"licenseCount,omitempty" tf:"license_count,omitempty"`

	// Sets the number of available licenses as a hard limit.
	LicenseCountHardLimit *bool `json:"licenseCountHardLimit,omitempty" tf:"license_count_hard_limit,omitempty"`

	// Dimension to use to track license inventory. Specify either vCPU, Instance, Core or Socket.
	LicenseCountingType *string `json:"licenseCountingType,omitempty" tf:"license_counting_type,omitempty"`

	// Array of configured License Manager rules.
	LicenseRules []*string `json:"licenseRules,omitempty" tf:"license_rules,omitempty"`

	// Name of the license configuration.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Account ID of the owner of the license configuration.
	OwnerAccountID *string `json:"ownerAccountId,omitempty" tf:"owner_account_id,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*LicenseConfigurationObservation) DeepCopy

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

func (*LicenseConfigurationObservation) DeepCopyInto

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

type LicenseConfigurationParameters

type LicenseConfigurationParameters struct {

	// Description of the license configuration.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Number of licenses managed by the license configuration.
	// +kubebuilder:validation:Optional
	LicenseCount *float64 `json:"licenseCount,omitempty" tf:"license_count,omitempty"`

	// Sets the number of available licenses as a hard limit.
	// +kubebuilder:validation:Optional
	LicenseCountHardLimit *bool `json:"licenseCountHardLimit,omitempty" tf:"license_count_hard_limit,omitempty"`

	// Dimension to use to track license inventory. Specify either vCPU, Instance, Core or Socket.
	// +kubebuilder:validation:Optional
	LicenseCountingType *string `json:"licenseCountingType,omitempty" tf:"license_counting_type,omitempty"`

	// Array of configured License Manager rules.
	// +kubebuilder:validation:Optional
	LicenseRules []*string `json:"licenseRules,omitempty" tf:"license_rules,omitempty"`

	// Name of the license configuration.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LicenseConfigurationParameters) DeepCopy

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

func (*LicenseConfigurationParameters) DeepCopyInto

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

type LicenseConfigurationSpec

type LicenseConfigurationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LicenseConfigurationParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider LicenseConfigurationInitParameters `json:"initProvider,omitempty"`
}

LicenseConfigurationSpec defines the desired state of LicenseConfiguration

func (*LicenseConfigurationSpec) DeepCopy

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

func (*LicenseConfigurationSpec) DeepCopyInto

func (in *LicenseConfigurationSpec) DeepCopyInto(out *LicenseConfigurationSpec)

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

type LicenseConfigurationStatus

type LicenseConfigurationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LicenseConfigurationObservation `json:"atProvider,omitempty"`
}

LicenseConfigurationStatus defines the observed state of LicenseConfiguration.

func (*LicenseConfigurationStatus) DeepCopy

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

func (*LicenseConfigurationStatus) DeepCopyInto

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