Documentation ¶
Overview ¶
Package v1alpha2 contains managed resources for Azure network services such as virtual networks. +kubebuilder:object:generate=true +groupName=network.azure.crossplane.io +versionName=v1alpha2
Index ¶
- Constants
- Variables
- type AddressSpace
- type ServiceEndpointPropertiesFormat
- type Subnet
- func (in *Subnet) DeepCopy() *Subnet
- func (in *Subnet) DeepCopyInto(out *Subnet)
- func (in *Subnet) DeepCopyObject() runtime.Object
- func (c *Subnet) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (c *Subnet) GetClaimReference() *corev1.ObjectReference
- func (c *Subnet) GetNonPortableClassReference() *corev1.ObjectReference
- func (c *Subnet) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (c *Subnet) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
- func (c *Subnet) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (c *Subnet) SetClaimReference(r *corev1.ObjectReference)
- func (c *Subnet) SetConditions(cd ...runtimev1alpha1.Condition)
- func (c *Subnet) SetNonPortableClassReference(r *corev1.ObjectReference)
- func (c *Subnet) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)
- func (c *Subnet) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
- type SubnetList
- type SubnetPropertiesFormat
- type SubnetSpec
- type SubnetStatus
- type VirtualNetwork
- func (in *VirtualNetwork) DeepCopy() *VirtualNetwork
- func (in *VirtualNetwork) DeepCopyInto(out *VirtualNetwork)
- func (in *VirtualNetwork) DeepCopyObject() runtime.Object
- func (c *VirtualNetwork) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (c *VirtualNetwork) GetClaimReference() *corev1.ObjectReference
- func (c *VirtualNetwork) GetNonPortableClassReference() *corev1.ObjectReference
- func (c *VirtualNetwork) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (c *VirtualNetwork) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
- func (c *VirtualNetwork) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (c *VirtualNetwork) SetClaimReference(r *corev1.ObjectReference)
- func (c *VirtualNetwork) SetConditions(cd ...runtimev1alpha1.Condition)
- func (c *VirtualNetwork) SetNonPortableClassReference(r *corev1.ObjectReference)
- func (c *VirtualNetwork) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)
- func (c *VirtualNetwork) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
- type VirtualNetworkList
- type VirtualNetworkPropertiesFormat
- type VirtualNetworkSpec
- type VirtualNetworkStatus
Constants ¶
const ( Group = "network.azure.crossplane.io" Version = "v1alpha2" )
Package type metadata.
Variables ¶
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} )
var ( VirtualNetworkKind = reflect.TypeOf(VirtualNetwork{}).Name() VirtualNetworkKindAPIVersion = VirtualNetworkKind + "." + SchemeGroupVersion.String() VirtualNetworkGroupVersionKind = SchemeGroupVersion.WithKind(VirtualNetworkKind) )
VirtualNetwork type metadata.
var ( SubnetKind = reflect.TypeOf(Subnet{}).Name() SubnetKindAPIVersion = SubnetKind + "." + SchemeGroupVersion.String() SubnetGroupVersionKind = SchemeGroupVersion.WithKind(SubnetKind) )
Subnet type metadata.
Functions ¶
This section is empty.
Types ¶
type AddressSpace ¶
type AddressSpace struct { // AddressPrefixes - A list of address blocks reserved for this virtual // network in CIDR notation. AddressPrefixes []string `json:"addressPrefixes"` }
AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
func (*AddressSpace) DeepCopy ¶
func (in *AddressSpace) DeepCopy() *AddressSpace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressSpace.
func (*AddressSpace) DeepCopyInto ¶
func (in *AddressSpace) DeepCopyInto(out *AddressSpace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceEndpointPropertiesFormat ¶
type ServiceEndpointPropertiesFormat struct { // Service - The type of the endpoint service. // +optional Service string `json:"service,omitempty"` // Locations - A list of locations. // +optional Locations []string `json:"locations,omitempty"` // ProvisioningState - The provisioning state of the resource. // +optional ProvisioningState string `json:"provisioningState,omitempty"` }
ServiceEndpointPropertiesFormat defines properties of a service endpoint.
func (*ServiceEndpointPropertiesFormat) DeepCopy ¶
func (in *ServiceEndpointPropertiesFormat) DeepCopy() *ServiceEndpointPropertiesFormat
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEndpointPropertiesFormat.
func (*ServiceEndpointPropertiesFormat) DeepCopyInto ¶
func (in *ServiceEndpointPropertiesFormat) DeepCopyInto(out *ServiceEndpointPropertiesFormat)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubnetSpec `json:"spec,omitempty"` Status SubnetStatus `json:"status,omitempty"` }
A Subnet is a managed resource that represents an Azure Subnet. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="LOCATION",type="string",JSONPath=".spec.location" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subnet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Subnet) GetBindingPhase ¶
func (c *Subnet) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this Subnet.
func (*Subnet) GetClaimReference ¶
func (c *Subnet) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this Subnet.
func (*Subnet) GetNonPortableClassReference ¶
func (c *Subnet) GetNonPortableClassReference() *corev1.ObjectReference
GetNonPortableClassReference of this Subnet.
func (*Subnet) GetReclaimPolicy ¶
func (c *Subnet) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this Subnet.
func (*Subnet) GetWriteConnectionSecretToReference ¶
func (c *Subnet) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
GetWriteConnectionSecretToReference of this Subnet.
func (*Subnet) SetBindingPhase ¶
func (c *Subnet) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this Subnet.
func (*Subnet) SetClaimReference ¶
func (c *Subnet) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this Subnet.
func (*Subnet) SetConditions ¶
func (c *Subnet) SetConditions(cd ...runtimev1alpha1.Condition)
SetConditions of this Subnet.
func (*Subnet) SetNonPortableClassReference ¶
func (c *Subnet) SetNonPortableClassReference(r *corev1.ObjectReference)
SetNonPortableClassReference of this Subnet.
func (*Subnet) SetReclaimPolicy ¶
func (c *Subnet) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this Subnet.
func (*Subnet) SetWriteConnectionSecretToReference ¶
func (c *Subnet) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
SetWriteConnectionSecretToReference of this Subnet.
type SubnetList ¶
type SubnetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Subnet `json:"items"` }
SubnetList contains a list of Subnet items
func (*SubnetList) DeepCopy ¶
func (in *SubnetList) DeepCopy() *SubnetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetList.
func (*SubnetList) DeepCopyInto ¶
func (in *SubnetList) DeepCopyInto(out *SubnetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubnetList) DeepCopyObject ¶
func (in *SubnetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubnetPropertiesFormat ¶
type SubnetPropertiesFormat struct { // AddressPrefix - The address prefix for the subnet. AddressPrefix string `json:"addressPrefix"` // ServiceEndpoints - An array of service endpoints. ServiceEndpoints []ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"` }
SubnetPropertiesFormat defines properties of a Subnet.
func (*SubnetPropertiesFormat) DeepCopy ¶
func (in *SubnetPropertiesFormat) DeepCopy() *SubnetPropertiesFormat
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetPropertiesFormat.
func (*SubnetPropertiesFormat) DeepCopyInto ¶
func (in *SubnetPropertiesFormat) DeepCopyInto(out *SubnetPropertiesFormat)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetSpec ¶
type SubnetSpec struct { runtimev1alpha1.ResourceSpec `json:",inline"` // Name - The name of the resource that is unique within a resource group. // This name can be used to access the resource. Name string `json:"name"` // VirtualNetworkName - Name of the Subnet's virtual network. VirtualNetworkName string `json:"virtualNetworkName"` // ResourceGroupName - Name of the Subnet's resource group. ResourceGroupName string `json:"resourceGroupName"` // SubnetPropertiesFormat - Properties of the subnet. SubnetPropertiesFormat `json:"properties"` }
A SubnetSpec defines the desired state of a Subnet.
func (*SubnetSpec) DeepCopy ¶
func (in *SubnetSpec) DeepCopy() *SubnetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec.
func (*SubnetSpec) DeepCopyInto ¶
func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetStatus ¶
type SubnetStatus struct { runtimev1alpha1.ResourceStatus `json:",inline"` // State of this Subnet. State string `json:"state,omitempty"` // A Message providing detail about the state of this Subnet, if any. Message string `json:"message,omitempty"` // Etag - A unique string that changes whenever the resource is updated. Etag string `json:"etag,omitempty"` // ID of this Subnet. ID string `json:"id,omitempty"` // Purpose - A string identifying the intention of use for this subnet based // on delegations and other user-defined properties. Purpose string `json:"purpose,omitempty"` }
A SubnetStatus represents the observed state of a Subnet.
func (*SubnetStatus) DeepCopy ¶
func (in *SubnetStatus) DeepCopy() *SubnetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetStatus.
func (*SubnetStatus) DeepCopyInto ¶
func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualNetwork ¶
type VirtualNetwork struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualNetworkSpec `json:"spec,omitempty"` Status VirtualNetworkStatus `json:"status,omitempty"` }
A VirtualNetwork is a managed resource that represents an Azure Virtual Network. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="LOCATION",type="string",JSONPath=".spec.location" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*VirtualNetwork) DeepCopy ¶
func (in *VirtualNetwork) DeepCopy() *VirtualNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetwork.
func (*VirtualNetwork) DeepCopyInto ¶
func (in *VirtualNetwork) DeepCopyInto(out *VirtualNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualNetwork) DeepCopyObject ¶
func (in *VirtualNetwork) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VirtualNetwork) GetBindingPhase ¶
func (c *VirtualNetwork) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this VirtualNetwork.
func (*VirtualNetwork) GetClaimReference ¶
func (c *VirtualNetwork) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this VirtualNetwork.
func (*VirtualNetwork) GetNonPortableClassReference ¶
func (c *VirtualNetwork) GetNonPortableClassReference() *corev1.ObjectReference
GetNonPortableClassReference of this VirtualNetwork.
func (*VirtualNetwork) GetReclaimPolicy ¶
func (c *VirtualNetwork) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this VirtualNetwork.
func (*VirtualNetwork) GetWriteConnectionSecretToReference ¶
func (c *VirtualNetwork) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
GetWriteConnectionSecretToReference of this VirtualNetwork.
func (*VirtualNetwork) SetBindingPhase ¶
func (c *VirtualNetwork) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this VirtualNetwork.
func (*VirtualNetwork) SetClaimReference ¶
func (c *VirtualNetwork) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this VirtualNetwork.
func (*VirtualNetwork) SetConditions ¶
func (c *VirtualNetwork) SetConditions(cd ...runtimev1alpha1.Condition)
SetConditions of this VirtualNetwork.
func (*VirtualNetwork) SetNonPortableClassReference ¶
func (c *VirtualNetwork) SetNonPortableClassReference(r *corev1.ObjectReference)
SetNonPortableClassReference of this VirtualNetwork.
func (*VirtualNetwork) SetReclaimPolicy ¶
func (c *VirtualNetwork) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this VirtualNetwork.
func (*VirtualNetwork) SetWriteConnectionSecretToReference ¶
func (c *VirtualNetwork) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
SetWriteConnectionSecretToReference of this VirtualNetwork.
type VirtualNetworkList ¶
type VirtualNetworkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualNetwork `json:"items"` }
VirtualNetworkList contains a list of VirtualNetwork items
func (*VirtualNetworkList) DeepCopy ¶
func (in *VirtualNetworkList) DeepCopy() *VirtualNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkList.
func (*VirtualNetworkList) DeepCopyInto ¶
func (in *VirtualNetworkList) DeepCopyInto(out *VirtualNetworkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualNetworkList) DeepCopyObject ¶
func (in *VirtualNetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualNetworkPropertiesFormat ¶
type VirtualNetworkPropertiesFormat struct { // AddressSpace - The AddressSpace that contains an array of IP address // ranges that can be used by subnets. // +optional AddressSpace AddressSpace `json:"addressSpace"` // EnableDDOSProtection - Indicates if DDoS protection is enabled for all // the protected resources in the virtual network. It requires a DDoS // protection plan associated with the resource. // +optional EnableDDOSProtection bool `json:"enableDdosProtection,omitempty"` // EnableVMProtection - Indicates if VM protection is enabled for all the // subnets in the virtual network. // +optional EnableVMProtection bool `json:"enableVmProtection,omitempty"` }
VirtualNetworkPropertiesFormat defines properties of a VirtualNetwork.
func (*VirtualNetworkPropertiesFormat) DeepCopy ¶
func (in *VirtualNetworkPropertiesFormat) DeepCopy() *VirtualNetworkPropertiesFormat
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPropertiesFormat.
func (*VirtualNetworkPropertiesFormat) DeepCopyInto ¶
func (in *VirtualNetworkPropertiesFormat) DeepCopyInto(out *VirtualNetworkPropertiesFormat)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualNetworkSpec ¶
type VirtualNetworkSpec struct { runtimev1alpha1.ResourceSpec `json:",inline"` // Name - Name of the Virtual Network. Name string `json:"name"` // ResourceGroupName - Name of the Virtual Network's resource group. ResourceGroupName string `json:"resourceGroupName"` // VirtualNetworkPropertiesFormat - Properties of the virtual network. VirtualNetworkPropertiesFormat `json:"properties"` // Location - Resource location. Location string `json:"location"` // Tags - Resource tags. // +optional Tags map[string]string `json:"tags,omitempty"` }
A VirtualNetworkSpec defines the desired state of a VirtualNetwork.
func (*VirtualNetworkSpec) DeepCopy ¶
func (in *VirtualNetworkSpec) DeepCopy() *VirtualNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSpec.
func (*VirtualNetworkSpec) DeepCopyInto ¶
func (in *VirtualNetworkSpec) DeepCopyInto(out *VirtualNetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualNetworkStatus ¶
type VirtualNetworkStatus struct { runtimev1alpha1.ResourceStatus `json:",inline"` // State of this VirtualNetwork. State string `json:"state,omitempty"` // A Message providing detail about the state of this VirtualNetwork, if // any. Message string `json:"message,omitempty"` // ID of this VirtualNetwork. ID string `json:"id,omitempty"` // Etag - A unique read-only string that changes whenever the resource is // updated. Etag string `json:"etag,omitempty"` // ResourceGUID - The GUID of this VirtualNetwork. ResourceGUID string `json:"resourceGuid,omitempty"` // Type of this VirtualNetwork. Type string `json:"type,omitempty"` }
A VirtualNetworkStatus represents the observed state of a VirtualNetwork.
func (*VirtualNetworkStatus) DeepCopy ¶
func (in *VirtualNetworkStatus) DeepCopy() *VirtualNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkStatus.
func (*VirtualNetworkStatus) DeepCopyInto ¶
func (in *VirtualNetworkStatus) DeepCopyInto(out *VirtualNetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.