v1beta2

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=guestconfiguration.azure.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "guestconfiguration.azure.upbound.io"
	CRDVersion = "v1beta2"
)

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 (
	PolicyVirtualMachineConfigurationAssignment_Kind             = "PolicyVirtualMachineConfigurationAssignment"
	PolicyVirtualMachineConfigurationAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyVirtualMachineConfigurationAssignment_Kind}.String()
	PolicyVirtualMachineConfigurationAssignment_KindAPIVersion   = PolicyVirtualMachineConfigurationAssignment_Kind + "." + CRDGroupVersion.String()
	PolicyVirtualMachineConfigurationAssignment_GroupVersionKind = CRDGroupVersion.WithKind(PolicyVirtualMachineConfigurationAssignment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ConfigurationInitParameters

type ConfigurationInitParameters struct {

	// The assignment type for the Guest Configuration Assignment. Possible values are Audit, ApplyAndAutoCorrect, ApplyAndMonitor and DeployAndAutoCorrect.
	AssignmentType *string `json:"assignmentType,omitempty" tf:"assignment_type,omitempty"`

	// The content hash for the Guest Configuration package.
	ContentHash *string `json:"contentHash,omitempty" tf:"content_hash,omitempty"`

	// The content URI where the Guest Configuration package is stored.
	ContentURI *string `json:"contentUri,omitempty" tf:"content_uri,omitempty"`

	// One or more parameter blocks as defined below which define what configuration parameters and values against.
	Parameter []ParameterInitParameters `json:"parameter,omitempty" tf:"parameter,omitempty"`

	// The version of the Guest Configuration that will be assigned in this Guest Configuration Assignment.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ConfigurationInitParameters) DeepCopy

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

func (*ConfigurationInitParameters) DeepCopyInto

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

type ConfigurationObservation

type ConfigurationObservation struct {

	// The assignment type for the Guest Configuration Assignment. Possible values are Audit, ApplyAndAutoCorrect, ApplyAndMonitor and DeployAndAutoCorrect.
	AssignmentType *string `json:"assignmentType,omitempty" tf:"assignment_type,omitempty"`

	// The content hash for the Guest Configuration package.
	ContentHash *string `json:"contentHash,omitempty" tf:"content_hash,omitempty"`

	// The content URI where the Guest Configuration package is stored.
	ContentURI *string `json:"contentUri,omitempty" tf:"content_uri,omitempty"`

	// One or more parameter blocks as defined below which define what configuration parameters and values against.
	Parameter []ParameterObservation `json:"parameter,omitempty" tf:"parameter,omitempty"`

	// The version of the Guest Configuration that will be assigned in this Guest Configuration Assignment.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ConfigurationObservation) DeepCopy

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

func (*ConfigurationObservation) DeepCopyInto

func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)

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

type ConfigurationParameters

type ConfigurationParameters struct {

	// The assignment type for the Guest Configuration Assignment. Possible values are Audit, ApplyAndAutoCorrect, ApplyAndMonitor and DeployAndAutoCorrect.
	// +kubebuilder:validation:Optional
	AssignmentType *string `json:"assignmentType,omitempty" tf:"assignment_type,omitempty"`

	// The content hash for the Guest Configuration package.
	// +kubebuilder:validation:Optional
	ContentHash *string `json:"contentHash,omitempty" tf:"content_hash,omitempty"`

	// The content URI where the Guest Configuration package is stored.
	// +kubebuilder:validation:Optional
	ContentURI *string `json:"contentUri,omitempty" tf:"content_uri,omitempty"`

	// One or more parameter blocks as defined below which define what configuration parameters and values against.
	// +kubebuilder:validation:Optional
	Parameter []ParameterParameters `json:"parameter,omitempty" tf:"parameter,omitempty"`

	// The version of the Guest Configuration that will be assigned in this Guest Configuration Assignment.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ConfigurationParameters) DeepCopy

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

func (*ConfigurationParameters) DeepCopyInto

func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)

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

type ParameterInitParameters

type ParameterInitParameters struct {

	// The name of the configuration parameter to check.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value to check the configuration parameter with.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ParameterInitParameters) DeepCopy

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

func (*ParameterInitParameters) DeepCopyInto

func (in *ParameterInitParameters) DeepCopyInto(out *ParameterInitParameters)

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

type ParameterObservation

type ParameterObservation struct {

	// The name of the configuration parameter to check.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value to check the configuration parameter with.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ParameterObservation) DeepCopy

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

func (*ParameterObservation) DeepCopyInto

func (in *ParameterObservation) DeepCopyInto(out *ParameterObservation)

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

type ParameterParameters

type ParameterParameters struct {

	// The name of the configuration parameter to check.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The value to check the configuration parameter with.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ParameterParameters) DeepCopy

func (in *ParameterParameters) DeepCopy() *ParameterParameters

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

func (*ParameterParameters) DeepCopyInto

func (in *ParameterParameters) DeepCopyInto(out *ParameterParameters)

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

type PolicyVirtualMachineConfigurationAssignment

type PolicyVirtualMachineConfigurationAssignment 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.configuration) || (has(self.initProvider) && has(self.initProvider.configuration))",message="spec.forProvider.configuration 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   PolicyVirtualMachineConfigurationAssignmentSpec   `json:"spec"`
	Status PolicyVirtualMachineConfigurationAssignmentStatus `json:"status,omitempty"`
}

PolicyVirtualMachineConfigurationAssignment is the Schema for the PolicyVirtualMachineConfigurationAssignments API. Applies a Guest Configuration Policy to a Virtual Machine. +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 (*PolicyVirtualMachineConfigurationAssignment) DeepCopy

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

func (*PolicyVirtualMachineConfigurationAssignment) DeepCopyInto

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

func (*PolicyVirtualMachineConfigurationAssignment) DeepCopyObject

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

func (*PolicyVirtualMachineConfigurationAssignment) GetCondition

GetCondition of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetDeletionPolicy

GetDeletionPolicy of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) GetID

GetID returns ID of underlying Terraform resource of this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetInitParameters

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

GetInitParameters of this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetManagementPolicies

GetManagementPolicies of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) GetMergedParameters

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

GetInitParameters of this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetObservation

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

GetObservation of this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetParameters

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

GetParameters of this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) GetPublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) GetTerraformResourceType

func (mg *PolicyVirtualMachineConfigurationAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) GetTerraformSchemaVersion

func (tr *PolicyVirtualMachineConfigurationAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyVirtualMachineConfigurationAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) Hub

Hub marks this type as a conversion hub.

func (*PolicyVirtualMachineConfigurationAssignment) LateInitialize

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

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

func (*PolicyVirtualMachineConfigurationAssignment) ResolveReferences

func (*PolicyVirtualMachineConfigurationAssignment) SetConditions

SetConditions of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) SetDeletionPolicy

SetDeletionPolicy of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) SetManagementPolicies

SetManagementPolicies of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) SetObservation

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

SetObservation for this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) SetParameters

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

SetParameters for this PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyVirtualMachineConfigurationAssignment.

type PolicyVirtualMachineConfigurationAssignmentInitParameters

type PolicyVirtualMachineConfigurationAssignmentInitParameters struct {

	// A configuration block as defined below.
	Configuration *ConfigurationInitParameters `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// The Azure location where the Policy Virtual Machine Configuration Assignment should exist. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`
}

func (*PolicyVirtualMachineConfigurationAssignmentInitParameters) DeepCopy

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

func (*PolicyVirtualMachineConfigurationAssignmentInitParameters) DeepCopyInto

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

type PolicyVirtualMachineConfigurationAssignmentList

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

PolicyVirtualMachineConfigurationAssignmentList contains a list of PolicyVirtualMachineConfigurationAssignments

func (*PolicyVirtualMachineConfigurationAssignmentList) DeepCopy

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

func (*PolicyVirtualMachineConfigurationAssignmentList) DeepCopyInto

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

func (*PolicyVirtualMachineConfigurationAssignmentList) DeepCopyObject

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

func (*PolicyVirtualMachineConfigurationAssignmentList) GetItems

GetItems of this PolicyVirtualMachineConfigurationAssignmentList.

type PolicyVirtualMachineConfigurationAssignmentObservation

type PolicyVirtualMachineConfigurationAssignmentObservation struct {

	// A configuration block as defined below.
	Configuration *ConfigurationObservation `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// The ID of the Policy Virtual Machine Configuration Assignment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Azure location where the Policy Virtual Machine Configuration Assignment should exist. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The resource ID of the Policy Virtual Machine which this Guest Configuration Assignment should apply to. Changing this forces a new resource to be created.
	VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"`
}

func (*PolicyVirtualMachineConfigurationAssignmentObservation) DeepCopy

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

func (*PolicyVirtualMachineConfigurationAssignmentObservation) DeepCopyInto

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

type PolicyVirtualMachineConfigurationAssignmentParameters

type PolicyVirtualMachineConfigurationAssignmentParameters struct {

	// A configuration block as defined below.
	// +kubebuilder:validation:Optional
	Configuration *ConfigurationParameters `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// The Azure location where the Policy Virtual Machine Configuration Assignment should exist. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The resource ID of the Policy Virtual Machine which this Guest Configuration Assignment should apply to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/compute/v1beta2.WindowsVirtualMachine
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"`

	// Reference to a WindowsVirtualMachine in compute to populate virtualMachineId.
	// +kubebuilder:validation:Optional
	VirtualMachineIDRef *v1.Reference `json:"virtualMachineIdRef,omitempty" tf:"-"`

	// Selector for a WindowsVirtualMachine in compute to populate virtualMachineId.
	// +kubebuilder:validation:Optional
	VirtualMachineIDSelector *v1.Selector `json:"virtualMachineIdSelector,omitempty" tf:"-"`
}

func (*PolicyVirtualMachineConfigurationAssignmentParameters) DeepCopy

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

func (*PolicyVirtualMachineConfigurationAssignmentParameters) DeepCopyInto

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

type PolicyVirtualMachineConfigurationAssignmentSpec

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

PolicyVirtualMachineConfigurationAssignmentSpec defines the desired state of PolicyVirtualMachineConfigurationAssignment

func (*PolicyVirtualMachineConfigurationAssignmentSpec) DeepCopy

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

func (*PolicyVirtualMachineConfigurationAssignmentSpec) DeepCopyInto

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

type PolicyVirtualMachineConfigurationAssignmentStatus

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

PolicyVirtualMachineConfigurationAssignmentStatus defines the observed state of PolicyVirtualMachineConfigurationAssignment.

func (*PolicyVirtualMachineConfigurationAssignmentStatus) DeepCopy

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

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