v1beta1

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "solutions.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 (
	ManagedApplicationDefinition_Kind             = "ManagedApplicationDefinition"
	ManagedApplicationDefinition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ManagedApplicationDefinition_Kind}.String()
	ManagedApplicationDefinition_KindAPIVersion   = ManagedApplicationDefinition_Kind + "." + CRDGroupVersion.String()
	ManagedApplicationDefinition_GroupVersionKind = CRDGroupVersion.WithKind(ManagedApplicationDefinition_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuthorizationObservation

type AuthorizationObservation struct {

	// Specifies a role definition identifier for the provider. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// Specifies a service principal identifier for the provider. This is the identity that the provider will use to call ARM to manage the managed application resources.
	ServicePrincipalID *string `json:"servicePrincipalId,omitempty" tf:"service_principal_id,omitempty"`
}

func (*AuthorizationObservation) DeepCopy

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

func (*AuthorizationObservation) DeepCopyInto

func (in *AuthorizationObservation) DeepCopyInto(out *AuthorizationObservation)

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

type AuthorizationParameters

type AuthorizationParameters struct {

	// Specifies a role definition identifier for the provider. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.
	// +kubebuilder:validation:Required
	RoleDefinitionID *string `json:"roleDefinitionId" tf:"role_definition_id,omitempty"`

	// Specifies a service principal identifier for the provider. This is the identity that the provider will use to call ARM to manage the managed application resources.
	// +kubebuilder:validation:Required
	ServicePrincipalID *string `json:"servicePrincipalId" tf:"service_principal_id,omitempty"`
}

func (*AuthorizationParameters) DeepCopy

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

func (*AuthorizationParameters) DeepCopyInto

func (in *AuthorizationParameters) DeepCopyInto(out *AuthorizationParameters)

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

type ManagedApplicationDefinition

type ManagedApplicationDefinition struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.displayName)",message="displayName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.location)",message="location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.lockLevel)",message="lockLevel is a required parameter"
	Spec   ManagedApplicationDefinitionSpec   `json:"spec"`
	Status ManagedApplicationDefinitionStatus `json:"status,omitempty"`
}

ManagedApplicationDefinition is the Schema for the ManagedApplicationDefinitions API. Manages a Managed Application Definition. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ManagedApplicationDefinition) DeepCopy

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

func (*ManagedApplicationDefinition) DeepCopyInto

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

func (*ManagedApplicationDefinition) DeepCopyObject

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

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

func (*ManagedApplicationDefinition) GetCondition

GetCondition of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) GetDeletionPolicy

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

GetDeletionPolicy of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) GetID

GetID returns ID of underlying Terraform resource of this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) GetManagementPolicy added in v0.31.0

func (mg *ManagedApplicationDefinition) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) GetObservation

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

GetObservation of this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) GetParameters

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

GetParameters of this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) GetProviderConfigReference

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

GetProviderConfigReference of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) GetProviderReference

func (mg *ManagedApplicationDefinition) GetProviderReference() *xpv1.Reference

GetProviderReference of this ManagedApplicationDefinition. Deprecated: Use GetProviderConfigReference.

func (*ManagedApplicationDefinition) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) GetTerraformResourceType

func (mg *ManagedApplicationDefinition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) GetTerraformSchemaVersion

func (tr *ManagedApplicationDefinition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ManagedApplicationDefinition) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) LateInitialize

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

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

func (*ManagedApplicationDefinition) ResolveReferences

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

ResolveReferences of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) SetConditions

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

SetConditions of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) SetDeletionPolicy

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

SetDeletionPolicy of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) SetManagementPolicy added in v0.31.0

func (mg *ManagedApplicationDefinition) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) SetObservation

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

SetObservation for this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) SetParameters

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

SetParameters for this ManagedApplicationDefinition

func (*ManagedApplicationDefinition) SetProviderConfigReference

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

SetProviderConfigReference of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) SetProviderReference

func (mg *ManagedApplicationDefinition) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ManagedApplicationDefinition. Deprecated: Use SetProviderConfigReference.

func (*ManagedApplicationDefinition) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ManagedApplicationDefinition.

func (*ManagedApplicationDefinition) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ManagedApplicationDefinition.

type ManagedApplicationDefinitionList

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

ManagedApplicationDefinitionList contains a list of ManagedApplicationDefinitions

func (*ManagedApplicationDefinitionList) DeepCopy

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

func (*ManagedApplicationDefinitionList) DeepCopyInto

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

func (*ManagedApplicationDefinitionList) DeepCopyObject

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

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

func (*ManagedApplicationDefinitionList) GetItems

GetItems of this ManagedApplicationDefinitionList.

type ManagedApplicationDefinitionObservation

type ManagedApplicationDefinitionObservation struct {

	// One or more authorization block defined below.
	Authorization []AuthorizationObservation `json:"authorization,omitempty" tf:"authorization,omitempty"`

	// Specifies the createUiDefinition JSON for the backing template with Microsoft.Solutions/applications resource.
	CreateUIDefinition *string `json:"createUiDefinition,omitempty" tf:"create_ui_definition,omitempty"`

	// Specifies the managed application definition description.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the managed application definition display name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The ID of the Managed Application Definition.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the managed application lock level. Valid values include CanNotDelete, None, ReadOnly. Changing this forces a new resource to be created.
	LockLevel *string `json:"lockLevel,omitempty" tf:"lock_level,omitempty"`

	// Specifies the inline main template JSON which has resources to be provisioned.
	MainTemplate *string `json:"mainTemplate,omitempty" tf:"main_template,omitempty"`

	// Is the package enabled? Defaults to true.
	PackageEnabled *bool `json:"packageEnabled,omitempty" tf:"package_enabled,omitempty"`

	// Specifies the managed application definition package file Uri.
	PackageFileURI *string `json:"packageFileUri,omitempty" tf:"package_file_uri,omitempty"`

	// The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// A mapping of tags to assign to the resource.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ManagedApplicationDefinitionObservation) DeepCopy

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

func (*ManagedApplicationDefinitionObservation) DeepCopyInto

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

type ManagedApplicationDefinitionParameters

type ManagedApplicationDefinitionParameters struct {

	// One or more authorization block defined below.
	// +kubebuilder:validation:Optional
	Authorization []AuthorizationParameters `json:"authorization,omitempty" tf:"authorization,omitempty"`

	// Specifies the createUiDefinition JSON for the backing template with Microsoft.Solutions/applications resource.
	// +kubebuilder:validation:Optional
	CreateUIDefinition *string `json:"createUiDefinition,omitempty" tf:"create_ui_definition,omitempty"`

	// Specifies the managed application definition description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the managed application definition display name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the managed application lock level. Valid values include CanNotDelete, None, ReadOnly. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	LockLevel *string `json:"lockLevel,omitempty" tf:"lock_level,omitempty"`

	// Specifies the inline main template JSON which has resources to be provisioned.
	// +kubebuilder:validation:Optional
	MainTemplate *string `json:"mainTemplate,omitempty" tf:"main_template,omitempty"`

	// Is the package enabled? Defaults to true.
	// +kubebuilder:validation:Optional
	PackageEnabled *bool `json:"packageEnabled,omitempty" tf:"package_enabled,omitempty"`

	// Specifies the managed application definition package file Uri.
	// +kubebuilder:validation:Optional
	PackageFileURI *string `json:"packageFileUri,omitempty" tf:"package_file_uri,omitempty"`

	// The name of the Resource Group where the Managed Application Definition should exist. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ManagedApplicationDefinitionParameters) DeepCopy

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

func (*ManagedApplicationDefinitionParameters) DeepCopyInto

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

type ManagedApplicationDefinitionSpec

type ManagedApplicationDefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ManagedApplicationDefinitionParameters `json:"forProvider"`
}

ManagedApplicationDefinitionSpec defines the desired state of ManagedApplicationDefinition

func (*ManagedApplicationDefinitionSpec) DeepCopy

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

func (*ManagedApplicationDefinitionSpec) DeepCopyInto

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

type ManagedApplicationDefinitionStatus

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

ManagedApplicationDefinitionStatus defines the observed state of ManagedApplicationDefinition.

func (*ManagedApplicationDefinitionStatus) DeepCopy

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

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