v1api20241101

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package v1api20241101 contains API Schema definitions for the cache v1api20241101 API group +groupName=cache.azure.com

Package v1api20241101 contains API Schema definitions for the cache v1api20241101 API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=cache.azure.com +versionName=v1api20241101

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

View Source
const (
	AccessPolicyAssignmentProvisioningState_STATUS_Canceled  = AccessPolicyAssignmentProvisioningState_STATUS("Canceled")
	AccessPolicyAssignmentProvisioningState_STATUS_Deleted   = AccessPolicyAssignmentProvisioningState_STATUS("Deleted")
	AccessPolicyAssignmentProvisioningState_STATUS_Deleting  = AccessPolicyAssignmentProvisioningState_STATUS("Deleting")
	AccessPolicyAssignmentProvisioningState_STATUS_Failed    = AccessPolicyAssignmentProvisioningState_STATUS("Failed")
	AccessPolicyAssignmentProvisioningState_STATUS_Succeeded = AccessPolicyAssignmentProvisioningState_STATUS("Succeeded")
	AccessPolicyAssignmentProvisioningState_STATUS_Updating  = AccessPolicyAssignmentProvisioningState_STATUS("Updating")
)
View Source
const (
	AccessPolicyProvisioningState_STATUS_Canceled  = AccessPolicyProvisioningState_STATUS("Canceled")
	AccessPolicyProvisioningState_STATUS_Deleted   = AccessPolicyProvisioningState_STATUS("Deleted")
	AccessPolicyProvisioningState_STATUS_Deleting  = AccessPolicyProvisioningState_STATUS("Deleting")
	AccessPolicyProvisioningState_STATUS_Failed    = AccessPolicyProvisioningState_STATUS("Failed")
	AccessPolicyProvisioningState_STATUS_Succeeded = AccessPolicyProvisioningState_STATUS("Succeeded")
	AccessPolicyProvisioningState_STATUS_Updating  = AccessPolicyProvisioningState_STATUS("Updating")
)
View Source
const (
	AccessPolicyType_STATUS_BuiltIn = AccessPolicyType_STATUS("BuiltIn")
	AccessPolicyType_STATUS_Custom  = AccessPolicyType_STATUS("Custom")
)
View Source
const (
	ReplicationRole_Primary   = ReplicationRole("Primary")
	ReplicationRole_Secondary = ReplicationRole("Secondary")
)
View Source
const (
	ReplicationRole_STATUS_Primary   = ReplicationRole_STATUS("Primary")
	ReplicationRole_STATUS_Secondary = ReplicationRole_STATUS("Secondary")
)
View Source
const (
	DayOfWeek_Everyday  = DayOfWeek("Everyday")
	DayOfWeek_Friday    = DayOfWeek("Friday")
	DayOfWeek_Monday    = DayOfWeek("Monday")
	DayOfWeek_Saturday  = DayOfWeek("Saturday")
	DayOfWeek_Sunday    = DayOfWeek("Sunday")
	DayOfWeek_Thursday  = DayOfWeek("Thursday")
	DayOfWeek_Tuesday   = DayOfWeek("Tuesday")
	DayOfWeek_Wednesday = DayOfWeek("Wednesday")
	DayOfWeek_Weekend   = DayOfWeek("Weekend")
)
View Source
const (
	DayOfWeek_STATUS_Everyday  = DayOfWeek_STATUS("Everyday")
	DayOfWeek_STATUS_Friday    = DayOfWeek_STATUS("Friday")
	DayOfWeek_STATUS_Monday    = DayOfWeek_STATUS("Monday")
	DayOfWeek_STATUS_Saturday  = DayOfWeek_STATUS("Saturday")
	DayOfWeek_STATUS_Sunday    = DayOfWeek_STATUS("Sunday")
	DayOfWeek_STATUS_Thursday  = DayOfWeek_STATUS("Thursday")
	DayOfWeek_STATUS_Tuesday   = DayOfWeek_STATUS("Tuesday")
	DayOfWeek_STATUS_Wednesday = DayOfWeek_STATUS("Wednesday")
	DayOfWeek_STATUS_Weekend   = DayOfWeek_STATUS("Weekend")
)
View Source
const (
	ProvisioningState_STATUS_ConfiguringAAD         = ProvisioningState_STATUS("ConfiguringAAD")
	ProvisioningState_STATUS_Creating               = ProvisioningState_STATUS("Creating")
	ProvisioningState_STATUS_Deleting               = ProvisioningState_STATUS("Deleting")
	ProvisioningState_STATUS_Disabled               = ProvisioningState_STATUS("Disabled")
	ProvisioningState_STATUS_Failed                 = ProvisioningState_STATUS("Failed")
	ProvisioningState_STATUS_Linking                = ProvisioningState_STATUS("Linking")
	ProvisioningState_STATUS_Provisioning           = ProvisioningState_STATUS("Provisioning")
	ProvisioningState_STATUS_RecoveringScaleFailure = ProvisioningState_STATUS("RecoveringScaleFailure")
	ProvisioningState_STATUS_Scaling                = ProvisioningState_STATUS("Scaling")
	ProvisioningState_STATUS_Succeeded              = ProvisioningState_STATUS("Succeeded")
	ProvisioningState_STATUS_Unlinking              = ProvisioningState_STATUS("Unlinking")
	ProvisioningState_STATUS_Unprovisioning         = ProvisioningState_STATUS("Unprovisioning")
	ProvisioningState_STATUS_Updating               = ProvisioningState_STATUS("Updating")
)
View Source
const (
	PublicNetworkAccess_Disabled = PublicNetworkAccess("Disabled")
	PublicNetworkAccess_Enabled  = PublicNetworkAccess("Enabled")
)
View Source
const (
	PublicNetworkAccess_STATUS_Disabled = PublicNetworkAccess_STATUS("Disabled")
	PublicNetworkAccess_STATUS_Enabled  = PublicNetworkAccess_STATUS("Enabled")
)
View Source
const (
	TlsVersion_10 = TlsVersion("1.0")
	TlsVersion_11 = TlsVersion("1.1")
	TlsVersion_12 = TlsVersion("1.2")
)
View Source
const (
	TlsVersion_STATUS_10 = TlsVersion_STATUS("1.0")
	TlsVersion_STATUS_11 = TlsVersion_STATUS("1.1")
	TlsVersion_STATUS_12 = TlsVersion_STATUS("1.2")
)
View Source
const (
	UpdateChannel_Preview = UpdateChannel("Preview")
	UpdateChannel_Stable  = UpdateChannel("Stable")
)
View Source
const (
	UpdateChannel_STATUS_Preview = UpdateChannel_STATUS("Preview")
	UpdateChannel_STATUS_Stable  = UpdateChannel_STATUS("Stable")
)
View Source
const (
	ZonalAllocationPolicy_Automatic   = ZonalAllocationPolicy("Automatic")
	ZonalAllocationPolicy_NoZones     = ZonalAllocationPolicy("NoZones")
	ZonalAllocationPolicy_UserDefined = ZonalAllocationPolicy("UserDefined")
)
View Source
const (
	ZonalAllocationPolicy_STATUS_Automatic   = ZonalAllocationPolicy_STATUS("Automatic")
	ZonalAllocationPolicy_STATUS_NoZones     = ZonalAllocationPolicy_STATUS("NoZones")
	ZonalAllocationPolicy_STATUS_UserDefined = ZonalAllocationPolicy_STATUS("UserDefined")
)
View Source
const (
	ManagedServiceIdentityType_None                       = ManagedServiceIdentityType("None")
	ManagedServiceIdentityType_SystemAssigned             = ManagedServiceIdentityType("SystemAssigned")
	ManagedServiceIdentityType_SystemAssignedUserAssigned = ManagedServiceIdentityType("SystemAssigned, UserAssigned")
	ManagedServiceIdentityType_UserAssigned               = ManagedServiceIdentityType("UserAssigned")
)
View Source
const (
	ManagedServiceIdentityType_STATUS_None                       = ManagedServiceIdentityType_STATUS("None")
	ManagedServiceIdentityType_STATUS_SystemAssigned             = ManagedServiceIdentityType_STATUS("SystemAssigned")
	ManagedServiceIdentityType_STATUS_SystemAssignedUserAssigned = ManagedServiceIdentityType_STATUS("SystemAssigned, UserAssigned")
	ManagedServiceIdentityType_STATUS_UserAssigned               = ManagedServiceIdentityType_STATUS("UserAssigned")
)
View Source
const (
	SkuFamily_C = SkuFamily("C")
	SkuFamily_P = SkuFamily("P")
)
View Source
const (
	SkuFamily_STATUS_C = SkuFamily_STATUS("C")
	SkuFamily_STATUS_P = SkuFamily_STATUS("P")
)
View Source
const (
	SkuName_Basic    = SkuName("Basic")
	SkuName_Premium  = SkuName("Premium")
	SkuName_Standard = SkuName("Standard")
)
View Source
const (
	SkuName_STATUS_Basic    = SkuName_STATUS("Basic")
	SkuName_STATUS_Premium  = SkuName_STATUS("Premium")
	SkuName_STATUS_Standard = SkuName_STATUS("Standard")
)
View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const APIVersion_Value = APIVersion("2024-11-01")

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cache.azure.com", Version: "v1api20241101"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2024-11-01"}

type AccessPolicyAssignmentProvisioningState_STATUS

type AccessPolicyAssignmentProvisioningState_STATUS string

Provisioning state of an access policy assignment set

type AccessPolicyProvisioningState_STATUS

type AccessPolicyProvisioningState_STATUS string

Provisioning state of access policy

type AccessPolicyType_STATUS

type AccessPolicyType_STATUS string

Built-In or Custom access policy

type DayOfWeek

type DayOfWeek string

Day of the week when a cache can be patched. +kubebuilder:validation:Enum={"Everyday","Friday","Monday","Saturday","Sunday","Thursday","Tuesday","Wednesday","Weekend"}

type DayOfWeek_STATUS

type DayOfWeek_STATUS string

Day of the week when a cache can be patched.

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	// +kubebuilder:validation:Required
	// Type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
	Type                   *ManagedServiceIdentityType   `json:"type,omitempty"`
	UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}

Managed service identity (system assigned and/or user assigned identities)

func (*ManagedServiceIdentity) AssignProperties_From_ManagedServiceIdentity

func (identity *ManagedServiceIdentity) AssignProperties_From_ManagedServiceIdentity(source *storage.ManagedServiceIdentity) error

AssignProperties_From_ManagedServiceIdentity populates our ManagedServiceIdentity from the provided source ManagedServiceIdentity

func (*ManagedServiceIdentity) AssignProperties_To_ManagedServiceIdentity

func (identity *ManagedServiceIdentity) AssignProperties_To_ManagedServiceIdentity(destination *storage.ManagedServiceIdentity) error

AssignProperties_To_ManagedServiceIdentity populates the provided destination ManagedServiceIdentity from our ManagedServiceIdentity

func (*ManagedServiceIdentity) ConvertToARM

func (identity *ManagedServiceIdentity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ManagedServiceIdentity) DeepCopy

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

func (*ManagedServiceIdentity) DeepCopyInto

func (in *ManagedServiceIdentity) DeepCopyInto(out *ManagedServiceIdentity)

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

func (*ManagedServiceIdentity) Initialize_From_ManagedServiceIdentity_STATUS

func (identity *ManagedServiceIdentity) Initialize_From_ManagedServiceIdentity_STATUS(source *ManagedServiceIdentity_STATUS) error

Initialize_From_ManagedServiceIdentity_STATUS populates our ManagedServiceIdentity from the provided source ManagedServiceIdentity_STATUS

func (*ManagedServiceIdentity) NewEmptyARMValue

func (identity *ManagedServiceIdentity) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedServiceIdentity) PopulateFromARM

func (identity *ManagedServiceIdentity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ManagedServiceIdentityType

type ManagedServiceIdentityType string

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +kubebuilder:validation:Enum={"None","SystemAssigned","SystemAssigned, UserAssigned","UserAssigned"}

type ManagedServiceIdentityType_STATUS

type ManagedServiceIdentityType_STATUS string

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

type ManagedServiceIdentity_STATUS

type ManagedServiceIdentity_STATUS struct {
	// PrincipalId: The service principal ID of the system assigned identity. This property will only be provided for a system
	// assigned identity.
	PrincipalId *string `json:"principalId,omitempty"`

	// TenantId: The tenant ID of the system assigned identity. This property will only be provided for a system assigned
	// identity.
	TenantId *string `json:"tenantId,omitempty"`

	// Type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
	Type                   *ManagedServiceIdentityType_STATUS     `json:"type,omitempty"`
	UserAssignedIdentities map[string]UserAssignedIdentity_STATUS `json:"userAssignedIdentities,omitempty"`
}

Managed service identity (system assigned and/or user assigned identities)

func (*ManagedServiceIdentity_STATUS) AssignProperties_From_ManagedServiceIdentity_STATUS

func (identity *ManagedServiceIdentity_STATUS) AssignProperties_From_ManagedServiceIdentity_STATUS(source *storage.ManagedServiceIdentity_STATUS) error

AssignProperties_From_ManagedServiceIdentity_STATUS populates our ManagedServiceIdentity_STATUS from the provided source ManagedServiceIdentity_STATUS

func (*ManagedServiceIdentity_STATUS) AssignProperties_To_ManagedServiceIdentity_STATUS

func (identity *ManagedServiceIdentity_STATUS) AssignProperties_To_ManagedServiceIdentity_STATUS(destination *storage.ManagedServiceIdentity_STATUS) error

AssignProperties_To_ManagedServiceIdentity_STATUS populates the provided destination ManagedServiceIdentity_STATUS from our ManagedServiceIdentity_STATUS

func (*ManagedServiceIdentity_STATUS) DeepCopy

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

func (*ManagedServiceIdentity_STATUS) DeepCopyInto

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

func (*ManagedServiceIdentity_STATUS) NewEmptyARMValue

func (identity *ManagedServiceIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ManagedServiceIdentity_STATUS) PopulateFromARM

func (identity *ManagedServiceIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PrivateEndpointConnection_STATUS

type PrivateEndpointConnection_STATUS struct {
	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`
}

The private endpoint connection resource.

func (*PrivateEndpointConnection_STATUS) AssignProperties_From_PrivateEndpointConnection_STATUS

func (connection *PrivateEndpointConnection_STATUS) AssignProperties_From_PrivateEndpointConnection_STATUS(source *storage.PrivateEndpointConnection_STATUS) error

AssignProperties_From_PrivateEndpointConnection_STATUS populates our PrivateEndpointConnection_STATUS from the provided source PrivateEndpointConnection_STATUS

func (*PrivateEndpointConnection_STATUS) AssignProperties_To_PrivateEndpointConnection_STATUS

func (connection *PrivateEndpointConnection_STATUS) AssignProperties_To_PrivateEndpointConnection_STATUS(destination *storage.PrivateEndpointConnection_STATUS) error

AssignProperties_To_PrivateEndpointConnection_STATUS populates the provided destination PrivateEndpointConnection_STATUS from our PrivateEndpointConnection_STATUS

func (*PrivateEndpointConnection_STATUS) DeepCopy

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

func (*PrivateEndpointConnection_STATUS) DeepCopyInto

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

func (*PrivateEndpointConnection_STATUS) NewEmptyARMValue

func (connection *PrivateEndpointConnection_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PrivateEndpointConnection_STATUS) PopulateFromARM

func (connection *PrivateEndpointConnection_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ProvisioningState_STATUS

type ProvisioningState_STATUS string

Redis instance provisioning status.

type PublicNetworkAccess

type PublicNetworkAccess string

Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled' +kubebuilder:validation:Enum={"Disabled","Enabled"}

type PublicNetworkAccess_STATUS

type PublicNetworkAccess_STATUS string

Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'

type Redis

type Redis struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Redis_Spec   `json:"spec,omitempty"`
	Status            Redis_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,cache} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}

func (*Redis) AssignProperties_From_Redis

func (redis *Redis) AssignProperties_From_Redis(source *storage.Redis) error

AssignProperties_From_Redis populates our Redis from the provided source Redis

func (*Redis) AssignProperties_To_Redis

func (redis *Redis) AssignProperties_To_Redis(destination *storage.Redis) error

AssignProperties_To_Redis populates the provided destination Redis from our Redis

func (*Redis) AzureName

func (redis *Redis) AzureName() string

AzureName returns the Azure name of the resource

func (*Redis) ConfigMapDestinationExpressions

func (redis *Redis) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*Redis) ConvertFrom

func (redis *Redis) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our Redis from the provided hub Redis

func (*Redis) ConvertTo

func (redis *Redis) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub Redis from our Redis

func (*Redis) DeepCopy

func (in *Redis) DeepCopy() *Redis

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

func (*Redis) DeepCopyInto

func (in *Redis) DeepCopyInto(out *Redis)

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

func (*Redis) DeepCopyObject

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

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

func (Redis) GetAPIVersion

func (redis Redis) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2024-11-01"

func (*Redis) GetConditions

func (redis *Redis) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*Redis) GetResourceScope

func (redis *Redis) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*Redis) GetSpec

func (redis *Redis) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*Redis) GetStatus

func (redis *Redis) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*Redis) GetSupportedOperations

func (redis *Redis) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*Redis) GetType

func (redis *Redis) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Cache/redis"

func (*Redis) InitializeSpec

func (redis *Redis) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*Redis) NewEmptyStatus

func (redis *Redis) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*Redis) OriginalGVK

func (redis *Redis) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*Redis) Owner

func (redis *Redis) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Redis) SecretDestinationExpressions

func (redis *Redis) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*Redis) SetConditions

func (redis *Redis) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*Redis) SetStatus

func (redis *Redis) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RedisAccessPolicy

type RedisAccessPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisAccessPolicy_Spec   `json:"spec,omitempty"`
	Status            RedisAccessPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,cache} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}

func (*RedisAccessPolicy) AssignProperties_From_RedisAccessPolicy

func (policy *RedisAccessPolicy) AssignProperties_From_RedisAccessPolicy(source *storage.RedisAccessPolicy) error

AssignProperties_From_RedisAccessPolicy populates our RedisAccessPolicy from the provided source RedisAccessPolicy

func (*RedisAccessPolicy) AssignProperties_To_RedisAccessPolicy

func (policy *RedisAccessPolicy) AssignProperties_To_RedisAccessPolicy(destination *storage.RedisAccessPolicy) error

AssignProperties_To_RedisAccessPolicy populates the provided destination RedisAccessPolicy from our RedisAccessPolicy

func (*RedisAccessPolicy) AzureName

func (policy *RedisAccessPolicy) AzureName() string

AzureName returns the Azure name of the resource

func (*RedisAccessPolicy) ConfigMapDestinationExpressions

func (policy *RedisAccessPolicy) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*RedisAccessPolicy) ConvertFrom

func (policy *RedisAccessPolicy) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisAccessPolicy from the provided hub RedisAccessPolicy

func (*RedisAccessPolicy) ConvertTo

func (policy *RedisAccessPolicy) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisAccessPolicy from our RedisAccessPolicy

func (*RedisAccessPolicy) DeepCopy

func (in *RedisAccessPolicy) DeepCopy() *RedisAccessPolicy

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

func (*RedisAccessPolicy) DeepCopyInto

func (in *RedisAccessPolicy) DeepCopyInto(out *RedisAccessPolicy)

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

func (*RedisAccessPolicy) DeepCopyObject

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

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

func (RedisAccessPolicy) GetAPIVersion

func (policy RedisAccessPolicy) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2024-11-01"

func (*RedisAccessPolicy) GetConditions

func (policy *RedisAccessPolicy) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisAccessPolicy) GetResourceScope

func (policy *RedisAccessPolicy) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RedisAccessPolicy) GetSpec

func (policy *RedisAccessPolicy) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RedisAccessPolicy) GetStatus

func (policy *RedisAccessPolicy) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RedisAccessPolicy) GetSupportedOperations

func (policy *RedisAccessPolicy) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*RedisAccessPolicy) GetType

func (policy *RedisAccessPolicy) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Cache/redis/accessPolicies"

func (*RedisAccessPolicy) InitializeSpec

func (policy *RedisAccessPolicy) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*RedisAccessPolicy) NewEmptyStatus

func (policy *RedisAccessPolicy) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisAccessPolicy) OriginalGVK

func (policy *RedisAccessPolicy) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*RedisAccessPolicy) Owner

Owner returns the ResourceReference of the owner

func (*RedisAccessPolicy) SecretDestinationExpressions

func (policy *RedisAccessPolicy) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*RedisAccessPolicy) SetConditions

func (policy *RedisAccessPolicy) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisAccessPolicy) SetStatus

func (policy *RedisAccessPolicy) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RedisAccessPolicyAssignment

type RedisAccessPolicyAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisAccessPolicyAssignment_Spec   `json:"spec,omitempty"`
	Status            RedisAccessPolicyAssignment_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,cache} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}

func (*RedisAccessPolicyAssignment) AssignProperties_From_RedisAccessPolicyAssignment

func (assignment *RedisAccessPolicyAssignment) AssignProperties_From_RedisAccessPolicyAssignment(source *storage.RedisAccessPolicyAssignment) error

AssignProperties_From_RedisAccessPolicyAssignment populates our RedisAccessPolicyAssignment from the provided source RedisAccessPolicyAssignment

func (*RedisAccessPolicyAssignment) AssignProperties_To_RedisAccessPolicyAssignment

func (assignment *RedisAccessPolicyAssignment) AssignProperties_To_RedisAccessPolicyAssignment(destination *storage.RedisAccessPolicyAssignment) error

AssignProperties_To_RedisAccessPolicyAssignment populates the provided destination RedisAccessPolicyAssignment from our RedisAccessPolicyAssignment

func (*RedisAccessPolicyAssignment) AzureName

func (assignment *RedisAccessPolicyAssignment) AzureName() string

AzureName returns the Azure name of the resource

func (*RedisAccessPolicyAssignment) ConfigMapDestinationExpressions

func (assignment *RedisAccessPolicyAssignment) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*RedisAccessPolicyAssignment) ConvertFrom

func (assignment *RedisAccessPolicyAssignment) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisAccessPolicyAssignment from the provided hub RedisAccessPolicyAssignment

func (*RedisAccessPolicyAssignment) ConvertTo

func (assignment *RedisAccessPolicyAssignment) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisAccessPolicyAssignment from our RedisAccessPolicyAssignment

func (*RedisAccessPolicyAssignment) DeepCopy

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

func (*RedisAccessPolicyAssignment) DeepCopyInto

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

func (*RedisAccessPolicyAssignment) DeepCopyObject

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

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

func (RedisAccessPolicyAssignment) GetAPIVersion

func (assignment RedisAccessPolicyAssignment) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2024-11-01"

func (*RedisAccessPolicyAssignment) GetConditions

func (assignment *RedisAccessPolicyAssignment) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisAccessPolicyAssignment) GetResourceScope

func (assignment *RedisAccessPolicyAssignment) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RedisAccessPolicyAssignment) GetSpec

GetSpec returns the specification of this resource

func (*RedisAccessPolicyAssignment) GetStatus

GetStatus returns the status of this resource

func (*RedisAccessPolicyAssignment) GetSupportedOperations

func (assignment *RedisAccessPolicyAssignment) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*RedisAccessPolicyAssignment) GetType

func (assignment *RedisAccessPolicyAssignment) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Cache/redis/accessPolicyAssignments"

func (*RedisAccessPolicyAssignment) InitializeSpec

func (assignment *RedisAccessPolicyAssignment) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*RedisAccessPolicyAssignment) NewEmptyStatus

func (assignment *RedisAccessPolicyAssignment) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisAccessPolicyAssignment) OriginalGVK

func (assignment *RedisAccessPolicyAssignment) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*RedisAccessPolicyAssignment) Owner

Owner returns the ResourceReference of the owner

func (*RedisAccessPolicyAssignment) SecretDestinationExpressions

func (assignment *RedisAccessPolicyAssignment) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*RedisAccessPolicyAssignment) SetConditions

func (assignment *RedisAccessPolicyAssignment) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisAccessPolicyAssignment) SetStatus

func (assignment *RedisAccessPolicyAssignment) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RedisAccessPolicyAssignmentList

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

+kubebuilder:object:root=true Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}

func (*RedisAccessPolicyAssignmentList) DeepCopy

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

func (*RedisAccessPolicyAssignmentList) DeepCopyInto

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

func (*RedisAccessPolicyAssignmentList) DeepCopyObject

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

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

type RedisAccessPolicyAssignmentOperatorSpec

type RedisAccessPolicyAssignmentOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*RedisAccessPolicyAssignmentOperatorSpec) AssignProperties_From_RedisAccessPolicyAssignmentOperatorSpec

func (operator *RedisAccessPolicyAssignmentOperatorSpec) AssignProperties_From_RedisAccessPolicyAssignmentOperatorSpec(source *storage.RedisAccessPolicyAssignmentOperatorSpec) error

AssignProperties_From_RedisAccessPolicyAssignmentOperatorSpec populates our RedisAccessPolicyAssignmentOperatorSpec from the provided source RedisAccessPolicyAssignmentOperatorSpec

func (*RedisAccessPolicyAssignmentOperatorSpec) AssignProperties_To_RedisAccessPolicyAssignmentOperatorSpec

func (operator *RedisAccessPolicyAssignmentOperatorSpec) AssignProperties_To_RedisAccessPolicyAssignmentOperatorSpec(destination *storage.RedisAccessPolicyAssignmentOperatorSpec) error

AssignProperties_To_RedisAccessPolicyAssignmentOperatorSpec populates the provided destination RedisAccessPolicyAssignmentOperatorSpec from our RedisAccessPolicyAssignmentOperatorSpec

func (*RedisAccessPolicyAssignmentOperatorSpec) DeepCopy

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

func (*RedisAccessPolicyAssignmentOperatorSpec) DeepCopyInto

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

type RedisAccessPolicyAssignment_STATUS

type RedisAccessPolicyAssignment_STATUS struct {
	// AccessPolicyName: The name of the access policy that is being assigned
	AccessPolicyName *string `json:"accessPolicyName,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// ObjectId: Object Id to assign access policy to
	ObjectId *string `json:"objectId,omitempty"`

	// ObjectIdAlias: User friendly name for object id. Also represents username for token based authentication
	ObjectIdAlias *string `json:"objectIdAlias,omitempty"`

	// ProvisioningState: Provisioning state of an access policy assignment set
	ProvisioningState *AccessPolicyAssignmentProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*RedisAccessPolicyAssignment_STATUS) AssignProperties_From_RedisAccessPolicyAssignment_STATUS

func (assignment *RedisAccessPolicyAssignment_STATUS) AssignProperties_From_RedisAccessPolicyAssignment_STATUS(source *storage.RedisAccessPolicyAssignment_STATUS) error

AssignProperties_From_RedisAccessPolicyAssignment_STATUS populates our RedisAccessPolicyAssignment_STATUS from the provided source RedisAccessPolicyAssignment_STATUS

func (*RedisAccessPolicyAssignment_STATUS) AssignProperties_To_RedisAccessPolicyAssignment_STATUS

func (assignment *RedisAccessPolicyAssignment_STATUS) AssignProperties_To_RedisAccessPolicyAssignment_STATUS(destination *storage.RedisAccessPolicyAssignment_STATUS) error

AssignProperties_To_RedisAccessPolicyAssignment_STATUS populates the provided destination RedisAccessPolicyAssignment_STATUS from our RedisAccessPolicyAssignment_STATUS

func (*RedisAccessPolicyAssignment_STATUS) ConvertStatusFrom

func (assignment *RedisAccessPolicyAssignment_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our RedisAccessPolicyAssignment_STATUS from the provided source

func (*RedisAccessPolicyAssignment_STATUS) ConvertStatusTo

func (assignment *RedisAccessPolicyAssignment_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our RedisAccessPolicyAssignment_STATUS

func (*RedisAccessPolicyAssignment_STATUS) DeepCopy

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

func (*RedisAccessPolicyAssignment_STATUS) DeepCopyInto

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

func (*RedisAccessPolicyAssignment_STATUS) NewEmptyARMValue

func (assignment *RedisAccessPolicyAssignment_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisAccessPolicyAssignment_STATUS) PopulateFromARM

func (assignment *RedisAccessPolicyAssignment_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisAccessPolicyAssignment_Spec

type RedisAccessPolicyAssignment_Spec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern="^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$"
	// AccessPolicyName: The name of the access policy that is being assigned
	AccessPolicyName *string `json:"accessPolicyName,omitempty"`

	// +kubebuilder:validation:MaxLength=63
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:Pattern="^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$"
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// ObjectId: Object Id to assign access policy to
	ObjectId *string `json:"objectId,omitempty" optionalConfigMapPair:"ObjectId"`

	// ObjectIdAlias: User friendly name for object id. Also represents username for token based authentication
	ObjectIdAlias *string `json:"objectIdAlias,omitempty" optionalConfigMapPair:"ObjectIdAlias"`

	// ObjectIdAliasFromConfig: User friendly name for object id. Also represents username for token based authentication
	ObjectIdAliasFromConfig *genruntime.ConfigMapReference `json:"objectIdAliasFromConfig,omitempty" optionalConfigMapPair:"ObjectIdAlias"`

	// ObjectIdFromConfig: Object Id to assign access policy to
	ObjectIdFromConfig *genruntime.ConfigMapReference `json:"objectIdFromConfig,omitempty" optionalConfigMapPair:"ObjectId"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *RedisAccessPolicyAssignmentOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a cache.azure.com/Redis resource
	Owner *genruntime.KnownResourceReference `group:"cache.azure.com" json:"owner,omitempty" kind:"Redis"`
}

func (*RedisAccessPolicyAssignment_Spec) AssignProperties_From_RedisAccessPolicyAssignment_Spec

func (assignment *RedisAccessPolicyAssignment_Spec) AssignProperties_From_RedisAccessPolicyAssignment_Spec(source *storage.RedisAccessPolicyAssignment_Spec) error

AssignProperties_From_RedisAccessPolicyAssignment_Spec populates our RedisAccessPolicyAssignment_Spec from the provided source RedisAccessPolicyAssignment_Spec

func (*RedisAccessPolicyAssignment_Spec) AssignProperties_To_RedisAccessPolicyAssignment_Spec

func (assignment *RedisAccessPolicyAssignment_Spec) AssignProperties_To_RedisAccessPolicyAssignment_Spec(destination *storage.RedisAccessPolicyAssignment_Spec) error

AssignProperties_To_RedisAccessPolicyAssignment_Spec populates the provided destination RedisAccessPolicyAssignment_Spec from our RedisAccessPolicyAssignment_Spec

func (*RedisAccessPolicyAssignment_Spec) ConvertSpecFrom

func (assignment *RedisAccessPolicyAssignment_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisAccessPolicyAssignment_Spec from the provided source

func (*RedisAccessPolicyAssignment_Spec) ConvertSpecTo

func (assignment *RedisAccessPolicyAssignment_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisAccessPolicyAssignment_Spec

func (*RedisAccessPolicyAssignment_Spec) ConvertToARM

func (assignment *RedisAccessPolicyAssignment_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisAccessPolicyAssignment_Spec) DeepCopy

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

func (*RedisAccessPolicyAssignment_Spec) DeepCopyInto

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

func (*RedisAccessPolicyAssignment_Spec) Initialize_From_RedisAccessPolicyAssignment_STATUS

func (assignment *RedisAccessPolicyAssignment_Spec) Initialize_From_RedisAccessPolicyAssignment_STATUS(source *RedisAccessPolicyAssignment_STATUS) error

Initialize_From_RedisAccessPolicyAssignment_STATUS populates our RedisAccessPolicyAssignment_Spec from the provided source RedisAccessPolicyAssignment_STATUS

func (*RedisAccessPolicyAssignment_Spec) NewEmptyARMValue

func (assignment *RedisAccessPolicyAssignment_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisAccessPolicyAssignment_Spec) OriginalVersion

func (assignment *RedisAccessPolicyAssignment_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*RedisAccessPolicyAssignment_Spec) PopulateFromARM

func (assignment *RedisAccessPolicyAssignment_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RedisAccessPolicyAssignment_Spec) SetAzureName

func (assignment *RedisAccessPolicyAssignment_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RedisAccessPolicyList

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

+kubebuilder:object:root=true Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}

func (*RedisAccessPolicyList) DeepCopy

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

func (*RedisAccessPolicyList) DeepCopyInto

func (in *RedisAccessPolicyList) DeepCopyInto(out *RedisAccessPolicyList)

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

func (*RedisAccessPolicyList) DeepCopyObject

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

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

type RedisAccessPolicyOperatorSpec

type RedisAccessPolicyOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*RedisAccessPolicyOperatorSpec) AssignProperties_From_RedisAccessPolicyOperatorSpec

func (operator *RedisAccessPolicyOperatorSpec) AssignProperties_From_RedisAccessPolicyOperatorSpec(source *storage.RedisAccessPolicyOperatorSpec) error

AssignProperties_From_RedisAccessPolicyOperatorSpec populates our RedisAccessPolicyOperatorSpec from the provided source RedisAccessPolicyOperatorSpec

func (*RedisAccessPolicyOperatorSpec) AssignProperties_To_RedisAccessPolicyOperatorSpec

func (operator *RedisAccessPolicyOperatorSpec) AssignProperties_To_RedisAccessPolicyOperatorSpec(destination *storage.RedisAccessPolicyOperatorSpec) error

AssignProperties_To_RedisAccessPolicyOperatorSpec populates the provided destination RedisAccessPolicyOperatorSpec from our RedisAccessPolicyOperatorSpec

func (*RedisAccessPolicyOperatorSpec) DeepCopy

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

func (*RedisAccessPolicyOperatorSpec) DeepCopyInto

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

type RedisAccessPolicy_STATUS

type RedisAccessPolicy_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Permissions: Permissions for the access policy. Learn how to configure permissions at
	// https://aka.ms/redis/AADPreRequisites
	Permissions *string `json:"permissions,omitempty"`

	// PropertiesType: Built-In or Custom access policy
	PropertiesType *AccessPolicyType_STATUS `json:"properties_type,omitempty"`

	// ProvisioningState: Provisioning state of access policy
	ProvisioningState *AccessPolicyProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*RedisAccessPolicy_STATUS) AssignProperties_From_RedisAccessPolicy_STATUS

func (policy *RedisAccessPolicy_STATUS) AssignProperties_From_RedisAccessPolicy_STATUS(source *storage.RedisAccessPolicy_STATUS) error

AssignProperties_From_RedisAccessPolicy_STATUS populates our RedisAccessPolicy_STATUS from the provided source RedisAccessPolicy_STATUS

func (*RedisAccessPolicy_STATUS) AssignProperties_To_RedisAccessPolicy_STATUS

func (policy *RedisAccessPolicy_STATUS) AssignProperties_To_RedisAccessPolicy_STATUS(destination *storage.RedisAccessPolicy_STATUS) error

AssignProperties_To_RedisAccessPolicy_STATUS populates the provided destination RedisAccessPolicy_STATUS from our RedisAccessPolicy_STATUS

func (*RedisAccessPolicy_STATUS) ConvertStatusFrom

func (policy *RedisAccessPolicy_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our RedisAccessPolicy_STATUS from the provided source

func (*RedisAccessPolicy_STATUS) ConvertStatusTo

func (policy *RedisAccessPolicy_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our RedisAccessPolicy_STATUS

func (*RedisAccessPolicy_STATUS) DeepCopy

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

func (*RedisAccessPolicy_STATUS) DeepCopyInto

func (in *RedisAccessPolicy_STATUS) DeepCopyInto(out *RedisAccessPolicy_STATUS)

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

func (*RedisAccessPolicy_STATUS) NewEmptyARMValue

func (policy *RedisAccessPolicy_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisAccessPolicy_STATUS) PopulateFromARM

func (policy *RedisAccessPolicy_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisAccessPolicy_Spec

type RedisAccessPolicy_Spec struct {
	// +kubebuilder:validation:MaxLength=63
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:Pattern="^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$"
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *RedisAccessPolicyOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a cache.azure.com/Redis resource
	Owner *genruntime.KnownResourceReference `group:"cache.azure.com" json:"owner,omitempty" kind:"Redis"`

	// +kubebuilder:validation:Required
	// Permissions: Permissions for the access policy. Learn how to configure permissions at
	// https://aka.ms/redis/AADPreRequisites
	Permissions *string `json:"permissions,omitempty"`
}

func (*RedisAccessPolicy_Spec) AssignProperties_From_RedisAccessPolicy_Spec

func (policy *RedisAccessPolicy_Spec) AssignProperties_From_RedisAccessPolicy_Spec(source *storage.RedisAccessPolicy_Spec) error

AssignProperties_From_RedisAccessPolicy_Spec populates our RedisAccessPolicy_Spec from the provided source RedisAccessPolicy_Spec

func (*RedisAccessPolicy_Spec) AssignProperties_To_RedisAccessPolicy_Spec

func (policy *RedisAccessPolicy_Spec) AssignProperties_To_RedisAccessPolicy_Spec(destination *storage.RedisAccessPolicy_Spec) error

AssignProperties_To_RedisAccessPolicy_Spec populates the provided destination RedisAccessPolicy_Spec from our RedisAccessPolicy_Spec

func (*RedisAccessPolicy_Spec) ConvertSpecFrom

func (policy *RedisAccessPolicy_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisAccessPolicy_Spec from the provided source

func (*RedisAccessPolicy_Spec) ConvertSpecTo

func (policy *RedisAccessPolicy_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisAccessPolicy_Spec

func (*RedisAccessPolicy_Spec) ConvertToARM

func (policy *RedisAccessPolicy_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisAccessPolicy_Spec) DeepCopy

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

func (*RedisAccessPolicy_Spec) DeepCopyInto

func (in *RedisAccessPolicy_Spec) DeepCopyInto(out *RedisAccessPolicy_Spec)

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

func (*RedisAccessPolicy_Spec) Initialize_From_RedisAccessPolicy_STATUS

func (policy *RedisAccessPolicy_Spec) Initialize_From_RedisAccessPolicy_STATUS(source *RedisAccessPolicy_STATUS) error

Initialize_From_RedisAccessPolicy_STATUS populates our RedisAccessPolicy_Spec from the provided source RedisAccessPolicy_STATUS

func (*RedisAccessPolicy_Spec) NewEmptyARMValue

func (policy *RedisAccessPolicy_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisAccessPolicy_Spec) OriginalVersion

func (policy *RedisAccessPolicy_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*RedisAccessPolicy_Spec) PopulateFromARM

func (policy *RedisAccessPolicy_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RedisAccessPolicy_Spec) SetAzureName

func (policy *RedisAccessPolicy_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RedisCommonPropertiesRedisConfiguration

type RedisCommonPropertiesRedisConfiguration struct {
	// AadEnabled: Specifies whether AAD based authentication has been enabled or disabled for the cache
	AadEnabled *string `json:"aad-enabled,omitempty"`

	// AofBackupEnabled: Specifies whether the aof backup is enabled
	AofBackupEnabled *string `json:"aof-backup-enabled,omitempty"`

	// AofStorageConnectionString0: First storage account connection string
	AofStorageConnectionString0 *string `json:"aof-storage-connection-string-0,omitempty"`

	// AofStorageConnectionString1: Second storage account connection string
	AofStorageConnectionString1 *string `json:"aof-storage-connection-string-1,omitempty"`

	// Authnotrequired: Specifies whether the authentication is disabled. Setting this property is highly discouraged from
	// security point of view; you should never disable authentication using this property!
	Authnotrequired *string `json:"authnotrequired,omitempty"`

	// MaxfragmentationmemoryReserved: Value in megabytes reserved for fragmentation per shard
	MaxfragmentationmemoryReserved *string `json:"maxfragmentationmemory-reserved,omitempty"`

	// MaxmemoryDelta: Value in megabytes reserved for non-cache usage per shard e.g. failover.
	MaxmemoryDelta *string `json:"maxmemory-delta,omitempty"`

	// MaxmemoryPolicy: The eviction strategy used when your data won't fit within its memory limit.
	MaxmemoryPolicy *string `json:"maxmemory-policy,omitempty"`

	// MaxmemoryReserved: Value in megabytes reserved for non-cache usage per shard e.g. failover.
	MaxmemoryReserved *string `json:"maxmemory-reserved,omitempty"`

	// NotifyKeyspaceEvents: The keyspace events which should be monitored.
	NotifyKeyspaceEvents *string `json:"notify-keyspace-events,omitempty"`

	// PreferredDataPersistenceAuthMethod: Preferred auth method to communicate to storage account used for data persistence,
	// specify SAS or ManagedIdentity, default value is SAS
	PreferredDataPersistenceAuthMethod *string `json:"preferred-data-persistence-auth-method,omitempty"`

	// RdbBackupEnabled: Specifies whether the RDB backup is enabled
	RdbBackupEnabled *string `json:"rdb-backup-enabled,omitempty"`

	// RdbBackupFrequency: Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720,
	// 1440)
	RdbBackupFrequency *string `json:"rdb-backup-frequency,omitempty"`

	// RdbBackupMaxSnapshotCount: Specifies the maximum number of snapshots for rdb backup
	RdbBackupMaxSnapshotCount *string `json:"rdb-backup-max-snapshot-count,omitempty"`

	// RdbStorageConnectionString: The storage account connection string for storing rdb file
	RdbStorageConnectionString *string `json:"rdb-storage-connection-string,omitempty"`

	// StorageSubscriptionId: SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
	StorageSubscriptionId *string `json:"storage-subscription-id,omitempty"`
}

All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.

func (*RedisCommonPropertiesRedisConfiguration) AssignProperties_From_RedisCommonPropertiesRedisConfiguration

func (configuration *RedisCommonPropertiesRedisConfiguration) AssignProperties_From_RedisCommonPropertiesRedisConfiguration(source *storage.RedisCommonPropertiesRedisConfiguration) error

AssignProperties_From_RedisCommonPropertiesRedisConfiguration populates our RedisCommonPropertiesRedisConfiguration from the provided source RedisCommonPropertiesRedisConfiguration

func (*RedisCommonPropertiesRedisConfiguration) AssignProperties_To_RedisCommonPropertiesRedisConfiguration

func (configuration *RedisCommonPropertiesRedisConfiguration) AssignProperties_To_RedisCommonPropertiesRedisConfiguration(destination *storage.RedisCommonPropertiesRedisConfiguration) error

AssignProperties_To_RedisCommonPropertiesRedisConfiguration populates the provided destination RedisCommonPropertiesRedisConfiguration from our RedisCommonPropertiesRedisConfiguration

func (*RedisCommonPropertiesRedisConfiguration) ConvertToARM

func (configuration *RedisCommonPropertiesRedisConfiguration) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisCommonPropertiesRedisConfiguration) DeepCopy

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

func (*RedisCommonPropertiesRedisConfiguration) DeepCopyInto

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

func (*RedisCommonPropertiesRedisConfiguration) Initialize_From_RedisCommonPropertiesRedisConfiguration_STATUS

func (configuration *RedisCommonPropertiesRedisConfiguration) Initialize_From_RedisCommonPropertiesRedisConfiguration_STATUS(source *RedisCommonPropertiesRedisConfiguration_STATUS) error

Initialize_From_RedisCommonPropertiesRedisConfiguration_STATUS populates our RedisCommonPropertiesRedisConfiguration from the provided source RedisCommonPropertiesRedisConfiguration_STATUS

func (*RedisCommonPropertiesRedisConfiguration) NewEmptyARMValue

func (configuration *RedisCommonPropertiesRedisConfiguration) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisCommonPropertiesRedisConfiguration) PopulateFromARM

func (configuration *RedisCommonPropertiesRedisConfiguration) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisCommonPropertiesRedisConfiguration_STATUS

type RedisCommonPropertiesRedisConfiguration_STATUS struct {
	// AadEnabled: Specifies whether AAD based authentication has been enabled or disabled for the cache
	AadEnabled *string `json:"aad-enabled,omitempty"`

	// AofBackupEnabled: Specifies whether the aof backup is enabled
	AofBackupEnabled *string `json:"aof-backup-enabled,omitempty"`

	// AofStorageConnectionString0: First storage account connection string
	AofStorageConnectionString0 *string `json:"aof-storage-connection-string-0,omitempty"`

	// AofStorageConnectionString1: Second storage account connection string
	AofStorageConnectionString1 *string `json:"aof-storage-connection-string-1,omitempty"`

	// Authnotrequired: Specifies whether the authentication is disabled. Setting this property is highly discouraged from
	// security point of view; you should never disable authentication using this property!
	Authnotrequired *string `json:"authnotrequired,omitempty"`

	// Maxclients: The max clients config
	Maxclients *string `json:"maxclients,omitempty"`

	// MaxfragmentationmemoryReserved: Value in megabytes reserved for fragmentation per shard
	MaxfragmentationmemoryReserved *string `json:"maxfragmentationmemory-reserved,omitempty"`

	// MaxmemoryDelta: Value in megabytes reserved for non-cache usage per shard e.g. failover.
	MaxmemoryDelta *string `json:"maxmemory-delta,omitempty"`

	// MaxmemoryPolicy: The eviction strategy used when your data won't fit within its memory limit.
	MaxmemoryPolicy *string `json:"maxmemory-policy,omitempty"`

	// MaxmemoryReserved: Value in megabytes reserved for non-cache usage per shard e.g. failover.
	MaxmemoryReserved *string `json:"maxmemory-reserved,omitempty"`

	// NotifyKeyspaceEvents: The keyspace events which should be monitored.
	NotifyKeyspaceEvents *string `json:"notify-keyspace-events,omitempty"`

	// PreferredDataArchiveAuthMethod: Preferred auth method to communicate to storage account used for data archive, specify
	// SAS or ManagedIdentity, default value is SAS
	PreferredDataArchiveAuthMethod *string `json:"preferred-data-archive-auth-method,omitempty"`

	// PreferredDataPersistenceAuthMethod: Preferred auth method to communicate to storage account used for data persistence,
	// specify SAS or ManagedIdentity, default value is SAS
	PreferredDataPersistenceAuthMethod *string `json:"preferred-data-persistence-auth-method,omitempty"`

	// RdbBackupEnabled: Specifies whether the RDB backup is enabled
	RdbBackupEnabled *string `json:"rdb-backup-enabled,omitempty"`

	// RdbBackupFrequency: Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720,
	// 1440)
	RdbBackupFrequency *string `json:"rdb-backup-frequency,omitempty"`

	// RdbBackupMaxSnapshotCount: Specifies the maximum number of snapshots for rdb backup
	RdbBackupMaxSnapshotCount *string `json:"rdb-backup-max-snapshot-count,omitempty"`

	// RdbStorageConnectionString: The storage account connection string for storing rdb file
	RdbStorageConnectionString *string `json:"rdb-storage-connection-string,omitempty"`

	// StorageSubscriptionId: SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
	StorageSubscriptionId *string `json:"storage-subscription-id,omitempty"`

	// ZonalConfiguration: Zonal Configuration
	ZonalConfiguration *string `json:"zonal-configuration,omitempty"`
}

All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.

func (*RedisCommonPropertiesRedisConfiguration_STATUS) AssignProperties_From_RedisCommonPropertiesRedisConfiguration_STATUS

func (configuration *RedisCommonPropertiesRedisConfiguration_STATUS) AssignProperties_From_RedisCommonPropertiesRedisConfiguration_STATUS(source *storage.RedisCommonPropertiesRedisConfiguration_STATUS) error

AssignProperties_From_RedisCommonPropertiesRedisConfiguration_STATUS populates our RedisCommonPropertiesRedisConfiguration_STATUS from the provided source RedisCommonPropertiesRedisConfiguration_STATUS

func (*RedisCommonPropertiesRedisConfiguration_STATUS) AssignProperties_To_RedisCommonPropertiesRedisConfiguration_STATUS

func (configuration *RedisCommonPropertiesRedisConfiguration_STATUS) AssignProperties_To_RedisCommonPropertiesRedisConfiguration_STATUS(destination *storage.RedisCommonPropertiesRedisConfiguration_STATUS) error

AssignProperties_To_RedisCommonPropertiesRedisConfiguration_STATUS populates the provided destination RedisCommonPropertiesRedisConfiguration_STATUS from our RedisCommonPropertiesRedisConfiguration_STATUS

func (*RedisCommonPropertiesRedisConfiguration_STATUS) DeepCopy

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

func (*RedisCommonPropertiesRedisConfiguration_STATUS) DeepCopyInto

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

func (*RedisCommonPropertiesRedisConfiguration_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisCommonPropertiesRedisConfiguration_STATUS) PopulateFromARM

func (configuration *RedisCommonPropertiesRedisConfiguration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisFirewallRule

type RedisFirewallRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisFirewallRule_Spec   `json:"spec,omitempty"`
	Status            RedisFirewallRule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,cache} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}

func (*RedisFirewallRule) AssignProperties_From_RedisFirewallRule

func (rule *RedisFirewallRule) AssignProperties_From_RedisFirewallRule(source *storage.RedisFirewallRule) error

AssignProperties_From_RedisFirewallRule populates our RedisFirewallRule from the provided source RedisFirewallRule

func (*RedisFirewallRule) AssignProperties_To_RedisFirewallRule

func (rule *RedisFirewallRule) AssignProperties_To_RedisFirewallRule(destination *storage.RedisFirewallRule) error

AssignProperties_To_RedisFirewallRule populates the provided destination RedisFirewallRule from our RedisFirewallRule

func (*RedisFirewallRule) AzureName

func (rule *RedisFirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*RedisFirewallRule) ConfigMapDestinationExpressions

func (rule *RedisFirewallRule) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*RedisFirewallRule) ConvertFrom

func (rule *RedisFirewallRule) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisFirewallRule from the provided hub RedisFirewallRule

func (*RedisFirewallRule) ConvertTo

func (rule *RedisFirewallRule) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisFirewallRule from our RedisFirewallRule

func (*RedisFirewallRule) DeepCopy

func (in *RedisFirewallRule) DeepCopy() *RedisFirewallRule

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

func (*RedisFirewallRule) DeepCopyInto

func (in *RedisFirewallRule) DeepCopyInto(out *RedisFirewallRule)

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

func (*RedisFirewallRule) DeepCopyObject

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

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

func (RedisFirewallRule) GetAPIVersion

func (rule RedisFirewallRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2024-11-01"

func (*RedisFirewallRule) GetConditions

func (rule *RedisFirewallRule) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisFirewallRule) GetResourceScope

func (rule *RedisFirewallRule) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RedisFirewallRule) GetSpec

GetSpec returns the specification of this resource

func (*RedisFirewallRule) GetStatus

GetStatus returns the status of this resource

func (*RedisFirewallRule) GetSupportedOperations

func (rule *RedisFirewallRule) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*RedisFirewallRule) GetType

func (rule *RedisFirewallRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Cache/redis/firewallRules"

func (*RedisFirewallRule) InitializeSpec

func (rule *RedisFirewallRule) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*RedisFirewallRule) NewEmptyStatus

func (rule *RedisFirewallRule) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisFirewallRule) OriginalGVK

func (rule *RedisFirewallRule) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*RedisFirewallRule) Owner

Owner returns the ResourceReference of the owner

func (*RedisFirewallRule) SecretDestinationExpressions

func (rule *RedisFirewallRule) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*RedisFirewallRule) SetConditions

func (rule *RedisFirewallRule) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisFirewallRule) SetStatus

func (rule *RedisFirewallRule) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RedisFirewallRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}

func (*RedisFirewallRuleList) DeepCopy

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

func (*RedisFirewallRuleList) DeepCopyInto

func (in *RedisFirewallRuleList) DeepCopyInto(out *RedisFirewallRuleList)

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

func (*RedisFirewallRuleList) DeepCopyObject

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

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

type RedisFirewallRuleOperatorSpec

type RedisFirewallRuleOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*RedisFirewallRuleOperatorSpec) AssignProperties_From_RedisFirewallRuleOperatorSpec

func (operator *RedisFirewallRuleOperatorSpec) AssignProperties_From_RedisFirewallRuleOperatorSpec(source *storage.RedisFirewallRuleOperatorSpec) error

AssignProperties_From_RedisFirewallRuleOperatorSpec populates our RedisFirewallRuleOperatorSpec from the provided source RedisFirewallRuleOperatorSpec

func (*RedisFirewallRuleOperatorSpec) AssignProperties_To_RedisFirewallRuleOperatorSpec

func (operator *RedisFirewallRuleOperatorSpec) AssignProperties_To_RedisFirewallRuleOperatorSpec(destination *storage.RedisFirewallRuleOperatorSpec) error

AssignProperties_To_RedisFirewallRuleOperatorSpec populates the provided destination RedisFirewallRuleOperatorSpec from our RedisFirewallRuleOperatorSpec

func (*RedisFirewallRuleOperatorSpec) DeepCopy

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

func (*RedisFirewallRuleOperatorSpec) DeepCopyInto

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

type RedisFirewallRule_STATUS

type RedisFirewallRule_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// EndIP: highest IP address included in the range
	EndIP *string `json:"endIP,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// StartIP: lowest IP address included in the range
	StartIP *string `json:"startIP,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*RedisFirewallRule_STATUS) AssignProperties_From_RedisFirewallRule_STATUS

func (rule *RedisFirewallRule_STATUS) AssignProperties_From_RedisFirewallRule_STATUS(source *storage.RedisFirewallRule_STATUS) error

AssignProperties_From_RedisFirewallRule_STATUS populates our RedisFirewallRule_STATUS from the provided source RedisFirewallRule_STATUS

func (*RedisFirewallRule_STATUS) AssignProperties_To_RedisFirewallRule_STATUS

func (rule *RedisFirewallRule_STATUS) AssignProperties_To_RedisFirewallRule_STATUS(destination *storage.RedisFirewallRule_STATUS) error

AssignProperties_To_RedisFirewallRule_STATUS populates the provided destination RedisFirewallRule_STATUS from our RedisFirewallRule_STATUS

func (*RedisFirewallRule_STATUS) ConvertStatusFrom

func (rule *RedisFirewallRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our RedisFirewallRule_STATUS from the provided source

func (*RedisFirewallRule_STATUS) ConvertStatusTo

func (rule *RedisFirewallRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our RedisFirewallRule_STATUS

func (*RedisFirewallRule_STATUS) DeepCopy

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

func (*RedisFirewallRule_STATUS) DeepCopyInto

func (in *RedisFirewallRule_STATUS) DeepCopyInto(out *RedisFirewallRule_STATUS)

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

func (*RedisFirewallRule_STATUS) NewEmptyARMValue

func (rule *RedisFirewallRule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisFirewallRule_STATUS) PopulateFromARM

func (rule *RedisFirewallRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisFirewallRule_Spec

type RedisFirewallRule_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// +kubebuilder:validation:Required
	// EndIP: highest IP address included in the range
	EndIP *string `json:"endIP,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *RedisFirewallRuleOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a cache.azure.com/Redis resource
	Owner *genruntime.KnownResourceReference `group:"cache.azure.com" json:"owner,omitempty" kind:"Redis"`

	// +kubebuilder:validation:Required
	// StartIP: lowest IP address included in the range
	StartIP *string `json:"startIP,omitempty"`
}

func (*RedisFirewallRule_Spec) AssignProperties_From_RedisFirewallRule_Spec

func (rule *RedisFirewallRule_Spec) AssignProperties_From_RedisFirewallRule_Spec(source *storage.RedisFirewallRule_Spec) error

AssignProperties_From_RedisFirewallRule_Spec populates our RedisFirewallRule_Spec from the provided source RedisFirewallRule_Spec

func (*RedisFirewallRule_Spec) AssignProperties_To_RedisFirewallRule_Spec

func (rule *RedisFirewallRule_Spec) AssignProperties_To_RedisFirewallRule_Spec(destination *storage.RedisFirewallRule_Spec) error

AssignProperties_To_RedisFirewallRule_Spec populates the provided destination RedisFirewallRule_Spec from our RedisFirewallRule_Spec

func (*RedisFirewallRule_Spec) ConvertSpecFrom

func (rule *RedisFirewallRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisFirewallRule_Spec from the provided source

func (*RedisFirewallRule_Spec) ConvertSpecTo

func (rule *RedisFirewallRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisFirewallRule_Spec

func (*RedisFirewallRule_Spec) ConvertToARM

func (rule *RedisFirewallRule_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisFirewallRule_Spec) DeepCopy

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

func (*RedisFirewallRule_Spec) DeepCopyInto

func (in *RedisFirewallRule_Spec) DeepCopyInto(out *RedisFirewallRule_Spec)

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

func (*RedisFirewallRule_Spec) Initialize_From_RedisFirewallRule_STATUS

func (rule *RedisFirewallRule_Spec) Initialize_From_RedisFirewallRule_STATUS(source *RedisFirewallRule_STATUS) error

Initialize_From_RedisFirewallRule_STATUS populates our RedisFirewallRule_Spec from the provided source RedisFirewallRule_STATUS

func (*RedisFirewallRule_Spec) NewEmptyARMValue

func (rule *RedisFirewallRule_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisFirewallRule_Spec) OriginalVersion

func (rule *RedisFirewallRule_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*RedisFirewallRule_Spec) PopulateFromARM

func (rule *RedisFirewallRule_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RedisFirewallRule_Spec) SetAzureName

func (rule *RedisFirewallRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RedisInstanceDetails_STATUS

type RedisInstanceDetails_STATUS struct {
	// IsMaster: Specifies whether the instance is a primary node.
	IsMaster *bool `json:"isMaster,omitempty"`

	// IsPrimary: Specifies whether the instance is a primary node.
	IsPrimary *bool `json:"isPrimary,omitempty"`

	// NonSslPort: If enableNonSslPort is true, provides Redis instance Non-SSL port.
	NonSslPort *int `json:"nonSslPort,omitempty"`

	// ShardId: If clustering is enabled, the Shard ID of Redis Instance
	ShardId *int `json:"shardId,omitempty"`

	// SslPort: Redis instance SSL port.
	SslPort *int `json:"sslPort,omitempty"`

	// Zone: If the Cache uses availability zones, specifies availability zone where this instance is located.
	Zone *string `json:"zone,omitempty"`
}

Details of single instance of redis.

func (*RedisInstanceDetails_STATUS) AssignProperties_From_RedisInstanceDetails_STATUS

func (details *RedisInstanceDetails_STATUS) AssignProperties_From_RedisInstanceDetails_STATUS(source *storage.RedisInstanceDetails_STATUS) error

AssignProperties_From_RedisInstanceDetails_STATUS populates our RedisInstanceDetails_STATUS from the provided source RedisInstanceDetails_STATUS

func (*RedisInstanceDetails_STATUS) AssignProperties_To_RedisInstanceDetails_STATUS

func (details *RedisInstanceDetails_STATUS) AssignProperties_To_RedisInstanceDetails_STATUS(destination *storage.RedisInstanceDetails_STATUS) error

AssignProperties_To_RedisInstanceDetails_STATUS populates the provided destination RedisInstanceDetails_STATUS from our RedisInstanceDetails_STATUS

func (*RedisInstanceDetails_STATUS) DeepCopy

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

func (*RedisInstanceDetails_STATUS) DeepCopyInto

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

func (*RedisInstanceDetails_STATUS) NewEmptyARMValue

func (details *RedisInstanceDetails_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisInstanceDetails_STATUS) PopulateFromARM

func (details *RedisInstanceDetails_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisLinkedServer

type RedisLinkedServer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisLinkedServer_Spec    `json:"spec,omitempty"`
	Status            Redis_LinkedServer_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,cache} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}

func (*RedisLinkedServer) AssignProperties_From_RedisLinkedServer

func (server *RedisLinkedServer) AssignProperties_From_RedisLinkedServer(source *storage.RedisLinkedServer) error

AssignProperties_From_RedisLinkedServer populates our RedisLinkedServer from the provided source RedisLinkedServer

func (*RedisLinkedServer) AssignProperties_To_RedisLinkedServer

func (server *RedisLinkedServer) AssignProperties_To_RedisLinkedServer(destination *storage.RedisLinkedServer) error

AssignProperties_To_RedisLinkedServer populates the provided destination RedisLinkedServer from our RedisLinkedServer

func (*RedisLinkedServer) AzureName

func (server *RedisLinkedServer) AzureName() string

AzureName returns the Azure name of the resource

func (*RedisLinkedServer) ConfigMapDestinationExpressions

func (server *RedisLinkedServer) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*RedisLinkedServer) ConvertFrom

func (server *RedisLinkedServer) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisLinkedServer from the provided hub RedisLinkedServer

func (*RedisLinkedServer) ConvertTo

func (server *RedisLinkedServer) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisLinkedServer from our RedisLinkedServer

func (*RedisLinkedServer) DeepCopy

func (in *RedisLinkedServer) DeepCopy() *RedisLinkedServer

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

func (*RedisLinkedServer) DeepCopyInto

func (in *RedisLinkedServer) DeepCopyInto(out *RedisLinkedServer)

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

func (*RedisLinkedServer) DeepCopyObject

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

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

func (RedisLinkedServer) GetAPIVersion

func (server RedisLinkedServer) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2024-11-01"

func (*RedisLinkedServer) GetConditions

func (server *RedisLinkedServer) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisLinkedServer) GetResourceScope

func (server *RedisLinkedServer) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RedisLinkedServer) GetSpec

func (server *RedisLinkedServer) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RedisLinkedServer) GetStatus

func (server *RedisLinkedServer) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RedisLinkedServer) GetSupportedOperations

func (server *RedisLinkedServer) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*RedisLinkedServer) GetType

func (server *RedisLinkedServer) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Cache/redis/linkedServers"

func (*RedisLinkedServer) InitializeSpec

func (server *RedisLinkedServer) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*RedisLinkedServer) NewEmptyStatus

func (server *RedisLinkedServer) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisLinkedServer) OriginalGVK

func (server *RedisLinkedServer) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*RedisLinkedServer) Owner

Owner returns the ResourceReference of the owner

func (*RedisLinkedServer) SecretDestinationExpressions

func (server *RedisLinkedServer) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*RedisLinkedServer) SetConditions

func (server *RedisLinkedServer) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisLinkedServer) SetStatus

func (server *RedisLinkedServer) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RedisLinkedServerList

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

+kubebuilder:object:root=true Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}

func (*RedisLinkedServerList) DeepCopy

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

func (*RedisLinkedServerList) DeepCopyInto

func (in *RedisLinkedServerList) DeepCopyInto(out *RedisLinkedServerList)

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

func (*RedisLinkedServerList) DeepCopyObject

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

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

type RedisLinkedServerOperatorSpec

type RedisLinkedServerOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*RedisLinkedServerOperatorSpec) AssignProperties_From_RedisLinkedServerOperatorSpec

func (operator *RedisLinkedServerOperatorSpec) AssignProperties_From_RedisLinkedServerOperatorSpec(source *storage.RedisLinkedServerOperatorSpec) error

AssignProperties_From_RedisLinkedServerOperatorSpec populates our RedisLinkedServerOperatorSpec from the provided source RedisLinkedServerOperatorSpec

func (*RedisLinkedServerOperatorSpec) AssignProperties_To_RedisLinkedServerOperatorSpec

func (operator *RedisLinkedServerOperatorSpec) AssignProperties_To_RedisLinkedServerOperatorSpec(destination *storage.RedisLinkedServerOperatorSpec) error

AssignProperties_To_RedisLinkedServerOperatorSpec populates the provided destination RedisLinkedServerOperatorSpec from our RedisLinkedServerOperatorSpec

func (*RedisLinkedServerOperatorSpec) DeepCopy

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

func (*RedisLinkedServerOperatorSpec) DeepCopyInto

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

type RedisLinkedServer_STATUS

type RedisLinkedServer_STATUS struct {
	// Id: Linked server Id.
	Id *string `json:"id,omitempty"`
}

Linked server Id

func (*RedisLinkedServer_STATUS) AssignProperties_From_RedisLinkedServer_STATUS

func (server *RedisLinkedServer_STATUS) AssignProperties_From_RedisLinkedServer_STATUS(source *storage.RedisLinkedServer_STATUS) error

AssignProperties_From_RedisLinkedServer_STATUS populates our RedisLinkedServer_STATUS from the provided source RedisLinkedServer_STATUS

func (*RedisLinkedServer_STATUS) AssignProperties_To_RedisLinkedServer_STATUS

func (server *RedisLinkedServer_STATUS) AssignProperties_To_RedisLinkedServer_STATUS(destination *storage.RedisLinkedServer_STATUS) error

AssignProperties_To_RedisLinkedServer_STATUS populates the provided destination RedisLinkedServer_STATUS from our RedisLinkedServer_STATUS

func (*RedisLinkedServer_STATUS) DeepCopy

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

func (*RedisLinkedServer_STATUS) DeepCopyInto

func (in *RedisLinkedServer_STATUS) DeepCopyInto(out *RedisLinkedServer_STATUS)

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

func (*RedisLinkedServer_STATUS) NewEmptyARMValue

func (server *RedisLinkedServer_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisLinkedServer_STATUS) PopulateFromARM

func (server *RedisLinkedServer_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisLinkedServer_Spec

type RedisLinkedServer_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// +kubebuilder:validation:Required
	// LinkedRedisCacheLocation: Location of the linked redis cache.
	LinkedRedisCacheLocation *string `json:"linkedRedisCacheLocation,omitempty"`

	// +kubebuilder:validation:Required
	// LinkedRedisCacheReference: Fully qualified resourceId of the linked redis cache.
	LinkedRedisCacheReference *genruntime.ResourceReference `armReference:"LinkedRedisCacheId" json:"linkedRedisCacheReference,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *RedisLinkedServerOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a cache.azure.com/Redis resource
	Owner *genruntime.KnownResourceReference `group:"cache.azure.com" json:"owner,omitempty" kind:"Redis"`

	// +kubebuilder:validation:Required
	// ServerRole: Role of the linked server.
	ServerRole *ReplicationRole `json:"serverRole,omitempty"`
}

func (*RedisLinkedServer_Spec) AssignProperties_From_RedisLinkedServer_Spec

func (server *RedisLinkedServer_Spec) AssignProperties_From_RedisLinkedServer_Spec(source *storage.RedisLinkedServer_Spec) error

AssignProperties_From_RedisLinkedServer_Spec populates our RedisLinkedServer_Spec from the provided source RedisLinkedServer_Spec

func (*RedisLinkedServer_Spec) AssignProperties_To_RedisLinkedServer_Spec

func (server *RedisLinkedServer_Spec) AssignProperties_To_RedisLinkedServer_Spec(destination *storage.RedisLinkedServer_Spec) error

AssignProperties_To_RedisLinkedServer_Spec populates the provided destination RedisLinkedServer_Spec from our RedisLinkedServer_Spec

func (*RedisLinkedServer_Spec) ConvertSpecFrom

func (server *RedisLinkedServer_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisLinkedServer_Spec from the provided source

func (*RedisLinkedServer_Spec) ConvertSpecTo

func (server *RedisLinkedServer_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisLinkedServer_Spec

func (*RedisLinkedServer_Spec) ConvertToARM

func (server *RedisLinkedServer_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisLinkedServer_Spec) DeepCopy

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

func (*RedisLinkedServer_Spec) DeepCopyInto

func (in *RedisLinkedServer_Spec) DeepCopyInto(out *RedisLinkedServer_Spec)

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

func (*RedisLinkedServer_Spec) Initialize_From_Redis_LinkedServer_STATUS

func (server *RedisLinkedServer_Spec) Initialize_From_Redis_LinkedServer_STATUS(source *Redis_LinkedServer_STATUS) error

Initialize_From_Redis_LinkedServer_STATUS populates our RedisLinkedServer_Spec from the provided source Redis_LinkedServer_STATUS

func (*RedisLinkedServer_Spec) NewEmptyARMValue

func (server *RedisLinkedServer_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisLinkedServer_Spec) OriginalVersion

func (server *RedisLinkedServer_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*RedisLinkedServer_Spec) PopulateFromARM

func (server *RedisLinkedServer_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RedisLinkedServer_Spec) SetAzureName

func (server *RedisLinkedServer_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RedisList

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

+kubebuilder:object:root=true Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}

func (*RedisList) DeepCopy

func (in *RedisList) DeepCopy() *RedisList

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

func (*RedisList) DeepCopyInto

func (in *RedisList) DeepCopyInto(out *RedisList)

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

func (*RedisList) DeepCopyObject

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

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

type RedisOperatorSecrets

type RedisOperatorSecrets struct {
	// HostName: indicates where the HostName secret should be placed. If omitted, the secret will not be retrieved from Azure.
	HostName *genruntime.SecretDestination `json:"hostName,omitempty"`

	// Port: indicates where the Port secret should be placed. If omitted, the secret will not be retrieved from Azure.
	Port *genruntime.SecretDestination `json:"port,omitempty"`

	// PrimaryKey: indicates where the PrimaryKey secret should be placed. If omitted, the secret will not be retrieved from
	// Azure.
	PrimaryKey *genruntime.SecretDestination `json:"primaryKey,omitempty"`

	// SSLPort: indicates where the SSLPort secret should be placed. If omitted, the secret will not be retrieved from Azure.
	SSLPort *genruntime.SecretDestination `json:"sslPort,omitempty"`

	// SecondaryKey: indicates where the SecondaryKey secret should be placed. If omitted, the secret will not be retrieved
	// from Azure.
	SecondaryKey *genruntime.SecretDestination `json:"secondaryKey,omitempty"`
}

func (*RedisOperatorSecrets) AssignProperties_From_RedisOperatorSecrets

func (secrets *RedisOperatorSecrets) AssignProperties_From_RedisOperatorSecrets(source *storage.RedisOperatorSecrets) error

AssignProperties_From_RedisOperatorSecrets populates our RedisOperatorSecrets from the provided source RedisOperatorSecrets

func (*RedisOperatorSecrets) AssignProperties_To_RedisOperatorSecrets

func (secrets *RedisOperatorSecrets) AssignProperties_To_RedisOperatorSecrets(destination *storage.RedisOperatorSecrets) error

AssignProperties_To_RedisOperatorSecrets populates the provided destination RedisOperatorSecrets from our RedisOperatorSecrets

func (*RedisOperatorSecrets) DeepCopy

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

func (*RedisOperatorSecrets) DeepCopyInto

func (in *RedisOperatorSecrets) DeepCopyInto(out *RedisOperatorSecrets)

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

type RedisOperatorSpec

type RedisOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`

	// Secrets: configures where to place Azure generated secrets.
	Secrets *RedisOperatorSecrets `json:"secrets,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*RedisOperatorSpec) AssignProperties_From_RedisOperatorSpec

func (operator *RedisOperatorSpec) AssignProperties_From_RedisOperatorSpec(source *storage.RedisOperatorSpec) error

AssignProperties_From_RedisOperatorSpec populates our RedisOperatorSpec from the provided source RedisOperatorSpec

func (*RedisOperatorSpec) AssignProperties_To_RedisOperatorSpec

func (operator *RedisOperatorSpec) AssignProperties_To_RedisOperatorSpec(destination *storage.RedisOperatorSpec) error

AssignProperties_To_RedisOperatorSpec populates the provided destination RedisOperatorSpec from our RedisOperatorSpec

func (*RedisOperatorSpec) DeepCopy

func (in *RedisOperatorSpec) DeepCopy() *RedisOperatorSpec

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

func (*RedisOperatorSpec) DeepCopyInto

func (in *RedisOperatorSpec) DeepCopyInto(out *RedisOperatorSpec)

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

type RedisPatchSchedule

type RedisPatchSchedule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisPatchSchedule_Spec   `json:"spec,omitempty"`
	Status            RedisPatchSchedule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,cache} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/default

func (*RedisPatchSchedule) AssignProperties_From_RedisPatchSchedule

func (schedule *RedisPatchSchedule) AssignProperties_From_RedisPatchSchedule(source *storage.RedisPatchSchedule) error

AssignProperties_From_RedisPatchSchedule populates our RedisPatchSchedule from the provided source RedisPatchSchedule

func (*RedisPatchSchedule) AssignProperties_To_RedisPatchSchedule

func (schedule *RedisPatchSchedule) AssignProperties_To_RedisPatchSchedule(destination *storage.RedisPatchSchedule) error

AssignProperties_To_RedisPatchSchedule populates the provided destination RedisPatchSchedule from our RedisPatchSchedule

func (*RedisPatchSchedule) AzureName

func (schedule *RedisPatchSchedule) AzureName() string

AzureName returns the Azure name of the resource (always "default")

func (*RedisPatchSchedule) ConfigMapDestinationExpressions

func (schedule *RedisPatchSchedule) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*RedisPatchSchedule) ConvertFrom

func (schedule *RedisPatchSchedule) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisPatchSchedule from the provided hub RedisPatchSchedule

func (*RedisPatchSchedule) ConvertTo

func (schedule *RedisPatchSchedule) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisPatchSchedule from our RedisPatchSchedule

func (*RedisPatchSchedule) DeepCopy

func (in *RedisPatchSchedule) DeepCopy() *RedisPatchSchedule

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

func (*RedisPatchSchedule) DeepCopyInto

func (in *RedisPatchSchedule) DeepCopyInto(out *RedisPatchSchedule)

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

func (*RedisPatchSchedule) DeepCopyObject

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

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

func (RedisPatchSchedule) GetAPIVersion

func (schedule RedisPatchSchedule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2024-11-01"

func (*RedisPatchSchedule) GetConditions

func (schedule *RedisPatchSchedule) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisPatchSchedule) GetResourceScope

func (schedule *RedisPatchSchedule) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*RedisPatchSchedule) GetSpec

func (schedule *RedisPatchSchedule) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RedisPatchSchedule) GetStatus

func (schedule *RedisPatchSchedule) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RedisPatchSchedule) GetSupportedOperations

func (schedule *RedisPatchSchedule) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*RedisPatchSchedule) GetType

func (schedule *RedisPatchSchedule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Cache/redis/patchSchedules"

func (*RedisPatchSchedule) InitializeSpec

func (schedule *RedisPatchSchedule) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*RedisPatchSchedule) NewEmptyStatus

func (schedule *RedisPatchSchedule) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisPatchSchedule) OriginalGVK

func (schedule *RedisPatchSchedule) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*RedisPatchSchedule) Owner

func (schedule *RedisPatchSchedule) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*RedisPatchSchedule) SecretDestinationExpressions

func (schedule *RedisPatchSchedule) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*RedisPatchSchedule) SetConditions

func (schedule *RedisPatchSchedule) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisPatchSchedule) SetStatus

func (schedule *RedisPatchSchedule) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type RedisPatchScheduleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /redis/resource-manager/Microsoft.Cache/Redis/stable/2024-11-01/redis.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/default

func (*RedisPatchScheduleList) DeepCopy

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

func (*RedisPatchScheduleList) DeepCopyInto

func (in *RedisPatchScheduleList) DeepCopyInto(out *RedisPatchScheduleList)

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

func (*RedisPatchScheduleList) DeepCopyObject

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

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

type RedisPatchScheduleOperatorSpec

type RedisPatchScheduleOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*RedisPatchScheduleOperatorSpec) AssignProperties_From_RedisPatchScheduleOperatorSpec

func (operator *RedisPatchScheduleOperatorSpec) AssignProperties_From_RedisPatchScheduleOperatorSpec(source *storage.RedisPatchScheduleOperatorSpec) error

AssignProperties_From_RedisPatchScheduleOperatorSpec populates our RedisPatchScheduleOperatorSpec from the provided source RedisPatchScheduleOperatorSpec

func (*RedisPatchScheduleOperatorSpec) AssignProperties_To_RedisPatchScheduleOperatorSpec

func (operator *RedisPatchScheduleOperatorSpec) AssignProperties_To_RedisPatchScheduleOperatorSpec(destination *storage.RedisPatchScheduleOperatorSpec) error

AssignProperties_To_RedisPatchScheduleOperatorSpec populates the provided destination RedisPatchScheduleOperatorSpec from our RedisPatchScheduleOperatorSpec

func (*RedisPatchScheduleOperatorSpec) DeepCopy

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

func (*RedisPatchScheduleOperatorSpec) DeepCopyInto

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

type RedisPatchSchedule_STATUS

type RedisPatchSchedule_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// ScheduleEntries: List of patch schedules for a Redis cache.
	ScheduleEntries []ScheduleEntry_STATUS `json:"scheduleEntries,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*RedisPatchSchedule_STATUS) AssignProperties_From_RedisPatchSchedule_STATUS

func (schedule *RedisPatchSchedule_STATUS) AssignProperties_From_RedisPatchSchedule_STATUS(source *storage.RedisPatchSchedule_STATUS) error

AssignProperties_From_RedisPatchSchedule_STATUS populates our RedisPatchSchedule_STATUS from the provided source RedisPatchSchedule_STATUS

func (*RedisPatchSchedule_STATUS) AssignProperties_To_RedisPatchSchedule_STATUS

func (schedule *RedisPatchSchedule_STATUS) AssignProperties_To_RedisPatchSchedule_STATUS(destination *storage.RedisPatchSchedule_STATUS) error

AssignProperties_To_RedisPatchSchedule_STATUS populates the provided destination RedisPatchSchedule_STATUS from our RedisPatchSchedule_STATUS

func (*RedisPatchSchedule_STATUS) ConvertStatusFrom

func (schedule *RedisPatchSchedule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our RedisPatchSchedule_STATUS from the provided source

func (*RedisPatchSchedule_STATUS) ConvertStatusTo

func (schedule *RedisPatchSchedule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our RedisPatchSchedule_STATUS

func (*RedisPatchSchedule_STATUS) DeepCopy

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

func (*RedisPatchSchedule_STATUS) DeepCopyInto

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

func (*RedisPatchSchedule_STATUS) NewEmptyARMValue

func (schedule *RedisPatchSchedule_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisPatchSchedule_STATUS) PopulateFromARM

func (schedule *RedisPatchSchedule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type RedisPatchSchedule_Spec

type RedisPatchSchedule_Spec struct {
	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *RedisPatchScheduleOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a cache.azure.com/Redis resource
	Owner *genruntime.KnownResourceReference `group:"cache.azure.com" json:"owner,omitempty" kind:"Redis"`

	// +kubebuilder:validation:Required
	// ScheduleEntries: List of patch schedules for a Redis cache.
	ScheduleEntries []ScheduleEntry `json:"scheduleEntries,omitempty"`
}

func (*RedisPatchSchedule_Spec) AssignProperties_From_RedisPatchSchedule_Spec

func (schedule *RedisPatchSchedule_Spec) AssignProperties_From_RedisPatchSchedule_Spec(source *storage.RedisPatchSchedule_Spec) error

AssignProperties_From_RedisPatchSchedule_Spec populates our RedisPatchSchedule_Spec from the provided source RedisPatchSchedule_Spec

func (*RedisPatchSchedule_Spec) AssignProperties_To_RedisPatchSchedule_Spec

func (schedule *RedisPatchSchedule_Spec) AssignProperties_To_RedisPatchSchedule_Spec(destination *storage.RedisPatchSchedule_Spec) error

AssignProperties_To_RedisPatchSchedule_Spec populates the provided destination RedisPatchSchedule_Spec from our RedisPatchSchedule_Spec

func (*RedisPatchSchedule_Spec) ConvertSpecFrom

func (schedule *RedisPatchSchedule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisPatchSchedule_Spec from the provided source

func (*RedisPatchSchedule_Spec) ConvertSpecTo

func (schedule *RedisPatchSchedule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisPatchSchedule_Spec

func (*RedisPatchSchedule_Spec) ConvertToARM

func (schedule *RedisPatchSchedule_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisPatchSchedule_Spec) DeepCopy

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

func (*RedisPatchSchedule_Spec) DeepCopyInto

func (in *RedisPatchSchedule_Spec) DeepCopyInto(out *RedisPatchSchedule_Spec)

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

func (*RedisPatchSchedule_Spec) Initialize_From_RedisPatchSchedule_STATUS

func (schedule *RedisPatchSchedule_Spec) Initialize_From_RedisPatchSchedule_STATUS(source *RedisPatchSchedule_STATUS) error

Initialize_From_RedisPatchSchedule_STATUS populates our RedisPatchSchedule_Spec from the provided source RedisPatchSchedule_STATUS

func (*RedisPatchSchedule_Spec) NewEmptyARMValue

func (schedule *RedisPatchSchedule_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisPatchSchedule_Spec) OriginalVersion

func (schedule *RedisPatchSchedule_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*RedisPatchSchedule_Spec) PopulateFromARM

func (schedule *RedisPatchSchedule_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Redis_LinkedServer_STATUS

type Redis_LinkedServer_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// GeoReplicatedPrimaryHostName: The unchanging DNS name which will always point to current geo-primary cache among the
	// linked redis caches for seamless Geo Failover experience.
	GeoReplicatedPrimaryHostName *string `json:"geoReplicatedPrimaryHostName,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// LinkedRedisCacheId: Fully qualified resourceId of the linked redis cache.
	LinkedRedisCacheId *string `json:"linkedRedisCacheId,omitempty"`

	// LinkedRedisCacheLocation: Location of the linked redis cache.
	LinkedRedisCacheLocation *string `json:"linkedRedisCacheLocation,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// PrimaryHostName: The changing DNS name that resolves to the current geo-primary cache among the linked redis caches
	// before or after the Geo Failover.
	PrimaryHostName *string `json:"primaryHostName,omitempty"`

	// ProvisioningState: Terminal state of the link between primary and secondary redis cache.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// ServerRole: Role of the linked server.
	ServerRole *ReplicationRole_STATUS `json:"serverRole,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*Redis_LinkedServer_STATUS) AssignProperties_From_Redis_LinkedServer_STATUS

func (server *Redis_LinkedServer_STATUS) AssignProperties_From_Redis_LinkedServer_STATUS(source *storage.Redis_LinkedServer_STATUS) error

AssignProperties_From_Redis_LinkedServer_STATUS populates our Redis_LinkedServer_STATUS from the provided source Redis_LinkedServer_STATUS

func (*Redis_LinkedServer_STATUS) AssignProperties_To_Redis_LinkedServer_STATUS

func (server *Redis_LinkedServer_STATUS) AssignProperties_To_Redis_LinkedServer_STATUS(destination *storage.Redis_LinkedServer_STATUS) error

AssignProperties_To_Redis_LinkedServer_STATUS populates the provided destination Redis_LinkedServer_STATUS from our Redis_LinkedServer_STATUS

func (*Redis_LinkedServer_STATUS) ConvertStatusFrom

func (server *Redis_LinkedServer_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Redis_LinkedServer_STATUS from the provided source

func (*Redis_LinkedServer_STATUS) ConvertStatusTo

func (server *Redis_LinkedServer_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Redis_LinkedServer_STATUS

func (*Redis_LinkedServer_STATUS) DeepCopy

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

func (*Redis_LinkedServer_STATUS) DeepCopyInto

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

func (*Redis_LinkedServer_STATUS) NewEmptyARMValue

func (server *Redis_LinkedServer_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Redis_LinkedServer_STATUS) PopulateFromARM

func (server *Redis_LinkedServer_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Redis_STATUS

type Redis_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// DisableAccessKeyAuthentication: Authentication to Redis through access keys is disabled when set as true. Default value
	// is false.
	DisableAccessKeyAuthentication *bool `json:"disableAccessKeyAuthentication,omitempty"`

	// EnableNonSslPort: Specifies whether the non-ssl Redis server port (6379) is enabled.
	EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"`

	// HostName: Redis host name.
	HostName *string `json:"hostName,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Identity: The managed service identities assigned to this resource.
	Identity *ManagedServiceIdentity_STATUS `json:"identity,omitempty"`

	// Instances: List of the Redis instances associated with the cache
	Instances []RedisInstanceDetails_STATUS `json:"instances,omitempty"`

	// LinkedServers: List of the linked servers associated with the cache
	LinkedServers []RedisLinkedServer_STATUS `json:"linkedServers,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// MinimumTlsVersion: Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1',
	// '1.2')
	MinimumTlsVersion *TlsVersion_STATUS `json:"minimumTlsVersion,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Port: Redis non-SSL port.
	Port *int `json:"port,omitempty"`

	// PrivateEndpointConnections: List of private endpoint connection associated with the specified redis cache
	PrivateEndpointConnections []PrivateEndpointConnection_STATUS `json:"privateEndpointConnections,omitempty"`

	// ProvisioningState: Redis instance provisioning status.
	ProvisioningState *ProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// PublicNetworkAccess: Whether or not public endpoint access is allowed for this cache.  Value is optional but if passed
	// in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method.
	PublicNetworkAccess *PublicNetworkAccess_STATUS `json:"publicNetworkAccess,omitempty"`

	// RedisConfiguration: All Redis Settings. Few possible keys:
	// rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,
	// maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0,
	// aof-storage-connection-string-1 etc.
	RedisConfiguration *RedisCommonPropertiesRedisConfiguration_STATUS `json:"redisConfiguration,omitempty"`

	// RedisVersion: Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest'
	// which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value
	// is 'latest'.
	RedisVersion *string `json:"redisVersion,omitempty"`

	// ReplicasPerMaster: The number of replicas to be created per primary.
	ReplicasPerMaster *int `json:"replicasPerMaster,omitempty"`

	// ReplicasPerPrimary: The number of replicas to be created per primary.
	ReplicasPerPrimary *int `json:"replicasPerPrimary,omitempty"`

	// ShardCount: The number of shards to be created on a Premium Cluster Cache.
	ShardCount *int `json:"shardCount,omitempty"`

	// Sku: The SKU of the Redis cache to deploy.
	Sku *Sku_STATUS `json:"sku,omitempty"`

	// SslPort: Redis SSL port.
	SslPort *int `json:"sslPort,omitempty"`

	// StaticIP: Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual
	// Network; auto assigned by default.
	StaticIP *string `json:"staticIP,omitempty"`

	// SubnetId: The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format:
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
	SubnetId *string `json:"subnetId,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// TenantSettings: A dictionary of tenant settings
	TenantSettings map[string]string `json:"tenantSettings,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// UpdateChannel: Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive.
	// Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches.
	// Default value is 'Stable'.
	UpdateChannel *UpdateChannel_STATUS `json:"updateChannel,omitempty"`

	// ZonalAllocationPolicy: Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables
	// zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined'
	// will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache.
	// If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will
	// be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
	ZonalAllocationPolicy *ZonalAllocationPolicy_STATUS `json:"zonalAllocationPolicy,omitempty"`

	// Zones: The availability zones.
	Zones []string `json:"zones,omitempty"`
}

func (*Redis_STATUS) AssignProperties_From_Redis_STATUS

func (redis *Redis_STATUS) AssignProperties_From_Redis_STATUS(source *storage.Redis_STATUS) error

AssignProperties_From_Redis_STATUS populates our Redis_STATUS from the provided source Redis_STATUS

func (*Redis_STATUS) AssignProperties_To_Redis_STATUS

func (redis *Redis_STATUS) AssignProperties_To_Redis_STATUS(destination *storage.Redis_STATUS) error

AssignProperties_To_Redis_STATUS populates the provided destination Redis_STATUS from our Redis_STATUS

func (*Redis_STATUS) ConvertStatusFrom

func (redis *Redis_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Redis_STATUS from the provided source

func (*Redis_STATUS) ConvertStatusTo

func (redis *Redis_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Redis_STATUS

func (*Redis_STATUS) DeepCopy

func (in *Redis_STATUS) DeepCopy() *Redis_STATUS

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

func (*Redis_STATUS) DeepCopyInto

func (in *Redis_STATUS) DeepCopyInto(out *Redis_STATUS)

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

func (*Redis_STATUS) NewEmptyARMValue

func (redis *Redis_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Redis_STATUS) PopulateFromARM

func (redis *Redis_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Redis_Spec

type Redis_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// DisableAccessKeyAuthentication: Authentication to Redis through access keys is disabled when set as true. Default value
	// is false.
	DisableAccessKeyAuthentication *bool `json:"disableAccessKeyAuthentication,omitempty"`

	// EnableNonSslPort: Specifies whether the non-ssl Redis server port (6379) is enabled.
	EnableNonSslPort *bool `json:"enableNonSslPort,omitempty"`

	// Identity: The identity of the resource.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// +kubebuilder:validation:Required
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// MinimumTlsVersion: Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1',
	// '1.2')
	MinimumTlsVersion *TlsVersion `json:"minimumTlsVersion,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *RedisOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`

	// PublicNetworkAccess: Whether or not public endpoint access is allowed for this cache.  Value is optional but if passed
	// in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method.
	PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`

	// RedisConfiguration: All Redis Settings. Few possible keys:
	// rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,
	// maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0,
	// aof-storage-connection-string-1 etc.
	RedisConfiguration *RedisCommonPropertiesRedisConfiguration `json:"redisConfiguration,omitempty"`

	// RedisVersion: Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest'
	// which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value
	// is 'latest'.
	RedisVersion *string `json:"redisVersion,omitempty"`

	// ReplicasPerMaster: The number of replicas to be created per primary.
	ReplicasPerMaster *int `json:"replicasPerMaster,omitempty"`

	// ReplicasPerPrimary: The number of replicas to be created per primary.
	ReplicasPerPrimary *int `json:"replicasPerPrimary,omitempty"`

	// ShardCount: The number of shards to be created on a Premium Cluster Cache.
	ShardCount *int `json:"shardCount,omitempty"`

	// +kubebuilder:validation:Required
	// Sku: The SKU of the Redis cache to deploy.
	Sku *Sku `json:"sku,omitempty"`

	// +kubebuilder:validation:Pattern="^\\d+\\.\\d+\\.\\d+\\.\\d+$"
	// StaticIP: Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual
	// Network; auto assigned by default.
	StaticIP *string `json:"staticIP,omitempty"`

	// SubnetReference: The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format:
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
	SubnetReference *genruntime.ResourceReference `armReference:"SubnetId" json:"subnetReference,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// TenantSettings: A dictionary of tenant settings
	TenantSettings map[string]string `json:"tenantSettings,omitempty"`

	// UpdateChannel: Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive.
	// Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches.
	// Default value is 'Stable'.
	UpdateChannel *UpdateChannel `json:"updateChannel,omitempty"`

	// ZonalAllocationPolicy: Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables
	// zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined'
	// will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache.
	// If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will
	// be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
	ZonalAllocationPolicy *ZonalAllocationPolicy `json:"zonalAllocationPolicy,omitempty"`

	// Zones: A list of availability zones denoting where the resource needs to come from.
	Zones []string `json:"zones,omitempty"`
}

func (*Redis_Spec) AssignProperties_From_Redis_Spec

func (redis *Redis_Spec) AssignProperties_From_Redis_Spec(source *storage.Redis_Spec) error

AssignProperties_From_Redis_Spec populates our Redis_Spec from the provided source Redis_Spec

func (*Redis_Spec) AssignProperties_To_Redis_Spec

func (redis *Redis_Spec) AssignProperties_To_Redis_Spec(destination *storage.Redis_Spec) error

AssignProperties_To_Redis_Spec populates the provided destination Redis_Spec from our Redis_Spec

func (*Redis_Spec) ConvertSpecFrom

func (redis *Redis_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our Redis_Spec from the provided source

func (*Redis_Spec) ConvertSpecTo

func (redis *Redis_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our Redis_Spec

func (*Redis_Spec) ConvertToARM

func (redis *Redis_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Redis_Spec) DeepCopy

func (in *Redis_Spec) DeepCopy() *Redis_Spec

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

func (*Redis_Spec) DeepCopyInto

func (in *Redis_Spec) DeepCopyInto(out *Redis_Spec)

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

func (*Redis_Spec) Initialize_From_Redis_STATUS

func (redis *Redis_Spec) Initialize_From_Redis_STATUS(source *Redis_STATUS) error

Initialize_From_Redis_STATUS populates our Redis_Spec from the provided source Redis_STATUS

func (*Redis_Spec) NewEmptyARMValue

func (redis *Redis_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Redis_Spec) OriginalVersion

func (redis *Redis_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*Redis_Spec) PopulateFromARM

func (redis *Redis_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Redis_Spec) SetAzureName

func (redis *Redis_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ReplicationRole

type ReplicationRole string

Role of the linked server. +kubebuilder:validation:Enum={"Primary","Secondary"}

type ReplicationRole_STATUS

type ReplicationRole_STATUS string

Role of the linked server.

type ScheduleEntry

type ScheduleEntry struct {
	// +kubebuilder:validation:Required
	// DayOfWeek: Day of the week when a cache can be patched.
	DayOfWeek *DayOfWeek `json:"dayOfWeek,omitempty"`

	// MaintenanceWindow: ISO8601 timespan specifying how much time cache patching can take.
	MaintenanceWindow *string `json:"maintenanceWindow,omitempty"`

	// +kubebuilder:validation:Required
	// StartHourUtc: Start hour after which cache patching can start.
	StartHourUtc *int `json:"startHourUtc,omitempty"`
}

Patch schedule entry for a Premium Redis Cache.

func (*ScheduleEntry) AssignProperties_From_ScheduleEntry

func (entry *ScheduleEntry) AssignProperties_From_ScheduleEntry(source *storage.ScheduleEntry) error

AssignProperties_From_ScheduleEntry populates our ScheduleEntry from the provided source ScheduleEntry

func (*ScheduleEntry) AssignProperties_To_ScheduleEntry

func (entry *ScheduleEntry) AssignProperties_To_ScheduleEntry(destination *storage.ScheduleEntry) error

AssignProperties_To_ScheduleEntry populates the provided destination ScheduleEntry from our ScheduleEntry

func (*ScheduleEntry) ConvertToARM

func (entry *ScheduleEntry) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ScheduleEntry) DeepCopy

func (in *ScheduleEntry) DeepCopy() *ScheduleEntry

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

func (*ScheduleEntry) DeepCopyInto

func (in *ScheduleEntry) DeepCopyInto(out *ScheduleEntry)

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

func (*ScheduleEntry) Initialize_From_ScheduleEntry_STATUS

func (entry *ScheduleEntry) Initialize_From_ScheduleEntry_STATUS(source *ScheduleEntry_STATUS) error

Initialize_From_ScheduleEntry_STATUS populates our ScheduleEntry from the provided source ScheduleEntry_STATUS

func (*ScheduleEntry) NewEmptyARMValue

func (entry *ScheduleEntry) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduleEntry) PopulateFromARM

func (entry *ScheduleEntry) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ScheduleEntry_STATUS

type ScheduleEntry_STATUS struct {
	// DayOfWeek: Day of the week when a cache can be patched.
	DayOfWeek *DayOfWeek_STATUS `json:"dayOfWeek,omitempty"`

	// MaintenanceWindow: ISO8601 timespan specifying how much time cache patching can take.
	MaintenanceWindow *string `json:"maintenanceWindow,omitempty"`

	// StartHourUtc: Start hour after which cache patching can start.
	StartHourUtc *int `json:"startHourUtc,omitempty"`
}

Patch schedule entry for a Premium Redis Cache.

func (*ScheduleEntry_STATUS) AssignProperties_From_ScheduleEntry_STATUS

func (entry *ScheduleEntry_STATUS) AssignProperties_From_ScheduleEntry_STATUS(source *storage.ScheduleEntry_STATUS) error

AssignProperties_From_ScheduleEntry_STATUS populates our ScheduleEntry_STATUS from the provided source ScheduleEntry_STATUS

func (*ScheduleEntry_STATUS) AssignProperties_To_ScheduleEntry_STATUS

func (entry *ScheduleEntry_STATUS) AssignProperties_To_ScheduleEntry_STATUS(destination *storage.ScheduleEntry_STATUS) error

AssignProperties_To_ScheduleEntry_STATUS populates the provided destination ScheduleEntry_STATUS from our ScheduleEntry_STATUS

func (*ScheduleEntry_STATUS) DeepCopy

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

func (*ScheduleEntry_STATUS) DeepCopyInto

func (in *ScheduleEntry_STATUS) DeepCopyInto(out *ScheduleEntry_STATUS)

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

func (*ScheduleEntry_STATUS) NewEmptyARMValue

func (entry *ScheduleEntry_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ScheduleEntry_STATUS) PopulateFromARM

func (entry *ScheduleEntry_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku

type Sku struct {
	// +kubebuilder:validation:Required
	// Capacity: The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for
	// P (Premium) family (1, 2, 3, 4).
	Capacity *int `json:"capacity,omitempty"`

	// +kubebuilder:validation:Required
	// Family: The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
	Family *SkuFamily `json:"family,omitempty"`

	// +kubebuilder:validation:Required
	// Name: The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
	Name *SkuName `json:"name,omitempty"`
}

SKU parameters supplied to the create Redis operation.

func (*Sku) AssignProperties_From_Sku

func (sku *Sku) AssignProperties_From_Sku(source *storage.Sku) error

AssignProperties_From_Sku populates our Sku from the provided source Sku

func (*Sku) AssignProperties_To_Sku

func (sku *Sku) AssignProperties_To_Sku(destination *storage.Sku) error

AssignProperties_To_Sku populates the provided destination Sku from our Sku

func (*Sku) ConvertToARM

func (sku *Sku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Sku) DeepCopy

func (in *Sku) DeepCopy() *Sku

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

func (*Sku) DeepCopyInto

func (in *Sku) DeepCopyInto(out *Sku)

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

func (*Sku) Initialize_From_Sku_STATUS

func (sku *Sku) Initialize_From_Sku_STATUS(source *Sku_STATUS) error

Initialize_From_Sku_STATUS populates our Sku from the provided source Sku_STATUS

func (*Sku) NewEmptyARMValue

func (sku *Sku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku) PopulateFromARM

func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SkuFamily

type SkuFamily string

The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). +kubebuilder:validation:Enum={"C","P"}

type SkuFamily_STATUS

type SkuFamily_STATUS string

The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).

type SkuName

type SkuName string

The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) +kubebuilder:validation:Enum={"Basic","Premium","Standard"}

type SkuName_STATUS

type SkuName_STATUS string

The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)

type Sku_STATUS

type Sku_STATUS struct {
	// Capacity: The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for
	// P (Premium) family (1, 2, 3, 4).
	Capacity *int `json:"capacity,omitempty"`

	// Family: The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
	Family *SkuFamily_STATUS `json:"family,omitempty"`

	// Name: The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
	Name *SkuName_STATUS `json:"name,omitempty"`
}

SKU parameters supplied to the create Redis operation.

func (*Sku_STATUS) AssignProperties_From_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *storage.Sku_STATUS) error

AssignProperties_From_Sku_STATUS populates our Sku_STATUS from the provided source Sku_STATUS

func (*Sku_STATUS) AssignProperties_To_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *storage.Sku_STATUS) error

AssignProperties_To_Sku_STATUS populates the provided destination Sku_STATUS from our Sku_STATUS

func (*Sku_STATUS) DeepCopy

func (in *Sku_STATUS) DeepCopy() *Sku_STATUS

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

func (*Sku_STATUS) DeepCopyInto

func (in *Sku_STATUS) DeepCopyInto(out *Sku_STATUS)

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

func (*Sku_STATUS) NewEmptyARMValue

func (sku *Sku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_STATUS) PopulateFromARM

func (sku *Sku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

type SystemData_STATUS struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

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

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

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

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type TlsVersion

type TlsVersion string

Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') +kubebuilder:validation:Enum={"1.0","1.1","1.2"}

type TlsVersion_STATUS

type TlsVersion_STATUS string

Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')

type UpdateChannel

type UpdateChannel string

Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. +kubebuilder:validation:Enum={"Preview","Stable"}

type UpdateChannel_STATUS

type UpdateChannel_STATUS string

Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.

type UserAssignedIdentityDetails

type UserAssignedIdentityDetails struct {
	Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}

Information about the user assigned identity for the resource

func (*UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails

func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error

AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails

func (*UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails

func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error

AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails

func (*UserAssignedIdentityDetails) DeepCopy

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

func (*UserAssignedIdentityDetails) DeepCopyInto

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

type UserAssignedIdentity_STATUS

type UserAssignedIdentity_STATUS struct {
	// ClientId: The client ID of the assigned identity.
	ClientId *string `json:"clientId,omitempty"`

	// PrincipalId: The principal ID of the assigned identity.
	PrincipalId *string `json:"principalId,omitempty"`
}

User assigned identity properties

func (*UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS

func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error

AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS

func (*UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS

func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error

AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS

func (*UserAssignedIdentity_STATUS) DeepCopy

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

func (*UserAssignedIdentity_STATUS) DeepCopyInto

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

func (*UserAssignedIdentity_STATUS) NewEmptyARMValue

func (identity *UserAssignedIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*UserAssignedIdentity_STATUS) PopulateFromARM

func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ZonalAllocationPolicy

type ZonalAllocationPolicy string

Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported. +kubebuilder:validation:Enum={"Automatic","NoZones","UserDefined"}

type ZonalAllocationPolicy_STATUS

type ZonalAllocationPolicy_STATUS string

Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Package storage contains API Schema definitions for the cache storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=cache.azure.com +versionName=v1api20241101storage
Package storage contains API Schema definitions for the cache storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=cache.azure.com +versionName=v1api20241101storage
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL