v1api20240701

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package v1api20240701 contains API Schema definitions for the documentdb v1api20240701 API group +groupName=documentdb.azure.com

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

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

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

Index

Constants

View Source
const (
	ProvisioningState_STATUS_Canceled   = ProvisioningState_STATUS("Canceled")
	ProvisioningState_STATUS_Dropping   = ProvisioningState_STATUS("Dropping")
	ProvisioningState_STATUS_Failed     = ProvisioningState_STATUS("Failed")
	ProvisioningState_STATUS_InProgress = ProvisioningState_STATUS("InProgress")
	ProvisioningState_STATUS_Succeeded  = ProvisioningState_STATUS("Succeeded")
	ProvisioningState_STATUS_Updating   = ProvisioningState_STATUS("Updating")
)
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 (
	CreateMode_Default            = CreateMode("Default")
	CreateMode_GeoReplica         = CreateMode("GeoReplica")
	CreateMode_PointInTimeRestore = CreateMode("PointInTimeRestore")
	CreateMode_Replica            = CreateMode("Replica")
)
View Source
const (
	CreateMode_STATUS_Default            = CreateMode_STATUS("Default")
	CreateMode_STATUS_GeoReplica         = CreateMode_STATUS("GeoReplica")
	CreateMode_STATUS_PointInTimeRestore = CreateMode_STATUS("PointInTimeRestore")
	CreateMode_STATUS_Replica            = CreateMode_STATUS("Replica")
)
View Source
const (
	MongoClusterStatus_STATUS_Dropping     = MongoClusterStatus_STATUS("Dropping")
	MongoClusterStatus_STATUS_Provisioning = MongoClusterStatus_STATUS("Provisioning")
	MongoClusterStatus_STATUS_Ready        = MongoClusterStatus_STATUS("Ready")
	MongoClusterStatus_STATUS_Starting     = MongoClusterStatus_STATUS("Starting")
	MongoClusterStatus_STATUS_Stopped      = MongoClusterStatus_STATUS("Stopped")
	MongoClusterStatus_STATUS_Stopping     = MongoClusterStatus_STATUS("Stopping")
	MongoClusterStatus_STATUS_Updating     = MongoClusterStatus_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 (
	HighAvailabilityMode_Disabled               = HighAvailabilityMode("Disabled")
	HighAvailabilityMode_SameZone               = HighAvailabilityMode("SameZone")
	HighAvailabilityMode_ZoneRedundantPreferred = HighAvailabilityMode("ZoneRedundantPreferred")
)
View Source
const (
	HighAvailabilityMode_STATUS_Disabled               = HighAvailabilityMode_STATUS("Disabled")
	HighAvailabilityMode_STATUS_SameZone               = HighAvailabilityMode_STATUS("SameZone")
	HighAvailabilityMode_STATUS_ZoneRedundantPreferred = HighAvailabilityMode_STATUS("ZoneRedundantPreferred")
)
View Source
const (
	ReplicationRole_STATUS_AsyncReplica    = ReplicationRole_STATUS("AsyncReplica")
	ReplicationRole_STATUS_GeoAsyncReplica = ReplicationRole_STATUS("GeoAsyncReplica")
	ReplicationRole_STATUS_Primary         = ReplicationRole_STATUS("Primary")
)
View Source
const (
	ReplicationState_STATUS_Active        = ReplicationState_STATUS("Active")
	ReplicationState_STATUS_Broken        = ReplicationState_STATUS("Broken")
	ReplicationState_STATUS_Catchup       = ReplicationState_STATUS("Catchup")
	ReplicationState_STATUS_Provisioning  = ReplicationState_STATUS("Provisioning")
	ReplicationState_STATUS_Reconfiguring = ReplicationState_STATUS("Reconfiguring")
	ReplicationState_STATUS_Updating      = ReplicationState_STATUS("Updating")
)
View Source
const APIVersion_Value = APIVersion("2024-07-01")
View Source
const PreviewFeature_GeoReplicas = PreviewFeature("GeoReplicas")
View Source
const PreviewFeature_STATUS_GeoReplicas = PreviewFeature_STATUS("GeoReplicas")

Variables

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

	// 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-07-01"}

type AdministratorProperties

type AdministratorProperties struct {
	// Password: The administrator password.
	Password *genruntime.SecretReference `json:"password,omitempty"`

	// UserName: The administrator user name.
	UserName *string `json:"userName,omitempty"`
}

The local administrator login properties.

func (*AdministratorProperties) AssignProperties_From_AdministratorProperties

func (properties *AdministratorProperties) AssignProperties_From_AdministratorProperties(source *storage.AdministratorProperties) error

AssignProperties_From_AdministratorProperties populates our AdministratorProperties from the provided source AdministratorProperties

func (*AdministratorProperties) AssignProperties_To_AdministratorProperties

func (properties *AdministratorProperties) AssignProperties_To_AdministratorProperties(destination *storage.AdministratorProperties) error

AssignProperties_To_AdministratorProperties populates the provided destination AdministratorProperties from our AdministratorProperties

func (*AdministratorProperties) ConvertToARM

func (properties *AdministratorProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*AdministratorProperties) DeepCopy

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

func (*AdministratorProperties) DeepCopyInto

func (in *AdministratorProperties) DeepCopyInto(out *AdministratorProperties)

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

func (*AdministratorProperties) Initialize_From_AdministratorProperties_STATUS

func (properties *AdministratorProperties) Initialize_From_AdministratorProperties_STATUS(source *AdministratorProperties_STATUS) error

Initialize_From_AdministratorProperties_STATUS populates our AdministratorProperties from the provided source AdministratorProperties_STATUS

func (*AdministratorProperties) NewEmptyARMValue

func (properties *AdministratorProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AdministratorProperties) PopulateFromARM

func (properties *AdministratorProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type AdministratorProperties_STATUS

type AdministratorProperties_STATUS struct {
	// UserName: The administrator user name.
	UserName *string `json:"userName,omitempty"`
}

The local administrator login properties.

func (*AdministratorProperties_STATUS) AssignProperties_From_AdministratorProperties_STATUS

func (properties *AdministratorProperties_STATUS) AssignProperties_From_AdministratorProperties_STATUS(source *storage.AdministratorProperties_STATUS) error

AssignProperties_From_AdministratorProperties_STATUS populates our AdministratorProperties_STATUS from the provided source AdministratorProperties_STATUS

func (*AdministratorProperties_STATUS) AssignProperties_To_AdministratorProperties_STATUS

func (properties *AdministratorProperties_STATUS) AssignProperties_To_AdministratorProperties_STATUS(destination *storage.AdministratorProperties_STATUS) error

AssignProperties_To_AdministratorProperties_STATUS populates the provided destination AdministratorProperties_STATUS from our AdministratorProperties_STATUS

func (*AdministratorProperties_STATUS) DeepCopy

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

func (*AdministratorProperties_STATUS) DeepCopyInto

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

func (*AdministratorProperties_STATUS) NewEmptyARMValue

func (properties *AdministratorProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*AdministratorProperties_STATUS) PopulateFromARM

func (properties *AdministratorProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type BackupProperties_STATUS

type BackupProperties_STATUS struct {
	// EarliestRestoreTime: Earliest restore timestamp in UTC ISO8601 format.
	EarliestRestoreTime *string `json:"earliestRestoreTime,omitempty"`
}

The backup properties of the cluster. This includes the earliest restore time and retention settings.

func (*BackupProperties_STATUS) AssignProperties_From_BackupProperties_STATUS

func (properties *BackupProperties_STATUS) AssignProperties_From_BackupProperties_STATUS(source *storage.BackupProperties_STATUS) error

AssignProperties_From_BackupProperties_STATUS populates our BackupProperties_STATUS from the provided source BackupProperties_STATUS

func (*BackupProperties_STATUS) AssignProperties_To_BackupProperties_STATUS

func (properties *BackupProperties_STATUS) AssignProperties_To_BackupProperties_STATUS(destination *storage.BackupProperties_STATUS) error

AssignProperties_To_BackupProperties_STATUS populates the provided destination BackupProperties_STATUS from our BackupProperties_STATUS

func (*BackupProperties_STATUS) DeepCopy

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

func (*BackupProperties_STATUS) DeepCopyInto

func (in *BackupProperties_STATUS) DeepCopyInto(out *BackupProperties_STATUS)

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

func (*BackupProperties_STATUS) NewEmptyARMValue

func (properties *BackupProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*BackupProperties_STATUS) PopulateFromARM

func (properties *BackupProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ComputeProperties

type ComputeProperties struct {
	// Tier: The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values:
	// 'M30', 'M40'.
	Tier *string `json:"tier,omitempty"`
}

The compute properties of the cluster. This includes the virtual-cores/memory and scaling options applied to servers in the cluster.

func (*ComputeProperties) AssignProperties_From_ComputeProperties

func (properties *ComputeProperties) AssignProperties_From_ComputeProperties(source *storage.ComputeProperties) error

AssignProperties_From_ComputeProperties populates our ComputeProperties from the provided source ComputeProperties

func (*ComputeProperties) AssignProperties_To_ComputeProperties

func (properties *ComputeProperties) AssignProperties_To_ComputeProperties(destination *storage.ComputeProperties) error

AssignProperties_To_ComputeProperties populates the provided destination ComputeProperties from our ComputeProperties

func (*ComputeProperties) ConvertToARM

func (properties *ComputeProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ComputeProperties) DeepCopy

func (in *ComputeProperties) DeepCopy() *ComputeProperties

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

func (*ComputeProperties) DeepCopyInto

func (in *ComputeProperties) DeepCopyInto(out *ComputeProperties)

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

func (*ComputeProperties) Initialize_From_ComputeProperties_STATUS

func (properties *ComputeProperties) Initialize_From_ComputeProperties_STATUS(source *ComputeProperties_STATUS) error

Initialize_From_ComputeProperties_STATUS populates our ComputeProperties from the provided source ComputeProperties_STATUS

func (*ComputeProperties) NewEmptyARMValue

func (properties *ComputeProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ComputeProperties) PopulateFromARM

func (properties *ComputeProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ComputeProperties_STATUS

type ComputeProperties_STATUS struct {
	// Tier: The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values:
	// 'M30', 'M40'.
	Tier *string `json:"tier,omitempty"`
}

The compute properties of the cluster. This includes the virtual-cores/memory and scaling options applied to servers in the cluster.

func (*ComputeProperties_STATUS) AssignProperties_From_ComputeProperties_STATUS

func (properties *ComputeProperties_STATUS) AssignProperties_From_ComputeProperties_STATUS(source *storage.ComputeProperties_STATUS) error

AssignProperties_From_ComputeProperties_STATUS populates our ComputeProperties_STATUS from the provided source ComputeProperties_STATUS

func (*ComputeProperties_STATUS) AssignProperties_To_ComputeProperties_STATUS

func (properties *ComputeProperties_STATUS) AssignProperties_To_ComputeProperties_STATUS(destination *storage.ComputeProperties_STATUS) error

AssignProperties_To_ComputeProperties_STATUS populates the provided destination ComputeProperties_STATUS from our ComputeProperties_STATUS

func (*ComputeProperties_STATUS) DeepCopy

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

func (*ComputeProperties_STATUS) DeepCopyInto

func (in *ComputeProperties_STATUS) DeepCopyInto(out *ComputeProperties_STATUS)

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

func (*ComputeProperties_STATUS) NewEmptyARMValue

func (properties *ComputeProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ComputeProperties_STATUS) PopulateFromARM

func (properties *ComputeProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type CreateMode

type CreateMode string

The mode that the Mongo Cluster is created with. +kubebuilder:validation:Enum={"Default","GeoReplica","PointInTimeRestore","Replica"}

type CreateMode_STATUS

type CreateMode_STATUS string

The mode that the Mongo Cluster is created with.

type FirewallRule

type FirewallRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FirewallRule_Spec   `json:"spec,omitempty"`
	Status            FirewallRule_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" Generator information: - Generated from: /mongocluster/resource-manager/Microsoft.DocumentDB/stable/2024-07-01/mongoCluster.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}

func (*FirewallRule) AssignProperties_From_FirewallRule

func (rule *FirewallRule) AssignProperties_From_FirewallRule(source *storage.FirewallRule) error

AssignProperties_From_FirewallRule populates our FirewallRule from the provided source FirewallRule

func (*FirewallRule) AssignProperties_To_FirewallRule

func (rule *FirewallRule) AssignProperties_To_FirewallRule(destination *storage.FirewallRule) error

AssignProperties_To_FirewallRule populates the provided destination FirewallRule from our FirewallRule

func (*FirewallRule) AzureName

func (rule *FirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*FirewallRule) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*FirewallRule) ConvertFrom

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

ConvertFrom populates our FirewallRule from the provided hub FirewallRule

func (*FirewallRule) ConvertTo

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

ConvertTo populates the provided hub FirewallRule from our FirewallRule

func (*FirewallRule) DeepCopy

func (in *FirewallRule) DeepCopy() *FirewallRule

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

func (*FirewallRule) DeepCopyInto

func (in *FirewallRule) DeepCopyInto(out *FirewallRule)

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

func (*FirewallRule) DeepCopyObject

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

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

func (FirewallRule) GetAPIVersion

func (rule FirewallRule) GetAPIVersion() string

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

func (*FirewallRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*FirewallRule) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*FirewallRule) GetSpec

func (rule *FirewallRule) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*FirewallRule) GetStatus

func (rule *FirewallRule) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*FirewallRule) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*FirewallRule) GetType

func (rule *FirewallRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DocumentDB/mongoClusters/firewallRules"

func (*FirewallRule) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*FirewallRule) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*FirewallRule) OriginalGVK

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

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

func (*FirewallRule) Owner

func (rule *FirewallRule) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*FirewallRule) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*FirewallRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*FirewallRule) SetStatus

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

SetStatus sets the status of this resource

type FirewallRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /mongocluster/resource-manager/Microsoft.DocumentDB/stable/2024-07-01/mongoCluster.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}

func (*FirewallRuleList) DeepCopy

func (in *FirewallRuleList) DeepCopy() *FirewallRuleList

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

func (*FirewallRuleList) DeepCopyInto

func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList)

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

func (*FirewallRuleList) DeepCopyObject

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

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

type FirewallRuleOperatorSpec

type FirewallRuleOperatorSpec 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 (*FirewallRuleOperatorSpec) AssignProperties_From_FirewallRuleOperatorSpec

func (operator *FirewallRuleOperatorSpec) AssignProperties_From_FirewallRuleOperatorSpec(source *storage.FirewallRuleOperatorSpec) error

AssignProperties_From_FirewallRuleOperatorSpec populates our FirewallRuleOperatorSpec from the provided source FirewallRuleOperatorSpec

func (*FirewallRuleOperatorSpec) AssignProperties_To_FirewallRuleOperatorSpec

func (operator *FirewallRuleOperatorSpec) AssignProperties_To_FirewallRuleOperatorSpec(destination *storage.FirewallRuleOperatorSpec) error

AssignProperties_To_FirewallRuleOperatorSpec populates the provided destination FirewallRuleOperatorSpec from our FirewallRuleOperatorSpec

func (*FirewallRuleOperatorSpec) DeepCopy

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

func (*FirewallRuleOperatorSpec) DeepCopyInto

func (in *FirewallRuleOperatorSpec) DeepCopyInto(out *FirewallRuleOperatorSpec)

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

type FirewallRuleProperties

type FirewallRuleProperties struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
	// EndIpAddress: The end IP address of the mongo cluster firewall rule. Must be IPv4 format.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
	// StartIpAddress: The start IP address of the mongo cluster firewall rule. Must be IPv4 format.
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

The properties of a mongo cluster firewall rule.

func (*FirewallRuleProperties) AssignProperties_From_FirewallRuleProperties

func (properties *FirewallRuleProperties) AssignProperties_From_FirewallRuleProperties(source *storage.FirewallRuleProperties) error

AssignProperties_From_FirewallRuleProperties populates our FirewallRuleProperties from the provided source FirewallRuleProperties

func (*FirewallRuleProperties) AssignProperties_To_FirewallRuleProperties

func (properties *FirewallRuleProperties) AssignProperties_To_FirewallRuleProperties(destination *storage.FirewallRuleProperties) error

AssignProperties_To_FirewallRuleProperties populates the provided destination FirewallRuleProperties from our FirewallRuleProperties

func (*FirewallRuleProperties) ConvertToARM

func (properties *FirewallRuleProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FirewallRuleProperties) DeepCopy

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

func (*FirewallRuleProperties) DeepCopyInto

func (in *FirewallRuleProperties) DeepCopyInto(out *FirewallRuleProperties)

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

func (*FirewallRuleProperties) Initialize_From_FirewallRuleProperties_STATUS

func (properties *FirewallRuleProperties) Initialize_From_FirewallRuleProperties_STATUS(source *FirewallRuleProperties_STATUS) error

Initialize_From_FirewallRuleProperties_STATUS populates our FirewallRuleProperties from the provided source FirewallRuleProperties_STATUS

func (*FirewallRuleProperties) NewEmptyARMValue

func (properties *FirewallRuleProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FirewallRuleProperties) PopulateFromARM

func (properties *FirewallRuleProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FirewallRuleProperties_STATUS

type FirewallRuleProperties_STATUS struct {
	// EndIpAddress: The end IP address of the mongo cluster firewall rule. Must be IPv4 format.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// ProvisioningState: The provisioning state of the firewall rule.
	ProvisioningState *ProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// StartIpAddress: The start IP address of the mongo cluster firewall rule. Must be IPv4 format.
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

The properties of a mongo cluster firewall rule.

func (*FirewallRuleProperties_STATUS) AssignProperties_From_FirewallRuleProperties_STATUS

func (properties *FirewallRuleProperties_STATUS) AssignProperties_From_FirewallRuleProperties_STATUS(source *storage.FirewallRuleProperties_STATUS) error

AssignProperties_From_FirewallRuleProperties_STATUS populates our FirewallRuleProperties_STATUS from the provided source FirewallRuleProperties_STATUS

func (*FirewallRuleProperties_STATUS) AssignProperties_To_FirewallRuleProperties_STATUS

func (properties *FirewallRuleProperties_STATUS) AssignProperties_To_FirewallRuleProperties_STATUS(destination *storage.FirewallRuleProperties_STATUS) error

AssignProperties_To_FirewallRuleProperties_STATUS populates the provided destination FirewallRuleProperties_STATUS from our FirewallRuleProperties_STATUS

func (*FirewallRuleProperties_STATUS) DeepCopy

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

func (*FirewallRuleProperties_STATUS) DeepCopyInto

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

func (*FirewallRuleProperties_STATUS) NewEmptyARMValue

func (properties *FirewallRuleProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FirewallRuleProperties_STATUS) PopulateFromARM

func (properties *FirewallRuleProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FirewallRule_STATUS

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

	// Properties: The resource-specific properties for this resource.
	Properties *FirewallRuleProperties_STATUS `json:"properties,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 (*FirewallRule_STATUS) AssignProperties_From_FirewallRule_STATUS

func (rule *FirewallRule_STATUS) AssignProperties_From_FirewallRule_STATUS(source *storage.FirewallRule_STATUS) error

AssignProperties_From_FirewallRule_STATUS populates our FirewallRule_STATUS from the provided source FirewallRule_STATUS

func (*FirewallRule_STATUS) AssignProperties_To_FirewallRule_STATUS

func (rule *FirewallRule_STATUS) AssignProperties_To_FirewallRule_STATUS(destination *storage.FirewallRule_STATUS) error

AssignProperties_To_FirewallRule_STATUS populates the provided destination FirewallRule_STATUS from our FirewallRule_STATUS

func (*FirewallRule_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our FirewallRule_STATUS from the provided source

func (*FirewallRule_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our FirewallRule_STATUS

func (*FirewallRule_STATUS) DeepCopy

func (in *FirewallRule_STATUS) DeepCopy() *FirewallRule_STATUS

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

func (*FirewallRule_STATUS) DeepCopyInto

func (in *FirewallRule_STATUS) DeepCopyInto(out *FirewallRule_STATUS)

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

func (*FirewallRule_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FirewallRule_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FirewallRule_Spec

type FirewallRule_Spec struct {
	// +kubebuilder:validation:MaxLength=80
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern="^[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 *FirewallRuleOperatorSpec `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 documentdb.azure.com/MongoCluster resource
	Owner *genruntime.KnownResourceReference `group:"documentdb.azure.com" json:"owner,omitempty" kind:"MongoCluster"`

	// Properties: The resource-specific properties for this resource.
	Properties *FirewallRuleProperties `json:"properties,omitempty"`
}

func (*FirewallRule_Spec) AssignProperties_From_FirewallRule_Spec

func (rule *FirewallRule_Spec) AssignProperties_From_FirewallRule_Spec(source *storage.FirewallRule_Spec) error

AssignProperties_From_FirewallRule_Spec populates our FirewallRule_Spec from the provided source FirewallRule_Spec

func (*FirewallRule_Spec) AssignProperties_To_FirewallRule_Spec

func (rule *FirewallRule_Spec) AssignProperties_To_FirewallRule_Spec(destination *storage.FirewallRule_Spec) error

AssignProperties_To_FirewallRule_Spec populates the provided destination FirewallRule_Spec from our FirewallRule_Spec

func (*FirewallRule_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our FirewallRule_Spec from the provided source

func (*FirewallRule_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our FirewallRule_Spec

func (*FirewallRule_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FirewallRule_Spec) DeepCopy

func (in *FirewallRule_Spec) DeepCopy() *FirewallRule_Spec

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

func (*FirewallRule_Spec) DeepCopyInto

func (in *FirewallRule_Spec) DeepCopyInto(out *FirewallRule_Spec)

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

func (*FirewallRule_Spec) Initialize_From_FirewallRule_STATUS

func (rule *FirewallRule_Spec) Initialize_From_FirewallRule_STATUS(source *FirewallRule_STATUS) error

Initialize_From_FirewallRule_STATUS populates our FirewallRule_Spec from the provided source FirewallRule_STATUS

func (*FirewallRule_Spec) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FirewallRule_Spec) OriginalVersion

func (rule *FirewallRule_Spec) OriginalVersion() string

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

func (*FirewallRule_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*FirewallRule_Spec) SetAzureName

func (rule *FirewallRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type HighAvailabilityMode

type HighAvailabilityMode string

The high availability modes for a cluster. +kubebuilder:validation:Enum={"Disabled","SameZone","ZoneRedundantPreferred"}

type HighAvailabilityMode_STATUS

type HighAvailabilityMode_STATUS string

The high availability modes for a cluster.

type HighAvailabilityProperties

type HighAvailabilityProperties struct {
	// TargetMode: The target high availability mode requested for the cluster.
	TargetMode *HighAvailabilityMode `json:"targetMode,omitempty"`
}

The high availability properties of the cluster.

func (*HighAvailabilityProperties) AssignProperties_From_HighAvailabilityProperties

func (properties *HighAvailabilityProperties) AssignProperties_From_HighAvailabilityProperties(source *storage.HighAvailabilityProperties) error

AssignProperties_From_HighAvailabilityProperties populates our HighAvailabilityProperties from the provided source HighAvailabilityProperties

func (*HighAvailabilityProperties) AssignProperties_To_HighAvailabilityProperties

func (properties *HighAvailabilityProperties) AssignProperties_To_HighAvailabilityProperties(destination *storage.HighAvailabilityProperties) error

AssignProperties_To_HighAvailabilityProperties populates the provided destination HighAvailabilityProperties from our HighAvailabilityProperties

func (*HighAvailabilityProperties) ConvertToARM

func (properties *HighAvailabilityProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*HighAvailabilityProperties) DeepCopy

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

func (*HighAvailabilityProperties) DeepCopyInto

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

func (*HighAvailabilityProperties) Initialize_From_HighAvailabilityProperties_STATUS

func (properties *HighAvailabilityProperties) Initialize_From_HighAvailabilityProperties_STATUS(source *HighAvailabilityProperties_STATUS) error

Initialize_From_HighAvailabilityProperties_STATUS populates our HighAvailabilityProperties from the provided source HighAvailabilityProperties_STATUS

func (*HighAvailabilityProperties) NewEmptyARMValue

func (properties *HighAvailabilityProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HighAvailabilityProperties) PopulateFromARM

func (properties *HighAvailabilityProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type HighAvailabilityProperties_STATUS

type HighAvailabilityProperties_STATUS struct {
	// TargetMode: The target high availability mode requested for the cluster.
	TargetMode *HighAvailabilityMode_STATUS `json:"targetMode,omitempty"`
}

The high availability properties of the cluster.

func (*HighAvailabilityProperties_STATUS) AssignProperties_From_HighAvailabilityProperties_STATUS

func (properties *HighAvailabilityProperties_STATUS) AssignProperties_From_HighAvailabilityProperties_STATUS(source *storage.HighAvailabilityProperties_STATUS) error

AssignProperties_From_HighAvailabilityProperties_STATUS populates our HighAvailabilityProperties_STATUS from the provided source HighAvailabilityProperties_STATUS

func (*HighAvailabilityProperties_STATUS) AssignProperties_To_HighAvailabilityProperties_STATUS

func (properties *HighAvailabilityProperties_STATUS) AssignProperties_To_HighAvailabilityProperties_STATUS(destination *storage.HighAvailabilityProperties_STATUS) error

AssignProperties_To_HighAvailabilityProperties_STATUS populates the provided destination HighAvailabilityProperties_STATUS from our HighAvailabilityProperties_STATUS

func (*HighAvailabilityProperties_STATUS) DeepCopy

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

func (*HighAvailabilityProperties_STATUS) DeepCopyInto

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

func (*HighAvailabilityProperties_STATUS) NewEmptyARMValue

func (properties *HighAvailabilityProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HighAvailabilityProperties_STATUS) PopulateFromARM

func (properties *HighAvailabilityProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoCluster

type MongoCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MongoCluster_Spec   `json:"spec,omitempty"`
	Status            MongoCluster_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" Generator information: - Generated from: /mongocluster/resource-manager/Microsoft.DocumentDB/stable/2024-07-01/mongoCluster.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}

func (*MongoCluster) AssignProperties_From_MongoCluster

func (cluster *MongoCluster) AssignProperties_From_MongoCluster(source *storage.MongoCluster) error

AssignProperties_From_MongoCluster populates our MongoCluster from the provided source MongoCluster

func (*MongoCluster) AssignProperties_To_MongoCluster

func (cluster *MongoCluster) AssignProperties_To_MongoCluster(destination *storage.MongoCluster) error

AssignProperties_To_MongoCluster populates the provided destination MongoCluster from our MongoCluster

func (*MongoCluster) AzureName

func (cluster *MongoCluster) AzureName() string

AzureName returns the Azure name of the resource

func (*MongoCluster) ConfigMapDestinationExpressions

func (cluster *MongoCluster) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*MongoCluster) ConvertFrom

func (cluster *MongoCluster) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our MongoCluster from the provided hub MongoCluster

func (*MongoCluster) ConvertTo

func (cluster *MongoCluster) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub MongoCluster from our MongoCluster

func (*MongoCluster) DeepCopy

func (in *MongoCluster) DeepCopy() *MongoCluster

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

func (*MongoCluster) DeepCopyInto

func (in *MongoCluster) DeepCopyInto(out *MongoCluster)

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

func (*MongoCluster) DeepCopyObject

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

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

func (MongoCluster) GetAPIVersion

func (cluster MongoCluster) GetAPIVersion() string

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

func (*MongoCluster) GetConditions

func (cluster *MongoCluster) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*MongoCluster) GetResourceScope

func (cluster *MongoCluster) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*MongoCluster) GetSpec

func (cluster *MongoCluster) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*MongoCluster) GetStatus

func (cluster *MongoCluster) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*MongoCluster) GetSupportedOperations

func (cluster *MongoCluster) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*MongoCluster) GetType

func (cluster *MongoCluster) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DocumentDB/mongoClusters"

func (*MongoCluster) InitializeSpec

func (cluster *MongoCluster) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*MongoCluster) NewEmptyStatus

func (cluster *MongoCluster) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*MongoCluster) OriginalGVK

func (cluster *MongoCluster) OriginalGVK() *schema.GroupVersionKind

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

func (*MongoCluster) Owner

func (cluster *MongoCluster) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*MongoCluster) SecretDestinationExpressions

func (cluster *MongoCluster) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*MongoCluster) SetConditions

func (cluster *MongoCluster) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*MongoCluster) SetStatus

func (cluster *MongoCluster) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type MongoClusterList

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

+kubebuilder:object:root=true Generator information: - Generated from: /mongocluster/resource-manager/Microsoft.DocumentDB/stable/2024-07-01/mongoCluster.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}

func (*MongoClusterList) DeepCopy

func (in *MongoClusterList) DeepCopy() *MongoClusterList

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

func (*MongoClusterList) DeepCopyInto

func (in *MongoClusterList) DeepCopyInto(out *MongoClusterList)

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

func (*MongoClusterList) DeepCopyObject

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

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

type MongoClusterOperatorSpec

type MongoClusterOperatorSpec 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 (*MongoClusterOperatorSpec) AssignProperties_From_MongoClusterOperatorSpec

func (operator *MongoClusterOperatorSpec) AssignProperties_From_MongoClusterOperatorSpec(source *storage.MongoClusterOperatorSpec) error

AssignProperties_From_MongoClusterOperatorSpec populates our MongoClusterOperatorSpec from the provided source MongoClusterOperatorSpec

func (*MongoClusterOperatorSpec) AssignProperties_To_MongoClusterOperatorSpec

func (operator *MongoClusterOperatorSpec) AssignProperties_To_MongoClusterOperatorSpec(destination *storage.MongoClusterOperatorSpec) error

AssignProperties_To_MongoClusterOperatorSpec populates the provided destination MongoClusterOperatorSpec from our MongoClusterOperatorSpec

func (*MongoClusterOperatorSpec) DeepCopy

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

func (*MongoClusterOperatorSpec) DeepCopyInto

func (in *MongoClusterOperatorSpec) DeepCopyInto(out *MongoClusterOperatorSpec)

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

type MongoClusterProperties

type MongoClusterProperties struct {
	// Administrator: The local administrator properties for the mongo cluster.
	Administrator *AdministratorProperties `json:"administrator,omitempty"`

	// Compute: The compute properties of the mongo cluster.
	Compute *ComputeProperties `json:"compute,omitempty"`

	// CreateMode: The mode to create a mongo cluster.
	CreateMode *CreateMode `json:"createMode,omitempty"`

	// HighAvailability: The high availability properties of the mongo cluster.
	HighAvailability *HighAvailabilityProperties `json:"highAvailability,omitempty"`

	// PreviewFeatures: List of private endpoint connections.
	PreviewFeatures []PreviewFeature `json:"previewFeatures,omitempty"`

	// PublicNetworkAccess: Whether or not public endpoint access is allowed for this mongo cluster.
	PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`

	// ReplicaParameters: The parameters to create a replica mongo cluster.
	ReplicaParameters *MongoClusterReplicaParameters `json:"replicaParameters,omitempty"`

	// RestoreParameters: The parameters to create a point-in-time restore mongo cluster.
	RestoreParameters *MongoClusterRestoreParameters `json:"restoreParameters,omitempty"`

	// ServerVersion: The Mongo DB server version. Defaults to the latest available version if not specified.
	ServerVersion *string `json:"serverVersion,omitempty"`

	// Sharding: The sharding properties of the mongo cluster.
	Sharding *ShardingProperties `json:"sharding,omitempty"`

	// Storage: The storage properties of the mongo cluster.
	Storage *StorageProperties `json:"storage,omitempty"`
}

The properties of a mongo cluster.

func (*MongoClusterProperties) AssignProperties_From_MongoClusterProperties

func (properties *MongoClusterProperties) AssignProperties_From_MongoClusterProperties(source *storage.MongoClusterProperties) error

AssignProperties_From_MongoClusterProperties populates our MongoClusterProperties from the provided source MongoClusterProperties

func (*MongoClusterProperties) AssignProperties_To_MongoClusterProperties

func (properties *MongoClusterProperties) AssignProperties_To_MongoClusterProperties(destination *storage.MongoClusterProperties) error

AssignProperties_To_MongoClusterProperties populates the provided destination MongoClusterProperties from our MongoClusterProperties

func (*MongoClusterProperties) ConvertToARM

func (properties *MongoClusterProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MongoClusterProperties) DeepCopy

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

func (*MongoClusterProperties) DeepCopyInto

func (in *MongoClusterProperties) DeepCopyInto(out *MongoClusterProperties)

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

func (*MongoClusterProperties) Initialize_From_MongoClusterProperties_STATUS

func (properties *MongoClusterProperties) Initialize_From_MongoClusterProperties_STATUS(source *MongoClusterProperties_STATUS) error

Initialize_From_MongoClusterProperties_STATUS populates our MongoClusterProperties from the provided source MongoClusterProperties_STATUS

func (*MongoClusterProperties) NewEmptyARMValue

func (properties *MongoClusterProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoClusterProperties) PopulateFromARM

func (properties *MongoClusterProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoClusterProperties_STATUS

type MongoClusterProperties_STATUS struct {
	// Administrator: The local administrator properties for the mongo cluster.
	Administrator *AdministratorProperties_STATUS `json:"administrator,omitempty"`

	// Backup: The backup properties of the mongo cluster.
	Backup *BackupProperties_STATUS `json:"backup,omitempty"`

	// ClusterStatus: The status of the mongo cluster.
	ClusterStatus *MongoClusterStatus_STATUS `json:"clusterStatus,omitempty"`

	// Compute: The compute properties of the mongo cluster.
	Compute *ComputeProperties_STATUS `json:"compute,omitempty"`

	// ConnectionString: The default mongo connection string for the cluster.
	ConnectionString *string `json:"connectionString,omitempty"`

	// CreateMode: The mode to create a mongo cluster.
	CreateMode *CreateMode_STATUS `json:"createMode,omitempty"`

	// HighAvailability: The high availability properties of the mongo cluster.
	HighAvailability *HighAvailabilityProperties_STATUS `json:"highAvailability,omitempty"`

	// InfrastructureVersion: The infrastructure version the cluster is provisioned on.
	InfrastructureVersion *string `json:"infrastructureVersion,omitempty"`

	// PreviewFeatures: List of private endpoint connections.
	PreviewFeatures []PreviewFeature_STATUS `json:"previewFeatures,omitempty"`

	// PrivateEndpointConnections: List of private endpoint connections.
	PrivateEndpointConnections []PrivateEndpointConnection_STATUS `json:"privateEndpointConnections,omitempty"`

	// ProvisioningState: The provisioning state of the mongo cluster.
	ProvisioningState *ProvisioningState_STATUS `json:"provisioningState,omitempty"`

	// PublicNetworkAccess: Whether or not public endpoint access is allowed for this mongo cluster.
	PublicNetworkAccess *PublicNetworkAccess_STATUS `json:"publicNetworkAccess,omitempty"`

	// Replica: The replication properties for the mongo cluster
	Replica *ReplicationProperties_STATUS `json:"replica,omitempty"`

	// ReplicaParameters: The parameters to create a replica mongo cluster.
	ReplicaParameters *MongoClusterReplicaParameters_STATUS `json:"replicaParameters,omitempty"`

	// RestoreParameters: The parameters to create a point-in-time restore mongo cluster.
	RestoreParameters *MongoClusterRestoreParameters_STATUS `json:"restoreParameters,omitempty"`

	// ServerVersion: The Mongo DB server version. Defaults to the latest available version if not specified.
	ServerVersion *string `json:"serverVersion,omitempty"`

	// Sharding: The sharding properties of the mongo cluster.
	Sharding *ShardingProperties_STATUS `json:"sharding,omitempty"`

	// Storage: The storage properties of the mongo cluster.
	Storage *StorageProperties_STATUS `json:"storage,omitempty"`
}

The properties of a mongo cluster.

func (*MongoClusterProperties_STATUS) AssignProperties_From_MongoClusterProperties_STATUS

func (properties *MongoClusterProperties_STATUS) AssignProperties_From_MongoClusterProperties_STATUS(source *storage.MongoClusterProperties_STATUS) error

AssignProperties_From_MongoClusterProperties_STATUS populates our MongoClusterProperties_STATUS from the provided source MongoClusterProperties_STATUS

func (*MongoClusterProperties_STATUS) AssignProperties_To_MongoClusterProperties_STATUS

func (properties *MongoClusterProperties_STATUS) AssignProperties_To_MongoClusterProperties_STATUS(destination *storage.MongoClusterProperties_STATUS) error

AssignProperties_To_MongoClusterProperties_STATUS populates the provided destination MongoClusterProperties_STATUS from our MongoClusterProperties_STATUS

func (*MongoClusterProperties_STATUS) DeepCopy

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

func (*MongoClusterProperties_STATUS) DeepCopyInto

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

func (*MongoClusterProperties_STATUS) NewEmptyARMValue

func (properties *MongoClusterProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoClusterProperties_STATUS) PopulateFromARM

func (properties *MongoClusterProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoClusterReplicaParameters

type MongoClusterReplicaParameters struct {
	// +kubebuilder:validation:Required
	// SourceLocation: The location of the source cluster
	SourceLocation *string `json:"sourceLocation,omitempty"`

	// +kubebuilder:validation:Required
	// SourceResourceReference: The id of the replication source cluster.
	SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
}

Parameters used for replica operations.

func (*MongoClusterReplicaParameters) AssignProperties_From_MongoClusterReplicaParameters

func (parameters *MongoClusterReplicaParameters) AssignProperties_From_MongoClusterReplicaParameters(source *storage.MongoClusterReplicaParameters) error

AssignProperties_From_MongoClusterReplicaParameters populates our MongoClusterReplicaParameters from the provided source MongoClusterReplicaParameters

func (*MongoClusterReplicaParameters) AssignProperties_To_MongoClusterReplicaParameters

func (parameters *MongoClusterReplicaParameters) AssignProperties_To_MongoClusterReplicaParameters(destination *storage.MongoClusterReplicaParameters) error

AssignProperties_To_MongoClusterReplicaParameters populates the provided destination MongoClusterReplicaParameters from our MongoClusterReplicaParameters

func (*MongoClusterReplicaParameters) ConvertToARM

func (parameters *MongoClusterReplicaParameters) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MongoClusterReplicaParameters) DeepCopy

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

func (*MongoClusterReplicaParameters) DeepCopyInto

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

func (*MongoClusterReplicaParameters) Initialize_From_MongoClusterReplicaParameters_STATUS

func (parameters *MongoClusterReplicaParameters) Initialize_From_MongoClusterReplicaParameters_STATUS(source *MongoClusterReplicaParameters_STATUS) error

Initialize_From_MongoClusterReplicaParameters_STATUS populates our MongoClusterReplicaParameters from the provided source MongoClusterReplicaParameters_STATUS

func (*MongoClusterReplicaParameters) NewEmptyARMValue

func (parameters *MongoClusterReplicaParameters) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoClusterReplicaParameters) PopulateFromARM

func (parameters *MongoClusterReplicaParameters) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoClusterReplicaParameters_STATUS

type MongoClusterReplicaParameters_STATUS struct {
	// SourceLocation: The location of the source cluster
	SourceLocation *string `json:"sourceLocation,omitempty"`

	// SourceResourceId: The id of the replication source cluster.
	SourceResourceId *string `json:"sourceResourceId,omitempty"`
}

Parameters used for replica operations.

func (*MongoClusterReplicaParameters_STATUS) AssignProperties_From_MongoClusterReplicaParameters_STATUS

func (parameters *MongoClusterReplicaParameters_STATUS) AssignProperties_From_MongoClusterReplicaParameters_STATUS(source *storage.MongoClusterReplicaParameters_STATUS) error

AssignProperties_From_MongoClusterReplicaParameters_STATUS populates our MongoClusterReplicaParameters_STATUS from the provided source MongoClusterReplicaParameters_STATUS

func (*MongoClusterReplicaParameters_STATUS) AssignProperties_To_MongoClusterReplicaParameters_STATUS

func (parameters *MongoClusterReplicaParameters_STATUS) AssignProperties_To_MongoClusterReplicaParameters_STATUS(destination *storage.MongoClusterReplicaParameters_STATUS) error

AssignProperties_To_MongoClusterReplicaParameters_STATUS populates the provided destination MongoClusterReplicaParameters_STATUS from our MongoClusterReplicaParameters_STATUS

func (*MongoClusterReplicaParameters_STATUS) DeepCopy

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

func (*MongoClusterReplicaParameters_STATUS) DeepCopyInto

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

func (*MongoClusterReplicaParameters_STATUS) NewEmptyARMValue

func (parameters *MongoClusterReplicaParameters_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoClusterReplicaParameters_STATUS) PopulateFromARM

func (parameters *MongoClusterReplicaParameters_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoClusterRestoreParameters

type MongoClusterRestoreParameters struct {
	// PointInTimeUTC: UTC point in time to restore a mongo cluster
	PointInTimeUTC *string `json:"pointInTimeUTC,omitempty"`

	// SourceResourceReference: Resource ID to locate the source cluster to restore
	SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
}

Parameters used for restore operations

func (*MongoClusterRestoreParameters) AssignProperties_From_MongoClusterRestoreParameters

func (parameters *MongoClusterRestoreParameters) AssignProperties_From_MongoClusterRestoreParameters(source *storage.MongoClusterRestoreParameters) error

AssignProperties_From_MongoClusterRestoreParameters populates our MongoClusterRestoreParameters from the provided source MongoClusterRestoreParameters

func (*MongoClusterRestoreParameters) AssignProperties_To_MongoClusterRestoreParameters

func (parameters *MongoClusterRestoreParameters) AssignProperties_To_MongoClusterRestoreParameters(destination *storage.MongoClusterRestoreParameters) error

AssignProperties_To_MongoClusterRestoreParameters populates the provided destination MongoClusterRestoreParameters from our MongoClusterRestoreParameters

func (*MongoClusterRestoreParameters) ConvertToARM

func (parameters *MongoClusterRestoreParameters) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MongoClusterRestoreParameters) DeepCopy

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

func (*MongoClusterRestoreParameters) DeepCopyInto

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

func (*MongoClusterRestoreParameters) Initialize_From_MongoClusterRestoreParameters_STATUS

func (parameters *MongoClusterRestoreParameters) Initialize_From_MongoClusterRestoreParameters_STATUS(source *MongoClusterRestoreParameters_STATUS) error

Initialize_From_MongoClusterRestoreParameters_STATUS populates our MongoClusterRestoreParameters from the provided source MongoClusterRestoreParameters_STATUS

func (*MongoClusterRestoreParameters) NewEmptyARMValue

func (parameters *MongoClusterRestoreParameters) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoClusterRestoreParameters) PopulateFromARM

func (parameters *MongoClusterRestoreParameters) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoClusterRestoreParameters_STATUS

type MongoClusterRestoreParameters_STATUS struct {
	// PointInTimeUTC: UTC point in time to restore a mongo cluster
	PointInTimeUTC *string `json:"pointInTimeUTC,omitempty"`

	// SourceResourceId: Resource ID to locate the source cluster to restore
	SourceResourceId *string `json:"sourceResourceId,omitempty"`
}

Parameters used for restore operations

func (*MongoClusterRestoreParameters_STATUS) AssignProperties_From_MongoClusterRestoreParameters_STATUS

func (parameters *MongoClusterRestoreParameters_STATUS) AssignProperties_From_MongoClusterRestoreParameters_STATUS(source *storage.MongoClusterRestoreParameters_STATUS) error

AssignProperties_From_MongoClusterRestoreParameters_STATUS populates our MongoClusterRestoreParameters_STATUS from the provided source MongoClusterRestoreParameters_STATUS

func (*MongoClusterRestoreParameters_STATUS) AssignProperties_To_MongoClusterRestoreParameters_STATUS

func (parameters *MongoClusterRestoreParameters_STATUS) AssignProperties_To_MongoClusterRestoreParameters_STATUS(destination *storage.MongoClusterRestoreParameters_STATUS) error

AssignProperties_To_MongoClusterRestoreParameters_STATUS populates the provided destination MongoClusterRestoreParameters_STATUS from our MongoClusterRestoreParameters_STATUS

func (*MongoClusterRestoreParameters_STATUS) DeepCopy

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

func (*MongoClusterRestoreParameters_STATUS) DeepCopyInto

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

func (*MongoClusterRestoreParameters_STATUS) NewEmptyARMValue

func (parameters *MongoClusterRestoreParameters_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoClusterRestoreParameters_STATUS) PopulateFromARM

func (parameters *MongoClusterRestoreParameters_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoClusterStatus_STATUS

type MongoClusterStatus_STATUS string

The status of the Mongo cluster resource.

type MongoCluster_STATUS

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

	// Properties: The resource-specific properties for this resource.
	Properties *MongoClusterProperties_STATUS `json:"properties,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"`

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

Represents a mongo cluster resource.

func (*MongoCluster_STATUS) AssignProperties_From_MongoCluster_STATUS

func (cluster *MongoCluster_STATUS) AssignProperties_From_MongoCluster_STATUS(source *storage.MongoCluster_STATUS) error

AssignProperties_From_MongoCluster_STATUS populates our MongoCluster_STATUS from the provided source MongoCluster_STATUS

func (*MongoCluster_STATUS) AssignProperties_To_MongoCluster_STATUS

func (cluster *MongoCluster_STATUS) AssignProperties_To_MongoCluster_STATUS(destination *storage.MongoCluster_STATUS) error

AssignProperties_To_MongoCluster_STATUS populates the provided destination MongoCluster_STATUS from our MongoCluster_STATUS

func (*MongoCluster_STATUS) ConvertStatusFrom

func (cluster *MongoCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our MongoCluster_STATUS from the provided source

func (*MongoCluster_STATUS) ConvertStatusTo

func (cluster *MongoCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our MongoCluster_STATUS

func (*MongoCluster_STATUS) DeepCopy

func (in *MongoCluster_STATUS) DeepCopy() *MongoCluster_STATUS

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

func (*MongoCluster_STATUS) DeepCopyInto

func (in *MongoCluster_STATUS) DeepCopyInto(out *MongoCluster_STATUS)

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

func (*MongoCluster_STATUS) NewEmptyARMValue

func (cluster *MongoCluster_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoCluster_STATUS) PopulateFromARM

func (cluster *MongoCluster_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MongoCluster_Spec

type MongoCluster_Spec struct {
	// +kubebuilder:validation:MaxLength=40
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:Pattern="^[a-z0-9]+(-[a-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"`

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

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *MongoClusterOperatorSpec `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"`

	// Properties: The resource-specific properties for this resource.
	Properties *MongoClusterProperties `json:"properties,omitempty"`

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

func (*MongoCluster_Spec) AssignProperties_From_MongoCluster_Spec

func (cluster *MongoCluster_Spec) AssignProperties_From_MongoCluster_Spec(source *storage.MongoCluster_Spec) error

AssignProperties_From_MongoCluster_Spec populates our MongoCluster_Spec from the provided source MongoCluster_Spec

func (*MongoCluster_Spec) AssignProperties_To_MongoCluster_Spec

func (cluster *MongoCluster_Spec) AssignProperties_To_MongoCluster_Spec(destination *storage.MongoCluster_Spec) error

AssignProperties_To_MongoCluster_Spec populates the provided destination MongoCluster_Spec from our MongoCluster_Spec

func (*MongoCluster_Spec) ConvertSpecFrom

func (cluster *MongoCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our MongoCluster_Spec from the provided source

func (*MongoCluster_Spec) ConvertSpecTo

func (cluster *MongoCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our MongoCluster_Spec

func (*MongoCluster_Spec) ConvertToARM

func (cluster *MongoCluster_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MongoCluster_Spec) DeepCopy

func (in *MongoCluster_Spec) DeepCopy() *MongoCluster_Spec

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

func (*MongoCluster_Spec) DeepCopyInto

func (in *MongoCluster_Spec) DeepCopyInto(out *MongoCluster_Spec)

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

func (*MongoCluster_Spec) Initialize_From_MongoCluster_STATUS

func (cluster *MongoCluster_Spec) Initialize_From_MongoCluster_STATUS(source *MongoCluster_STATUS) error

Initialize_From_MongoCluster_STATUS populates our MongoCluster_Spec from the provided source MongoCluster_STATUS

func (*MongoCluster_Spec) NewEmptyARMValue

func (cluster *MongoCluster_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MongoCluster_Spec) OriginalVersion

func (cluster *MongoCluster_Spec) OriginalVersion() string

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

func (*MongoCluster_Spec) PopulateFromARM

func (cluster *MongoCluster_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*MongoCluster_Spec) SetAzureName

func (cluster *MongoCluster_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type PreviewFeature

type PreviewFeature string

Preview features that can be enabled on a mongo cluster. +kubebuilder:validation:Enum={"GeoReplicas"}

type PreviewFeature_STATUS

type PreviewFeature_STATUS string

Preview features that can be enabled on a mongo cluster.

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

The provisioning state of the last accepted operation.

type PublicNetworkAccess

type PublicNetworkAccess string

Whether or not public endpoint access is allowed for this Mongo cluster. Value is optional and 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 Mongo cluster. Value is optional and default value is 'Enabled'

type ReplicationProperties_STATUS

type ReplicationProperties_STATUS struct {
	// ReplicationState: The replication link state of the replica cluster.
	ReplicationState *ReplicationState_STATUS `json:"replicationState,omitempty"`

	// Role: The replication role of the cluster
	Role *ReplicationRole_STATUS `json:"role,omitempty"`

	// SourceResourceId: The resource id the source cluster for the replica cluster.
	SourceResourceId *string `json:"sourceResourceId,omitempty"`
}

Replica properties of the mongo cluster.

func (*ReplicationProperties_STATUS) AssignProperties_From_ReplicationProperties_STATUS

func (properties *ReplicationProperties_STATUS) AssignProperties_From_ReplicationProperties_STATUS(source *storage.ReplicationProperties_STATUS) error

AssignProperties_From_ReplicationProperties_STATUS populates our ReplicationProperties_STATUS from the provided source ReplicationProperties_STATUS

func (*ReplicationProperties_STATUS) AssignProperties_To_ReplicationProperties_STATUS

func (properties *ReplicationProperties_STATUS) AssignProperties_To_ReplicationProperties_STATUS(destination *storage.ReplicationProperties_STATUS) error

AssignProperties_To_ReplicationProperties_STATUS populates the provided destination ReplicationProperties_STATUS from our ReplicationProperties_STATUS

func (*ReplicationProperties_STATUS) DeepCopy

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

func (*ReplicationProperties_STATUS) DeepCopyInto

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

func (*ReplicationProperties_STATUS) NewEmptyARMValue

func (properties *ReplicationProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ReplicationProperties_STATUS) PopulateFromARM

func (properties *ReplicationProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ReplicationRole_STATUS

type ReplicationRole_STATUS string

Replication role of the mongo cluster.

type ReplicationState_STATUS

type ReplicationState_STATUS string

The state of the replication link between the replica and source cluster.

type ShardingProperties

type ShardingProperties struct {
	// ShardCount: Number of shards to provision on the cluster.
	ShardCount *int `json:"shardCount,omitempty"`
}

The sharding properties of the cluster. This includes the shard count and scaling options for the cluster.

func (*ShardingProperties) AssignProperties_From_ShardingProperties

func (properties *ShardingProperties) AssignProperties_From_ShardingProperties(source *storage.ShardingProperties) error

AssignProperties_From_ShardingProperties populates our ShardingProperties from the provided source ShardingProperties

func (*ShardingProperties) AssignProperties_To_ShardingProperties

func (properties *ShardingProperties) AssignProperties_To_ShardingProperties(destination *storage.ShardingProperties) error

AssignProperties_To_ShardingProperties populates the provided destination ShardingProperties from our ShardingProperties

func (*ShardingProperties) ConvertToARM

func (properties *ShardingProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ShardingProperties) DeepCopy

func (in *ShardingProperties) DeepCopy() *ShardingProperties

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

func (*ShardingProperties) DeepCopyInto

func (in *ShardingProperties) DeepCopyInto(out *ShardingProperties)

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

func (*ShardingProperties) Initialize_From_ShardingProperties_STATUS

func (properties *ShardingProperties) Initialize_From_ShardingProperties_STATUS(source *ShardingProperties_STATUS) error

Initialize_From_ShardingProperties_STATUS populates our ShardingProperties from the provided source ShardingProperties_STATUS

func (*ShardingProperties) NewEmptyARMValue

func (properties *ShardingProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ShardingProperties) PopulateFromARM

func (properties *ShardingProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ShardingProperties_STATUS

type ShardingProperties_STATUS struct {
	// ShardCount: Number of shards to provision on the cluster.
	ShardCount *int `json:"shardCount,omitempty"`
}

The sharding properties of the cluster. This includes the shard count and scaling options for the cluster.

func (*ShardingProperties_STATUS) AssignProperties_From_ShardingProperties_STATUS

func (properties *ShardingProperties_STATUS) AssignProperties_From_ShardingProperties_STATUS(source *storage.ShardingProperties_STATUS) error

AssignProperties_From_ShardingProperties_STATUS populates our ShardingProperties_STATUS from the provided source ShardingProperties_STATUS

func (*ShardingProperties_STATUS) AssignProperties_To_ShardingProperties_STATUS

func (properties *ShardingProperties_STATUS) AssignProperties_To_ShardingProperties_STATUS(destination *storage.ShardingProperties_STATUS) error

AssignProperties_To_ShardingProperties_STATUS populates the provided destination ShardingProperties_STATUS from our ShardingProperties_STATUS

func (*ShardingProperties_STATUS) DeepCopy

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

func (*ShardingProperties_STATUS) DeepCopyInto

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

func (*ShardingProperties_STATUS) NewEmptyARMValue

func (properties *ShardingProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ShardingProperties_STATUS) PopulateFromARM

func (properties *ShardingProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type StorageProperties

type StorageProperties struct {
	// SizeGb: The size of the data disk assigned to each server.
	SizeGb *int `json:"sizeGb,omitempty"`
}

The storage properties of the cluster. This includes the data storage size and scaling applied to servers in the cluster.

func (*StorageProperties) AssignProperties_From_StorageProperties

func (properties *StorageProperties) AssignProperties_From_StorageProperties(source *storage.StorageProperties) error

AssignProperties_From_StorageProperties populates our StorageProperties from the provided source StorageProperties

func (*StorageProperties) AssignProperties_To_StorageProperties

func (properties *StorageProperties) AssignProperties_To_StorageProperties(destination *storage.StorageProperties) error

AssignProperties_To_StorageProperties populates the provided destination StorageProperties from our StorageProperties

func (*StorageProperties) ConvertToARM

func (properties *StorageProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*StorageProperties) DeepCopy

func (in *StorageProperties) DeepCopy() *StorageProperties

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

func (*StorageProperties) DeepCopyInto

func (in *StorageProperties) DeepCopyInto(out *StorageProperties)

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

func (*StorageProperties) Initialize_From_StorageProperties_STATUS

func (properties *StorageProperties) Initialize_From_StorageProperties_STATUS(source *StorageProperties_STATUS) error

Initialize_From_StorageProperties_STATUS populates our StorageProperties from the provided source StorageProperties_STATUS

func (*StorageProperties) NewEmptyARMValue

func (properties *StorageProperties) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*StorageProperties) PopulateFromARM

func (properties *StorageProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type StorageProperties_STATUS

type StorageProperties_STATUS struct {
	// SizeGb: The size of the data disk assigned to each server.
	SizeGb *int `json:"sizeGb,omitempty"`
}

The storage properties of the cluster. This includes the data storage size and scaling applied to servers in the cluster.

func (*StorageProperties_STATUS) AssignProperties_From_StorageProperties_STATUS

func (properties *StorageProperties_STATUS) AssignProperties_From_StorageProperties_STATUS(source *storage.StorageProperties_STATUS) error

AssignProperties_From_StorageProperties_STATUS populates our StorageProperties_STATUS from the provided source StorageProperties_STATUS

func (*StorageProperties_STATUS) AssignProperties_To_StorageProperties_STATUS

func (properties *StorageProperties_STATUS) AssignProperties_To_StorageProperties_STATUS(destination *storage.StorageProperties_STATUS) error

AssignProperties_To_StorageProperties_STATUS populates the provided destination StorageProperties_STATUS from our StorageProperties_STATUS

func (*StorageProperties_STATUS) DeepCopy

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

func (*StorageProperties_STATUS) DeepCopyInto

func (in *StorageProperties_STATUS) DeepCopyInto(out *StorageProperties_STATUS)

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

func (*StorageProperties_STATUS) NewEmptyARMValue

func (properties *StorageProperties_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*StorageProperties_STATUS) PopulateFromARM

func (properties *StorageProperties_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

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
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