v1beta1

package
v0.35.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "management.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 (
	ManagementGroup_Kind             = "ManagementGroup"
	ManagementGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ManagementGroup_Kind}.String()
	ManagementGroup_KindAPIVersion   = ManagementGroup_Kind + "." + CRDGroupVersion.String()
	ManagementGroup_GroupVersionKind = CRDGroupVersion.WithKind(ManagementGroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ManagementGroup

type ManagementGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagementGroupSpec   `json:"spec"`
	Status            ManagementGroupStatus `json:"status,omitempty"`
}

ManagementGroup is the Schema for the ManagementGroups API. Manages a Management Group. +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 (*ManagementGroup) DeepCopy

func (in *ManagementGroup) DeepCopy() *ManagementGroup

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

func (*ManagementGroup) DeepCopyInto

func (in *ManagementGroup) DeepCopyInto(out *ManagementGroup)

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

func (*ManagementGroup) DeepCopyObject

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

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

func (*ManagementGroup) GetCondition

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

GetCondition of this ManagementGroup.

func (*ManagementGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ManagementGroup

func (*ManagementGroup) GetDeletionPolicy

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

GetDeletionPolicy of this ManagementGroup.

func (*ManagementGroup) GetID

func (tr *ManagementGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ManagementGroup

func (*ManagementGroup) GetManagementPolicy added in v0.31.0

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

GetManagementPolicy of this ManagementGroup.

func (*ManagementGroup) GetObservation

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

GetObservation of this ManagementGroup

func (*ManagementGroup) GetParameters

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

GetParameters of this ManagementGroup

func (*ManagementGroup) GetProviderConfigReference

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

GetProviderConfigReference of this ManagementGroup.

func (*ManagementGroup) GetProviderReference

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

GetProviderReference of this ManagementGroup. Deprecated: Use GetProviderConfigReference.

func (*ManagementGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ManagementGroup.

func (*ManagementGroup) GetTerraformResourceType

func (mg *ManagementGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ManagementGroup

func (*ManagementGroup) GetTerraformSchemaVersion

func (tr *ManagementGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ManagementGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ManagementGroup.

func (*ManagementGroup) LateInitialize

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

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

func (*ManagementGroup) ResolveReferences

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

ResolveReferences of this ManagementGroup.

func (*ManagementGroup) SetConditions

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

SetConditions of this ManagementGroup.

func (*ManagementGroup) SetDeletionPolicy

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

SetDeletionPolicy of this ManagementGroup.

func (*ManagementGroup) SetManagementPolicy added in v0.31.0

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

SetManagementPolicy of this ManagementGroup.

func (*ManagementGroup) SetObservation

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

SetObservation for this ManagementGroup

func (*ManagementGroup) SetParameters

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

SetParameters for this ManagementGroup

func (*ManagementGroup) SetProviderConfigReference

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

SetProviderConfigReference of this ManagementGroup.

func (*ManagementGroup) SetProviderReference

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

SetProviderReference of this ManagementGroup. Deprecated: Use SetProviderConfigReference.

func (*ManagementGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ManagementGroup.

func (*ManagementGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ManagementGroup.

type ManagementGroupList

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

ManagementGroupList contains a list of ManagementGroups

func (*ManagementGroupList) DeepCopy

func (in *ManagementGroupList) DeepCopy() *ManagementGroupList

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

func (*ManagementGroupList) DeepCopyInto

func (in *ManagementGroupList) DeepCopyInto(out *ManagementGroupList)

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

func (*ManagementGroupList) DeepCopyObject

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

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

func (*ManagementGroupList) GetItems

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

GetItems of this ManagementGroupList.

type ManagementGroupObservation

type ManagementGroupObservation struct {

	// A friendly name for this Management Group. If not specified, this will be the same as the name.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// The ID of the Parent Management Group.
	ParentManagementGroupID *string `json:"parentManagementGroupId,omitempty" tf:"parent_management_group_id,omitempty"`

	// A list of Subscription GUIDs which should be assigned to the Management Group.
	SubscriptionIds []*string `json:"subscriptionIds,omitempty" tf:"subscription_ids,omitempty"`
}

func (*ManagementGroupObservation) DeepCopy

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

func (*ManagementGroupObservation) DeepCopyInto

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

type ManagementGroupParameters

type ManagementGroupParameters struct {

	// A friendly name for this Management Group. If not specified, this will be the same as the name.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The ID of the Parent Management Group.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/management/v1beta1.ManagementGroup
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ParentManagementGroupID *string `json:"parentManagementGroupId,omitempty" tf:"parent_management_group_id,omitempty"`

	// Reference to a ManagementGroup in management to populate parentManagementGroupId.
	// +kubebuilder:validation:Optional
	ParentManagementGroupIDRef *v1.Reference `json:"parentManagementGroupIdRef,omitempty" tf:"-"`

	// Selector for a ManagementGroup in management to populate parentManagementGroupId.
	// +kubebuilder:validation:Optional
	ParentManagementGroupIDSelector *v1.Selector `json:"parentManagementGroupIdSelector,omitempty" tf:"-"`

	// A list of Subscription GUIDs which should be assigned to the Management Group.
	// +kubebuilder:validation:Optional
	SubscriptionIds []*string `json:"subscriptionIds,omitempty" tf:"subscription_ids,omitempty"`
}

func (*ManagementGroupParameters) DeepCopy

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

func (*ManagementGroupParameters) DeepCopyInto

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

type ManagementGroupSpec

type ManagementGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ManagementGroupParameters `json:"forProvider"`
}

ManagementGroupSpec defines the desired state of ManagementGroup

func (*ManagementGroupSpec) DeepCopy

func (in *ManagementGroupSpec) DeepCopy() *ManagementGroupSpec

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

func (*ManagementGroupSpec) DeepCopyInto

func (in *ManagementGroupSpec) DeepCopyInto(out *ManagementGroupSpec)

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

type ManagementGroupStatus

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

ManagementGroupStatus defines the observed state of ManagementGroup.

func (*ManagementGroupStatus) DeepCopy

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

func (*ManagementGroupStatus) DeepCopyInto

func (in *ManagementGroupStatus) DeepCopyInto(out *ManagementGroupStatus)

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