v1beta1

package
v0.39.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "purview.azure.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Account_Kind             = "Account"
	Account_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String()
	Account_KindAPIVersion   = Account_Kind + "." + CRDGroupVersion.String()
	Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type Account

type Account 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.identity) || (has(self.initProvider) && has(self.initProvider.identity))",message="spec.forProvider.identity is a required parameter"
	// +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   AccountSpec   `json:"spec"`
	Status AccountStatus `json:"status,omitempty"`
}

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

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

func (*Account) DeepCopyObject

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

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

func (*Account) GetCondition

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

GetCondition of this Account.

func (*Account) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Account

func (*Account) GetDeletionPolicy

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

GetDeletionPolicy of this Account.

func (*Account) GetID

func (tr *Account) GetID() string

GetID returns ID of underlying Terraform resource of this Account

func (*Account) GetInitParameters added in v0.35.0

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

GetInitParameters of this Account

func (*Account) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Account.

func (*Account) GetObservation

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

GetObservation of this Account

func (*Account) GetParameters

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

GetParameters of this Account

func (*Account) GetProviderConfigReference

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

GetProviderConfigReference of this Account.

func (*Account) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Account.

func (*Account) GetTerraformResourceType

func (mg *Account) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Account

func (*Account) GetTerraformSchemaVersion

func (tr *Account) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Account) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Account.

func (*Account) LateInitialize

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

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

func (*Account) ResolveReferences

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

ResolveReferences of this Account.

func (*Account) SetConditions

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

SetConditions of this Account.

func (*Account) SetDeletionPolicy

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

SetDeletionPolicy of this Account.

func (*Account) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Account.

func (*Account) SetObservation

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

SetObservation for this Account

func (*Account) SetParameters

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

SetParameters for this Account

func (*Account) SetProviderConfigReference

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

SetProviderConfigReference of this Account.

func (*Account) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Account.

func (*Account) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Account.

type AccountInitParameters added in v0.35.0

type AccountInitParameters struct {

	// An identity block as defined below.
	Identity []IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

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

	// Should the Purview Account be visible to the public network? Defaults to true.
	PublicNetworkEnabled *bool `json:"publicNetworkEnabled,omitempty" tf:"public_network_enabled,omitempty"`

	// A mapping of tags which should be assigned to the Purview Account.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*AccountInitParameters) DeepCopy added in v0.35.0

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

func (*AccountInitParameters) DeepCopyInto added in v0.35.0

func (in *AccountInitParameters) DeepCopyInto(out *AccountInitParameters)

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

type AccountList

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

AccountList contains a list of Accounts

func (*AccountList) DeepCopy

func (in *AccountList) DeepCopy() *AccountList

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

func (*AccountList) DeepCopyInto

func (in *AccountList) DeepCopyInto(out *AccountList)

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

func (*AccountList) DeepCopyObject

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

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

func (*AccountList) GetItems

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

GetItems of this AccountList.

type AccountObservation

type AccountObservation struct {

	// Catalog endpoint.
	CatalogEndpoint *string `json:"catalogEndpoint,omitempty" tf:"catalog_endpoint,omitempty"`

	// Guardian endpoint.
	GuardianEndpoint *string `json:"guardianEndpoint,omitempty" tf:"guardian_endpoint,omitempty"`

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

	// An identity block as defined below.
	Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

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

	// The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
	ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty" tf:"managed_resource_group_name,omitempty"`

	// A managed_resources block as defined below.
	ManagedResources []ManagedResourcesObservation `json:"managedResources,omitempty" tf:"managed_resources,omitempty"`

	// Should the Purview Account be visible to the public network? Defaults to true.
	PublicNetworkEnabled *bool `json:"publicNetworkEnabled,omitempty" tf:"public_network_enabled,omitempty"`

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

	// Scan endpoint.
	ScanEndpoint *string `json:"scanEndpoint,omitempty" tf:"scan_endpoint,omitempty"`

	// A mapping of tags which should be assigned to the Purview Account.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*AccountObservation) DeepCopy

func (in *AccountObservation) DeepCopy() *AccountObservation

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

func (*AccountObservation) DeepCopyInto

func (in *AccountObservation) DeepCopyInto(out *AccountObservation)

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

type AccountParameters

type AccountParameters struct {

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

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

	// The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty" tf:"managed_resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate managedResourceGroupName.
	// +kubebuilder:validation:Optional
	ManagedResourceGroupNameRef *v1.Reference `json:"managedResourceGroupNameRef,omitempty" tf:"-"`

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

	// Should the Purview Account be visible to the public network? Defaults to true.
	// +kubebuilder:validation:Optional
	PublicNetworkEnabled *bool `json:"publicNetworkEnabled,omitempty" tf:"public_network_enabled,omitempty"`

	// The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account 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 which should be assigned to the Purview Account.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*AccountParameters) DeepCopy

func (in *AccountParameters) DeepCopy() *AccountParameters

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

func (*AccountParameters) DeepCopyInto

func (in *AccountParameters) DeepCopyInto(out *AccountParameters)

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

type AccountSpec

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

AccountSpec defines the desired state of Account

func (*AccountSpec) DeepCopy

func (in *AccountSpec) DeepCopy() *AccountSpec

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

func (*AccountSpec) DeepCopyInto

func (in *AccountSpec) DeepCopyInto(out *AccountSpec)

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

type AccountStatus

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

AccountStatus defines the observed state of Account.

func (*AccountStatus) DeepCopy

func (in *AccountStatus) DeepCopy() *AccountStatus

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

func (*AccountStatus) DeepCopyInto

func (in *AccountStatus) DeepCopyInto(out *AccountStatus)

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

type IdentityInitParameters added in v0.35.0

type IdentityInitParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are UserAssigned and SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy added in v0.35.0

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

func (*IdentityInitParameters) DeepCopyInto added in v0.35.0

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

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

type IdentityObservation

type IdentityObservation struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID associated with this Managed Service Identity.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID associated with this Managed Service Identity.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are UserAssigned and SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

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

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

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

type IdentityParameters

type IdentityParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
	// +kubebuilder:validation:Optional
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are UserAssigned and SystemAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

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

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

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

type ManagedResourcesInitParameters added in v0.35.0

type ManagedResourcesInitParameters struct {
}

func (*ManagedResourcesInitParameters) DeepCopy added in v0.35.0

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

func (*ManagedResourcesInitParameters) DeepCopyInto added in v0.35.0

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

type ManagedResourcesObservation

type ManagedResourcesObservation struct {

	// The ID of the managed event hub namespace.
	EventHubNamespaceID *string `json:"eventHubNamespaceId,omitempty" tf:"event_hub_namespace_id,omitempty"`

	// The ID of the managed resource group.
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"`

	// The ID of the managed storage account.
	StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"`
}

func (*ManagedResourcesObservation) DeepCopy

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

func (*ManagedResourcesObservation) DeepCopyInto

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

type ManagedResourcesParameters

type ManagedResourcesParameters struct {
}

func (*ManagedResourcesParameters) DeepCopy

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

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