v1alpha1api20210301

package
v2.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

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.

Package v1alpha1api20210301 contains API Schema definitions for the cache v1alpha1api20210301 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

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 (
	ClusterPropertiesStatusMinimumTlsVersion10 = ClusterPropertiesStatusMinimumTlsVersion("1.0")
	ClusterPropertiesStatusMinimumTlsVersion11 = ClusterPropertiesStatusMinimumTlsVersion("1.1")
	ClusterPropertiesStatusMinimumTlsVersion12 = ClusterPropertiesStatusMinimumTlsVersion("1.2")
)
View Source
const (
	ProvisioningState_StatusCanceled  = ProvisioningState_Status("Canceled")
	ProvisioningState_StatusCreating  = ProvisioningState_Status("Creating")
	ProvisioningState_StatusDeleting  = ProvisioningState_Status("Deleting")
	ProvisioningState_StatusFailed    = ProvisioningState_Status("Failed")
	ProvisioningState_StatusSucceeded = ProvisioningState_Status("Succeeded")
	ProvisioningState_StatusUpdating  = ProvisioningState_Status("Updating")
)
View Source
const (
	ResourceState_StatusCreateFailed  = ResourceState_Status("CreateFailed")
	ResourceState_StatusCreating      = ResourceState_Status("Creating")
	ResourceState_StatusDeleteFailed  = ResourceState_Status("DeleteFailed")
	ResourceState_StatusDeleting      = ResourceState_Status("Deleting")
	ResourceState_StatusDisableFailed = ResourceState_Status("DisableFailed")
	ResourceState_StatusDisabled      = ResourceState_Status("Disabled")
	ResourceState_StatusDisabling     = ResourceState_Status("Disabling")
	ResourceState_StatusEnableFailed  = ResourceState_Status("EnableFailed")
	ResourceState_StatusEnabling      = ResourceState_Status("Enabling")
	ResourceState_StatusRunning       = ResourceState_Status("Running")
	ResourceState_StatusUpdateFailed  = ResourceState_Status("UpdateFailed")
	ResourceState_StatusUpdating      = ResourceState_Status("Updating")
)
View Source
const (
	SkuStatusNameEnterpriseE10        = SkuStatusName("Enterprise_E10")
	SkuStatusNameEnterpriseE100       = SkuStatusName("Enterprise_E100")
	SkuStatusNameEnterpriseE20        = SkuStatusName("Enterprise_E20")
	SkuStatusNameEnterpriseE50        = SkuStatusName("Enterprise_E50")
	SkuStatusNameEnterpriseFlashF1500 = SkuStatusName("EnterpriseFlash_F1500")
	SkuStatusNameEnterpriseFlashF300  = SkuStatusName("EnterpriseFlash_F300")
	SkuStatusNameEnterpriseFlashF700  = SkuStatusName("EnterpriseFlash_F700")
)
View Source
const (
	DatabasePropertiesStatusClientProtocolEncrypted = DatabasePropertiesStatusClientProtocol("Encrypted")
	DatabasePropertiesStatusClientProtocolPlaintext = DatabasePropertiesStatusClientProtocol("Plaintext")
)
View Source
const (
	DatabasePropertiesStatusClusteringPolicyEnterpriseCluster = DatabasePropertiesStatusClusteringPolicy("EnterpriseCluster")
	DatabasePropertiesStatusClusteringPolicyOSSCluster        = DatabasePropertiesStatusClusteringPolicy("OSSCluster")
)
View Source
const (
	DatabasePropertiesStatusEvictionPolicyAllKeysLFU     = DatabasePropertiesStatusEvictionPolicy("AllKeysLFU")
	DatabasePropertiesStatusEvictionPolicyAllKeysLRU     = DatabasePropertiesStatusEvictionPolicy("AllKeysLRU")
	DatabasePropertiesStatusEvictionPolicyAllKeysRandom  = DatabasePropertiesStatusEvictionPolicy("AllKeysRandom")
	DatabasePropertiesStatusEvictionPolicyNoEviction     = DatabasePropertiesStatusEvictionPolicy("NoEviction")
	DatabasePropertiesStatusEvictionPolicyVolatileLFU    = DatabasePropertiesStatusEvictionPolicy("VolatileLFU")
	DatabasePropertiesStatusEvictionPolicyVolatileLRU    = DatabasePropertiesStatusEvictionPolicy("VolatileLRU")
	DatabasePropertiesStatusEvictionPolicyVolatileRandom = DatabasePropertiesStatusEvictionPolicy("VolatileRandom")
	DatabasePropertiesStatusEvictionPolicyVolatileTTL    = DatabasePropertiesStatusEvictionPolicy("VolatileTTL")
)
View Source
const (
	PersistenceStatusAofFrequency1S     = PersistenceStatusAofFrequency("1s")
	PersistenceStatusAofFrequencyAlways = PersistenceStatusAofFrequency("always")
)
View Source
const (
	PersistenceStatusRdbFrequency12H = PersistenceStatusRdbFrequency("12h")
	PersistenceStatusRdbFrequency1H  = PersistenceStatusRdbFrequency("1h")
	PersistenceStatusRdbFrequency6H  = PersistenceStatusRdbFrequency("6h")
)
View Source
const (
	SkuNameEnterpriseE10        = SkuName("Enterprise_E10")
	SkuNameEnterpriseE100       = SkuName("Enterprise_E100")
	SkuNameEnterpriseE20        = SkuName("Enterprise_E20")
	SkuNameEnterpriseE50        = SkuName("Enterprise_E50")
	SkuNameEnterpriseFlashF1500 = SkuName("EnterpriseFlash_F1500")
	SkuNameEnterpriseFlashF300  = SkuName("EnterpriseFlash_F300")
	SkuNameEnterpriseFlashF700  = SkuName("EnterpriseFlash_F700")
)
View Source
const (
	DatabasePropertiesClientProtocolEncrypted = DatabasePropertiesClientProtocol("Encrypted")
	DatabasePropertiesClientProtocolPlaintext = DatabasePropertiesClientProtocol("Plaintext")
)
View Source
const (
	DatabasePropertiesClusteringPolicyEnterpriseCluster = DatabasePropertiesClusteringPolicy("EnterpriseCluster")
	DatabasePropertiesClusteringPolicyOSSCluster        = DatabasePropertiesClusteringPolicy("OSSCluster")
)
View Source
const (
	DatabasePropertiesEvictionPolicyAllKeysLFU     = DatabasePropertiesEvictionPolicy("AllKeysLFU")
	DatabasePropertiesEvictionPolicyAllKeysLRU     = DatabasePropertiesEvictionPolicy("AllKeysLRU")
	DatabasePropertiesEvictionPolicyAllKeysRandom  = DatabasePropertiesEvictionPolicy("AllKeysRandom")
	DatabasePropertiesEvictionPolicyNoEviction     = DatabasePropertiesEvictionPolicy("NoEviction")
	DatabasePropertiesEvictionPolicyVolatileLFU    = DatabasePropertiesEvictionPolicy("VolatileLFU")
	DatabasePropertiesEvictionPolicyVolatileLRU    = DatabasePropertiesEvictionPolicy("VolatileLRU")
	DatabasePropertiesEvictionPolicyVolatileRandom = DatabasePropertiesEvictionPolicy("VolatileRandom")
	DatabasePropertiesEvictionPolicyVolatileTTL    = DatabasePropertiesEvictionPolicy("VolatileTTL")
)
View Source
const (
	PersistenceAofFrequency1S     = PersistenceAofFrequency("1s")
	PersistenceAofFrequencyAlways = PersistenceAofFrequency("always")
)
View Source
const (
	PersistenceRdbFrequency12H = PersistenceRdbFrequency("12h")
	PersistenceRdbFrequency1H  = PersistenceRdbFrequency("1h")
	PersistenceRdbFrequency6H  = PersistenceRdbFrequency("6h")
)
View Source
const (
	ClusterPropertiesMinimumTlsVersion10 = ClusterPropertiesMinimumTlsVersion("1.0")
	ClusterPropertiesMinimumTlsVersion11 = ClusterPropertiesMinimumTlsVersion("1.1")
	ClusterPropertiesMinimumTlsVersion12 = ClusterPropertiesMinimumTlsVersion("1.2")
)
View Source
const RedisEnterpriseDatabasesSpecAPIVersion20210301 = RedisEnterpriseDatabasesSpecAPIVersion("2021-03-01")
View Source
const RedisEnterpriseSpecAPIVersion20210301 = RedisEnterpriseSpecAPIVersion("2021-03-01")

Variables

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

	// 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 ClusterPropertiesARM

type ClusterPropertiesARM struct {
	//MinimumTlsVersion: The minimum TLS version for the cluster to support, e.g.
	//'1.2'.
	MinimumTlsVersion *ClusterPropertiesMinimumTlsVersion `json:"minimumTlsVersion,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/ClusterProperties

func (*ClusterPropertiesARM) DeepCopy

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

func (*ClusterPropertiesARM) DeepCopyInto

func (in *ClusterPropertiesARM) DeepCopyInto(out *ClusterPropertiesARM)

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

type ClusterPropertiesMinimumTlsVersion

type ClusterPropertiesMinimumTlsVersion string

+kubebuilder:validation:Enum={"1.0","1.1","1.2"}

type ClusterPropertiesStatusMinimumTlsVersion

type ClusterPropertiesStatusMinimumTlsVersion string

type ClusterProperties_StatusARM

type ClusterProperties_StatusARM struct {
	//HostName: DNS name of the cluster endpoint
	HostName *string `json:"hostName,omitempty"`

	//MinimumTlsVersion: The minimum TLS version for the cluster to support, e.g. '1.2'
	MinimumTlsVersion *ClusterPropertiesStatusMinimumTlsVersion `json:"minimumTlsVersion,omitempty"`

	//PrivateEndpointConnections: List of private endpoint connections associated with
	//the specified RedisEnterprise cluster
	PrivateEndpointConnections []PrivateEndpointConnection_Status_SubResourceEmbeddedARM `json:"privateEndpointConnections,omitempty"`

	//ProvisioningState: Current provisioning status of the cluster
	ProvisioningState *ProvisioningState_Status `json:"provisioningState,omitempty"`

	//RedisVersion: Version of redis the cluster supports, e.g. '6'
	RedisVersion *string `json:"redisVersion,omitempty"`

	//ResourceState: Current resource status of the cluster
	ResourceState *ResourceState_Status `json:"resourceState,omitempty"`
}

func (*ClusterProperties_StatusARM) DeepCopy

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

func (*ClusterProperties_StatusARM) DeepCopyInto

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

type Cluster_Status

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

	//HostName: DNS name of the cluster endpoint
	HostName *string `json:"hostName,omitempty"`

	//Id: Fully qualified resource ID for the resource. Ex -
	///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"`

	//MinimumTlsVersion: The minimum TLS version for the cluster to support, e.g. '1.2'
	MinimumTlsVersion *ClusterPropertiesStatusMinimumTlsVersion `json:"minimumTlsVersion,omitempty"`

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

	//PrivateEndpointConnections: List of private endpoint connections associated with
	//the specified RedisEnterprise cluster
	PrivateEndpointConnections []PrivateEndpointConnection_Status_SubResourceEmbedded `json:"privateEndpointConnections,omitempty"`

	//ProvisioningState: Current provisioning status of the cluster
	ProvisioningState *ProvisioningState_Status `json:"provisioningState,omitempty"`

	//RedisVersion: Version of redis the cluster supports, e.g. '6'
	RedisVersion *string `json:"redisVersion,omitempty"`

	//ResourceState: Current resource status of the cluster
	ResourceState *ResourceState_Status `json:"resourceState,omitempty"`

	//Sku: The SKU to create, which affects price, performance, and features.
	Sku *Sku_Status `json:"sku,omitempty"`

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

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

	//Zones: The Availability Zones where this cluster will be deployed.
	Zones []string `json:"zones,omitempty"`
}

func (*Cluster_Status) AssignPropertiesFromClusterStatus

func (clusterStatus *Cluster_Status) AssignPropertiesFromClusterStatus(source *v1alpha1api20210301storage.Cluster_Status) error

AssignPropertiesFromClusterStatus populates our Cluster_Status from the provided source Cluster_Status

func (*Cluster_Status) AssignPropertiesToClusterStatus

func (clusterStatus *Cluster_Status) AssignPropertiesToClusterStatus(destination *v1alpha1api20210301storage.Cluster_Status) error

AssignPropertiesToClusterStatus populates the provided destination Cluster_Status from our Cluster_Status

func (*Cluster_Status) ConvertStatusFrom

func (clusterStatus *Cluster_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Cluster_Status from the provided source

func (*Cluster_Status) ConvertStatusTo

func (clusterStatus *Cluster_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Cluster_Status

func (*Cluster_Status) DeepCopy

func (in *Cluster_Status) DeepCopy() *Cluster_Status

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

func (*Cluster_Status) DeepCopyInto

func (in *Cluster_Status) DeepCopyInto(out *Cluster_Status)

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

func (*Cluster_Status) NewEmptyARMValue

func (clusterStatus *Cluster_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Cluster_Status) PopulateFromARM

func (clusterStatus *Cluster_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Cluster_StatusARM

type Cluster_StatusARM struct {
	//Id: Fully qualified resource ID for the resource. Ex -
	///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"`

	//Properties: Other properties of the cluster.
	Properties *ClusterProperties_StatusARM `json:"properties,omitempty"`

	//Sku: The SKU to create, which affects price, performance, and features.
	Sku *Sku_StatusARM `json:"sku,omitempty"`

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

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

	//Zones: The Availability Zones where this cluster will be deployed.
	Zones []string `json:"zones,omitempty"`
}

func (*Cluster_StatusARM) DeepCopy

func (in *Cluster_StatusARM) DeepCopy() *Cluster_StatusARM

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

func (*Cluster_StatusARM) DeepCopyInto

func (in *Cluster_StatusARM) DeepCopyInto(out *Cluster_StatusARM)

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

type DatabasePropertiesARM

type DatabasePropertiesARM struct {
	//ClientProtocol: Specifies whether redis clients can connect using TLS-encrypted
	//or plaintext redis protocols. Default is TLS-encrypted.
	ClientProtocol *DatabasePropertiesClientProtocol `json:"clientProtocol,omitempty"`

	//ClusteringPolicy: Clustering policy - default is OSSCluster. Specified at create
	//time.
	ClusteringPolicy *DatabasePropertiesClusteringPolicy `json:"clusteringPolicy,omitempty"`

	//EvictionPolicy: Redis eviction policy - default is VolatileLRU.
	EvictionPolicy *DatabasePropertiesEvictionPolicy `json:"evictionPolicy,omitempty"`

	//Modules: Optional set of redis modules to enable in this database - modules can
	//only be added at creation time.
	Modules []ModuleARM `json:"modules,omitempty"`

	//Persistence: Persistence-related configuration for the RedisEnterprise database
	Persistence *PersistenceARM `json:"persistence,omitempty"`

	//Port: TCP port of the database endpoint. Specified at create time. Defaults to
	//an available port.
	Port *int `json:"port,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/DatabaseProperties

func (*DatabasePropertiesARM) DeepCopy

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

func (*DatabasePropertiesARM) DeepCopyInto

func (in *DatabasePropertiesARM) DeepCopyInto(out *DatabasePropertiesARM)

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

type DatabasePropertiesClientProtocol

type DatabasePropertiesClientProtocol string

+kubebuilder:validation:Enum={"Encrypted","Plaintext"}

type DatabasePropertiesClusteringPolicy

type DatabasePropertiesClusteringPolicy string

+kubebuilder:validation:Enum={"EnterpriseCluster","OSSCluster"}

type DatabasePropertiesEvictionPolicy

type DatabasePropertiesEvictionPolicy string

+kubebuilder:validation:Enum={"AllKeysLFU","AllKeysLRU","AllKeysRandom","NoEviction","VolatileLFU","VolatileLRU","VolatileRandom","VolatileTTL"}

type DatabasePropertiesStatusClientProtocol

type DatabasePropertiesStatusClientProtocol string

type DatabasePropertiesStatusClusteringPolicy

type DatabasePropertiesStatusClusteringPolicy string

type DatabasePropertiesStatusEvictionPolicy

type DatabasePropertiesStatusEvictionPolicy string

type DatabaseProperties_StatusARM

type DatabaseProperties_StatusARM struct {
	//ClientProtocol: Specifies whether redis clients can connect using TLS-encrypted
	//or plaintext redis protocols. Default is TLS-encrypted.
	ClientProtocol *DatabasePropertiesStatusClientProtocol `json:"clientProtocol,omitempty"`

	//ClusteringPolicy: Clustering policy - default is OSSCluster. Specified at create
	//time.
	ClusteringPolicy *DatabasePropertiesStatusClusteringPolicy `json:"clusteringPolicy,omitempty"`

	//EvictionPolicy: Redis eviction policy - default is VolatileLRU
	EvictionPolicy *DatabasePropertiesStatusEvictionPolicy `json:"evictionPolicy,omitempty"`

	//Modules: Optional set of redis modules to enable in this database - modules can
	//only be added at creation time.
	Modules []Module_StatusARM `json:"modules,omitempty"`

	//Persistence: Persistence settings
	Persistence *Persistence_StatusARM `json:"persistence,omitempty"`

	//Port: TCP port of the database endpoint. Specified at create time. Defaults to
	//an available port.
	Port *int `json:"port,omitempty"`

	//ProvisioningState: Current provisioning status of the database
	ProvisioningState *ProvisioningState_Status `json:"provisioningState,omitempty"`

	//ResourceState: Current resource status of the database
	ResourceState *ResourceState_Status `json:"resourceState,omitempty"`
}

func (*DatabaseProperties_StatusARM) DeepCopy

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

func (*DatabaseProperties_StatusARM) DeepCopyInto

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

type Database_Status

type Database_Status struct {
	//ClientProtocol: Specifies whether redis clients can connect using TLS-encrypted
	//or plaintext redis protocols. Default is TLS-encrypted.
	ClientProtocol *DatabasePropertiesStatusClientProtocol `json:"clientProtocol,omitempty"`

	//ClusteringPolicy: Clustering policy - default is OSSCluster. Specified at create
	//time.
	ClusteringPolicy *DatabasePropertiesStatusClusteringPolicy `json:"clusteringPolicy,omitempty"`

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

	//EvictionPolicy: Redis eviction policy - default is VolatileLRU
	EvictionPolicy *DatabasePropertiesStatusEvictionPolicy `json:"evictionPolicy,omitempty"`

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

	//Modules: Optional set of redis modules to enable in this database - modules can
	//only be added at creation time.
	Modules []Module_Status `json:"modules,omitempty"`

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

	//Persistence: Persistence settings
	Persistence *Persistence_Status `json:"persistence,omitempty"`

	//Port: TCP port of the database endpoint. Specified at create time. Defaults to
	//an available port.
	Port *int `json:"port,omitempty"`

	//ProvisioningState: Current provisioning status of the database
	ProvisioningState *ProvisioningState_Status `json:"provisioningState,omitempty"`

	//ResourceState: Current resource status of the database
	ResourceState *ResourceState_Status `json:"resourceState,omitempty"`

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

func (*Database_Status) AssignPropertiesFromDatabaseStatus

func (databaseStatus *Database_Status) AssignPropertiesFromDatabaseStatus(source *v1alpha1api20210301storage.Database_Status) error

AssignPropertiesFromDatabaseStatus populates our Database_Status from the provided source Database_Status

func (*Database_Status) AssignPropertiesToDatabaseStatus

func (databaseStatus *Database_Status) AssignPropertiesToDatabaseStatus(destination *v1alpha1api20210301storage.Database_Status) error

AssignPropertiesToDatabaseStatus populates the provided destination Database_Status from our Database_Status

func (*Database_Status) ConvertStatusFrom

func (databaseStatus *Database_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Database_Status from the provided source

func (*Database_Status) ConvertStatusTo

func (databaseStatus *Database_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Database_Status

func (*Database_Status) DeepCopy

func (in *Database_Status) DeepCopy() *Database_Status

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

func (*Database_Status) DeepCopyInto

func (in *Database_Status) DeepCopyInto(out *Database_Status)

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

func (*Database_Status) NewEmptyARMValue

func (databaseStatus *Database_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Database_Status) PopulateFromARM

func (databaseStatus *Database_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Database_StatusARM

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

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

	//Properties: Other properties of the database.
	Properties *DatabaseProperties_StatusARM `json:"properties,omitempty"`

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

func (*Database_StatusARM) DeepCopy

func (in *Database_StatusARM) DeepCopy() *Database_StatusARM

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

func (*Database_StatusARM) DeepCopyInto

func (in *Database_StatusARM) DeepCopyInto(out *Database_StatusARM)

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

type Module

type Module struct {
	//Args: Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE
	//400'.
	Args *string `json:"args,omitempty"`

	// +kubebuilder:validation:Required
	//Name: The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'
	Name string `json:"name"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/Module

func (*Module) AssignPropertiesFromModule

func (module *Module) AssignPropertiesFromModule(source *v1alpha1api20210301storage.Module) error

AssignPropertiesFromModule populates our Module from the provided source Module

func (*Module) AssignPropertiesToModule

func (module *Module) AssignPropertiesToModule(destination *v1alpha1api20210301storage.Module) error

AssignPropertiesToModule populates the provided destination Module from our Module

func (*Module) ConvertToARM

func (module *Module) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Module) DeepCopy

func (in *Module) DeepCopy() *Module

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

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

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

func (*Module) NewEmptyARMValue

func (module *Module) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Module) PopulateFromARM

func (module *Module) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ModuleARM

type ModuleARM struct {
	//Args: Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE
	//400'.
	Args *string `json:"args,omitempty"`

	//Name: The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'
	Name string `json:"name"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/Module

func (*ModuleARM) DeepCopy

func (in *ModuleARM) DeepCopy() *ModuleARM

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

func (*ModuleARM) DeepCopyInto

func (in *ModuleARM) DeepCopyInto(out *ModuleARM)

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

type Module_Status

type Module_Status struct {
	//Args: Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE
	//400'.
	Args *string `json:"args,omitempty"`

	// +kubebuilder:validation:Required
	//Name: The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'
	Name string `json:"name"`

	//Version: The version of the module, e.g. '1.0'.
	Version *string `json:"version,omitempty"`
}

func (*Module_Status) AssignPropertiesFromModuleStatus

func (moduleStatus *Module_Status) AssignPropertiesFromModuleStatus(source *v1alpha1api20210301storage.Module_Status) error

AssignPropertiesFromModuleStatus populates our Module_Status from the provided source Module_Status

func (*Module_Status) AssignPropertiesToModuleStatus

func (moduleStatus *Module_Status) AssignPropertiesToModuleStatus(destination *v1alpha1api20210301storage.Module_Status) error

AssignPropertiesToModuleStatus populates the provided destination Module_Status from our Module_Status

func (*Module_Status) DeepCopy

func (in *Module_Status) DeepCopy() *Module_Status

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

func (*Module_Status) DeepCopyInto

func (in *Module_Status) DeepCopyInto(out *Module_Status)

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

func (*Module_Status) NewEmptyARMValue

func (moduleStatus *Module_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Module_Status) PopulateFromARM

func (moduleStatus *Module_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Module_StatusARM

type Module_StatusARM struct {
	//Args: Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE
	//400'.
	Args *string `json:"args,omitempty"`

	//Name: The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'
	Name string `json:"name"`

	//Version: The version of the module, e.g. '1.0'.
	Version *string `json:"version,omitempty"`
}

func (*Module_StatusARM) DeepCopy

func (in *Module_StatusARM) DeepCopy() *Module_StatusARM

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

func (*Module_StatusARM) DeepCopyInto

func (in *Module_StatusARM) DeepCopyInto(out *Module_StatusARM)

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

type Persistence

type Persistence struct {
	//AofEnabled: Sets whether AOF is enabled.
	AofEnabled *bool `json:"aofEnabled,omitempty"`

	//AofFrequency: Sets the frequency at which data is written to disk.
	AofFrequency *PersistenceAofFrequency `json:"aofFrequency,omitempty"`

	//RdbEnabled: Sets whether RDB is enabled.
	RdbEnabled *bool `json:"rdbEnabled,omitempty"`

	//RdbFrequency: Sets the frequency at which a snapshot of the database is created.
	RdbFrequency *PersistenceRdbFrequency `json:"rdbFrequency,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/Persistence

func (*Persistence) AssignPropertiesFromPersistence

func (persistence *Persistence) AssignPropertiesFromPersistence(source *v1alpha1api20210301storage.Persistence) error

AssignPropertiesFromPersistence populates our Persistence from the provided source Persistence

func (*Persistence) AssignPropertiesToPersistence

func (persistence *Persistence) AssignPropertiesToPersistence(destination *v1alpha1api20210301storage.Persistence) error

AssignPropertiesToPersistence populates the provided destination Persistence from our Persistence

func (*Persistence) ConvertToARM

func (persistence *Persistence) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Persistence) DeepCopy

func (in *Persistence) DeepCopy() *Persistence

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

func (*Persistence) DeepCopyInto

func (in *Persistence) DeepCopyInto(out *Persistence)

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

func (*Persistence) NewEmptyARMValue

func (persistence *Persistence) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Persistence) PopulateFromARM

func (persistence *Persistence) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PersistenceARM

type PersistenceARM struct {
	//AofEnabled: Sets whether AOF is enabled.
	AofEnabled *bool `json:"aofEnabled,omitempty"`

	//AofFrequency: Sets the frequency at which data is written to disk.
	AofFrequency *PersistenceAofFrequency `json:"aofFrequency,omitempty"`

	//RdbEnabled: Sets whether RDB is enabled.
	RdbEnabled *bool `json:"rdbEnabled,omitempty"`

	//RdbFrequency: Sets the frequency at which a snapshot of the database is created.
	RdbFrequency *PersistenceRdbFrequency `json:"rdbFrequency,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/Persistence

func (*PersistenceARM) DeepCopy

func (in *PersistenceARM) DeepCopy() *PersistenceARM

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

func (*PersistenceARM) DeepCopyInto

func (in *PersistenceARM) DeepCopyInto(out *PersistenceARM)

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

type PersistenceAofFrequency

type PersistenceAofFrequency string

+kubebuilder:validation:Enum={"1s","always"}

type PersistenceRdbFrequency

type PersistenceRdbFrequency string

+kubebuilder:validation:Enum={"12h","1h","6h"}

type PersistenceStatusAofFrequency

type PersistenceStatusAofFrequency string

type PersistenceStatusRdbFrequency

type PersistenceStatusRdbFrequency string

type Persistence_Status

type Persistence_Status struct {
	//AofEnabled: Sets whether AOF is enabled.
	AofEnabled *bool `json:"aofEnabled,omitempty"`

	//AofFrequency: Sets the frequency at which data is written to disk.
	AofFrequency *PersistenceStatusAofFrequency `json:"aofFrequency,omitempty"`

	//RdbEnabled: Sets whether RDB is enabled.
	RdbEnabled *bool `json:"rdbEnabled,omitempty"`

	//RdbFrequency: Sets the frequency at which a snapshot of the database is created.
	RdbFrequency *PersistenceStatusRdbFrequency `json:"rdbFrequency,omitempty"`
}

func (*Persistence_Status) AssignPropertiesFromPersistenceStatus

func (persistenceStatus *Persistence_Status) AssignPropertiesFromPersistenceStatus(source *v1alpha1api20210301storage.Persistence_Status) error

AssignPropertiesFromPersistenceStatus populates our Persistence_Status from the provided source Persistence_Status

func (*Persistence_Status) AssignPropertiesToPersistenceStatus

func (persistenceStatus *Persistence_Status) AssignPropertiesToPersistenceStatus(destination *v1alpha1api20210301storage.Persistence_Status) error

AssignPropertiesToPersistenceStatus populates the provided destination Persistence_Status from our Persistence_Status

func (*Persistence_Status) DeepCopy

func (in *Persistence_Status) DeepCopy() *Persistence_Status

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

func (*Persistence_Status) DeepCopyInto

func (in *Persistence_Status) DeepCopyInto(out *Persistence_Status)

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

func (*Persistence_Status) NewEmptyARMValue

func (persistenceStatus *Persistence_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Persistence_Status) PopulateFromARM

func (persistenceStatus *Persistence_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Persistence_StatusARM

type Persistence_StatusARM struct {
	//AofEnabled: Sets whether AOF is enabled.
	AofEnabled *bool `json:"aofEnabled,omitempty"`

	//AofFrequency: Sets the frequency at which data is written to disk.
	AofFrequency *PersistenceStatusAofFrequency `json:"aofFrequency,omitempty"`

	//RdbEnabled: Sets whether RDB is enabled.
	RdbEnabled *bool `json:"rdbEnabled,omitempty"`

	//RdbFrequency: Sets the frequency at which a snapshot of the database is created.
	RdbFrequency *PersistenceStatusRdbFrequency `json:"rdbFrequency,omitempty"`
}

func (*Persistence_StatusARM) DeepCopy

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

func (*Persistence_StatusARM) DeepCopyInto

func (in *Persistence_StatusARM) DeepCopyInto(out *Persistence_StatusARM)

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

type PrivateEndpointConnection_Status_SubResourceEmbedded

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

func (*PrivateEndpointConnection_Status_SubResourceEmbedded) AssignPropertiesFromPrivateEndpointConnectionStatusSubResourceEmbedded

func (privateEndpointConnectionStatusSubResourceEmbedded *PrivateEndpointConnection_Status_SubResourceEmbedded) AssignPropertiesFromPrivateEndpointConnectionStatusSubResourceEmbedded(source *v1alpha1api20210301storage.PrivateEndpointConnection_Status_SubResourceEmbedded) error

AssignPropertiesFromPrivateEndpointConnectionStatusSubResourceEmbedded populates our PrivateEndpointConnection_Status_SubResourceEmbedded from the provided source PrivateEndpointConnection_Status_SubResourceEmbedded

func (*PrivateEndpointConnection_Status_SubResourceEmbedded) AssignPropertiesToPrivateEndpointConnectionStatusSubResourceEmbedded

func (privateEndpointConnectionStatusSubResourceEmbedded *PrivateEndpointConnection_Status_SubResourceEmbedded) AssignPropertiesToPrivateEndpointConnectionStatusSubResourceEmbedded(destination *v1alpha1api20210301storage.PrivateEndpointConnection_Status_SubResourceEmbedded) error

AssignPropertiesToPrivateEndpointConnectionStatusSubResourceEmbedded populates the provided destination PrivateEndpointConnection_Status_SubResourceEmbedded from our PrivateEndpointConnection_Status_SubResourceEmbedded

func (*PrivateEndpointConnection_Status_SubResourceEmbedded) DeepCopy

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

func (*PrivateEndpointConnection_Status_SubResourceEmbedded) DeepCopyInto

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

func (*PrivateEndpointConnection_Status_SubResourceEmbedded) NewEmptyARMValue

func (privateEndpointConnectionStatusSubResourceEmbedded *PrivateEndpointConnection_Status_SubResourceEmbedded) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PrivateEndpointConnection_Status_SubResourceEmbedded) PopulateFromARM

func (privateEndpointConnectionStatusSubResourceEmbedded *PrivateEndpointConnection_Status_SubResourceEmbedded) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PrivateEndpointConnection_Status_SubResourceEmbeddedARM

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

func (*PrivateEndpointConnection_Status_SubResourceEmbeddedARM) DeepCopy

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

func (*PrivateEndpointConnection_Status_SubResourceEmbeddedARM) DeepCopyInto

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

type ProvisioningState_Status

type ProvisioningState_Status string

type RedisEnterprise

type RedisEnterprise struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisEnterprise_Spec `json:"spec,omitempty"`
	Status            Cluster_Status       `json:"status,omitempty"`
}

+kubebuilder:object:root=true +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" Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise

func (*RedisEnterprise) AssignPropertiesFromRedisEnterprise

func (redisEnterprise *RedisEnterprise) AssignPropertiesFromRedisEnterprise(source *v1alpha1api20210301storage.RedisEnterprise) error

AssignPropertiesFromRedisEnterprise populates our RedisEnterprise from the provided source RedisEnterprise

func (*RedisEnterprise) AssignPropertiesToRedisEnterprise

func (redisEnterprise *RedisEnterprise) AssignPropertiesToRedisEnterprise(destination *v1alpha1api20210301storage.RedisEnterprise) error

AssignPropertiesToRedisEnterprise populates the provided destination RedisEnterprise from our RedisEnterprise

func (*RedisEnterprise) AzureName

func (redisEnterprise *RedisEnterprise) AzureName() string

AzureName returns the Azure name of the resource

func (*RedisEnterprise) ConvertFrom

func (redisEnterprise *RedisEnterprise) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisEnterprise from the provided hub RedisEnterprise

func (*RedisEnterprise) ConvertTo

func (redisEnterprise *RedisEnterprise) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisEnterprise from our RedisEnterprise

func (*RedisEnterprise) DeepCopy

func (in *RedisEnterprise) DeepCopy() *RedisEnterprise

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

func (*RedisEnterprise) DeepCopyInto

func (in *RedisEnterprise) DeepCopyInto(out *RedisEnterprise)

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

func (*RedisEnterprise) DeepCopyObject

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

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

func (*RedisEnterprise) Default

func (redisEnterprise *RedisEnterprise) Default()

Default applies defaults to the RedisEnterprise resource

func (RedisEnterprise) GetAPIVersion

func (redisEnterprise RedisEnterprise) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-03-01"

func (*RedisEnterprise) GetConditions

func (redisEnterprise *RedisEnterprise) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisEnterprise) GetResourceKind

func (redisEnterprise *RedisEnterprise) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*RedisEnterprise) GetSpec

func (redisEnterprise *RedisEnterprise) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RedisEnterprise) GetStatus

func (redisEnterprise *RedisEnterprise) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RedisEnterprise) GetType

func (redisEnterprise *RedisEnterprise) GetType() string

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

func (*RedisEnterprise) NewEmptyStatus

func (redisEnterprise *RedisEnterprise) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisEnterprise) OriginalGVK

func (redisEnterprise *RedisEnterprise) OriginalGVK() *schema.GroupVersionKind

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

func (*RedisEnterprise) Owner

func (redisEnterprise *RedisEnterprise) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*RedisEnterprise) SetConditions

func (redisEnterprise *RedisEnterprise) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisEnterprise) SetStatus

func (redisEnterprise *RedisEnterprise) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*RedisEnterprise) ValidateCreate

func (redisEnterprise *RedisEnterprise) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*RedisEnterprise) ValidateDelete

func (redisEnterprise *RedisEnterprise) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*RedisEnterprise) ValidateUpdate

func (redisEnterprise *RedisEnterprise) ValidateUpdate(old runtime.Object) error

ValidateUpdate validates an update of the resource

type RedisEnterpriseDatabase

type RedisEnterpriseDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisEnterpriseDatabases_Spec `json:"spec,omitempty"`
	Status            Database_Status               `json:"status,omitempty"`
}

+kubebuilder:object:root=true +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" Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise_databases

func (*RedisEnterpriseDatabase) AssignPropertiesFromRedisEnterpriseDatabase

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) AssignPropertiesFromRedisEnterpriseDatabase(source *v1alpha1api20210301storage.RedisEnterpriseDatabase) error

AssignPropertiesFromRedisEnterpriseDatabase populates our RedisEnterpriseDatabase from the provided source RedisEnterpriseDatabase

func (*RedisEnterpriseDatabase) AssignPropertiesToRedisEnterpriseDatabase

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) AssignPropertiesToRedisEnterpriseDatabase(destination *v1alpha1api20210301storage.RedisEnterpriseDatabase) error

AssignPropertiesToRedisEnterpriseDatabase populates the provided destination RedisEnterpriseDatabase from our RedisEnterpriseDatabase

func (*RedisEnterpriseDatabase) AzureName

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) AzureName() string

AzureName returns the Azure name of the resource

func (*RedisEnterpriseDatabase) ConvertFrom

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our RedisEnterpriseDatabase from the provided hub RedisEnterpriseDatabase

func (*RedisEnterpriseDatabase) ConvertTo

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub RedisEnterpriseDatabase from our RedisEnterpriseDatabase

func (*RedisEnterpriseDatabase) DeepCopy

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

func (*RedisEnterpriseDatabase) DeepCopyInto

func (in *RedisEnterpriseDatabase) DeepCopyInto(out *RedisEnterpriseDatabase)

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

func (*RedisEnterpriseDatabase) DeepCopyObject

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

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

func (*RedisEnterpriseDatabase) Default

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) Default()

Default applies defaults to the RedisEnterpriseDatabase resource

func (RedisEnterpriseDatabase) GetAPIVersion

func (redisEnterpriseDatabase RedisEnterpriseDatabase) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-03-01"

func (*RedisEnterpriseDatabase) GetConditions

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*RedisEnterpriseDatabase) GetResourceKind

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*RedisEnterpriseDatabase) GetSpec

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*RedisEnterpriseDatabase) GetStatus

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*RedisEnterpriseDatabase) GetType

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) GetType() string

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

func (*RedisEnterpriseDatabase) NewEmptyStatus

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*RedisEnterpriseDatabase) OriginalGVK

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) OriginalGVK() *schema.GroupVersionKind

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

func (*RedisEnterpriseDatabase) Owner

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*RedisEnterpriseDatabase) SetConditions

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*RedisEnterpriseDatabase) SetStatus

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*RedisEnterpriseDatabase) ValidateCreate

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*RedisEnterpriseDatabase) ValidateDelete

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*RedisEnterpriseDatabase) ValidateUpdate

func (redisEnterpriseDatabase *RedisEnterpriseDatabase) ValidateUpdate(old runtime.Object) error

ValidateUpdate validates an update of the resource

type RedisEnterpriseDatabaseList

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

+kubebuilder:object:root=true Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise_databases

func (*RedisEnterpriseDatabaseList) DeepCopy

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

func (*RedisEnterpriseDatabaseList) DeepCopyInto

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

func (*RedisEnterpriseDatabaseList) DeepCopyObject

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

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

type RedisEnterpriseDatabasesSpecAPIVersion

type RedisEnterpriseDatabasesSpecAPIVersion string

+kubebuilder:validation:Enum={"2021-03-01"}

type RedisEnterpriseDatabases_Spec

type RedisEnterpriseDatabases_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"`

	//ClientProtocol: Specifies whether redis clients can connect using TLS-encrypted
	//or plaintext redis protocols. Default is TLS-encrypted.
	ClientProtocol *DatabasePropertiesClientProtocol `json:"clientProtocol,omitempty"`

	//ClusteringPolicy: Clustering policy - default is OSSCluster. Specified at create
	//time.
	ClusteringPolicy *DatabasePropertiesClusteringPolicy `json:"clusteringPolicy,omitempty"`

	//EvictionPolicy: Redis eviction policy - default is VolatileLRU.
	EvictionPolicy *DatabasePropertiesEvictionPolicy `json:"evictionPolicy,omitempty"`

	//Location: Location to deploy resource to
	Location *string `json:"location,omitempty"`

	//Modules: Optional set of redis modules to enable in this database - modules can
	//only be added at creation time.
	Modules []Module `json:"modules,omitempty"`

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"cache.azure.com" json:"owner" kind:"RedisEnterprise"`

	//Persistence: Persistence-related configuration for the RedisEnterprise database
	Persistence *Persistence `json:"persistence,omitempty"`

	//Port: TCP port of the database endpoint. Specified at create time. Defaults to
	//an available port.
	Port *int `json:"port,omitempty"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*RedisEnterpriseDatabases_Spec) AssignPropertiesFromRedisEnterpriseDatabasesSpec

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) AssignPropertiesFromRedisEnterpriseDatabasesSpec(source *v1alpha1api20210301storage.RedisEnterpriseDatabases_Spec) error

AssignPropertiesFromRedisEnterpriseDatabasesSpec populates our RedisEnterpriseDatabases_Spec from the provided source RedisEnterpriseDatabases_Spec

func (*RedisEnterpriseDatabases_Spec) AssignPropertiesToRedisEnterpriseDatabasesSpec

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) AssignPropertiesToRedisEnterpriseDatabasesSpec(destination *v1alpha1api20210301storage.RedisEnterpriseDatabases_Spec) error

AssignPropertiesToRedisEnterpriseDatabasesSpec populates the provided destination RedisEnterpriseDatabases_Spec from our RedisEnterpriseDatabases_Spec

func (*RedisEnterpriseDatabases_Spec) ConvertSpecFrom

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisEnterpriseDatabases_Spec from the provided source

func (*RedisEnterpriseDatabases_Spec) ConvertSpecTo

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisEnterpriseDatabases_Spec

func (*RedisEnterpriseDatabases_Spec) ConvertToARM

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisEnterpriseDatabases_Spec) DeepCopy

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

func (*RedisEnterpriseDatabases_Spec) DeepCopyInto

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

func (*RedisEnterpriseDatabases_Spec) NewEmptyARMValue

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisEnterpriseDatabases_Spec) OriginalVersion

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) OriginalVersion() string

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

func (*RedisEnterpriseDatabases_Spec) PopulateFromARM

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RedisEnterpriseDatabases_Spec) SetAzureName

func (redisEnterpriseDatabasesSpec *RedisEnterpriseDatabases_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RedisEnterpriseDatabases_SpecARM

type RedisEnterpriseDatabases_SpecARM struct {
	//Location: Location to deploy resource to
	Location *string `json:"location,omitempty"`

	//Name: The name of the database.
	Name string `json:"name"`

	//Properties: Properties of RedisEnterprise databases, as opposed to general
	//resource properties like location, tags
	Properties DatabasePropertiesARM `json:"properties"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*RedisEnterpriseDatabases_SpecARM) DeepCopy

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

func (*RedisEnterpriseDatabases_SpecARM) DeepCopyInto

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

func (RedisEnterpriseDatabases_SpecARM) GetAPIVersion

func (redisEnterpriseDatabasesSpecARM RedisEnterpriseDatabases_SpecARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-03-01"

func (RedisEnterpriseDatabases_SpecARM) GetName

func (redisEnterpriseDatabasesSpecARM RedisEnterpriseDatabases_SpecARM) GetName() string

GetName returns the Name of the resource

func (RedisEnterpriseDatabases_SpecARM) GetType

func (redisEnterpriseDatabasesSpecARM RedisEnterpriseDatabases_SpecARM) GetType() string

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

type RedisEnterpriseList

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

+kubebuilder:object:root=true Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise

func (*RedisEnterpriseList) DeepCopy

func (in *RedisEnterpriseList) DeepCopy() *RedisEnterpriseList

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

func (*RedisEnterpriseList) DeepCopyInto

func (in *RedisEnterpriseList) DeepCopyInto(out *RedisEnterpriseList)

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

func (*RedisEnterpriseList) DeepCopyObject

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

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

type RedisEnterpriseSpecAPIVersion

type RedisEnterpriseSpecAPIVersion string

+kubebuilder:validation:Enum={"2021-03-01"}

type RedisEnterprise_Spec

type RedisEnterprise_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"`

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

	//MinimumTlsVersion: The minimum TLS version for the cluster to support, e.g.
	//'1.2'.
	MinimumTlsVersion *ClusterPropertiesMinimumTlsVersion `json:"minimumTlsVersion,omitempty"`

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner" kind:"ResourceGroup"`

	// +kubebuilder:validation:Required
	//Sku: SKU parameters supplied to the create RedisEnterprise operation.
	Sku Sku `json:"sku"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`

	//Zones: The Availability Zones where this cluster will be deployed.
	Zones []string `json:"zones,omitempty"`
}

func (*RedisEnterprise_Spec) AssignPropertiesFromRedisEnterpriseSpec

func (redisEnterpriseSpec *RedisEnterprise_Spec) AssignPropertiesFromRedisEnterpriseSpec(source *v1alpha1api20210301storage.RedisEnterprise_Spec) error

AssignPropertiesFromRedisEnterpriseSpec populates our RedisEnterprise_Spec from the provided source RedisEnterprise_Spec

func (*RedisEnterprise_Spec) AssignPropertiesToRedisEnterpriseSpec

func (redisEnterpriseSpec *RedisEnterprise_Spec) AssignPropertiesToRedisEnterpriseSpec(destination *v1alpha1api20210301storage.RedisEnterprise_Spec) error

AssignPropertiesToRedisEnterpriseSpec populates the provided destination RedisEnterprise_Spec from our RedisEnterprise_Spec

func (*RedisEnterprise_Spec) ConvertSpecFrom

func (redisEnterpriseSpec *RedisEnterprise_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our RedisEnterprise_Spec from the provided source

func (*RedisEnterprise_Spec) ConvertSpecTo

func (redisEnterpriseSpec *RedisEnterprise_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our RedisEnterprise_Spec

func (*RedisEnterprise_Spec) ConvertToARM

func (redisEnterpriseSpec *RedisEnterprise_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*RedisEnterprise_Spec) DeepCopy

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

func (*RedisEnterprise_Spec) DeepCopyInto

func (in *RedisEnterprise_Spec) DeepCopyInto(out *RedisEnterprise_Spec)

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

func (*RedisEnterprise_Spec) NewEmptyARMValue

func (redisEnterpriseSpec *RedisEnterprise_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*RedisEnterprise_Spec) OriginalVersion

func (redisEnterpriseSpec *RedisEnterprise_Spec) OriginalVersion() string

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

func (*RedisEnterprise_Spec) PopulateFromARM

func (redisEnterpriseSpec *RedisEnterprise_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*RedisEnterprise_Spec) SetAzureName

func (redisEnterpriseSpec *RedisEnterprise_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type RedisEnterprise_SpecARM

type RedisEnterprise_SpecARM struct {
	//Location: The geo-location where the resource lives
	Location string `json:"location,omitempty"`

	//Name: The name of the RedisEnterprise cluster.
	Name string `json:"name"`

	//Properties: Properties of RedisEnterprise clusters, as opposed to general
	//resource properties like location, tags
	Properties ClusterPropertiesARM `json:"properties"`

	//Sku: SKU parameters supplied to the create RedisEnterprise operation.
	Sku SkuARM `json:"sku"`

	//Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`

	//Zones: The Availability Zones where this cluster will be deployed.
	Zones []string `json:"zones,omitempty"`
}

func (*RedisEnterprise_SpecARM) DeepCopy

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

func (*RedisEnterprise_SpecARM) DeepCopyInto

func (in *RedisEnterprise_SpecARM) DeepCopyInto(out *RedisEnterprise_SpecARM)

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

func (RedisEnterprise_SpecARM) GetAPIVersion

func (redisEnterpriseSpecARM RedisEnterprise_SpecARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-03-01"

func (RedisEnterprise_SpecARM) GetName

func (redisEnterpriseSpecARM RedisEnterprise_SpecARM) GetName() string

GetName returns the Name of the resource

func (RedisEnterprise_SpecARM) GetType

func (redisEnterpriseSpecARM RedisEnterprise_SpecARM) GetType() string

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

type ResourceState_Status

type ResourceState_Status string

type Sku

type Sku struct {
	//Capacity: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending
	//on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...)
	//for Flash SKUs.
	Capacity *int `json:"capacity,omitempty"`

	// +kubebuilder:validation:Required
	//Name: The type of RedisEnterprise cluster to deploy. Possible values:
	//(Enterprise_E10, EnterpriseFlash_F300 etc.).
	Name SkuName `json:"name"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/Sku

func (*Sku) AssignPropertiesFromSku

func (sku *Sku) AssignPropertiesFromSku(source *v1alpha1api20210301storage.Sku) error

AssignPropertiesFromSku populates our Sku from the provided source Sku

func (*Sku) AssignPropertiesToSku

func (sku *Sku) AssignPropertiesToSku(destination *v1alpha1api20210301storage.Sku) error

AssignPropertiesToSku 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) 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 SkuARM

type SkuARM struct {
	//Capacity: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending
	//on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...)
	//for Flash SKUs.
	Capacity *int `json:"capacity,omitempty"`

	//Name: The type of RedisEnterprise cluster to deploy. Possible values:
	//(Enterprise_E10, EnterpriseFlash_F300 etc.).
	Name SkuName `json:"name"`
}

Generated from: https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Cache.Enterprise.json#/definitions/Sku

func (*SkuARM) DeepCopy

func (in *SkuARM) DeepCopy() *SkuARM

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

func (*SkuARM) DeepCopyInto

func (in *SkuARM) DeepCopyInto(out *SkuARM)

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

type SkuName

type SkuName string

+kubebuilder:validation:Enum={"Enterprise_E10","Enterprise_E100","Enterprise_E20","Enterprise_E50","EnterpriseFlash_F1500","EnterpriseFlash_F300","EnterpriseFlash_F700"}

type SkuStatusName

type SkuStatusName string

type Sku_Status

type Sku_Status struct {
	//Capacity: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending
	//on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...)
	//for Flash SKUs.
	Capacity *int `json:"capacity,omitempty"`

	// +kubebuilder:validation:Required
	//Name: The type of RedisEnterprise cluster to deploy. Possible values:
	//(Enterprise_E10, EnterpriseFlash_F300 etc.)
	Name SkuStatusName `json:"name"`
}

func (*Sku_Status) AssignPropertiesFromSkuStatus

func (skuStatus *Sku_Status) AssignPropertiesFromSkuStatus(source *v1alpha1api20210301storage.Sku_Status) error

AssignPropertiesFromSkuStatus populates our Sku_Status from the provided source Sku_Status

func (*Sku_Status) AssignPropertiesToSkuStatus

func (skuStatus *Sku_Status) AssignPropertiesToSkuStatus(destination *v1alpha1api20210301storage.Sku_Status) error

AssignPropertiesToSkuStatus 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 (skuStatus *Sku_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_Status) PopulateFromARM

func (skuStatus *Sku_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku_StatusARM

type Sku_StatusARM struct {
	//Capacity: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending
	//on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...)
	//for Flash SKUs.
	Capacity *int `json:"capacity,omitempty"`

	//Name: The type of RedisEnterprise cluster to deploy. Possible values:
	//(Enterprise_E10, EnterpriseFlash_F300 etc.)
	Name SkuStatusName `json:"name"`
}

func (*Sku_StatusARM) DeepCopy

func (in *Sku_StatusARM) DeepCopy() *Sku_StatusARM

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

func (*Sku_StatusARM) DeepCopyInto

func (in *Sku_StatusARM) DeepCopyInto(out *Sku_StatusARM)

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

Jump to

Keyboard shortcuts

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