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=azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "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 (
	ResourceGroup_Kind             = "ResourceGroup"
	ResourceGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceGroup_Kind}.String()
	ResourceGroup_KindAPIVersion   = ResourceGroup_Kind + "." + CRDGroupVersion.String()
	ResourceGroup_GroupVersionKind = CRDGroupVersion.WithKind(ResourceGroup_Kind)
)

Repository type metadata.

View Source
var (
	ResourceProviderRegistration_Kind             = "ResourceProviderRegistration"
	ResourceProviderRegistration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceProviderRegistration_Kind}.String()
	ResourceProviderRegistration_KindAPIVersion   = ResourceProviderRegistration_Kind + "." + CRDGroupVersion.String()
	ResourceProviderRegistration_GroupVersionKind = CRDGroupVersion.WithKind(ResourceProviderRegistration_Kind)
)

Repository type metadata.

View Source
var (
	Subscription_Kind             = "Subscription"
	Subscription_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Subscription_Kind}.String()
	Subscription_KindAPIVersion   = Subscription_Kind + "." + CRDGroupVersion.String()
	Subscription_GroupVersionKind = CRDGroupVersion.WithKind(Subscription_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type FeatureInitParameters added in v0.35.0

type FeatureInitParameters struct {

	// Specifies the name of the feature to register.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Should this feature be Registered or Unregistered?
	Registered *bool `json:"registered,omitempty" tf:"registered,omitempty"`
}

func (*FeatureInitParameters) DeepCopy added in v0.35.0

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

func (*FeatureInitParameters) DeepCopyInto added in v0.35.0

func (in *FeatureInitParameters) DeepCopyInto(out *FeatureInitParameters)

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

type FeatureObservation

type FeatureObservation struct {

	// Specifies the name of the feature to register.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Should this feature be Registered or Unregistered?
	Registered *bool `json:"registered,omitempty" tf:"registered,omitempty"`
}

func (*FeatureObservation) DeepCopy

func (in *FeatureObservation) DeepCopy() *FeatureObservation

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

func (*FeatureObservation) DeepCopyInto

func (in *FeatureObservation) DeepCopyInto(out *FeatureObservation)

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

type FeatureParameters

type FeatureParameters struct {

	// Specifies the name of the feature to register.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Should this feature be Registered or Unregistered?
	// +kubebuilder:validation:Optional
	Registered *bool `json:"registered" tf:"registered,omitempty"`
}

func (*FeatureParameters) DeepCopy

func (in *FeatureParameters) DeepCopy() *FeatureParameters

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

func (*FeatureParameters) DeepCopyInto

func (in *FeatureParameters) DeepCopyInto(out *FeatureParameters)

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

type ResourceGroup

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

ResourceGroup is the Schema for the ResourceGroups API. Manages a Resource Group. +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 (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

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

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

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

func (*ResourceGroup) DeepCopyObject

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

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

func (*ResourceGroup) GetCondition

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

GetCondition of this ResourceGroup.

func (*ResourceGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourceGroup

func (*ResourceGroup) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceGroup.

func (*ResourceGroup) GetID

func (tr *ResourceGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceGroup

func (*ResourceGroup) GetInitParameters added in v0.35.0

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

GetInitParameters of this ResourceGroup

func (*ResourceGroup) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ResourceGroup.

func (*ResourceGroup) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ResourceGroup

func (*ResourceGroup) GetObservation

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

GetObservation of this ResourceGroup

func (*ResourceGroup) GetParameters

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

GetParameters of this ResourceGroup

func (*ResourceGroup) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceGroup.

func (*ResourceGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceGroup.

func (*ResourceGroup) GetTerraformResourceType

func (mg *ResourceGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceGroup

func (*ResourceGroup) GetTerraformSchemaVersion

func (tr *ResourceGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceGroup.

func (*ResourceGroup) Hub added in v0.42.1

func (tr *ResourceGroup) Hub()

Hub marks this type as a conversion hub.

func (*ResourceGroup) LateInitialize

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

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

func (*ResourceGroup) SetConditions

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

SetConditions of this ResourceGroup.

func (*ResourceGroup) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceGroup.

func (*ResourceGroup) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ResourceGroup.

func (*ResourceGroup) SetObservation

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

SetObservation for this ResourceGroup

func (*ResourceGroup) SetParameters

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

SetParameters for this ResourceGroup

func (*ResourceGroup) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceGroup.

func (*ResourceGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourceGroup.

func (*ResourceGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourceGroup.

type ResourceGroupInitParameters added in v0.35.0

type ResourceGroupInitParameters struct {

	// The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The ID of the resource or application that manages this Resource Group.
	ManagedBy *string `json:"managedBy,omitempty" tf:"managed_by,omitempty"`

	// A mapping of tags which should be assigned to the Resource Group.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ResourceGroupInitParameters) DeepCopy added in v0.35.0

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

func (*ResourceGroupInitParameters) DeepCopyInto added in v0.35.0

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

type ResourceGroupList

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

ResourceGroupList contains a list of ResourceGroups

func (*ResourceGroupList) DeepCopy

func (in *ResourceGroupList) DeepCopy() *ResourceGroupList

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

func (*ResourceGroupList) DeepCopyInto

func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)

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

func (*ResourceGroupList) DeepCopyObject

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

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

func (*ResourceGroupList) GetItems

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

GetItems of this ResourceGroupList.

type ResourceGroupObservation

type ResourceGroupObservation struct {

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

	// The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The ID of the resource or application that manages this Resource Group.
	ManagedBy *string `json:"managedBy,omitempty" tf:"managed_by,omitempty"`

	// A mapping of tags which should be assigned to the Resource Group.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ResourceGroupObservation) DeepCopy

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

func (*ResourceGroupObservation) DeepCopyInto

func (in *ResourceGroupObservation) DeepCopyInto(out *ResourceGroupObservation)

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

type ResourceGroupParameters

type ResourceGroupParameters struct {

	// The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The ID of the resource or application that manages this Resource Group.
	// +kubebuilder:validation:Optional
	ManagedBy *string `json:"managedBy,omitempty" tf:"managed_by,omitempty"`

	// A mapping of tags which should be assigned to the Resource Group.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ResourceGroupParameters) DeepCopy

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

func (*ResourceGroupParameters) DeepCopyInto

func (in *ResourceGroupParameters) DeepCopyInto(out *ResourceGroupParameters)

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

type ResourceGroupSpec

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

ResourceGroupSpec defines the desired state of ResourceGroup

func (*ResourceGroupSpec) DeepCopy

func (in *ResourceGroupSpec) DeepCopy() *ResourceGroupSpec

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

func (*ResourceGroupSpec) DeepCopyInto

func (in *ResourceGroupSpec) DeepCopyInto(out *ResourceGroupSpec)

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

type ResourceGroupStatus

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

ResourceGroupStatus defines the observed state of ResourceGroup.

func (*ResourceGroupStatus) DeepCopy

func (in *ResourceGroupStatus) DeepCopy() *ResourceGroupStatus

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

func (*ResourceGroupStatus) DeepCopyInto

func (in *ResourceGroupStatus) DeepCopyInto(out *ResourceGroupStatus)

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

type ResourceProviderRegistration

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

ResourceProviderRegistration is the Schema for the ResourceProviderRegistrations API. Manages the Registration of a Resource Provider. +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 (*ResourceProviderRegistration) DeepCopy

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

func (*ResourceProviderRegistration) DeepCopyInto

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

func (*ResourceProviderRegistration) DeepCopyObject

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

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

func (*ResourceProviderRegistration) GetCondition

GetCondition of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) GetID

GetID returns ID of underlying Terraform resource of this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetInitParameters added in v0.35.0

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

GetInitParameters of this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetObservation

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

GetObservation of this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetParameters

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

GetParameters of this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) GetTerraformResourceType

func (mg *ResourceProviderRegistration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceProviderRegistration

func (*ResourceProviderRegistration) GetTerraformSchemaVersion

func (tr *ResourceProviderRegistration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceProviderRegistration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) Hub added in v0.42.1

func (tr *ResourceProviderRegistration) Hub()

Hub marks this type as a conversion hub.

func (*ResourceProviderRegistration) LateInitialize

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

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

func (*ResourceProviderRegistration) SetConditions

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

SetConditions of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) SetObservation

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

SetObservation for this ResourceProviderRegistration

func (*ResourceProviderRegistration) SetParameters

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

SetParameters for this ResourceProviderRegistration

func (*ResourceProviderRegistration) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourceProviderRegistration.

func (*ResourceProviderRegistration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourceProviderRegistration.

type ResourceProviderRegistrationInitParameters added in v0.35.0

type ResourceProviderRegistrationInitParameters struct {

	// A list of feature blocks as defined below.
	Feature []FeatureInitParameters `json:"feature,omitempty" tf:"feature,omitempty"`

	// The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ResourceProviderRegistrationInitParameters) DeepCopy added in v0.35.0

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

func (*ResourceProviderRegistrationInitParameters) DeepCopyInto added in v0.35.0

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

type ResourceProviderRegistrationList

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

ResourceProviderRegistrationList contains a list of ResourceProviderRegistrations

func (*ResourceProviderRegistrationList) DeepCopy

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

func (*ResourceProviderRegistrationList) DeepCopyInto

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

func (*ResourceProviderRegistrationList) DeepCopyObject

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

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

func (*ResourceProviderRegistrationList) GetItems

GetItems of this ResourceProviderRegistrationList.

type ResourceProviderRegistrationObservation

type ResourceProviderRegistrationObservation struct {

	// A list of feature blocks as defined below.
	Feature []FeatureObservation `json:"feature,omitempty" tf:"feature,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ResourceProviderRegistrationObservation) DeepCopy

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

func (*ResourceProviderRegistrationObservation) DeepCopyInto

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

type ResourceProviderRegistrationParameters

type ResourceProviderRegistrationParameters struct {

	// A list of feature blocks as defined below.
	// +kubebuilder:validation:Optional
	Feature []FeatureParameters `json:"feature,omitempty" tf:"feature,omitempty"`

	// The namespace of the Resource Provider which should be registered. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ResourceProviderRegistrationParameters) DeepCopy

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

func (*ResourceProviderRegistrationParameters) DeepCopyInto

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

type ResourceProviderRegistrationSpec

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

ResourceProviderRegistrationSpec defines the desired state of ResourceProviderRegistration

func (*ResourceProviderRegistrationSpec) DeepCopy

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

func (*ResourceProviderRegistrationSpec) DeepCopyInto

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

type ResourceProviderRegistrationStatus

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

ResourceProviderRegistrationStatus defines the observed state of ResourceProviderRegistration.

func (*ResourceProviderRegistrationStatus) DeepCopy

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

func (*ResourceProviderRegistrationStatus) DeepCopyInto

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

type Subscription

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

Subscription is the Schema for the Subscriptions API. Manages a Subscription. +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 (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject

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

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

func (*Subscription) GetCondition

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

GetCondition of this Subscription.

func (*Subscription) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Subscription

func (*Subscription) GetDeletionPolicy

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

GetDeletionPolicy of this Subscription.

func (*Subscription) GetID

func (tr *Subscription) GetID() string

GetID returns ID of underlying Terraform resource of this Subscription

func (*Subscription) GetInitParameters added in v0.35.0

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

GetInitParameters of this Subscription

func (*Subscription) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Subscription.

func (*Subscription) GetMergedParameters added in v0.40.0

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

GetInitParameters of this Subscription

func (*Subscription) GetObservation

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

GetObservation of this Subscription

func (*Subscription) GetParameters

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

GetParameters of this Subscription

func (*Subscription) GetProviderConfigReference

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

GetProviderConfigReference of this Subscription.

func (*Subscription) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Subscription.

func (*Subscription) GetTerraformResourceType

func (mg *Subscription) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Subscription

func (*Subscription) GetTerraformSchemaVersion

func (tr *Subscription) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Subscription) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subscription.

func (*Subscription) Hub added in v0.42.1

func (tr *Subscription) Hub()

Hub marks this type as a conversion hub.

func (*Subscription) LateInitialize

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

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

func (*Subscription) SetConditions

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

SetConditions of this Subscription.

func (*Subscription) SetDeletionPolicy

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

SetDeletionPolicy of this Subscription.

func (*Subscription) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Subscription.

func (*Subscription) SetObservation

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

SetObservation for this Subscription

func (*Subscription) SetParameters

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

SetParameters for this Subscription

func (*Subscription) SetProviderConfigReference

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

SetProviderConfigReference of this Subscription.

func (*Subscription) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Subscription.

func (*Subscription) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subscription.

type SubscriptionInitParameters added in v0.35.0

type SubscriptionInitParameters struct {

	// The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID.
	BillingScopeID *string `json:"billingScopeId,omitempty" tf:"billing_scope_id,omitempty"`

	// The ID of the Subscription. Changing this forces a new Subscription to be created.
	// The GUID of the Subscription.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// The Name of the Subscription. This is the Display Name in the portal.
	// The Display Name for the Subscription.
	SubscriptionName *string `json:"subscriptionName,omitempty" tf:"subscription_name,omitempty"`

	// A mapping of tags to assign to the Subscription.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created.
	// The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`.
	Workload *string `json:"workload,omitempty" tf:"workload,omitempty"`
}

func (*SubscriptionInitParameters) DeepCopy added in v0.35.0

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

func (*SubscriptionInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionList

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

SubscriptionList contains a list of Subscriptions

func (*SubscriptionList) DeepCopy

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject

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

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

func (*SubscriptionList) GetItems

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

GetItems of this SubscriptionList.

type SubscriptionObservation

type SubscriptionObservation struct {

	// The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID.
	BillingScopeID *string `json:"billingScopeId,omitempty" tf:"billing_scope_id,omitempty"`

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

	// The ID of the Subscription. Changing this forces a new Subscription to be created.
	// The GUID of the Subscription.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// The Name of the Subscription. This is the Display Name in the portal.
	// The Display Name for the Subscription.
	SubscriptionName *string `json:"subscriptionName,omitempty" tf:"subscription_name,omitempty"`

	// A mapping of tags to assign to the Subscription.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The ID of the Tenant to which the subscription belongs.
	// The Tenant ID to which the subscription belongs
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created.
	// The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`.
	Workload *string `json:"workload,omitempty" tf:"workload,omitempty"`
}

func (*SubscriptionObservation) DeepCopy

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

func (*SubscriptionObservation) DeepCopyInto

func (in *SubscriptionObservation) DeepCopyInto(out *SubscriptionObservation)

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

type SubscriptionParameters

type SubscriptionParameters struct {

	// The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID.
	// +kubebuilder:validation:Optional
	BillingScopeID *string `json:"billingScopeId,omitempty" tf:"billing_scope_id,omitempty"`

	// The ID of the Subscription. Changing this forces a new Subscription to be created.
	// The GUID of the Subscription.
	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// The Name of the Subscription. This is the Display Name in the portal.
	// The Display Name for the Subscription.
	// +kubebuilder:validation:Optional
	SubscriptionName *string `json:"subscriptionName,omitempty" tf:"subscription_name,omitempty"`

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

	// The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created.
	// The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`.
	// +kubebuilder:validation:Optional
	Workload *string `json:"workload,omitempty" tf:"workload,omitempty"`
}

func (*SubscriptionParameters) DeepCopy

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

func (*SubscriptionParameters) DeepCopyInto

func (in *SubscriptionParameters) DeepCopyInto(out *SubscriptionParameters)

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

type SubscriptionSpec

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

SubscriptionSpec defines the desired state of Subscription

func (*SubscriptionSpec) DeepCopy

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

type SubscriptionStatus

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

SubscriptionStatus defines the observed state of Subscription.

func (*SubscriptionStatus) DeepCopy

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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