v1beta1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=marketplaceordering.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "marketplaceordering.azure.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 (
	MarketplaceAgreement_Kind             = "MarketplaceAgreement"
	MarketplaceAgreement_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MarketplaceAgreement_Kind}.String()
	MarketplaceAgreement_KindAPIVersion   = MarketplaceAgreement_Kind + "." + CRDGroupVersion.String()
	MarketplaceAgreement_GroupVersionKind = CRDGroupVersion.WithKind(MarketplaceAgreement_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type MarketplaceAgreement

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

MarketplaceAgreement is the Schema for the MarketplaceAgreements API. Allows accepting the Legal Terms for a Marketplace Image. +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,azure}

func (*MarketplaceAgreement) DeepCopy

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

func (*MarketplaceAgreement) DeepCopyInto

func (in *MarketplaceAgreement) DeepCopyInto(out *MarketplaceAgreement)

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

func (*MarketplaceAgreement) DeepCopyObject

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

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

func (*MarketplaceAgreement) GetCondition

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

GetCondition of this MarketplaceAgreement.

func (*MarketplaceAgreement) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MarketplaceAgreement

func (*MarketplaceAgreement) GetDeletionPolicy

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

GetDeletionPolicy of this MarketplaceAgreement.

func (*MarketplaceAgreement) GetID

func (tr *MarketplaceAgreement) GetID() string

GetID returns ID of underlying Terraform resource of this MarketplaceAgreement

func (*MarketplaceAgreement) GetInitParameters added in v0.35.0

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

GetInitParameters of this MarketplaceAgreement

func (*MarketplaceAgreement) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this MarketplaceAgreement.

func (*MarketplaceAgreement) GetMergedParameters added in v0.40.0

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

GetInitParameters of this MarketplaceAgreement

func (*MarketplaceAgreement) GetObservation

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

GetObservation of this MarketplaceAgreement

func (*MarketplaceAgreement) GetParameters

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

GetParameters of this MarketplaceAgreement

func (*MarketplaceAgreement) GetProviderConfigReference

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

GetProviderConfigReference of this MarketplaceAgreement.

func (*MarketplaceAgreement) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MarketplaceAgreement.

func (*MarketplaceAgreement) GetTerraformResourceType

func (mg *MarketplaceAgreement) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MarketplaceAgreement

func (*MarketplaceAgreement) GetTerraformSchemaVersion

func (tr *MarketplaceAgreement) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MarketplaceAgreement) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MarketplaceAgreement.

func (*MarketplaceAgreement) Hub added in v0.42.1

func (tr *MarketplaceAgreement) Hub()

Hub marks this type as a conversion hub.

func (*MarketplaceAgreement) LateInitialize

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

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

func (*MarketplaceAgreement) SetConditions

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

SetConditions of this MarketplaceAgreement.

func (*MarketplaceAgreement) SetDeletionPolicy

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

SetDeletionPolicy of this MarketplaceAgreement.

func (*MarketplaceAgreement) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this MarketplaceAgreement.

func (*MarketplaceAgreement) SetObservation

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

SetObservation for this MarketplaceAgreement

func (*MarketplaceAgreement) SetParameters

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

SetParameters for this MarketplaceAgreement

func (*MarketplaceAgreement) SetProviderConfigReference

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

SetProviderConfigReference of this MarketplaceAgreement.

func (*MarketplaceAgreement) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MarketplaceAgreement.

func (*MarketplaceAgreement) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MarketplaceAgreement.

type MarketplaceAgreementInitParameters added in v0.35.0

type MarketplaceAgreementInitParameters struct {

	// The Offer of the Marketplace Image. Changing this forces a new resource to be created.
	Offer *string `json:"offer,omitempty" tf:"offer,omitempty"`

	// The Plan of the Marketplace Image. Changing this forces a new resource to be created.
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
	Publisher *string `json:"publisher,omitempty" tf:"publisher,omitempty"`
}

func (*MarketplaceAgreementInitParameters) DeepCopy added in v0.35.0

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

func (*MarketplaceAgreementInitParameters) DeepCopyInto added in v0.35.0

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

type MarketplaceAgreementList

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

MarketplaceAgreementList contains a list of MarketplaceAgreements

func (*MarketplaceAgreementList) DeepCopy

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

func (*MarketplaceAgreementList) DeepCopyInto

func (in *MarketplaceAgreementList) DeepCopyInto(out *MarketplaceAgreementList)

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

func (*MarketplaceAgreementList) DeepCopyObject

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

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

func (*MarketplaceAgreementList) GetItems

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

GetItems of this MarketplaceAgreementList.

type MarketplaceAgreementObservation

type MarketplaceAgreementObservation struct {

	// The ID of the Marketplace Agreement.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	LicenseTextLink *string `json:"licenseTextLink,omitempty" tf:"license_text_link,omitempty"`

	// The Offer of the Marketplace Image. Changing this forces a new resource to be created.
	Offer *string `json:"offer,omitempty" tf:"offer,omitempty"`

	// The Plan of the Marketplace Image. Changing this forces a new resource to be created.
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty" tf:"privacy_policy_link,omitempty"`

	// The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
	Publisher *string `json:"publisher,omitempty" tf:"publisher,omitempty"`
}

func (*MarketplaceAgreementObservation) DeepCopy

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

func (*MarketplaceAgreementObservation) DeepCopyInto

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

type MarketplaceAgreementParameters

type MarketplaceAgreementParameters struct {

	// The Offer of the Marketplace Image. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Offer *string `json:"offer,omitempty" tf:"offer,omitempty"`

	// The Plan of the Marketplace Image. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Publisher *string `json:"publisher,omitempty" tf:"publisher,omitempty"`
}

func (*MarketplaceAgreementParameters) DeepCopy

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

func (*MarketplaceAgreementParameters) DeepCopyInto

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

type MarketplaceAgreementSpec

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

MarketplaceAgreementSpec defines the desired state of MarketplaceAgreement

func (*MarketplaceAgreementSpec) DeepCopy

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

func (*MarketplaceAgreementSpec) DeepCopyInto

func (in *MarketplaceAgreementSpec) DeepCopyInto(out *MarketplaceAgreementSpec)

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

type MarketplaceAgreementStatus

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

MarketplaceAgreementStatus defines the observed state of MarketplaceAgreement.

func (*MarketplaceAgreementStatus) DeepCopy

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

func (*MarketplaceAgreementStatus) 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