v1beta1

package
v1.11.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: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=tags.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "tags.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

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 (
	TagBinding_Kind             = "TagBinding"
	TagBinding_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TagBinding_Kind}.String()
	TagBinding_KindAPIVersion   = TagBinding_Kind + "." + CRDGroupVersion.String()
	TagBinding_GroupVersionKind = CRDGroupVersion.WithKind(TagBinding_Kind)
)

Repository type metadata.

View Source
var (
	TagKey_Kind             = "TagKey"
	TagKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TagKey_Kind}.String()
	TagKey_KindAPIVersion   = TagKey_Kind + "." + CRDGroupVersion.String()
	TagKey_GroupVersionKind = CRDGroupVersion.WithKind(TagKey_Kind)
)

Repository type metadata.

View Source
var (
	TagValue_Kind             = "TagValue"
	TagValue_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TagValue_Kind}.String()
	TagValue_KindAPIVersion   = TagValue_Kind + "." + CRDGroupVersion.String()
	TagValue_GroupVersionKind = CRDGroupVersion.WithKind(TagValue_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type TagBinding

type TagBinding 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.parent) || (has(self.initProvider) && has(self.initProvider.parent))",message="spec.forProvider.parent is a required parameter"
	Spec   TagBindingSpec   `json:"spec"`
	Status TagBindingStatus `json:"status,omitempty"`
}

TagBinding is the Schema for the TagBindings API. A TagBinding represents a connection between a TagValue and a cloud resource (currently project, folder, or organization). +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,gcp}

func (*TagBinding) DeepCopy

func (in *TagBinding) DeepCopy() *TagBinding

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

func (*TagBinding) DeepCopyInto

func (in *TagBinding) DeepCopyInto(out *TagBinding)

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

func (*TagBinding) DeepCopyObject

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

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

func (*TagBinding) GetCondition

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

GetCondition of this TagBinding.

func (*TagBinding) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TagBinding

func (*TagBinding) GetDeletionPolicy

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

GetDeletionPolicy of this TagBinding.

func (*TagBinding) GetID

func (tr *TagBinding) GetID() string

GetID returns ID of underlying Terraform resource of this TagBinding

func (*TagBinding) GetInitParameters

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

GetInitParameters of this TagBinding

func (*TagBinding) GetManagementPolicies

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

GetManagementPolicies of this TagBinding.

func (*TagBinding) GetMergedParameters

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

GetInitParameters of this TagBinding

func (*TagBinding) GetObservation

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

GetObservation of this TagBinding

func (*TagBinding) GetParameters

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

GetParameters of this TagBinding

func (*TagBinding) GetProviderConfigReference

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

GetProviderConfigReference of this TagBinding.

func (*TagBinding) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TagBinding.

func (*TagBinding) GetTerraformResourceType

func (mg *TagBinding) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TagBinding

func (*TagBinding) GetTerraformSchemaVersion

func (tr *TagBinding) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TagBinding) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TagBinding.

func (*TagBinding) Hub

func (tr *TagBinding) Hub()

Hub marks this type as a conversion hub.

func (*TagBinding) LateInitialize

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

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

func (*TagBinding) ResolveReferences

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

func (*TagBinding) SetConditions

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

SetConditions of this TagBinding.

func (*TagBinding) SetDeletionPolicy

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

SetDeletionPolicy of this TagBinding.

func (*TagBinding) SetManagementPolicies

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

SetManagementPolicies of this TagBinding.

func (*TagBinding) SetObservation

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

SetObservation for this TagBinding

func (*TagBinding) SetParameters

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

SetParameters for this TagBinding

func (*TagBinding) SetProviderConfigReference

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

SetProviderConfigReference of this TagBinding.

func (*TagBinding) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TagBinding.

func (*TagBinding) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TagBinding.

type TagBindingInitParameters

type TagBindingInitParameters struct {

	// The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// The TagValue of the TagBinding. Must be of the form tagValues/456.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/tags/v1beta1.TagValue
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	TagValue *string `json:"tagValue,omitempty" tf:"tag_value,omitempty"`

	// Reference to a TagValue in tags to populate tagValue.
	// +kubebuilder:validation:Optional
	TagValueRef *v1.Reference `json:"tagValueRef,omitempty" tf:"-"`

	// Selector for a TagValue in tags to populate tagValue.
	// +kubebuilder:validation:Optional
	TagValueSelector *v1.Selector `json:"tagValueSelector,omitempty" tf:"-"`
}

func (*TagBindingInitParameters) DeepCopy

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

func (*TagBindingInitParameters) DeepCopyInto

func (in *TagBindingInitParameters) DeepCopyInto(out *TagBindingInitParameters)

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

type TagBindingList

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

TagBindingList contains a list of TagBindings

func (*TagBindingList) DeepCopy

func (in *TagBindingList) DeepCopy() *TagBindingList

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

func (*TagBindingList) DeepCopyInto

func (in *TagBindingList) DeepCopyInto(out *TagBindingList)

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

func (*TagBindingList) DeepCopyObject

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

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

func (*TagBindingList) GetItems

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

GetItems of this TagBindingList.

type TagBindingObservation

type TagBindingObservation struct {

	// an identifier for the resource with format tagBindings/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The generated id for the TagBinding. This is a string of the form: tagBindings/{full-resource-name}/{tag-value-name}
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// The TagValue of the TagBinding. Must be of the form tagValues/456.
	TagValue *string `json:"tagValue,omitempty" tf:"tag_value,omitempty"`
}

func (*TagBindingObservation) DeepCopy

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

func (*TagBindingObservation) DeepCopyInto

func (in *TagBindingObservation) DeepCopyInto(out *TagBindingObservation)

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

type TagBindingParameters

type TagBindingParameters struct {

	// The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123
	// +kubebuilder:validation:Optional
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// The TagValue of the TagBinding. Must be of the form tagValues/456.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/tags/v1beta1.TagValue
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TagValue *string `json:"tagValue,omitempty" tf:"tag_value,omitempty"`

	// Reference to a TagValue in tags to populate tagValue.
	// +kubebuilder:validation:Optional
	TagValueRef *v1.Reference `json:"tagValueRef,omitempty" tf:"-"`

	// Selector for a TagValue in tags to populate tagValue.
	// +kubebuilder:validation:Optional
	TagValueSelector *v1.Selector `json:"tagValueSelector,omitempty" tf:"-"`
}

func (*TagBindingParameters) DeepCopy

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

func (*TagBindingParameters) DeepCopyInto

func (in *TagBindingParameters) DeepCopyInto(out *TagBindingParameters)

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

type TagBindingSpec

type TagBindingSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagBindingParameters `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 TagBindingInitParameters `json:"initProvider,omitempty"`
}

TagBindingSpec defines the desired state of TagBinding

func (*TagBindingSpec) DeepCopy

func (in *TagBindingSpec) DeepCopy() *TagBindingSpec

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

func (*TagBindingSpec) DeepCopyInto

func (in *TagBindingSpec) DeepCopyInto(out *TagBindingSpec)

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

type TagBindingStatus

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

TagBindingStatus defines the observed state of TagBinding.

func (*TagBindingStatus) DeepCopy

func (in *TagBindingStatus) DeepCopy() *TagBindingStatus

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

func (*TagBindingStatus) DeepCopyInto

func (in *TagBindingStatus) DeepCopyInto(out *TagBindingStatus)

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

type TagKey

type TagKey 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.parent) || (has(self.initProvider) && has(self.initProvider.parent))",message="spec.forProvider.parent is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.shortName) || (has(self.initProvider) && has(self.initProvider.shortName))",message="spec.forProvider.shortName is a required parameter"
	Spec   TagKeySpec   `json:"spec"`
	Status TagKeyStatus `json:"status,omitempty"`
}

TagKey is the Schema for the TagKeys API. A TagKey, used to group a set of TagValues. +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,gcp}

func (*TagKey) DeepCopy

func (in *TagKey) DeepCopy() *TagKey

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

func (*TagKey) DeepCopyInto

func (in *TagKey) DeepCopyInto(out *TagKey)

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

func (*TagKey) DeepCopyObject

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

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

func (*TagKey) GetCondition

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

GetCondition of this TagKey.

func (*TagKey) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TagKey

func (*TagKey) GetDeletionPolicy

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

GetDeletionPolicy of this TagKey.

func (*TagKey) GetID

func (tr *TagKey) GetID() string

GetID returns ID of underlying Terraform resource of this TagKey

func (*TagKey) GetInitParameters

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

GetInitParameters of this TagKey

func (*TagKey) GetManagementPolicies

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

GetManagementPolicies of this TagKey.

func (*TagKey) GetMergedParameters

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

GetInitParameters of this TagKey

func (*TagKey) GetObservation

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

GetObservation of this TagKey

func (*TagKey) GetParameters

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

GetParameters of this TagKey

func (*TagKey) GetProviderConfigReference

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

GetProviderConfigReference of this TagKey.

func (*TagKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TagKey.

func (*TagKey) GetTerraformResourceType

func (mg *TagKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TagKey

func (*TagKey) GetTerraformSchemaVersion

func (tr *TagKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TagKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TagKey.

func (*TagKey) Hub

func (tr *TagKey) Hub()

Hub marks this type as a conversion hub.

func (*TagKey) LateInitialize

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

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

func (*TagKey) SetConditions

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

SetConditions of this TagKey.

func (*TagKey) SetDeletionPolicy

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

SetDeletionPolicy of this TagKey.

func (*TagKey) SetManagementPolicies

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

SetManagementPolicies of this TagKey.

func (*TagKey) SetObservation

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

SetObservation for this TagKey

func (*TagKey) SetParameters

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

SetParameters for this TagKey

func (*TagKey) SetProviderConfigReference

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

SetProviderConfigReference of this TagKey.

func (*TagKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TagKey.

func (*TagKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TagKey.

type TagKeyInitParameters

type TagKeyInitParameters struct {

	// User-assigned description of the TagKey. Must not exceed 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Optional. A purpose cannot be changed once set.
	// A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
	// Possible values are: GCE_FIREWALL.
	Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"`

	// Optional. Purpose data cannot be changed once set.
	// Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format: network = "<project-name>/<vpc-name>".
	// +mapType=granular
	PurposeData map[string]*string `json:"purposeData,omitempty" tf:"purpose_data,omitempty"`

	// Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
	// The short name must be 1-63 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`
}

func (*TagKeyInitParameters) DeepCopy

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

func (*TagKeyInitParameters) DeepCopyInto

func (in *TagKeyInitParameters) DeepCopyInto(out *TagKeyInitParameters)

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

type TagKeyList

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

TagKeyList contains a list of TagKeys

func (*TagKeyList) DeepCopy

func (in *TagKeyList) DeepCopy() *TagKeyList

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

func (*TagKeyList) DeepCopyInto

func (in *TagKeyList) DeepCopyInto(out *TagKeyList)

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

func (*TagKeyList) DeepCopyObject

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

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

func (*TagKeyList) GetItems

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

GetItems of this TagKeyList.

type TagKeyObservation

type TagKeyObservation struct {

	// Output only. Creation time.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// User-assigned description of the TagKey. Must not exceed 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// an identifier for the resource with format tagKeys/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The generated numeric id for the TagKey.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Output only. Namespaced name of the TagKey.
	NamespacedName *string `json:"namespacedName,omitempty" tf:"namespaced_name,omitempty"`

	// Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Optional. A purpose cannot be changed once set.
	// A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
	// Possible values are: GCE_FIREWALL.
	Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"`

	// Optional. Purpose data cannot be changed once set.
	// Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format: network = "<project-name>/<vpc-name>".
	// +mapType=granular
	PurposeData map[string]*string `json:"purposeData,omitempty" tf:"purpose_data,omitempty"`

	// Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
	// The short name must be 1-63 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// Output only. Update time.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*TagKeyObservation) DeepCopy

func (in *TagKeyObservation) DeepCopy() *TagKeyObservation

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

func (*TagKeyObservation) DeepCopyInto

func (in *TagKeyObservation) DeepCopyInto(out *TagKeyObservation)

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

type TagKeyParameters

type TagKeyParameters struct {

	// User-assigned description of the TagKey. Must not exceed 256 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
	// +kubebuilder:validation:Optional
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Optional. A purpose cannot be changed once set.
	// A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
	// Possible values are: GCE_FIREWALL.
	// +kubebuilder:validation:Optional
	Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"`

	// Optional. Purpose data cannot be changed once set.
	// Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format: network = "<project-name>/<vpc-name>".
	// +kubebuilder:validation:Optional
	// +mapType=granular
	PurposeData map[string]*string `json:"purposeData,omitempty" tf:"purpose_data,omitempty"`

	// Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
	// The short name must be 1-63 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	// +kubebuilder:validation:Optional
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`
}

func (*TagKeyParameters) DeepCopy

func (in *TagKeyParameters) DeepCopy() *TagKeyParameters

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

func (*TagKeyParameters) DeepCopyInto

func (in *TagKeyParameters) DeepCopyInto(out *TagKeyParameters)

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

type TagKeySpec

type TagKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagKeyParameters `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 TagKeyInitParameters `json:"initProvider,omitempty"`
}

TagKeySpec defines the desired state of TagKey

func (*TagKeySpec) DeepCopy

func (in *TagKeySpec) DeepCopy() *TagKeySpec

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

func (*TagKeySpec) DeepCopyInto

func (in *TagKeySpec) DeepCopyInto(out *TagKeySpec)

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

type TagKeyStatus

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

TagKeyStatus defines the observed state of TagKey.

func (*TagKeyStatus) DeepCopy

func (in *TagKeyStatus) DeepCopy() *TagKeyStatus

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

func (*TagKeyStatus) DeepCopyInto

func (in *TagKeyStatus) DeepCopyInto(out *TagKeyStatus)

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

type TagValue

type TagValue 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.shortName) || (has(self.initProvider) && has(self.initProvider.shortName))",message="spec.forProvider.shortName is a required parameter"
	Spec   TagValueSpec   `json:"spec"`
	Status TagValueStatus `json:"status,omitempty"`
}

TagValue is the Schema for the TagValues API. A TagValue is a child of a particular TagKey. +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,gcp}

func (*TagValue) DeepCopy

func (in *TagValue) DeepCopy() *TagValue

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

func (*TagValue) DeepCopyInto

func (in *TagValue) DeepCopyInto(out *TagValue)

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

func (*TagValue) DeepCopyObject

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

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

func (*TagValue) GetCondition

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

GetCondition of this TagValue.

func (*TagValue) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TagValue

func (*TagValue) GetDeletionPolicy

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

GetDeletionPolicy of this TagValue.

func (*TagValue) GetID

func (tr *TagValue) GetID() string

GetID returns ID of underlying Terraform resource of this TagValue

func (*TagValue) GetInitParameters

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

GetInitParameters of this TagValue

func (*TagValue) GetManagementPolicies

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

GetManagementPolicies of this TagValue.

func (*TagValue) GetMergedParameters

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

GetInitParameters of this TagValue

func (*TagValue) GetObservation

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

GetObservation of this TagValue

func (*TagValue) GetParameters

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

GetParameters of this TagValue

func (*TagValue) GetProviderConfigReference

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

GetProviderConfigReference of this TagValue.

func (*TagValue) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TagValue.

func (*TagValue) GetTerraformResourceType

func (mg *TagValue) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TagValue

func (*TagValue) GetTerraformSchemaVersion

func (tr *TagValue) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TagValue) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TagValue.

func (*TagValue) Hub

func (tr *TagValue) Hub()

Hub marks this type as a conversion hub.

func (*TagValue) LateInitialize

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

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

func (*TagValue) ResolveReferences

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

ResolveReferences of this TagValue.

func (*TagValue) SetConditions

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

SetConditions of this TagValue.

func (*TagValue) SetDeletionPolicy

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

SetDeletionPolicy of this TagValue.

func (*TagValue) SetManagementPolicies

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

SetManagementPolicies of this TagValue.

func (*TagValue) SetObservation

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

SetObservation for this TagValue

func (*TagValue) SetParameters

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

SetParameters for this TagValue

func (*TagValue) SetProviderConfigReference

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

SetProviderConfigReference of this TagValue.

func (*TagValue) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TagValue.

func (*TagValue) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TagValue.

type TagValueInitParameters

type TagValueInitParameters struct {

	// User-assigned description of the TagValue. Must not exceed 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Input only. The resource name of the new TagValue's parent. Must be of the form tagKeys/{tag_key_id}.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/tags/v1beta1.TagKey
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Reference to a TagKey in tags to populate parent.
	// +kubebuilder:validation:Optional
	ParentRef *v1.Reference `json:"parentRef,omitempty" tf:"-"`

	// Selector for a TagKey in tags to populate parent.
	// +kubebuilder:validation:Optional
	ParentSelector *v1.Selector `json:"parentSelector,omitempty" tf:"-"`

	// Input only. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey.
	// The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`
}

func (*TagValueInitParameters) DeepCopy

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

func (*TagValueInitParameters) DeepCopyInto

func (in *TagValueInitParameters) DeepCopyInto(out *TagValueInitParameters)

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

type TagValueList

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

TagValueList contains a list of TagValues

func (*TagValueList) DeepCopy

func (in *TagValueList) DeepCopy() *TagValueList

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

func (*TagValueList) DeepCopyInto

func (in *TagValueList) DeepCopyInto(out *TagValueList)

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

func (*TagValueList) DeepCopyObject

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

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

func (*TagValueList) GetItems

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

GetItems of this TagValueList.

type TagValueObservation

type TagValueObservation struct {

	// Output only. Creation time.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// User-assigned description of the TagValue. Must not exceed 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// an identifier for the resource with format tagValues/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The generated numeric id for the TagValue.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Output only. Namespaced name of the TagValue. Will be in the format {parentNamespace}/{tagKeyShortName}/{shortName}.
	NamespacedName *string `json:"namespacedName,omitempty" tf:"namespaced_name,omitempty"`

	// Input only. The resource name of the new TagValue's parent. Must be of the form tagKeys/{tag_key_id}.
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Input only. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey.
	// The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`

	// Output only. Update time.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*TagValueObservation) DeepCopy

func (in *TagValueObservation) DeepCopy() *TagValueObservation

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

func (*TagValueObservation) DeepCopyInto

func (in *TagValueObservation) DeepCopyInto(out *TagValueObservation)

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

type TagValueParameters

type TagValueParameters struct {

	// User-assigned description of the TagValue. Must not exceed 256 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Input only. The resource name of the new TagValue's parent. Must be of the form tagKeys/{tag_key_id}.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/tags/v1beta1.TagKey
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// Reference to a TagKey in tags to populate parent.
	// +kubebuilder:validation:Optional
	ParentRef *v1.Reference `json:"parentRef,omitempty" tf:"-"`

	// Selector for a TagKey in tags to populate parent.
	// +kubebuilder:validation:Optional
	ParentSelector *v1.Selector `json:"parentSelector,omitempty" tf:"-"`

	// Input only. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey.
	// The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	// +kubebuilder:validation:Optional
	ShortName *string `json:"shortName,omitempty" tf:"short_name,omitempty"`
}

func (*TagValueParameters) DeepCopy

func (in *TagValueParameters) DeepCopy() *TagValueParameters

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

func (*TagValueParameters) DeepCopyInto

func (in *TagValueParameters) DeepCopyInto(out *TagValueParameters)

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

type TagValueSpec

type TagValueSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagValueParameters `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 TagValueInitParameters `json:"initProvider,omitempty"`
}

TagValueSpec defines the desired state of TagValue

func (*TagValueSpec) DeepCopy

func (in *TagValueSpec) DeepCopy() *TagValueSpec

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

func (*TagValueSpec) DeepCopyInto

func (in *TagValueSpec) DeepCopyInto(out *TagValueSpec)

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

type TagValueStatus

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

TagValueStatus defines the observed state of TagValue.

func (*TagValueStatus) DeepCopy

func (in *TagValueStatus) DeepCopy() *TagValueStatus

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

func (*TagValueStatus) DeepCopyInto

func (in *TagValueStatus) DeepCopyInto(out *TagValueStatus)

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