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: 15 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.

View Source
var (
	ManagementGroupSubscriptionAssociation_Kind             = "ManagementGroupSubscriptionAssociation"
	ManagementGroupSubscriptionAssociation_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ManagementGroupSubscriptionAssociation_Kind}.String()
	ManagementGroupSubscriptionAssociation_KindAPIVersion   = ManagementGroupSubscriptionAssociation_Kind + "." + CRDGroupVersion.String()
	ManagementGroupSubscriptionAssociation_GroupVersionKind = CRDGroupVersion.WithKind(ManagementGroupSubscriptionAssociation_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="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 (*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) GetInitParameters added in v0.35.0

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

GetInitParameters of this ManagementGroup

func (*ManagementGroup) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ManagementGroup.

func (*ManagementGroup) GetMergedParameters added in v0.40.0

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

GetInitParameters 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) 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) Hub added in v0.42.1

func (tr *ManagementGroup) Hub()

Hub marks this type as a conversion hub.

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

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) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies 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) 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 ManagementGroupInitParameters added in v0.35.0

type ManagementGroupInitParameters 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 Parent Management Group.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/management/v1beta1.ManagementGroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	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.
	// +listType=set
	SubscriptionIds []*string `json:"subscriptionIds,omitempty" tf:"subscription_ids,omitempty"`
}

func (*ManagementGroupInitParameters) DeepCopy added in v0.35.0

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

func (*ManagementGroupInitParameters) DeepCopyInto added in v0.35.0

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

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.
	// +listType=set
	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/crossplane/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
	// +listType=set
	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"`
	// 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 ManagementGroupInitParameters `json:"initProvider,omitempty"`
}

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.

type ManagementGroupSubscriptionAssociation added in v0.35.0

type ManagementGroupSubscriptionAssociation struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagementGroupSubscriptionAssociationSpec   `json:"spec"`
	Status            ManagementGroupSubscriptionAssociationStatus `json:"status,omitempty"`
}

ManagementGroupSubscriptionAssociation is the Schema for the ManagementGroupSubscriptionAssociations API. Manages a Management Group Subscription Association. +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 (*ManagementGroupSubscriptionAssociation) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociation) DeepCopyInto added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociation) DeepCopyObject added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociation) GetCondition added in v0.35.0

GetCondition of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) GetConnectionDetailsMapping added in v0.35.0

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

GetConnectionDetailsMapping for this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetDeletionPolicy added in v0.35.0

GetDeletionPolicy of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) GetID added in v0.35.0

GetID returns ID of underlying Terraform resource of this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetInitParameters added in v0.35.0

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

GetInitParameters of this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetManagementPolicies added in v0.35.0

GetManagementPolicies of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetObservation added in v0.35.0

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

GetObservation of this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetParameters added in v0.35.0

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

GetParameters of this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetProviderConfigReference added in v0.35.0

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

GetProviderConfigReference of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) GetPublishConnectionDetailsTo added in v0.35.0

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

GetPublishConnectionDetailsTo of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) GetTerraformResourceType added in v0.35.0

func (mg *ManagementGroupSubscriptionAssociation) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) GetTerraformSchemaVersion added in v0.35.0

func (tr *ManagementGroupSubscriptionAssociation) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ManagementGroupSubscriptionAssociation) GetWriteConnectionSecretToReference added in v0.35.0

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

GetWriteConnectionSecretToReference of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) Hub added in v0.42.1

Hub marks this type as a conversion hub.

func (*ManagementGroupSubscriptionAssociation) LateInitialize added in v0.35.0

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

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

func (*ManagementGroupSubscriptionAssociation) ResolveReferences added in v0.35.0

ResolveReferences of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) SetConditions added in v0.35.0

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

SetConditions of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) SetDeletionPolicy added in v0.35.0

SetDeletionPolicy of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) SetObservation added in v0.35.0

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

SetObservation for this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) SetParameters added in v0.35.0

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

SetParameters for this ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociation) SetProviderConfigReference added in v0.35.0

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

SetProviderConfigReference of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) SetPublishConnectionDetailsTo added in v0.35.0

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

SetPublishConnectionDetailsTo of this ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociation) SetWriteConnectionSecretToReference added in v0.35.0

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

SetWriteConnectionSecretToReference of this ManagementGroupSubscriptionAssociation.

type ManagementGroupSubscriptionAssociationInitParameters added in v0.35.0

type ManagementGroupSubscriptionAssociationInitParameters struct {

	// The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created.
	// +crossplane:generate:reference:type=ManagementGroup
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"`

	// Reference to a ManagementGroup to populate managementGroupId.
	// +kubebuilder:validation:Optional
	ManagementGroupIDRef *v1.Reference `json:"managementGroupIdRef,omitempty" tf:"-"`

	// Selector for a ManagementGroup to populate managementGroupId.
	// +kubebuilder:validation:Optional
	ManagementGroupIDSelector *v1.Selector `json:"managementGroupIdSelector,omitempty" tf:"-"`

	// The ID of the Subscription to be associated with the Management Group. Changing this forces a new Management to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.Subscription
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// Reference to a Subscription in azure to populate subscriptionId.
	// +kubebuilder:validation:Optional
	SubscriptionIDRef *v1.Reference `json:"subscriptionIdRef,omitempty" tf:"-"`

	// Selector for a Subscription in azure to populate subscriptionId.
	// +kubebuilder:validation:Optional
	SubscriptionIDSelector *v1.Selector `json:"subscriptionIdSelector,omitempty" tf:"-"`
}

func (*ManagementGroupSubscriptionAssociationInitParameters) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationInitParameters) DeepCopyInto added in v0.35.0

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

type ManagementGroupSubscriptionAssociationList added in v0.35.0

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

ManagementGroupSubscriptionAssociationList contains a list of ManagementGroupSubscriptionAssociations

func (*ManagementGroupSubscriptionAssociationList) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationList) DeepCopyInto added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationList) DeepCopyObject added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationList) GetItems added in v0.35.0

GetItems of this ManagementGroupSubscriptionAssociationList.

type ManagementGroupSubscriptionAssociationObservation added in v0.35.0

type ManagementGroupSubscriptionAssociationObservation struct {

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

	// The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created.
	ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"`

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

func (*ManagementGroupSubscriptionAssociationObservation) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationObservation) DeepCopyInto added in v0.35.0

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

type ManagementGroupSubscriptionAssociationParameters added in v0.35.0

type ManagementGroupSubscriptionAssociationParameters struct {

	// The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created.
	// +crossplane:generate:reference:type=ManagementGroup
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"`

	// Reference to a ManagementGroup to populate managementGroupId.
	// +kubebuilder:validation:Optional
	ManagementGroupIDRef *v1.Reference `json:"managementGroupIdRef,omitempty" tf:"-"`

	// Selector for a ManagementGroup to populate managementGroupId.
	// +kubebuilder:validation:Optional
	ManagementGroupIDSelector *v1.Selector `json:"managementGroupIdSelector,omitempty" tf:"-"`

	// The ID of the Subscription to be associated with the Management Group. Changing this forces a new Management to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.Subscription
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// Reference to a Subscription in azure to populate subscriptionId.
	// +kubebuilder:validation:Optional
	SubscriptionIDRef *v1.Reference `json:"subscriptionIdRef,omitempty" tf:"-"`

	// Selector for a Subscription in azure to populate subscriptionId.
	// +kubebuilder:validation:Optional
	SubscriptionIDSelector *v1.Selector `json:"subscriptionIdSelector,omitempty" tf:"-"`
}

func (*ManagementGroupSubscriptionAssociationParameters) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationParameters) DeepCopyInto added in v0.35.0

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

type ManagementGroupSubscriptionAssociationSpec added in v0.35.0

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

ManagementGroupSubscriptionAssociationSpec defines the desired state of ManagementGroupSubscriptionAssociation

func (*ManagementGroupSubscriptionAssociationSpec) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationSpec) DeepCopyInto added in v0.35.0

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

type ManagementGroupSubscriptionAssociationStatus added in v0.35.0

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

ManagementGroupSubscriptionAssociationStatus defines the observed state of ManagementGroupSubscriptionAssociation.

func (*ManagementGroupSubscriptionAssociationStatus) DeepCopy added in v0.35.0

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

func (*ManagementGroupSubscriptionAssociationStatus) DeepCopyInto added in v0.35.0

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