v1alpha1

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains managed resources for Azure dns services such as Zones and RecordSets. +kubebuilder:object:generate=true +groupName=dns.azure.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "dns.azure.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	ZoneKind             = reflect.TypeOf(Zone{}).Name()
	ZoneGroupKind        = schema.GroupKind{Group: Group, Kind: ZoneKind}.String()
	ZoneKindAPIVersion   = ZoneKind + "." + SchemeGroupVersion.String()
	ZoneGroupVersionKind = SchemeGroupVersion.WithKind(ZoneKind)
)

Zone type metadata.

View Source
var (
	RecordSetKind             = reflect.TypeOf(RecordSet{}).Name()
	RecordSetGroupKind        = schema.GroupKind{Group: Group, Kind: RecordSetKind}.String()
	RecordSetKindAPIVersion   = RecordSetKind + "." + SchemeGroupVersion.String()
	RecordSetGroupVersionKind = SchemeGroupVersion.WithKind(RecordSetKind)
)

RecordSet type metadata.

Functions

This section is empty.

Types

type AAAARecord

type AAAARecord struct {
	// IPV6Address - The IPv6 address of this AAAA record.
	// +optional
	IPV6Address *string `json:"ipV6Address,omitempty"`
}

AAAARecord an AAAA record.

func (*AAAARecord) DeepCopy

func (in *AAAARecord) DeepCopy() *AAAARecord

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

func (*AAAARecord) DeepCopyInto

func (in *AAAARecord) DeepCopyInto(out *AAAARecord)

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

type ARecord

type ARecord struct {
	// IPV4Address - The IPv4 address of this A record.
	// +optional
	IPV4Address *string `json:"ipV4Address,omitempty"`
}

ARecord an A record.

func (*ARecord) DeepCopy

func (in *ARecord) DeepCopy() *ARecord

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

func (*ARecord) DeepCopyInto

func (in *ARecord) DeepCopyInto(out *ARecord)

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

type CAARecord

type CAARecord struct {
	// Flags - The flags for this CAA record as an integer between 0 and 255.
	// +optional
	Flags *int `json:"flags,omitempty"`
	// Tag - The tag for this CAA record.
	// +optional
	Tag *string `json:"tag,omitempty"`
	// Value - The value for this CAA record.
	// +optional
	Value *string `json:"value,omitempty"`
}

CAARecord a CAA record.

func (*CAARecord) DeepCopy

func (in *CAARecord) DeepCopy() *CAARecord

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

func (*CAARecord) DeepCopyInto

func (in *CAARecord) DeepCopyInto(out *CAARecord)

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

type CNAMERecord

type CNAMERecord struct {
	// CNAME - The canonical name for this CNAME record.
	// +optional
	CNAME *string `json:"cname,omitempty"`
}

CNAMERecord a CNAME record.

func (*CNAMERecord) DeepCopy

func (in *CNAMERecord) DeepCopy() *CNAMERecord

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

func (*CNAMERecord) DeepCopyInto

func (in *CNAMERecord) DeepCopyInto(out *CNAMERecord)

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

type MXRecord

type MXRecord struct {
	// Preference - The preference value for this MX record.
	// +optional
	Preference *int `json:"preference,omitempty"`
	// Exchange - The domain name of the mail host for this MX record.
	// +optional
	Exchange *string `json:"exchange,omitempty"`
}

MXRecord an MX record.

func (*MXRecord) DeepCopy

func (in *MXRecord) DeepCopy() *MXRecord

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

func (*MXRecord) DeepCopyInto

func (in *MXRecord) DeepCopyInto(out *MXRecord)

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

type NSRecord

type NSRecord struct {
	// NSDName - The name server name for this NS record.
	// +optional
	NSDName *string `json:"nsDName,omitempty"`
}

NSRecord an NS record.

func (*NSRecord) DeepCopy

func (in *NSRecord) DeepCopy() *NSRecord

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

func (*NSRecord) DeepCopyInto

func (in *NSRecord) DeepCopyInto(out *NSRecord)

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

type PTRRecord

type PTRRecord struct {
	// PTRDName - The PTR target domain name for this PTR record.
	// +optional
	PTRDName *string `json:"ptrDName,omitempty"`
}

PTRRecord a PTR record.

func (*PTRRecord) DeepCopy

func (in *PTRRecord) DeepCopy() *PTRRecord

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

func (*PTRRecord) DeepCopyInto

func (in *PTRRecord) DeepCopyInto(out *PTRRecord)

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

type RecordSet

type RecordSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RecordSetSpec   `json:"spec"`
	Status RecordSetStatus `json:"status,omitempty"`
}

A RecordSet is a managed resource that represents an Azure DNS RecordSet +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="VERSION",type="string",JSONPath=".spec.forProvider.version" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*RecordSet) DeepCopy

func (in *RecordSet) DeepCopy() *RecordSet

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

func (*RecordSet) DeepCopyInto

func (in *RecordSet) DeepCopyInto(out *RecordSet)

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

func (*RecordSet) DeepCopyObject

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

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

func (*RecordSet) GetCondition

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

GetCondition of this RecordSet.

func (*RecordSet) GetDeletionPolicy

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

GetDeletionPolicy of this RecordSet.

func (*RecordSet) GetProviderConfigReference

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

GetProviderConfigReference of this RecordSet.

func (*RecordSet) GetProviderReference

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

GetProviderReference of this RecordSet. Deprecated: Use GetProviderConfigReference.

func (*RecordSet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RecordSet.

func (*RecordSet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RecordSet.

func (*RecordSet) ResolveReferences

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

ResolveReferences of this RecordSet

func (*RecordSet) SetConditions

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

SetConditions of this RecordSet.

func (*RecordSet) SetDeletionPolicy

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

SetDeletionPolicy of this RecordSet.

func (*RecordSet) SetProviderConfigReference

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

SetProviderConfigReference of this RecordSet.

func (*RecordSet) SetProviderReference

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

SetProviderReference of this RecordSet. Deprecated: Use SetProviderConfigReference.

func (*RecordSet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RecordSet.

func (*RecordSet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RecordSet.

type RecordSetList

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

RecordSetList contains a list of RecordSet.

func (*RecordSetList) DeepCopy

func (in *RecordSetList) DeepCopy() *RecordSetList

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

func (*RecordSetList) DeepCopyInto

func (in *RecordSetList) DeepCopyInto(out *RecordSetList)

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

func (*RecordSetList) DeepCopyObject

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

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

func (*RecordSetList) GetItems

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

GetItems of this RecordSetList.

type RecordSetObservation

type RecordSetObservation struct {
	// ID - Resource ID
	ID string `json:"id,omitempty"`

	// Etag - The etag of the zone.
	Etag string `json:"etag,omitempty"`

	// Name - The name of the zone.
	Name string `json:"name,omitempty"`

	// Type - Resource type.
	Type string `json:"type,omitempty"`

	// FQDN - Fully qualified domain name of the record set.
	FQDN string `json:"fqdn,omitempty"`

	// ProvisioningState -provisioning State of the record set.
	ProvisioningState string `json:"provisioningState,omitempty"`
}

RecordSetObservation define the actual state of an Azure DNS RecordSet.

func (*RecordSetObservation) DeepCopy

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

func (*RecordSetObservation) DeepCopyInto

func (in *RecordSetObservation) DeepCopyInto(out *RecordSetObservation)

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

type RecordSetParameters

type RecordSetParameters struct {
	// ResourceGroupName specifies the name of the resource group that should
	// contain this DNS Zone.
	// +immutable
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve
	// its name
	// +immutable
	ResourceGroupNameRef *xpv1.Reference `json:"resourceGroupNameRef,omitempty"`

	// ResourceGroupNameSelector - A selector for a ResourceGroup object to
	// retrieve its name
	// +immutable
	ResourceGroupNameSelector *xpv1.Selector `json:"resourceGroupNameSelector,omitempty"`

	// ZoneName specifies the name of the Zone that should
	// contain this DNS RecordSet.
	// +immutable
	ZoneName string `json:"zoneName,omitempty"`

	// ZoneNameRef - A reference to a Zone object to retrieve
	// its name
	// +immutable
	ZoneNameRef *xpv1.Reference `json:"zoneNameRef,omitempty"`

	// ZoneNameSelector - A selector for a Zone object to
	// retrieve its name
	// +immutable
	ZoneNameSelector *xpv1.Selector `json:"zoneNameSelector,omitempty"`

	// Metadata - The metadata attached to the record set
	// +optional
	Metadata map[string]string `json:"metadata,omitempty"`

	// TTL - The TTL (time-to-live) of the records in the record set.
	// +kubebuilder:validation:Required
	TTL int `json:"ttl"`

	// TargetResource - A reference to an azure resource from where the dns resource value is taken.
	// +optional
	TargetResource *SubResource `json:"targetResource,omitempty"`

	// RecordType enumerates the values for record type.
	// +kubebuilder:validation:Required
	RecordType RecordType `json:"recordType"`

	// ARecords - The list of A records in the record set.
	// +optional
	ARecords []ARecord `json:"aRecords,omitempty"`

	// AAAARecords - The list of AAAA records in the record set.
	// +optional
	AAAARecords []AAAARecord `json:"aaaaRecords,omitempty"`

	// MXRecords - The list of MX records in the record set.
	// +optional
	MXRecords []MXRecord `json:"mxRecords,omitempty"`

	// NSRecords - The list of NS records in the record set.
	// +optional
	NSRecords []NSRecord `json:"nsRecords,omitempty"`

	// PTRRecords - The list of PTR records in the record set.
	// +optional
	PTRRecords []PTRRecord `json:"ptrRecords,omitempty"`

	// SRVRecords - The list of SRV records in the record set.
	// +optional
	SRVRecords []SRVRecord `json:"srvRecords,omitempty"`

	// TXTRecords - The list of TXT records in the record set.
	// +optional
	TXTRecords []TXTRecord `json:"txtRecords,omitempty"`

	// CNAMERecord - The CNAME record in the  record set.
	// +optional
	CNAMERecord CNAMERecord `json:"cnameRecord,omitempty"`

	// SOARecord - The SOA record in the record set.
	// +optional
	SOARecord SOARecord `json:"soaRecord,omitempty"`

	// CAARecords - The list of CAA records in the record set.
	// +optional
	CAARecords []CAARecord `json:"caaRecords,omitempty"`
}

RecordSetParameters define the desired state of an Azure DNS RecordSet.

func (*RecordSetParameters) DeepCopy

func (in *RecordSetParameters) DeepCopy() *RecordSetParameters

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

func (*RecordSetParameters) DeepCopyInto

func (in *RecordSetParameters) DeepCopyInto(out *RecordSetParameters)

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

type RecordSetSpec

type RecordSetSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       RecordSetParameters `json:"forProvider"`
}

A RecordSetSpec defines the desired state of a RecordSet.

func (*RecordSetSpec) DeepCopy

func (in *RecordSetSpec) DeepCopy() *RecordSetSpec

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

func (*RecordSetSpec) DeepCopyInto

func (in *RecordSetSpec) DeepCopyInto(out *RecordSetSpec)

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

type RecordSetStatus

type RecordSetStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          RecordSetObservation `json:"atProvider,omitempty"`
}

A RecordSetStatus represents the observed state of a RecordSet.

func (*RecordSetStatus) DeepCopy

func (in *RecordSetStatus) DeepCopy() *RecordSetStatus

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

func (*RecordSetStatus) DeepCopyInto

func (in *RecordSetStatus) DeepCopyInto(out *RecordSetStatus)

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

type RecordType

type RecordType string

RecordType enumerates the values for record type.

const (
	// A type DNS record
	A RecordType = "A"
	// AAAA type DNS record
	AAAA RecordType = "AAAA"
	// CAA type DNS record
	CAA RecordType = "CAA"
	// CNAME type DNS record
	CNAME RecordType = "CNAME"
	// MX type DNS record
	MX RecordType = "MX"
	// NS type DNS record
	NS RecordType = "NS"
	// PTR type DNS record
	PTR RecordType = "PTR"
	// SOA type DNS record
	SOA RecordType = "SOA"
	// SRV type DNS record
	SRV RecordType = "SRV"
	// TXT type DNS record
	TXT RecordType = "TXT"
)

The reasoning behind capitalizing DNS record type names comes from the: https://www.rfc-editor.org/rfc/rfc1035.html

type SOARecord

type SOARecord struct {
	// Host - The domain name of the authoritative name server for this SOA record.
	// +optional
	Host *string `json:"host,omitempty"`
	// Email - The email contact for this SOA record.
	// +optional
	Email *string `json:"email,omitempty"`
	// SerialNumber - The serial number for this SOA record.
	// +optional
	SerialNumber *int `json:"serialNumber,omitempty"`
	// RefreshTime - The refresh value for this SOA record.
	// +optional
	RefreshTime *int `json:"refreshTime,omitempty"`
	// RetryTime - The retry time for this SOA record.
	// +optional
	RetryTime *int `json:"retryTime,omitempty"`
	// ExpireTime - The expire time for this SOA record.
	// +optional
	ExpireTime *int `json:"expireTime,omitempty"`
	// MinimumTTL - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
	// +optional
	MinimumTTL *int `json:"minimumTTL,omitempty"`
}

SOARecord an SOA record.

func (*SOARecord) DeepCopy

func (in *SOARecord) DeepCopy() *SOARecord

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

func (*SOARecord) DeepCopyInto

func (in *SOARecord) DeepCopyInto(out *SOARecord)

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

type SRVRecord

type SRVRecord struct {
	// Priority - The priority value for this SRV record.
	// +optional
	Priority *int `json:"priority,omitempty"`
	// Weight - The weight value for this SRV record.
	// +optional
	Weight *int `json:"weight,omitempty"`
	// Port - The port value for this SRV record.
	// +optional
	Port *int `json:"port,omitempty"`
	// Target - The target domain name for this SRV record.
	// +optional
	Target *string `json:"target,omitempty"`
}

SRVRecord an SRV record.

func (*SRVRecord) DeepCopy

func (in *SRVRecord) DeepCopy() *SRVRecord

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

func (*SRVRecord) DeepCopyInto

func (in *SRVRecord) DeepCopyInto(out *SRVRecord)

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

type SubResource

type SubResource struct {
	// ID - Resource id.
	ID *string `json:"id,omitempty"`
}

SubResource a reference to another resource

func (*SubResource) DeepCopy

func (in *SubResource) DeepCopy() *SubResource

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

func (*SubResource) DeepCopyInto

func (in *SubResource) DeepCopyInto(out *SubResource)

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

type TXTRecord

type TXTRecord struct {
	// Value - The text value of this TXT record.
	// +optional
	Value []string `json:"value,omitempty"`
}

TXTRecord a TXT record.

func (*TXTRecord) DeepCopy

func (in *TXTRecord) DeepCopy() *TXTRecord

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

func (*TXTRecord) DeepCopyInto

func (in *TXTRecord) DeepCopyInto(out *TXTRecord)

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

type Zone

type Zone struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ZoneSpec   `json:"spec"`
	Status ZoneStatus `json:"status,omitempty"`
}

A Zone is a managed resource that represents an Azure DNS Zone +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="VERSION",type="string",JSONPath=".spec.forProvider.version" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) GetCondition

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

GetCondition of this Zone.

func (*Zone) GetDeletionPolicy

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

GetDeletionPolicy of this Zone.

func (*Zone) GetProviderConfigReference

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

GetProviderConfigReference of this Zone.

func (*Zone) GetProviderReference

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

GetProviderReference of this Zone. Deprecated: Use GetProviderConfigReference.

func (*Zone) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Zone.

func (*Zone) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Zone.

func (*Zone) ResolveReferences

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

ResolveReferences of this Zone

func (*Zone) SetConditions

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

SetConditions of this Zone.

func (*Zone) SetDeletionPolicy

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

SetDeletionPolicy of this Zone.

func (*Zone) SetProviderConfigReference

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

SetProviderConfigReference of this Zone.

func (*Zone) SetProviderReference

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

SetProviderReference of this Zone. Deprecated: Use SetProviderConfigReference.

func (*Zone) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Zone.

func (*Zone) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Zone.

type ZoneList

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

ZoneList contains a list of Zone.

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

func (*ZoneList) GetItems

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

GetItems of this ZoneList.

type ZoneObservation

type ZoneObservation struct {
	// ID - Resource ID
	ID string `json:"id,omitempty"`

	// Etag - The etag of the zone.
	Etag string `json:"etag,omitempty"`

	// Name - The name of the zone.
	Name string `json:"name,omitempty"`

	// MaxNumberOfRecordSets - The maximum number of record sets that can be created in this DNS zone.
	// This is a read-only property and any attempt to set this value will be ignored.
	MaxNumberOfRecordSets int `json:"maxNumberOfRecordSets,omitempty"`

	// NumberOfRecordSets - The current number of record sets in this DNS zone.
	// This is a read-only property and any attempt to set this value will be ignored.
	NumberOfRecordSets int `json:"numberOfRecordSets,omitempty"`

	// NameServers - The name servers for this DNS zone. This is a read-only property and any attempt
	// to set this value will be ignored.
	NameServers []string `json:"nameServers,omitempty"`

	// Type - Resource type.
	Type string `json:"type,omitempty"`
}

ZoneObservation define the actual state of an Azure DNS Zone.

func (*ZoneObservation) DeepCopy

func (in *ZoneObservation) DeepCopy() *ZoneObservation

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

func (*ZoneObservation) DeepCopyInto

func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation)

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

type ZoneParameters

type ZoneParameters struct {
	// ResourceGroupName specifies the name of the resource group that should
	// contain this DNS Zone.
	// +immutable
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve
	// its name
	// +immutable
	ResourceGroupNameRef *xpv1.Reference `json:"resourceGroupNameRef,omitempty"`

	// ResourceGroupNameSelector - A selector for a ResourceGroup object to
	// retrieve its name
	// +immutable
	ResourceGroupNameSelector *xpv1.Selector `json:"resourceGroupNameSelector,omitempty"`

	// Location is the Azure location that the DNS Zone will be created in
	// +kubebuilder:validation:Required
	// +immutable
	Location string `json:"location"`

	// ZoneType - Type of DNS zone to create.
	// Allowed values: Private, Public
	// Default: Public
	// +kubebuilder:validation:Enum=Public;Private
	// +kubebuilder:default=Public
	// +optional
	// +immutable
	ZoneType *string `json:"zoneType,omitempty"`

	// RegistrationVirtualNetworks - A list of references to virtual networks that register hostnames in this
	// DNS zone. This is an only when ZoneType is Private.
	// +optional
	RegistrationVirtualNetworks []SubResource `json:"registrationVirtualNetworks,omitempty"`

	// ResolutionVirtualNetworks - A list of references to virtual networks that resolve records in this DNS zone.
	// This is an only when ZoneType is Private.
	// +optional
	ResolutionVirtualNetworks []SubResource `json:"resolutionVirtualNetworks,omitempty"`

	// Tags - Resource tags.
	// +optional
	Tags map[string]*string `json:"tags,omitempty"`
}

ZoneParameters define the desired state of an Azure DNS Zone.

func (*ZoneParameters) DeepCopy

func (in *ZoneParameters) DeepCopy() *ZoneParameters

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

func (*ZoneParameters) DeepCopyInto

func (in *ZoneParameters) DeepCopyInto(out *ZoneParameters)

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

type ZoneSpec

type ZoneSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ZoneParameters `json:"forProvider"`
}

A ZoneSpec defines the desired state of a Zone.

func (*ZoneSpec) DeepCopy

func (in *ZoneSpec) DeepCopy() *ZoneSpec

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

func (*ZoneSpec) DeepCopyInto

func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec)

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

type ZoneStatus

type ZoneStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ZoneObservation `json:"atProvider,omitempty"`
}

A ZoneStatus represents the observed state of a Zone.

func (*ZoneStatus) DeepCopy

func (in *ZoneStatus) DeepCopy() *ZoneStatus

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

func (*ZoneStatus) DeepCopyInto

func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)

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