Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=purview.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Account) GetConnectionDetailsMapping() map[string]string
- func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Account) GetID() string
- func (tr *Account) GetObservation() (map[string]any, error)
- func (tr *Account) GetParameters() (map[string]any, error)
- func (mg *Account) GetProviderConfigReference() *xpv1.Reference
- func (mg *Account) GetProviderReference() *xpv1.Reference
- func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Account) GetTerraformResourceType() string
- func (tr *Account) GetTerraformSchemaVersion() int
- func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Account) LateInitialize(attrs []byte) (bool, error)
- func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Account) SetConditions(c ...xpv1.Condition)
- func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Account) SetObservation(obs map[string]any) error
- func (tr *Account) SetParameters(params map[string]any) error
- func (mg *Account) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Account) SetProviderReference(r *xpv1.Reference)
- func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccountList
- type AccountObservation
- type AccountParameters
- type AccountSpec
- type AccountStatus
- type IdentityObservation
- type IdentityParameters
- type ManagedResourcesObservation
- type ManagedResourcesParameters
Constants ¶
const ( CRDGroup = "purview.azure.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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.
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"` 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Account
func (*Account) GetDeletionPolicy ¶
func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Account.
func (*Account) GetObservation ¶
GetObservation of this Account
func (*Account) GetParameters ¶
GetParameters of this Account
func (*Account) GetProviderConfigReference ¶
GetProviderConfigReference of this Account.
func (*Account) GetProviderReference ¶
GetProviderReference of this Account. Deprecated: Use GetProviderConfigReference.
func (*Account) GetPublishConnectionDetailsTo ¶
func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Account.
func (*Account) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Account
func (*Account) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Account) GetWriteConnectionSecretToReference ¶
func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Account.
func (*Account) LateInitialize ¶
LateInitialize this Account using its observed tfState. returns True if there are any spec changes for the resource.
func (*Account) ResolveReferences ¶
ResolveReferences of this Account.
func (*Account) SetConditions ¶
SetConditions of this Account.
func (*Account) SetDeletionPolicy ¶
func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Account.
func (*Account) SetObservation ¶
SetObservation for this Account
func (*Account) SetParameters ¶
SetParameters for this Account
func (*Account) SetProviderConfigReference ¶
SetProviderConfigReference of this Account.
func (*Account) SetProviderReference ¶
SetProviderReference of this Account. Deprecated: Use SetProviderConfigReference.
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 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. // +kubebuilder:validation:Required Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"` // A managed_resources block as defined below. ManagedResources []ManagedResourcesObservation `json:"managedResources,omitempty" tf:"managed_resources,omitempty"` // Scan endpoint. ScanEndpoint *string `json:"scanEndpoint,omitempty" tf:"scan_endpoint,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:Required Identity []IdentityParameters `json:"identity" tf:"identity,omitempty"` // The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created. // +kubebuilder:validation:Required Location *string `json:"location" 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"` }
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 IdentityObservation ¶
type IdentityObservation struct { // 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"` }
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:Required 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 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 ¶
func (in *ManagedResourcesObservation) DeepCopy() *ManagedResourcesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourcesObservation.
func (*ManagedResourcesObservation) DeepCopyInto ¶
func (in *ManagedResourcesObservation) DeepCopyInto(out *ManagedResourcesObservation)
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 ¶
func (in *ManagedResourcesParameters) DeepCopy() *ManagedResourcesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourcesParameters.
func (*ManagedResourcesParameters) DeepCopyInto ¶
func (in *ManagedResourcesParameters) DeepCopyInto(out *ManagedResourcesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.