v1beta2

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=sql.azure.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "sql.azure.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	MSSQLDatabase_Kind             = "MSSQLDatabase"
	MSSQLDatabase_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLDatabase_Kind}.String()
	MSSQLDatabase_KindAPIVersion   = MSSQLDatabase_Kind + "." + CRDGroupVersion.String()
	MSSQLDatabase_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLDatabase_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLElasticPool_Kind             = "MSSQLElasticPool"
	MSSQLElasticPool_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLElasticPool_Kind}.String()
	MSSQLElasticPool_KindAPIVersion   = MSSQLElasticPool_Kind + "." + CRDGroupVersion.String()
	MSSQLElasticPool_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLElasticPool_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLFailoverGroup_Kind             = "MSSQLFailoverGroup"
	MSSQLFailoverGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLFailoverGroup_Kind}.String()
	MSSQLFailoverGroup_KindAPIVersion   = MSSQLFailoverGroup_Kind + "." + CRDGroupVersion.String()
	MSSQLFailoverGroup_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLFailoverGroup_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLManagedDatabase_Kind             = "MSSQLManagedDatabase"
	MSSQLManagedDatabase_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLManagedDatabase_Kind}.String()
	MSSQLManagedDatabase_KindAPIVersion   = MSSQLManagedDatabase_Kind + "." + CRDGroupVersion.String()
	MSSQLManagedDatabase_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLManagedDatabase_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLManagedInstance_Kind             = "MSSQLManagedInstance"
	MSSQLManagedInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLManagedInstance_Kind}.String()
	MSSQLManagedInstance_KindAPIVersion   = MSSQLManagedInstance_Kind + "." + CRDGroupVersion.String()
	MSSQLManagedInstance_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLManagedInstance_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLManagedInstanceFailoverGroup_Kind             = "MSSQLManagedInstanceFailoverGroup"
	MSSQLManagedInstanceFailoverGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLManagedInstanceFailoverGroup_Kind}.String()
	MSSQLManagedInstanceFailoverGroup_KindAPIVersion   = MSSQLManagedInstanceFailoverGroup_Kind + "." + CRDGroupVersion.String()
	MSSQLManagedInstanceFailoverGroup_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLManagedInstanceFailoverGroup_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLManagedInstanceVulnerabilityAssessment_Kind             = "MSSQLManagedInstanceVulnerabilityAssessment"
	MSSQLManagedInstanceVulnerabilityAssessment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLManagedInstanceVulnerabilityAssessment_Kind}.String()
	MSSQLManagedInstanceVulnerabilityAssessment_KindAPIVersion   = MSSQLManagedInstanceVulnerabilityAssessment_Kind + "." + CRDGroupVersion.String()
	MSSQLManagedInstanceVulnerabilityAssessment_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLManagedInstanceVulnerabilityAssessment_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLServer_Kind             = "MSSQLServer"
	MSSQLServer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLServer_Kind}.String()
	MSSQLServer_KindAPIVersion   = MSSQLServer_Kind + "." + CRDGroupVersion.String()
	MSSQLServer_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLServer_Kind)
)

Repository type metadata.

View Source
var (
	MSSQLServerVulnerabilityAssessment_Kind             = "MSSQLServerVulnerabilityAssessment"
	MSSQLServerVulnerabilityAssessment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MSSQLServerVulnerabilityAssessment_Kind}.String()
	MSSQLServerVulnerabilityAssessment_KindAPIVersion   = MSSQLServerVulnerabilityAssessment_Kind + "." + CRDGroupVersion.String()
	MSSQLServerVulnerabilityAssessment_GroupVersionKind = CRDGroupVersion.WithKind(MSSQLServerVulnerabilityAssessment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AzureadAdministratorInitParameters

type AzureadAdministratorInitParameters struct {

	// Specifies whether only AD Users and administrators (e.g. azuread_administrator[0].login_username) can be used to login, or also local database users (e.g. administrator_login). When true, the administrator_login and administrator_login_password properties can be omitted.
	AzureadAuthenticationOnly *bool `json:"azureadAuthenticationOnly,omitempty" tf:"azuread_authentication_only,omitempty"`

	// The login username of the Azure AD Administrator of this SQL Server.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false)
	LoginUsername *string `json:"loginUsername,omitempty" tf:"login_username,omitempty"`

	// Reference to a UserAssignedIdentity in managedidentity to populate loginUsername.
	// +kubebuilder:validation:Optional
	LoginUsernameRef *v1.Reference `json:"loginUsernameRef,omitempty" tf:"-"`

	// Selector for a UserAssignedIdentity in managedidentity to populate loginUsername.
	// +kubebuilder:validation:Optional
	LoginUsernameSelector *v1.Selector `json:"loginUsernameSelector,omitempty" tf:"-"`

	// The object id of the Azure AD Administrator of this SQL Server.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("principal_id",true)
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// Reference to a UserAssignedIdentity in managedidentity to populate objectId.
	// +kubebuilder:validation:Optional
	ObjectIDRef *v1.Reference `json:"objectIdRef,omitempty" tf:"-"`

	// Selector for a UserAssignedIdentity in managedidentity to populate objectId.
	// +kubebuilder:validation:Optional
	ObjectIDSelector *v1.Selector `json:"objectIdSelector,omitempty" tf:"-"`

	// The tenant id of the Azure AD Administrator of this SQL Server.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*AzureadAdministratorInitParameters) DeepCopy

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

func (*AzureadAdministratorInitParameters) DeepCopyInto

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

type AzureadAdministratorObservation

type AzureadAdministratorObservation struct {

	// Specifies whether only AD Users and administrators (e.g. azuread_administrator[0].login_username) can be used to login, or also local database users (e.g. administrator_login). When true, the administrator_login and administrator_login_password properties can be omitted.
	AzureadAuthenticationOnly *bool `json:"azureadAuthenticationOnly,omitempty" tf:"azuread_authentication_only,omitempty"`

	// The login username of the Azure AD Administrator of this SQL Server.
	LoginUsername *string `json:"loginUsername,omitempty" tf:"login_username,omitempty"`

	// The object id of the Azure AD Administrator of this SQL Server.
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// The tenant id of the Azure AD Administrator of this SQL Server.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*AzureadAdministratorObservation) DeepCopy

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

func (*AzureadAdministratorObservation) DeepCopyInto

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

type AzureadAdministratorParameters

type AzureadAdministratorParameters struct {

	// Specifies whether only AD Users and administrators (e.g. azuread_administrator[0].login_username) can be used to login, or also local database users (e.g. administrator_login). When true, the administrator_login and administrator_login_password properties can be omitted.
	// +kubebuilder:validation:Optional
	AzureadAuthenticationOnly *bool `json:"azureadAuthenticationOnly,omitempty" tf:"azuread_authentication_only,omitempty"`

	// The login username of the Azure AD Administrator of this SQL Server.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false)
	// +kubebuilder:validation:Optional
	LoginUsername *string `json:"loginUsername,omitempty" tf:"login_username,omitempty"`

	// Reference to a UserAssignedIdentity in managedidentity to populate loginUsername.
	// +kubebuilder:validation:Optional
	LoginUsernameRef *v1.Reference `json:"loginUsernameRef,omitempty" tf:"-"`

	// Selector for a UserAssignedIdentity in managedidentity to populate loginUsername.
	// +kubebuilder:validation:Optional
	LoginUsernameSelector *v1.Selector `json:"loginUsernameSelector,omitempty" tf:"-"`

	// The object id of the Azure AD Administrator of this SQL Server.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("principal_id",true)
	// +kubebuilder:validation:Optional
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// Reference to a UserAssignedIdentity in managedidentity to populate objectId.
	// +kubebuilder:validation:Optional
	ObjectIDRef *v1.Reference `json:"objectIdRef,omitempty" tf:"-"`

	// Selector for a UserAssignedIdentity in managedidentity to populate objectId.
	// +kubebuilder:validation:Optional
	ObjectIDSelector *v1.Selector `json:"objectIdSelector,omitempty" tf:"-"`

	// The tenant id of the Azure AD Administrator of this SQL Server.
	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*AzureadAdministratorParameters) DeepCopy

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

func (*AzureadAdministratorParameters) DeepCopyInto

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

type IdentityInitParameters

type IdentityInitParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Database.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// References to UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsRefs []v1.Reference `json:"identityIdsRefs,omitempty" tf:"-"`

	// Selector for a list of UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsSelector *v1.Selector `json:"identityIdsSelector,omitempty" tf:"-"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Database. Possible value is UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy

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

func (*IdentityInitParameters) DeepCopyInto

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

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

type IdentityObservation

type IdentityObservation struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Database.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Database. Possible value is UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

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

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

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

type IdentityParameters

type IdentityParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Database.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// References to UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsRefs []v1.Reference `json:"identityIdsRefs,omitempty" tf:"-"`

	// Selector for a list of UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsSelector *v1.Selector `json:"identityIdsSelector,omitempty" tf:"-"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Database. Possible value is UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

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

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

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

type ImportInitParameters

type ImportInitParameters struct {

	// Specifies the name of the SQL administrator.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// Specifies the password of the SQL administrator.
	AdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef" tf:"-"`

	// Specifies the type of authentication used to access the server. Valid values are SQL or ADPassword.
	AuthenticationType *string `json:"authenticationType,omitempty" tf:"authentication_type,omitempty"`

	// The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for storage_uri parameter.
	StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"`

	// Specifies the access key for the storage account.
	StorageKeySecretRef v1.SecretKeySelector `json:"storageKeySecretRef" tf:"-"`

	// Specifies the type of access key for the storage account. Valid values are StorageAccessKey or SharedAccessKey.
	StorageKeyType *string `json:"storageKeyType,omitempty" tf:"storage_key_type,omitempty"`

	// Specifies the blob URI of the .bacpac file.
	StorageURI *string `json:"storageUri,omitempty" tf:"storage_uri,omitempty"`
}

func (*ImportInitParameters) DeepCopy

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

func (*ImportInitParameters) DeepCopyInto

func (in *ImportInitParameters) DeepCopyInto(out *ImportInitParameters)

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

type ImportObservation

type ImportObservation struct {

	// Specifies the name of the SQL administrator.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// Specifies the type of authentication used to access the server. Valid values are SQL or ADPassword.
	AuthenticationType *string `json:"authenticationType,omitempty" tf:"authentication_type,omitempty"`

	// The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for storage_uri parameter.
	StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"`

	// Specifies the type of access key for the storage account. Valid values are StorageAccessKey or SharedAccessKey.
	StorageKeyType *string `json:"storageKeyType,omitempty" tf:"storage_key_type,omitempty"`

	// Specifies the blob URI of the .bacpac file.
	StorageURI *string `json:"storageUri,omitempty" tf:"storage_uri,omitempty"`
}

func (*ImportObservation) DeepCopy

func (in *ImportObservation) DeepCopy() *ImportObservation

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

func (*ImportObservation) DeepCopyInto

func (in *ImportObservation) DeepCopyInto(out *ImportObservation)

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

type ImportParameters

type ImportParameters struct {

	// Specifies the name of the SQL administrator.
	// +kubebuilder:validation:Optional
	AdministratorLogin *string `json:"administratorLogin" tf:"administrator_login,omitempty"`

	// Specifies the password of the SQL administrator.
	// +kubebuilder:validation:Optional
	AdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef" tf:"-"`

	// Specifies the type of authentication used to access the server. Valid values are SQL or ADPassword.
	// +kubebuilder:validation:Optional
	AuthenticationType *string `json:"authenticationType" tf:"authentication_type,omitempty"`

	// The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for storage_uri parameter.
	// +kubebuilder:validation:Optional
	StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"`

	// Specifies the access key for the storage account.
	// +kubebuilder:validation:Optional
	StorageKeySecretRef v1.SecretKeySelector `json:"storageKeySecretRef" tf:"-"`

	// Specifies the type of access key for the storage account. Valid values are StorageAccessKey or SharedAccessKey.
	// +kubebuilder:validation:Optional
	StorageKeyType *string `json:"storageKeyType" tf:"storage_key_type,omitempty"`

	// Specifies the blob URI of the .bacpac file.
	// +kubebuilder:validation:Optional
	StorageURI *string `json:"storageUri" tf:"storage_uri,omitempty"`
}

func (*ImportParameters) DeepCopy

func (in *ImportParameters) DeepCopy() *ImportParameters

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

func (*ImportParameters) DeepCopyInto

func (in *ImportParameters) DeepCopyInto(out *ImportParameters)

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

type LongTermRetentionPolicyInitParameters

type LongTermRetentionPolicyInitParameters struct {

	// Specifies if the backups are immutable. Defaults to false.
	ImmutableBackupsEnabled *bool `json:"immutableBackupsEnabled,omitempty" tf:"immutable_backups_enabled,omitempty"`

	// The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D.
	MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"`

	// The week of year to take the yearly backup. Value has to be between 1 and 52.
	WeekOfYear *float64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"`

	// The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D.
	WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"`

	// The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D.
	YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"`
}

func (*LongTermRetentionPolicyInitParameters) DeepCopy

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

func (*LongTermRetentionPolicyInitParameters) DeepCopyInto

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

type LongTermRetentionPolicyObservation

type LongTermRetentionPolicyObservation struct {

	// Specifies if the backups are immutable. Defaults to false.
	ImmutableBackupsEnabled *bool `json:"immutableBackupsEnabled,omitempty" tf:"immutable_backups_enabled,omitempty"`

	// The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D.
	MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"`

	// The week of year to take the yearly backup. Value has to be between 1 and 52.
	WeekOfYear *float64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"`

	// The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D.
	WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"`

	// The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D.
	YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"`
}

func (*LongTermRetentionPolicyObservation) DeepCopy

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

func (*LongTermRetentionPolicyObservation) DeepCopyInto

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

type LongTermRetentionPolicyParameters

type LongTermRetentionPolicyParameters struct {

	// Specifies if the backups are immutable. Defaults to false.
	// +kubebuilder:validation:Optional
	ImmutableBackupsEnabled *bool `json:"immutableBackupsEnabled,omitempty" tf:"immutable_backups_enabled,omitempty"`

	// The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D.
	// +kubebuilder:validation:Optional
	MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"`

	// The week of year to take the yearly backup. Value has to be between 1 and 52.
	// +kubebuilder:validation:Optional
	WeekOfYear *float64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"`

	// The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D.
	// +kubebuilder:validation:Optional
	WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"`

	// The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D.
	// +kubebuilder:validation:Optional
	YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"`
}

func (*LongTermRetentionPolicyParameters) DeepCopy

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

func (*LongTermRetentionPolicyParameters) DeepCopyInto

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

type MSSQLDatabase

type MSSQLDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MSSQLDatabaseSpec   `json:"spec"`
	Status            MSSQLDatabaseStatus `json:"status,omitempty"`
}

MSSQLDatabase is the Schema for the MSSQLDatabases API. Manages a MS SQL Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLDatabase) DeepCopy

func (in *MSSQLDatabase) DeepCopy() *MSSQLDatabase

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

func (*MSSQLDatabase) DeepCopyInto

func (in *MSSQLDatabase) DeepCopyInto(out *MSSQLDatabase)

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

func (*MSSQLDatabase) DeepCopyObject

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

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

func (*MSSQLDatabase) GetCondition

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

GetCondition of this MSSQLDatabase.

func (*MSSQLDatabase) GetConnectionDetailsMapping

func (tr *MSSQLDatabase) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLDatabase

func (*MSSQLDatabase) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLDatabase.

func (*MSSQLDatabase) GetID

func (tr *MSSQLDatabase) GetID() string

GetID returns ID of underlying Terraform resource of this MSSQLDatabase

func (*MSSQLDatabase) GetInitParameters

func (tr *MSSQLDatabase) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLDatabase

func (*MSSQLDatabase) GetManagementPolicies

func (mg *MSSQLDatabase) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLDatabase.

func (*MSSQLDatabase) GetMergedParameters

func (tr *MSSQLDatabase) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLDatabase

func (*MSSQLDatabase) GetObservation

func (tr *MSSQLDatabase) GetObservation() (map[string]any, error)

GetObservation of this MSSQLDatabase

func (*MSSQLDatabase) GetParameters

func (tr *MSSQLDatabase) GetParameters() (map[string]any, error)

GetParameters of this MSSQLDatabase

func (*MSSQLDatabase) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLDatabase.

func (*MSSQLDatabase) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLDatabase.

func (*MSSQLDatabase) GetTerraformResourceType

func (mg *MSSQLDatabase) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLDatabase

func (*MSSQLDatabase) GetTerraformSchemaVersion

func (tr *MSSQLDatabase) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLDatabase) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLDatabase.

func (*MSSQLDatabase) Hub

func (tr *MSSQLDatabase) Hub()

Hub marks this type as a conversion hub.

func (*MSSQLDatabase) LateInitialize

func (tr *MSSQLDatabase) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLDatabase using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLDatabase) ResolveReferences

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

func (*MSSQLDatabase) SetConditions

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

SetConditions of this MSSQLDatabase.

func (*MSSQLDatabase) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLDatabase.

func (*MSSQLDatabase) SetManagementPolicies

func (mg *MSSQLDatabase) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLDatabase.

func (*MSSQLDatabase) SetObservation

func (tr *MSSQLDatabase) SetObservation(obs map[string]any) error

SetObservation for this MSSQLDatabase

func (*MSSQLDatabase) SetParameters

func (tr *MSSQLDatabase) SetParameters(params map[string]any) error

SetParameters for this MSSQLDatabase

func (*MSSQLDatabase) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLDatabase.

func (*MSSQLDatabase) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLDatabase.

func (*MSSQLDatabase) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLDatabase.

type MSSQLDatabaseInitParameters

type MSSQLDatabaseInitParameters struct {

	// Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled. This property is only settable for Serverless databases.
	AutoPauseDelayInMinutes *float64 `json:"autoPauseDelayInMinutes,omitempty" tf:"auto_pause_delay_in_minutes,omitempty"`

	// Specifies the collation of the database. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The create mode of the database. Possible values are Copy, Default, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreExternalBackup, RestoreExternalBackupSecondary, RestoreLongTermRetentionBackup and Secondary. Mutually exclusive with import. Changing this forces a new resource to be created. Defaults to Default.
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// The ID of the source database from which to create the new database. This should only be used for databases with create_mode values that use another database as reference. Changing this forces a new resource to be created.
	CreationSourceDatabaseID *string `json:"creationSourceDatabaseId,omitempty" tf:"creation_source_database_id,omitempty"`

	// Specifies the ID of the elastic pool containing this database.
	ElasticPoolID *string `json:"elasticPoolId,omitempty" tf:"elastic_pool_id,omitempty"`

	// Specifies the type of enclave to be used by the elastic pool. When enclave_type is not specified (e.g., the default) enclaves are not enabled on the database.  Possible values are Default or VBS.
	EnclaveType *string `json:"enclaveType,omitempty" tf:"enclave_type,omitempty"`

	// A boolean that specifies if the Geo Backup Policy is enabled. Defaults to true.
	GeoBackupEnabled *bool `json:"geoBackupEnabled,omitempty" tf:"geo_backup_enabled,omitempty"`

	// An identity block as defined below.
	Identity *IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// A import block as documented below. Mutually exclusive with create_mode.
	Import *ImportInitParameters `json:"import,omitempty" tf:"import,omitempty"`

	// A boolean that specifies if this is a ledger database. Defaults to false. Changing this forces a new resource to be created.
	LedgerEnabled *bool `json:"ledgerEnabled,omitempty" tf:"ledger_enabled,omitempty"`

	// Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// A long_term_retention_policy block as defined below.
	LongTermRetentionPolicy *LongTermRetentionPolicyInitParameters `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the database. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2. Defaults to SQL_Default.
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The max size of the database in gigabytes.
	MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"`

	// Minimal capacity that database will always have allocated, if not paused. This property is only settable for Serverless databases.
	MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"`

	// The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases.
	ReadReplicaCount *float64 `json:"readReplicaCount,omitempty" tf:"read_replica_count,omitempty"`

	// If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.
	ReadScale *bool `json:"readScale,omitempty" tf:"read_scale,omitempty"`

	// The ID of the database to be recovered. This property is only applicable when the create_mode is Recovery.
	RecoverDatabaseID *string `json:"recoverDatabaseId,omitempty" tf:"recover_database_id,omitempty"`

	// The ID of the Recovery Services Recovery Point Id to be restored. This property is only applicable when the create_mode is Recovery.
	RecoveryPointID *string `json:"recoveryPointId,omitempty" tf:"recovery_point_id,omitempty"`

	// The ID of the database to be restored. This property is only applicable when the create_mode is Restore.
	RestoreDroppedDatabaseID *string `json:"restoreDroppedDatabaseId,omitempty" tf:"restore_dropped_database_id,omitempty"`

	// The ID of the long term retention backup to be restored. This property is only applicable when the create_mode is RestoreLongTermRetentionBackup.
	RestoreLongTermRetentionBackupID *string `json:"restoreLongTermRetentionBackupId,omitempty" tf:"restore_long_term_retention_backup_id,omitempty"`

	// Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for create_mode= PointInTimeRestore databases.
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// Specifies the name of the sample schema to apply when creating this database. Possible value is AdventureWorksLT.
	SampleName *string `json:"sampleName,omitempty" tf:"sample_name,omitempty"`

	// How do you want your replica to be made? Valid values include Geo and Named. Defaults to Geo. Changing this forces a new resource to be created.
	SecondaryType *string `json:"secondaryType,omitempty" tf:"secondary_type,omitempty"`

	// A short_term_retention_policy block as defined below.
	ShortTermRetentionPolicy *ShortTermRetentionPolicyInitParameters `json:"shortTermRetentionPolicy,omitempty" tf:"short_term_retention_policy,omitempty"`

	// Specifies the name of the SKU used by the database. For example, GP_S_Gen5_2,HS_Gen4_1,BC_Gen5_2, ElasticPool, Basic,S0, P2 ,DW100c, DS100. Changing this from the HyperScale service tier to another service tier will create a new resource.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Specifies the storage account type used to store backups for this database. Possible values are Geo, GeoZone, Local and Zone. Defaults to Geo.
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Threat detection policy configuration. The threat_detection_policy block supports fields documented below.
	ThreatDetectionPolicy *ThreatDetectionPolicyInitParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"`

	// If set to true, Transparent Data Encryption will be enabled on the database. Defaults to true.
	TransparentDataEncryptionEnabled *bool `json:"transparentDataEncryptionEnabled,omitempty" tf:"transparent_data_encryption_enabled,omitempty"`

	// Boolean flag to specify whether TDE automatically rotates the encryption Key to latest version or not. Possible values are true or false. Defaults to false.
	TransparentDataEncryptionKeyAutomaticRotationEnabled *bool `` /* 143-byte string literal not displayed */

	// The fully versioned Key Vault Key URL (e.g. 'https://<YourVaultName>.vault.azure.net/keys/<YourKeyName>/<YourKeyVersion>) to be used as the Customer Managed Key(CMK/BYOK) for the Transparent Data Encryption(TDE) layer.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TransparentDataEncryptionKeyVaultKeyID *string `json:"transparentDataEncryptionKeyVaultKeyId,omitempty" tf:"transparent_data_encryption_key_vault_key_id,omitempty"`

	// Reference to a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDRef *v1.Reference `json:"transparentDataEncryptionKeyVaultKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDSelector *v1.Selector `json:"transparentDataEncryptionKeyVaultKeyIdSelector,omitempty" tf:"-"`

	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"`
}

func (*MSSQLDatabaseInitParameters) DeepCopy

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

func (*MSSQLDatabaseInitParameters) DeepCopyInto

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

type MSSQLDatabaseList

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

MSSQLDatabaseList contains a list of MSSQLDatabases

func (*MSSQLDatabaseList) DeepCopy

func (in *MSSQLDatabaseList) DeepCopy() *MSSQLDatabaseList

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

func (*MSSQLDatabaseList) DeepCopyInto

func (in *MSSQLDatabaseList) DeepCopyInto(out *MSSQLDatabaseList)

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

func (*MSSQLDatabaseList) DeepCopyObject

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

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

func (*MSSQLDatabaseList) GetItems

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

GetItems of this MSSQLDatabaseList.

type MSSQLDatabaseObservation

type MSSQLDatabaseObservation struct {

	// Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled. This property is only settable for Serverless databases.
	AutoPauseDelayInMinutes *float64 `json:"autoPauseDelayInMinutes,omitempty" tf:"auto_pause_delay_in_minutes,omitempty"`

	// Specifies the collation of the database. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The create mode of the database. Possible values are Copy, Default, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreExternalBackup, RestoreExternalBackupSecondary, RestoreLongTermRetentionBackup and Secondary. Mutually exclusive with import. Changing this forces a new resource to be created. Defaults to Default.
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// The ID of the source database from which to create the new database. This should only be used for databases with create_mode values that use another database as reference. Changing this forces a new resource to be created.
	CreationSourceDatabaseID *string `json:"creationSourceDatabaseId,omitempty" tf:"creation_source_database_id,omitempty"`

	// Specifies the ID of the elastic pool containing this database.
	ElasticPoolID *string `json:"elasticPoolId,omitempty" tf:"elastic_pool_id,omitempty"`

	// Specifies the type of enclave to be used by the elastic pool. When enclave_type is not specified (e.g., the default) enclaves are not enabled on the database.  Possible values are Default or VBS.
	EnclaveType *string `json:"enclaveType,omitempty" tf:"enclave_type,omitempty"`

	// A boolean that specifies if the Geo Backup Policy is enabled. Defaults to true.
	GeoBackupEnabled *bool `json:"geoBackupEnabled,omitempty" tf:"geo_backup_enabled,omitempty"`

	// The ID of the MS SQL Database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// A import block as documented below. Mutually exclusive with create_mode.
	Import *ImportObservation `json:"import,omitempty" tf:"import,omitempty"`

	// A boolean that specifies if this is a ledger database. Defaults to false. Changing this forces a new resource to be created.
	LedgerEnabled *bool `json:"ledgerEnabled,omitempty" tf:"ledger_enabled,omitempty"`

	// Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// A long_term_retention_policy block as defined below.
	LongTermRetentionPolicy *LongTermRetentionPolicyObservation `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the database. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2. Defaults to SQL_Default.
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The max size of the database in gigabytes.
	MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"`

	// Minimal capacity that database will always have allocated, if not paused. This property is only settable for Serverless databases.
	MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"`

	// The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases.
	ReadReplicaCount *float64 `json:"readReplicaCount,omitempty" tf:"read_replica_count,omitempty"`

	// If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.
	ReadScale *bool `json:"readScale,omitempty" tf:"read_scale,omitempty"`

	// The ID of the database to be recovered. This property is only applicable when the create_mode is Recovery.
	RecoverDatabaseID *string `json:"recoverDatabaseId,omitempty" tf:"recover_database_id,omitempty"`

	// The ID of the Recovery Services Recovery Point Id to be restored. This property is only applicable when the create_mode is Recovery.
	RecoveryPointID *string `json:"recoveryPointId,omitempty" tf:"recovery_point_id,omitempty"`

	// The ID of the database to be restored. This property is only applicable when the create_mode is Restore.
	RestoreDroppedDatabaseID *string `json:"restoreDroppedDatabaseId,omitempty" tf:"restore_dropped_database_id,omitempty"`

	// The ID of the long term retention backup to be restored. This property is only applicable when the create_mode is RestoreLongTermRetentionBackup.
	RestoreLongTermRetentionBackupID *string `json:"restoreLongTermRetentionBackupId,omitempty" tf:"restore_long_term_retention_backup_id,omitempty"`

	// Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for create_mode= PointInTimeRestore databases.
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// Specifies the name of the sample schema to apply when creating this database. Possible value is AdventureWorksLT.
	SampleName *string `json:"sampleName,omitempty" tf:"sample_name,omitempty"`

	// How do you want your replica to be made? Valid values include Geo and Named. Defaults to Geo. Changing this forces a new resource to be created.
	SecondaryType *string `json:"secondaryType,omitempty" tf:"secondary_type,omitempty"`

	// The id of the MS SQL Server on which to create the database. Changing this forces a new resource to be created.
	ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`

	// A short_term_retention_policy block as defined below.
	ShortTermRetentionPolicy *ShortTermRetentionPolicyObservation `json:"shortTermRetentionPolicy,omitempty" tf:"short_term_retention_policy,omitempty"`

	// Specifies the name of the SKU used by the database. For example, GP_S_Gen5_2,HS_Gen4_1,BC_Gen5_2, ElasticPool, Basic,S0, P2 ,DW100c, DS100. Changing this from the HyperScale service tier to another service tier will create a new resource.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Specifies the storage account type used to store backups for this database. Possible values are Geo, GeoZone, Local and Zone. Defaults to Geo.
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Threat detection policy configuration. The threat_detection_policy block supports fields documented below.
	ThreatDetectionPolicy *ThreatDetectionPolicyObservation `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"`

	// If set to true, Transparent Data Encryption will be enabled on the database. Defaults to true.
	TransparentDataEncryptionEnabled *bool `json:"transparentDataEncryptionEnabled,omitempty" tf:"transparent_data_encryption_enabled,omitempty"`

	// Boolean flag to specify whether TDE automatically rotates the encryption Key to latest version or not. Possible values are true or false. Defaults to false.
	TransparentDataEncryptionKeyAutomaticRotationEnabled *bool `` /* 143-byte string literal not displayed */

	// The fully versioned Key Vault Key URL (e.g. 'https://<YourVaultName>.vault.azure.net/keys/<YourKeyName>/<YourKeyVersion>) to be used as the Customer Managed Key(CMK/BYOK) for the Transparent Data Encryption(TDE) layer.
	TransparentDataEncryptionKeyVaultKeyID *string `json:"transparentDataEncryptionKeyVaultKeyId,omitempty" tf:"transparent_data_encryption_key_vault_key_id,omitempty"`

	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"`
}

func (*MSSQLDatabaseObservation) DeepCopy

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

func (*MSSQLDatabaseObservation) DeepCopyInto

func (in *MSSQLDatabaseObservation) DeepCopyInto(out *MSSQLDatabaseObservation)

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

type MSSQLDatabaseParameters

type MSSQLDatabaseParameters struct {

	// Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled. This property is only settable for Serverless databases.
	// +kubebuilder:validation:Optional
	AutoPauseDelayInMinutes *float64 `json:"autoPauseDelayInMinutes,omitempty" tf:"auto_pause_delay_in_minutes,omitempty"`

	// Specifies the collation of the database. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The create mode of the database. Possible values are Copy, Default, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreExternalBackup, RestoreExternalBackupSecondary, RestoreLongTermRetentionBackup and Secondary. Mutually exclusive with import. Changing this forces a new resource to be created. Defaults to Default.
	// +kubebuilder:validation:Optional
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// The ID of the source database from which to create the new database. This should only be used for databases with create_mode values that use another database as reference. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	CreationSourceDatabaseID *string `json:"creationSourceDatabaseId,omitempty" tf:"creation_source_database_id,omitempty"`

	// Specifies the ID of the elastic pool containing this database.
	// +kubebuilder:validation:Optional
	ElasticPoolID *string `json:"elasticPoolId,omitempty" tf:"elastic_pool_id,omitempty"`

	// Specifies the type of enclave to be used by the elastic pool. When enclave_type is not specified (e.g., the default) enclaves are not enabled on the database.  Possible values are Default or VBS.
	// +kubebuilder:validation:Optional
	EnclaveType *string `json:"enclaveType,omitempty" tf:"enclave_type,omitempty"`

	// A boolean that specifies if the Geo Backup Policy is enabled. Defaults to true.
	// +kubebuilder:validation:Optional
	GeoBackupEnabled *bool `json:"geoBackupEnabled,omitempty" tf:"geo_backup_enabled,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// A import block as documented below. Mutually exclusive with create_mode.
	// +kubebuilder:validation:Optional
	Import *ImportParameters `json:"import,omitempty" tf:"import,omitempty"`

	// A boolean that specifies if this is a ledger database. Defaults to false. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	LedgerEnabled *bool `json:"ledgerEnabled,omitempty" tf:"ledger_enabled,omitempty"`

	// Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
	// +kubebuilder:validation:Optional
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// A long_term_retention_policy block as defined below.
	// +kubebuilder:validation:Optional
	LongTermRetentionPolicy *LongTermRetentionPolicyParameters `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the database. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2. Defaults to SQL_Default.
	// +kubebuilder:validation:Optional
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The max size of the database in gigabytes.
	// +kubebuilder:validation:Optional
	MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"`

	// Minimal capacity that database will always have allocated, if not paused. This property is only settable for Serverless databases.
	// +kubebuilder:validation:Optional
	MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"`

	// The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases.
	// +kubebuilder:validation:Optional
	ReadReplicaCount *float64 `json:"readReplicaCount,omitempty" tf:"read_replica_count,omitempty"`

	// If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases.
	// +kubebuilder:validation:Optional
	ReadScale *bool `json:"readScale,omitempty" tf:"read_scale,omitempty"`

	// The ID of the database to be recovered. This property is only applicable when the create_mode is Recovery.
	// +kubebuilder:validation:Optional
	RecoverDatabaseID *string `json:"recoverDatabaseId,omitempty" tf:"recover_database_id,omitempty"`

	// The ID of the Recovery Services Recovery Point Id to be restored. This property is only applicable when the create_mode is Recovery.
	// +kubebuilder:validation:Optional
	RecoveryPointID *string `json:"recoveryPointId,omitempty" tf:"recovery_point_id,omitempty"`

	// The ID of the database to be restored. This property is only applicable when the create_mode is Restore.
	// +kubebuilder:validation:Optional
	RestoreDroppedDatabaseID *string `json:"restoreDroppedDatabaseId,omitempty" tf:"restore_dropped_database_id,omitempty"`

	// The ID of the long term retention backup to be restored. This property is only applicable when the create_mode is RestoreLongTermRetentionBackup.
	// +kubebuilder:validation:Optional
	RestoreLongTermRetentionBackupID *string `json:"restoreLongTermRetentionBackupId,omitempty" tf:"restore_long_term_retention_backup_id,omitempty"`

	// Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for create_mode= PointInTimeRestore databases.
	// +kubebuilder:validation:Optional
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// Specifies the name of the sample schema to apply when creating this database. Possible value is AdventureWorksLT.
	// +kubebuilder:validation:Optional
	SampleName *string `json:"sampleName,omitempty" tf:"sample_name,omitempty"`

	// How do you want your replica to be made? Valid values include Geo and Named. Defaults to Geo. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SecondaryType *string `json:"secondaryType,omitempty" tf:"secondary_type,omitempty"`

	// The id of the MS SQL Server on which to create the database. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`

	// Reference to a MSSQLServer in sql to populate serverId.
	// +kubebuilder:validation:Optional
	ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLServer in sql to populate serverId.
	// +kubebuilder:validation:Optional
	ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"`

	// A short_term_retention_policy block as defined below.
	// +kubebuilder:validation:Optional
	ShortTermRetentionPolicy *ShortTermRetentionPolicyParameters `json:"shortTermRetentionPolicy,omitempty" tf:"short_term_retention_policy,omitempty"`

	// Specifies the name of the SKU used by the database. For example, GP_S_Gen5_2,HS_Gen4_1,BC_Gen5_2, ElasticPool, Basic,S0, P2 ,DW100c, DS100. Changing this from the HyperScale service tier to another service tier will create a new resource.
	// +kubebuilder:validation:Optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Specifies the storage account type used to store backups for this database. Possible values are Geo, GeoZone, Local and Zone. Defaults to Geo.
	// +kubebuilder:validation:Optional
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Threat detection policy configuration. The threat_detection_policy block supports fields documented below.
	// +kubebuilder:validation:Optional
	ThreatDetectionPolicy *ThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"`

	// If set to true, Transparent Data Encryption will be enabled on the database. Defaults to true.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionEnabled *bool `json:"transparentDataEncryptionEnabled,omitempty" tf:"transparent_data_encryption_enabled,omitempty"`

	// Boolean flag to specify whether TDE automatically rotates the encryption Key to latest version or not. Possible values are true or false. Defaults to false.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyAutomaticRotationEnabled *bool `` /* 143-byte string literal not displayed */

	// The fully versioned Key Vault Key URL (e.g. 'https://<YourVaultName>.vault.azure.net/keys/<YourKeyName>/<YourKeyVersion>) to be used as the Customer Managed Key(CMK/BYOK) for the Transparent Data Encryption(TDE) layer.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyID *string `json:"transparentDataEncryptionKeyVaultKeyId,omitempty" tf:"transparent_data_encryption_key_vault_key_id,omitempty"`

	// Reference to a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDRef *v1.Reference `json:"transparentDataEncryptionKeyVaultKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDSelector *v1.Selector `json:"transparentDataEncryptionKeyVaultKeyIdSelector,omitempty" tf:"-"`

	// Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases.
	// +kubebuilder:validation:Optional
	ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"`
}

func (*MSSQLDatabaseParameters) DeepCopy

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

func (*MSSQLDatabaseParameters) DeepCopyInto

func (in *MSSQLDatabaseParameters) DeepCopyInto(out *MSSQLDatabaseParameters)

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

type MSSQLDatabaseSpec

type MSSQLDatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLDatabaseParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLDatabaseInitParameters `json:"initProvider,omitempty"`
}

MSSQLDatabaseSpec defines the desired state of MSSQLDatabase

func (*MSSQLDatabaseSpec) DeepCopy

func (in *MSSQLDatabaseSpec) DeepCopy() *MSSQLDatabaseSpec

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

func (*MSSQLDatabaseSpec) DeepCopyInto

func (in *MSSQLDatabaseSpec) DeepCopyInto(out *MSSQLDatabaseSpec)

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

type MSSQLDatabaseStatus

type MSSQLDatabaseStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLDatabaseObservation `json:"atProvider,omitempty"`
}

MSSQLDatabaseStatus defines the observed state of MSSQLDatabase.

func (*MSSQLDatabaseStatus) DeepCopy

func (in *MSSQLDatabaseStatus) DeepCopy() *MSSQLDatabaseStatus

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

func (*MSSQLDatabaseStatus) DeepCopyInto

func (in *MSSQLDatabaseStatus) DeepCopyInto(out *MSSQLDatabaseStatus)

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

type MSSQLElasticPool

type MSSQLElasticPool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.perDatabaseSettings) || (has(self.initProvider) && has(self.initProvider.perDatabaseSettings))",message="spec.forProvider.perDatabaseSettings is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sku) || (has(self.initProvider) && has(self.initProvider.sku))",message="spec.forProvider.sku is a required parameter"
	Spec   MSSQLElasticPoolSpec   `json:"spec"`
	Status MSSQLElasticPoolStatus `json:"status,omitempty"`
}

MSSQLElasticPool is the Schema for the MSSQLElasticPools API. Manages an Azure SQL Elastic Pool. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLElasticPool) DeepCopy

func (in *MSSQLElasticPool) DeepCopy() *MSSQLElasticPool

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

func (*MSSQLElasticPool) DeepCopyInto

func (in *MSSQLElasticPool) DeepCopyInto(out *MSSQLElasticPool)

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

func (*MSSQLElasticPool) DeepCopyObject

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

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

func (*MSSQLElasticPool) GetCondition

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

GetCondition of this MSSQLElasticPool.

func (*MSSQLElasticPool) GetConnectionDetailsMapping

func (tr *MSSQLElasticPool) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLElasticPool

func (*MSSQLElasticPool) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLElasticPool.

func (*MSSQLElasticPool) GetID

func (tr *MSSQLElasticPool) GetID() string

GetID returns ID of underlying Terraform resource of this MSSQLElasticPool

func (*MSSQLElasticPool) GetInitParameters

func (tr *MSSQLElasticPool) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLElasticPool

func (*MSSQLElasticPool) GetManagementPolicies

func (mg *MSSQLElasticPool) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLElasticPool.

func (*MSSQLElasticPool) GetMergedParameters

func (tr *MSSQLElasticPool) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLElasticPool

func (*MSSQLElasticPool) GetObservation

func (tr *MSSQLElasticPool) GetObservation() (map[string]any, error)

GetObservation of this MSSQLElasticPool

func (*MSSQLElasticPool) GetParameters

func (tr *MSSQLElasticPool) GetParameters() (map[string]any, error)

GetParameters of this MSSQLElasticPool

func (*MSSQLElasticPool) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLElasticPool.

func (*MSSQLElasticPool) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLElasticPool.

func (*MSSQLElasticPool) GetTerraformResourceType

func (mg *MSSQLElasticPool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLElasticPool

func (*MSSQLElasticPool) GetTerraformSchemaVersion

func (tr *MSSQLElasticPool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLElasticPool) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLElasticPool.

func (*MSSQLElasticPool) Hub

func (tr *MSSQLElasticPool) Hub()

Hub marks this type as a conversion hub.

func (*MSSQLElasticPool) LateInitialize

func (tr *MSSQLElasticPool) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLElasticPool using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLElasticPool) ResolveReferences

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

ResolveReferences of this MSSQLElasticPool.

func (*MSSQLElasticPool) SetConditions

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

SetConditions of this MSSQLElasticPool.

func (*MSSQLElasticPool) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLElasticPool.

func (*MSSQLElasticPool) SetManagementPolicies

func (mg *MSSQLElasticPool) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLElasticPool.

func (*MSSQLElasticPool) SetObservation

func (tr *MSSQLElasticPool) SetObservation(obs map[string]any) error

SetObservation for this MSSQLElasticPool

func (*MSSQLElasticPool) SetParameters

func (tr *MSSQLElasticPool) SetParameters(params map[string]any) error

SetParameters for this MSSQLElasticPool

func (*MSSQLElasticPool) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLElasticPool.

func (*MSSQLElasticPool) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLElasticPool.

func (*MSSQLElasticPool) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLElasticPool.

type MSSQLElasticPoolInitParameters

type MSSQLElasticPoolInitParameters struct {

	// Specifies the type of enclave to be used by the elastic pool. When enclave_type is not specified (e.g., the default) enclaves are not enabled on the elastic pool.  Possible values are Default or VBS.
	EnclaveType *string `json:"enclaveType,omitempty" tf:"enclave_type,omitempty"`

	// Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the elastic pool. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2, SQL_SouthAfricaNorth_DB_1, SQL_SouthAfricaNorth_DB_2, SQL_WestUS3_DB_1, SQL_WestUS3_DB_2. Defaults to SQL_Default.
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The max data size of the elastic pool in bytes. Conflicts with max_size_gb.
	MaxSizeBytes *float64 `json:"maxSizeBytes,omitempty" tf:"max_size_bytes,omitempty"`

	// The max data size of the elastic pool in gigabytes. Conflicts with max_size_bytes.
	MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"`

	// A per_database_settings block as defined below.
	PerDatabaseSettings *PerDatabaseSettingsInitParameters `json:"perDatabaseSettings,omitempty" tf:"per_database_settings,omitempty"`

	// A sku block as defined below.
	Sku *SkuInitParameters `json:"sku,omitempty" tf:"sku,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Whether or not this elastic pool is zone redundant. tier needs to be Premium for DTU based or BusinessCritical for vCore based sku.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"`
}

func (*MSSQLElasticPoolInitParameters) DeepCopy

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

func (*MSSQLElasticPoolInitParameters) DeepCopyInto

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

type MSSQLElasticPoolList

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

MSSQLElasticPoolList contains a list of MSSQLElasticPools

func (*MSSQLElasticPoolList) DeepCopy

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

func (*MSSQLElasticPoolList) DeepCopyInto

func (in *MSSQLElasticPoolList) DeepCopyInto(out *MSSQLElasticPoolList)

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

func (*MSSQLElasticPoolList) DeepCopyObject

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

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

func (*MSSQLElasticPoolList) GetItems

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

GetItems of this MSSQLElasticPoolList.

type MSSQLElasticPoolObservation

type MSSQLElasticPoolObservation struct {

	// Specifies the type of enclave to be used by the elastic pool. When enclave_type is not specified (e.g., the default) enclaves are not enabled on the elastic pool.  Possible values are Default or VBS.
	EnclaveType *string `json:"enclaveType,omitempty" tf:"enclave_type,omitempty"`

	// The ID of the MS SQL Elastic Pool.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the elastic pool. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2, SQL_SouthAfricaNorth_DB_1, SQL_SouthAfricaNorth_DB_2, SQL_WestUS3_DB_1, SQL_WestUS3_DB_2. Defaults to SQL_Default.
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The max data size of the elastic pool in bytes. Conflicts with max_size_gb.
	MaxSizeBytes *float64 `json:"maxSizeBytes,omitempty" tf:"max_size_bytes,omitempty"`

	// The max data size of the elastic pool in gigabytes. Conflicts with max_size_bytes.
	MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"`

	// A per_database_settings block as defined below.
	PerDatabaseSettings *PerDatabaseSettingsObservation `json:"perDatabaseSettings,omitempty" tf:"per_database_settings,omitempty"`

	// The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// A sku block as defined below.
	Sku *SkuObservation `json:"sku,omitempty" tf:"sku,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Whether or not this elastic pool is zone redundant. tier needs to be Premium for DTU based or BusinessCritical for vCore based sku.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"`
}

func (*MSSQLElasticPoolObservation) DeepCopy

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

func (*MSSQLElasticPoolObservation) DeepCopyInto

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

type MSSQLElasticPoolParameters

type MSSQLElasticPoolParameters struct {

	// Specifies the type of enclave to be used by the elastic pool. When enclave_type is not specified (e.g., the default) enclaves are not enabled on the elastic pool.  Possible values are Default or VBS.
	// +kubebuilder:validation:Optional
	EnclaveType *string `json:"enclaveType,omitempty" tf:"enclave_type,omitempty"`

	// Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice.
	// +kubebuilder:validation:Optional
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the elastic pool. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2, SQL_SouthAfricaNorth_DB_1, SQL_SouthAfricaNorth_DB_2, SQL_WestUS3_DB_1, SQL_WestUS3_DB_2. Defaults to SQL_Default.
	// +kubebuilder:validation:Optional
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The max data size of the elastic pool in bytes. Conflicts with max_size_gb.
	// +kubebuilder:validation:Optional
	MaxSizeBytes *float64 `json:"maxSizeBytes,omitempty" tf:"max_size_bytes,omitempty"`

	// The max data size of the elastic pool in gigabytes. Conflicts with max_size_bytes.
	// +kubebuilder:validation:Optional
	MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"`

	// A per_database_settings block as defined below.
	// +kubebuilder:validation:Optional
	PerDatabaseSettings *PerDatabaseSettingsParameters `json:"perDatabaseSettings,omitempty" tf:"per_database_settings,omitempty"`

	// The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a MSSQLServer in sql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a MSSQLServer in sql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// A sku block as defined below.
	// +kubebuilder:validation:Optional
	Sku *SkuParameters `json:"sku,omitempty" tf:"sku,omitempty"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Whether or not this elastic pool is zone redundant. tier needs to be Premium for DTU based or BusinessCritical for vCore based sku.
	// +kubebuilder:validation:Optional
	ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"`
}

func (*MSSQLElasticPoolParameters) DeepCopy

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

func (*MSSQLElasticPoolParameters) DeepCopyInto

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

type MSSQLElasticPoolSpec

type MSSQLElasticPoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLElasticPoolParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLElasticPoolInitParameters `json:"initProvider,omitempty"`
}

MSSQLElasticPoolSpec defines the desired state of MSSQLElasticPool

func (*MSSQLElasticPoolSpec) DeepCopy

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

func (*MSSQLElasticPoolSpec) DeepCopyInto

func (in *MSSQLElasticPoolSpec) DeepCopyInto(out *MSSQLElasticPoolSpec)

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

type MSSQLElasticPoolStatus

type MSSQLElasticPoolStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLElasticPoolObservation `json:"atProvider,omitempty"`
}

MSSQLElasticPoolStatus defines the observed state of MSSQLElasticPool.

func (*MSSQLElasticPoolStatus) DeepCopy

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

func (*MSSQLElasticPoolStatus) DeepCopyInto

func (in *MSSQLElasticPoolStatus) DeepCopyInto(out *MSSQLElasticPoolStatus)

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

type MSSQLFailoverGroup

type MSSQLFailoverGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.partnerServer) || (has(self.initProvider) && has(self.initProvider.partnerServer))",message="spec.forProvider.partnerServer is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.readWriteEndpointFailoverPolicy) || (has(self.initProvider) && has(self.initProvider.readWriteEndpointFailoverPolicy))",message="spec.forProvider.readWriteEndpointFailoverPolicy is a required parameter"
	Spec   MSSQLFailoverGroupSpec   `json:"spec"`
	Status MSSQLFailoverGroupStatus `json:"status,omitempty"`
}

MSSQLFailoverGroup is the Schema for the MSSQLFailoverGroups API. Manages a Microsoft Azure SQL Failover Group. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLFailoverGroup) DeepCopy

func (in *MSSQLFailoverGroup) DeepCopy() *MSSQLFailoverGroup

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

func (*MSSQLFailoverGroup) DeepCopyInto

func (in *MSSQLFailoverGroup) DeepCopyInto(out *MSSQLFailoverGroup)

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

func (*MSSQLFailoverGroup) DeepCopyObject

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

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

func (*MSSQLFailoverGroup) GetCondition

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

GetCondition of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) GetConnectionDetailsMapping

func (tr *MSSQLFailoverGroup) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) GetID

func (tr *MSSQLFailoverGroup) GetID() string

GetID returns ID of underlying Terraform resource of this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetInitParameters

func (tr *MSSQLFailoverGroup) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetManagementPolicies

func (mg *MSSQLFailoverGroup) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) GetMergedParameters

func (tr *MSSQLFailoverGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetObservation

func (tr *MSSQLFailoverGroup) GetObservation() (map[string]any, error)

GetObservation of this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetParameters

func (tr *MSSQLFailoverGroup) GetParameters() (map[string]any, error)

GetParameters of this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) GetTerraformResourceType

func (mg *MSSQLFailoverGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) GetTerraformSchemaVersion

func (tr *MSSQLFailoverGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLFailoverGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) Hub

func (tr *MSSQLFailoverGroup) Hub()

Hub marks this type as a conversion hub.

func (*MSSQLFailoverGroup) LateInitialize

func (tr *MSSQLFailoverGroup) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLFailoverGroup using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLFailoverGroup) ResolveReferences

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

ResolveReferences of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) SetConditions

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

SetConditions of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) SetManagementPolicies

func (mg *MSSQLFailoverGroup) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) SetObservation

func (tr *MSSQLFailoverGroup) SetObservation(obs map[string]any) error

SetObservation for this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) SetParameters

func (tr *MSSQLFailoverGroup) SetParameters(params map[string]any) error

SetParameters for this MSSQLFailoverGroup

func (*MSSQLFailoverGroup) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLFailoverGroup.

func (*MSSQLFailoverGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLFailoverGroup.

type MSSQLFailoverGroupInitParameters

type MSSQLFailoverGroupInitParameters struct {

	// A set of database names to include in the failover group.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLDatabase
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +listType=set
	Databases []*string `json:"databases,omitempty" tf:"databases,omitempty"`

	// References to MSSQLDatabase in sql to populate databases.
	// +kubebuilder:validation:Optional
	DatabasesRefs []v1.Reference `json:"databasesRefs,omitempty" tf:"-"`

	// Selector for a list of MSSQLDatabase in sql to populate databases.
	// +kubebuilder:validation:Optional
	DatabasesSelector *v1.Selector `json:"databasesSelector,omitempty" tf:"-"`

	// A partner_server block as defined below.
	PartnerServer []PartnerServerInitParameters `json:"partnerServer,omitempty" tf:"partner_server,omitempty"`

	// A read_write_endpoint_failover_policy block as defined below.
	ReadWriteEndpointFailoverPolicy *ReadWriteEndpointFailoverPolicyInitParameters `json:"readWriteEndpointFailoverPolicy,omitempty" tf:"read_write_endpoint_failover_policy,omitempty"`

	// Whether failover is enabled for the readonly endpoint. Defaults to false.
	ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*MSSQLFailoverGroupInitParameters) DeepCopy

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

func (*MSSQLFailoverGroupInitParameters) DeepCopyInto

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

type MSSQLFailoverGroupList

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

MSSQLFailoverGroupList contains a list of MSSQLFailoverGroups

func (*MSSQLFailoverGroupList) DeepCopy

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

func (*MSSQLFailoverGroupList) DeepCopyInto

func (in *MSSQLFailoverGroupList) DeepCopyInto(out *MSSQLFailoverGroupList)

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

func (*MSSQLFailoverGroupList) DeepCopyObject

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

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

func (*MSSQLFailoverGroupList) GetItems

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

GetItems of this MSSQLFailoverGroupList.

type MSSQLFailoverGroupObservation

type MSSQLFailoverGroupObservation struct {

	// A set of database names to include in the failover group.
	// +listType=set
	Databases []*string `json:"databases,omitempty" tf:"databases,omitempty"`

	// The ID of the Failover Group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A partner_server block as defined below.
	PartnerServer []PartnerServerObservation `json:"partnerServer,omitempty" tf:"partner_server,omitempty"`

	// A read_write_endpoint_failover_policy block as defined below.
	ReadWriteEndpointFailoverPolicy *ReadWriteEndpointFailoverPolicyObservation `json:"readWriteEndpointFailoverPolicy,omitempty" tf:"read_write_endpoint_failover_policy,omitempty"`

	// Whether failover is enabled for the readonly endpoint. Defaults to false.
	ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"`

	// The ID of the primary SQL Server on which to create the failover group. Changing this forces a new resource to be created.
	ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*MSSQLFailoverGroupObservation) DeepCopy

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

func (*MSSQLFailoverGroupObservation) DeepCopyInto

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

type MSSQLFailoverGroupParameters

type MSSQLFailoverGroupParameters struct {

	// A set of database names to include in the failover group.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLDatabase
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	// +listType=set
	Databases []*string `json:"databases,omitempty" tf:"databases,omitempty"`

	// References to MSSQLDatabase in sql to populate databases.
	// +kubebuilder:validation:Optional
	DatabasesRefs []v1.Reference `json:"databasesRefs,omitempty" tf:"-"`

	// Selector for a list of MSSQLDatabase in sql to populate databases.
	// +kubebuilder:validation:Optional
	DatabasesSelector *v1.Selector `json:"databasesSelector,omitempty" tf:"-"`

	// A partner_server block as defined below.
	// +kubebuilder:validation:Optional
	PartnerServer []PartnerServerParameters `json:"partnerServer,omitempty" tf:"partner_server,omitempty"`

	// A read_write_endpoint_failover_policy block as defined below.
	// +kubebuilder:validation:Optional
	ReadWriteEndpointFailoverPolicy *ReadWriteEndpointFailoverPolicyParameters `json:"readWriteEndpointFailoverPolicy,omitempty" tf:"read_write_endpoint_failover_policy,omitempty"`

	// Whether failover is enabled for the readonly endpoint. Defaults to false.
	// +kubebuilder:validation:Optional
	ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"`

	// The ID of the primary SQL Server on which to create the failover group. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`

	// Reference to a MSSQLServer in sql to populate serverId.
	// +kubebuilder:validation:Optional
	ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLServer in sql to populate serverId.
	// +kubebuilder:validation:Optional
	ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*MSSQLFailoverGroupParameters) DeepCopy

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

func (*MSSQLFailoverGroupParameters) DeepCopyInto

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

type MSSQLFailoverGroupSpec

type MSSQLFailoverGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLFailoverGroupParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLFailoverGroupInitParameters `json:"initProvider,omitempty"`
}

MSSQLFailoverGroupSpec defines the desired state of MSSQLFailoverGroup

func (*MSSQLFailoverGroupSpec) DeepCopy

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

func (*MSSQLFailoverGroupSpec) DeepCopyInto

func (in *MSSQLFailoverGroupSpec) DeepCopyInto(out *MSSQLFailoverGroupSpec)

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

type MSSQLFailoverGroupStatus

type MSSQLFailoverGroupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLFailoverGroupObservation `json:"atProvider,omitempty"`
}

MSSQLFailoverGroupStatus defines the observed state of MSSQLFailoverGroup.

func (*MSSQLFailoverGroupStatus) DeepCopy

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

func (*MSSQLFailoverGroupStatus) DeepCopyInto

func (in *MSSQLFailoverGroupStatus) DeepCopyInto(out *MSSQLFailoverGroupStatus)

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

type MSSQLManagedDatabase

type MSSQLManagedDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MSSQLManagedDatabaseSpec   `json:"spec"`
	Status            MSSQLManagedDatabaseStatus `json:"status,omitempty"`
}

MSSQLManagedDatabase is the Schema for the MSSQLManagedDatabases API. Manages an Azure SQL Azure Managed Database. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLManagedDatabase) DeepCopy

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

func (*MSSQLManagedDatabase) DeepCopyInto

func (in *MSSQLManagedDatabase) DeepCopyInto(out *MSSQLManagedDatabase)

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

func (*MSSQLManagedDatabase) DeepCopyObject

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

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

func (*MSSQLManagedDatabase) GetCondition

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

GetCondition of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) GetConnectionDetailsMapping

func (tr *MSSQLManagedDatabase) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) GetID

func (tr *MSSQLManagedDatabase) GetID() string

GetID returns ID of underlying Terraform resource of this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetInitParameters

func (tr *MSSQLManagedDatabase) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetManagementPolicies

func (mg *MSSQLManagedDatabase) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) GetMergedParameters

func (tr *MSSQLManagedDatabase) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetObservation

func (tr *MSSQLManagedDatabase) GetObservation() (map[string]any, error)

GetObservation of this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetParameters

func (tr *MSSQLManagedDatabase) GetParameters() (map[string]any, error)

GetParameters of this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) GetTerraformResourceType

func (mg *MSSQLManagedDatabase) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) GetTerraformSchemaVersion

func (tr *MSSQLManagedDatabase) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLManagedDatabase) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) Hub

func (tr *MSSQLManagedDatabase) Hub()

Hub marks this type as a conversion hub.

func (*MSSQLManagedDatabase) LateInitialize

func (tr *MSSQLManagedDatabase) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLManagedDatabase using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLManagedDatabase) ResolveReferences

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

ResolveReferences of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) SetConditions

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

SetConditions of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) SetManagementPolicies

func (mg *MSSQLManagedDatabase) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) SetObservation

func (tr *MSSQLManagedDatabase) SetObservation(obs map[string]any) error

SetObservation for this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) SetParameters

func (tr *MSSQLManagedDatabase) SetParameters(params map[string]any) error

SetParameters for this MSSQLManagedDatabase

func (*MSSQLManagedDatabase) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLManagedDatabase.

func (*MSSQLManagedDatabase) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLManagedDatabase.

type MSSQLManagedDatabaseInitParameters

type MSSQLManagedDatabaseInitParameters struct {

	// A long_term_retention_policy block as defined below.
	LongTermRetentionPolicy *MSSQLManagedDatabaseLongTermRetentionPolicyInitParameters `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"`

	// A point_in_time_restore block as defined below. Changing this forces a new resource to be created.
	PointInTimeRestore *PointInTimeRestoreInitParameters `json:"pointInTimeRestore,omitempty" tf:"point_in_time_restore,omitempty"`

	// The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
	ShortTermRetentionDays *float64 `json:"shortTermRetentionDays,omitempty" tf:"short_term_retention_days,omitempty"`
}

func (*MSSQLManagedDatabaseInitParameters) DeepCopy

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

func (*MSSQLManagedDatabaseInitParameters) DeepCopyInto

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

type MSSQLManagedDatabaseList

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

MSSQLManagedDatabaseList contains a list of MSSQLManagedDatabases

func (*MSSQLManagedDatabaseList) DeepCopy

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

func (*MSSQLManagedDatabaseList) DeepCopyInto

func (in *MSSQLManagedDatabaseList) DeepCopyInto(out *MSSQLManagedDatabaseList)

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

func (*MSSQLManagedDatabaseList) DeepCopyObject

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

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

func (*MSSQLManagedDatabaseList) GetItems

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

GetItems of this MSSQLManagedDatabaseList.

type MSSQLManagedDatabaseLongTermRetentionPolicyInitParameters

type MSSQLManagedDatabaseLongTermRetentionPolicyInitParameters struct {

	// Specifies if the backups are immutable. Defaults to false.
	ImmutableBackupsEnabled *bool `json:"immutableBackupsEnabled,omitempty" tf:"immutable_backups_enabled,omitempty"`

	// The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D.
	MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"`

	// The week of year to take the yearly backup. Value has to be between 1 and 52.
	WeekOfYear *float64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"`

	// The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D.
	WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"`

	// The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D.
	YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"`
}

func (*MSSQLManagedDatabaseLongTermRetentionPolicyInitParameters) DeepCopy

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

func (*MSSQLManagedDatabaseLongTermRetentionPolicyInitParameters) DeepCopyInto

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

type MSSQLManagedDatabaseLongTermRetentionPolicyObservation

type MSSQLManagedDatabaseLongTermRetentionPolicyObservation struct {

	// Specifies if the backups are immutable. Defaults to false.
	ImmutableBackupsEnabled *bool `json:"immutableBackupsEnabled,omitempty" tf:"immutable_backups_enabled,omitempty"`

	// The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D.
	MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"`

	// The week of year to take the yearly backup. Value has to be between 1 and 52.
	WeekOfYear *float64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"`

	// The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D.
	WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"`

	// The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D.
	YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"`
}

func (*MSSQLManagedDatabaseLongTermRetentionPolicyObservation) DeepCopy

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

func (*MSSQLManagedDatabaseLongTermRetentionPolicyObservation) DeepCopyInto

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

type MSSQLManagedDatabaseLongTermRetentionPolicyParameters

type MSSQLManagedDatabaseLongTermRetentionPolicyParameters struct {

	// Specifies if the backups are immutable. Defaults to false.
	// +kubebuilder:validation:Optional
	ImmutableBackupsEnabled *bool `json:"immutableBackupsEnabled,omitempty" tf:"immutable_backups_enabled,omitempty"`

	// The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D.
	// +kubebuilder:validation:Optional
	MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"`

	// The week of year to take the yearly backup. Value has to be between 1 and 52.
	// +kubebuilder:validation:Optional
	WeekOfYear *float64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"`

	// The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D.
	// +kubebuilder:validation:Optional
	WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"`

	// The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D.
	// +kubebuilder:validation:Optional
	YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"`
}

func (*MSSQLManagedDatabaseLongTermRetentionPolicyParameters) DeepCopy

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

func (*MSSQLManagedDatabaseLongTermRetentionPolicyParameters) DeepCopyInto

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

type MSSQLManagedDatabaseObservation

type MSSQLManagedDatabaseObservation struct {

	// The Azure SQL Managed Database ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A long_term_retention_policy block as defined below.
	LongTermRetentionPolicy *MSSQLManagedDatabaseLongTermRetentionPolicyObservation `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"`

	// The ID of the Azure SQL Managed Instance on which to create this Managed Database. Changing this forces a new resource to be created.
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// A point_in_time_restore block as defined below. Changing this forces a new resource to be created.
	PointInTimeRestore *PointInTimeRestoreObservation `json:"pointInTimeRestore,omitempty" tf:"point_in_time_restore,omitempty"`

	// The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
	ShortTermRetentionDays *float64 `json:"shortTermRetentionDays,omitempty" tf:"short_term_retention_days,omitempty"`
}

func (*MSSQLManagedDatabaseObservation) DeepCopy

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

func (*MSSQLManagedDatabaseObservation) DeepCopyInto

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

type MSSQLManagedDatabaseParameters

type MSSQLManagedDatabaseParameters struct {

	// A long_term_retention_policy block as defined below.
	// +kubebuilder:validation:Optional
	LongTermRetentionPolicy *MSSQLManagedDatabaseLongTermRetentionPolicyParameters `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"`

	// The ID of the Azure SQL Managed Instance on which to create this Managed Database. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"`

	// A point_in_time_restore block as defined below. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	PointInTimeRestore *PointInTimeRestoreParameters `json:"pointInTimeRestore,omitempty" tf:"point_in_time_restore,omitempty"`

	// The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
	// +kubebuilder:validation:Optional
	ShortTermRetentionDays *float64 `json:"shortTermRetentionDays,omitempty" tf:"short_term_retention_days,omitempty"`
}

func (*MSSQLManagedDatabaseParameters) DeepCopy

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

func (*MSSQLManagedDatabaseParameters) DeepCopyInto

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

type MSSQLManagedDatabaseSpec

type MSSQLManagedDatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLManagedDatabaseParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLManagedDatabaseInitParameters `json:"initProvider,omitempty"`
}

MSSQLManagedDatabaseSpec defines the desired state of MSSQLManagedDatabase

func (*MSSQLManagedDatabaseSpec) DeepCopy

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

func (*MSSQLManagedDatabaseSpec) DeepCopyInto

func (in *MSSQLManagedDatabaseSpec) DeepCopyInto(out *MSSQLManagedDatabaseSpec)

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

type MSSQLManagedDatabaseStatus

type MSSQLManagedDatabaseStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLManagedDatabaseObservation `json:"atProvider,omitempty"`
}

MSSQLManagedDatabaseStatus defines the observed state of MSSQLManagedDatabase.

func (*MSSQLManagedDatabaseStatus) DeepCopy

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

func (*MSSQLManagedDatabaseStatus) DeepCopyInto

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

type MSSQLManagedInstance

type MSSQLManagedInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.administratorLogin) || (has(self.initProvider) && has(self.initProvider.administratorLogin))",message="spec.forProvider.administratorLogin is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.administratorLoginPasswordSecretRef)",message="spec.forProvider.administratorLoginPasswordSecretRef is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.licenseType) || (has(self.initProvider) && has(self.initProvider.licenseType))",message="spec.forProvider.licenseType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.skuName) || (has(self.initProvider) && has(self.initProvider.skuName))",message="spec.forProvider.skuName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageSizeInGb) || (has(self.initProvider) && has(self.initProvider.storageSizeInGb))",message="spec.forProvider.storageSizeInGb is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vcores) || (has(self.initProvider) && has(self.initProvider.vcores))",message="spec.forProvider.vcores is a required parameter"
	Spec   MSSQLManagedInstanceSpec   `json:"spec"`
	Status MSSQLManagedInstanceStatus `json:"status,omitempty"`
}

MSSQLManagedInstance is the Schema for the MSSQLManagedInstances API. Manages a Microsoft SQL Azure Managed Instance. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLManagedInstance) DeepCopy

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

func (*MSSQLManagedInstance) DeepCopyInto

func (in *MSSQLManagedInstance) DeepCopyInto(out *MSSQLManagedInstance)

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

func (*MSSQLManagedInstance) DeepCopyObject

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

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

func (*MSSQLManagedInstance) GetCondition

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

GetCondition of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) GetConnectionDetailsMapping

func (tr *MSSQLManagedInstance) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) GetID

func (tr *MSSQLManagedInstance) GetID() string

GetID returns ID of underlying Terraform resource of this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetInitParameters

func (tr *MSSQLManagedInstance) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetManagementPolicies

func (mg *MSSQLManagedInstance) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) GetMergedParameters

func (tr *MSSQLManagedInstance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetObservation

func (tr *MSSQLManagedInstance) GetObservation() (map[string]any, error)

GetObservation of this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetParameters

func (tr *MSSQLManagedInstance) GetParameters() (map[string]any, error)

GetParameters of this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) GetTerraformResourceType

func (mg *MSSQLManagedInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLManagedInstance

func (*MSSQLManagedInstance) GetTerraformSchemaVersion

func (tr *MSSQLManagedInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLManagedInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) Hub

func (tr *MSSQLManagedInstance) Hub()

Hub marks this type as a conversion hub.

func (*MSSQLManagedInstance) LateInitialize

func (tr *MSSQLManagedInstance) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLManagedInstance using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLManagedInstance) ResolveReferences

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

ResolveReferences of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) SetConditions

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

SetConditions of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) SetManagementPolicies

func (mg *MSSQLManagedInstance) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) SetObservation

func (tr *MSSQLManagedInstance) SetObservation(obs map[string]any) error

SetObservation for this MSSQLManagedInstance

func (*MSSQLManagedInstance) SetParameters

func (tr *MSSQLManagedInstance) SetParameters(params map[string]any) error

SetParameters for this MSSQLManagedInstance

func (*MSSQLManagedInstance) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLManagedInstance.

func (*MSSQLManagedInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLManagedInstance.

type MSSQLManagedInstanceFailoverGroup

type MSSQLManagedInstanceFailoverGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.readWriteEndpointFailoverPolicy) || (has(self.initProvider) && has(self.initProvider.readWriteEndpointFailoverPolicy))",message="spec.forProvider.readWriteEndpointFailoverPolicy is a required parameter"
	Spec   MSSQLManagedInstanceFailoverGroupSpec   `json:"spec"`
	Status MSSQLManagedInstanceFailoverGroupStatus `json:"status,omitempty"`
}

MSSQLManagedInstanceFailoverGroup is the Schema for the MSSQLManagedInstanceFailoverGroups API. Manages an Azure SQL Managed Instance Failover Group. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLManagedInstanceFailoverGroup) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroup) DeepCopyInto

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

func (*MSSQLManagedInstanceFailoverGroup) DeepCopyObject

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

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

func (*MSSQLManagedInstanceFailoverGroup) GetCondition

GetCondition of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) GetConnectionDetailsMapping

func (tr *MSSQLManagedInstanceFailoverGroup) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) GetID

GetID returns ID of underlying Terraform resource of this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetInitParameters

func (tr *MSSQLManagedInstanceFailoverGroup) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetManagementPolicies

func (mg *MSSQLManagedInstanceFailoverGroup) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) GetMergedParameters

func (tr *MSSQLManagedInstanceFailoverGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetObservation

func (tr *MSSQLManagedInstanceFailoverGroup) GetObservation() (map[string]any, error)

GetObservation of this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetParameters

func (tr *MSSQLManagedInstanceFailoverGroup) GetParameters() (map[string]any, error)

GetParameters of this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) GetTerraformResourceType

func (mg *MSSQLManagedInstanceFailoverGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) GetTerraformSchemaVersion

func (tr *MSSQLManagedInstanceFailoverGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLManagedInstanceFailoverGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) Hub

Hub marks this type as a conversion hub.

func (*MSSQLManagedInstanceFailoverGroup) LateInitialize

func (tr *MSSQLManagedInstanceFailoverGroup) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLManagedInstanceFailoverGroup using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLManagedInstanceFailoverGroup) ResolveReferences

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

ResolveReferences of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) SetConditions

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

SetConditions of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) SetManagementPolicies

func (mg *MSSQLManagedInstanceFailoverGroup) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) SetObservation

func (tr *MSSQLManagedInstanceFailoverGroup) SetObservation(obs map[string]any) error

SetObservation for this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) SetParameters

func (tr *MSSQLManagedInstanceFailoverGroup) SetParameters(params map[string]any) error

SetParameters for this MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroup) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLManagedInstanceFailoverGroup.

type MSSQLManagedInstanceFailoverGroupInitParameters

type MSSQLManagedInstanceFailoverGroupInitParameters struct {

	// The ID of the Azure SQL Managed Instance which will be replicated using a Managed Instance Failover Group. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"`

	// The ID of the Azure SQL Managed Instance which will be replicated to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	PartnerManagedInstanceID *string `json:"partnerManagedInstanceId,omitempty" tf:"partner_managed_instance_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate partnerManagedInstanceId.
	// +kubebuilder:validation:Optional
	PartnerManagedInstanceIDRef *v1.Reference `json:"partnerManagedInstanceIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate partnerManagedInstanceId.
	// +kubebuilder:validation:Optional
	PartnerManagedInstanceIDSelector *v1.Selector `json:"partnerManagedInstanceIdSelector,omitempty" tf:"-"`

	// A read_write_endpoint_failover_policy block as defined below.
	ReadWriteEndpointFailoverPolicy *MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyInitParameters `json:"readWriteEndpointFailoverPolicy,omitempty" tf:"read_write_endpoint_failover_policy,omitempty"`

	// Failover policy for the read-only endpoint. Defaults to true.
	ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"`
}

func (*MSSQLManagedInstanceFailoverGroupInitParameters) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupInitParameters) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupList

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

MSSQLManagedInstanceFailoverGroupList contains a list of MSSQLManagedInstanceFailoverGroups

func (*MSSQLManagedInstanceFailoverGroupList) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupList) DeepCopyInto

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

func (*MSSQLManagedInstanceFailoverGroupList) DeepCopyObject

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

func (*MSSQLManagedInstanceFailoverGroupList) GetItems

GetItems of this MSSQLManagedInstanceFailoverGroupList.

type MSSQLManagedInstanceFailoverGroupObservation

type MSSQLManagedInstanceFailoverGroupObservation struct {

	// The ID of the Managed Instance Failover Group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Azure Region where the Managed Instance Failover Group should exist. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The ID of the Azure SQL Managed Instance which will be replicated using a Managed Instance Failover Group. Changing this forces a new resource to be created.
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// The ID of the Azure SQL Managed Instance which will be replicated to. Changing this forces a new resource to be created.
	PartnerManagedInstanceID *string `json:"partnerManagedInstanceId,omitempty" tf:"partner_managed_instance_id,omitempty"`

	// A partner_region block as defined below.
	PartnerRegion []PartnerRegionObservation `json:"partnerRegion,omitempty" tf:"partner_region,omitempty"`

	// A read_write_endpoint_failover_policy block as defined below.
	ReadWriteEndpointFailoverPolicy *MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyObservation `json:"readWriteEndpointFailoverPolicy,omitempty" tf:"read_write_endpoint_failover_policy,omitempty"`

	// Failover policy for the read-only endpoint. Defaults to true.
	ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"`

	// The local replication role of the Managed Instance Failover Group.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*MSSQLManagedInstanceFailoverGroupObservation) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupObservation) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupParameters

type MSSQLManagedInstanceFailoverGroupParameters struct {

	// The Azure Region where the Managed Instance Failover Group should exist. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The ID of the Azure SQL Managed Instance which will be replicated using a Managed Instance Failover Group. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"`

	// The ID of the Azure SQL Managed Instance which will be replicated to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PartnerManagedInstanceID *string `json:"partnerManagedInstanceId,omitempty" tf:"partner_managed_instance_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate partnerManagedInstanceId.
	// +kubebuilder:validation:Optional
	PartnerManagedInstanceIDRef *v1.Reference `json:"partnerManagedInstanceIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate partnerManagedInstanceId.
	// +kubebuilder:validation:Optional
	PartnerManagedInstanceIDSelector *v1.Selector `json:"partnerManagedInstanceIdSelector,omitempty" tf:"-"`

	// A read_write_endpoint_failover_policy block as defined below.
	// +kubebuilder:validation:Optional
	ReadWriteEndpointFailoverPolicy *MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyParameters `json:"readWriteEndpointFailoverPolicy,omitempty" tf:"read_write_endpoint_failover_policy,omitempty"`

	// Failover policy for the read-only endpoint. Defaults to true.
	// +kubebuilder:validation:Optional
	ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"`
}

func (*MSSQLManagedInstanceFailoverGroupParameters) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupParameters) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyInitParameters

type MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyInitParameters struct {

	// Applies only if mode is Automatic. The grace period in minutes before failover with data loss is attempted.
	GraceMinutes *float64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"`

	// The failover mode. Possible values are Automatic or Manual.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyInitParameters) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyInitParameters) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyObservation

type MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyObservation struct {

	// Applies only if mode is Automatic. The grace period in minutes before failover with data loss is attempted.
	GraceMinutes *float64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"`

	// The failover mode. Possible values are Automatic or Manual.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyObservation) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyObservation) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyParameters

type MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyParameters struct {

	// Applies only if mode is Automatic. The grace period in minutes before failover with data loss is attempted.
	// +kubebuilder:validation:Optional
	GraceMinutes *float64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"`

	// The failover mode. Possible values are Automatic or Manual.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode" tf:"mode,omitempty"`
}

func (*MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyParameters) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicyParameters) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupSpec

type MSSQLManagedInstanceFailoverGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLManagedInstanceFailoverGroupParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLManagedInstanceFailoverGroupInitParameters `json:"initProvider,omitempty"`
}

MSSQLManagedInstanceFailoverGroupSpec defines the desired state of MSSQLManagedInstanceFailoverGroup

func (*MSSQLManagedInstanceFailoverGroupSpec) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupSpec) DeepCopyInto

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

type MSSQLManagedInstanceFailoverGroupStatus

type MSSQLManagedInstanceFailoverGroupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLManagedInstanceFailoverGroupObservation `json:"atProvider,omitempty"`
}

MSSQLManagedInstanceFailoverGroupStatus defines the observed state of MSSQLManagedInstanceFailoverGroup.

func (*MSSQLManagedInstanceFailoverGroupStatus) DeepCopy

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

func (*MSSQLManagedInstanceFailoverGroupStatus) DeepCopyInto

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

type MSSQLManagedInstanceIdentityInitParameters

type MSSQLManagedInstanceIdentityInitParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Managed Instance. Required when type is set to UserAssigned.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Managed Instance. Possible values are SystemAssigned, UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*MSSQLManagedInstanceIdentityInitParameters) DeepCopy

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

func (*MSSQLManagedInstanceIdentityInitParameters) DeepCopyInto

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

type MSSQLManagedInstanceIdentityObservation

type MSSQLManagedInstanceIdentityObservation struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Managed Instance. Required when type is set to UserAssigned.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID for the Service Principal associated with the Identity of this SQL Managed Instance.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID for the Service Principal associated with the Identity of this SQL Managed Instance.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Managed Instance. Possible values are SystemAssigned, UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*MSSQLManagedInstanceIdentityObservation) DeepCopy

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

func (*MSSQLManagedInstanceIdentityObservation) DeepCopyInto

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

type MSSQLManagedInstanceIdentityParameters

type MSSQLManagedInstanceIdentityParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Managed Instance. Required when type is set to UserAssigned.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Managed Instance. Possible values are SystemAssigned, UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MSSQLManagedInstanceIdentityParameters) DeepCopy

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

func (*MSSQLManagedInstanceIdentityParameters) DeepCopyInto

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

type MSSQLManagedInstanceInitParameters

type MSSQLManagedInstanceInitParameters struct {

	// The administrator login name for the new SQL Managed Instance. Changing this forces a new resource to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The password associated with the administrator_login user. Needs to comply with Azure's Password Policy
	AdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef" tf:"-"`

	// Specifies how the SQL Managed Instance will be collated. Default value is SQL_Latin1_General_CP1_CI_AS. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an azurerm_sql_managed_instance_failover_group. Setting this after creation forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	DNSZonePartnerID *string `json:"dnsZonePartnerId,omitempty" tf:"dns_zone_partner_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate dnsZonePartnerId.
	// +kubebuilder:validation:Optional
	DNSZonePartnerIDRef *v1.Reference `json:"dnsZonePartnerIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate dnsZonePartnerId.
	// +kubebuilder:validation:Optional
	DNSZonePartnerIDSelector *v1.Selector `json:"dnsZonePartnerIdSelector,omitempty" tf:"-"`

	// An identity block as defined below.
	Identity *MSSQLManagedInstanceIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// What type of license the Managed Instance will use. Possible values are LicenseIncluded and BasePrice.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Valid values include SQL_Default or an Azure Location in the format SQL_{Location}_MI_{Size}(for example SQL_EastUS_MI_1). Defaults to SQL_Default.
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The Minimum TLS Version. Default value is 1.2 Valid values include 1.0, 1.1, 1.2.
	MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"`

	// Specifies how the SQL Managed Instance will be accessed. Default value is Default. Valid values include Default, Proxy, and Redirect.
	ProxyOverride *string `json:"proxyOverride,omitempty" tf:"proxy_override,omitempty"`

	// Is the public data endpoint enabled? Default value is false.
	PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty" tf:"public_data_endpoint_enabled,omitempty"`

	// Specifies the SKU Name for the SQL Managed Instance. Valid values include GP_Gen4, GP_Gen5, GP_Gen8IM, GP_Gen8IH, BC_Gen4, BC_Gen5, BC_Gen8IM or BC_Gen8IH.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are GRS, GZRS, LRS, and ZRS. Defaults to GRS.
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"`

	// Maximum storage space for the SQL Managed instance. This should be a multiple of 32 (GB).
	StorageSizeInGb *float64 `json:"storageSizeInGb,omitempty" tf:"storage_size_in_gb,omitempty"`

	// The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The TimeZone ID that the SQL Managed Instance will be operating in. Default value is UTC. Changing this forces a new resource to be created.
	TimezoneID *string `json:"timezoneId,omitempty" tf:"timezone_id,omitempty"`

	// Number of cores that should be assigned to the SQL Managed Instance. Values can be 8, 16, or 24 for Gen4 SKUs, or 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96 or 128 for Gen5 SKUs.
	Vcores *float64 `json:"vcores,omitempty" tf:"vcores,omitempty"`

	// Specifies whether or not the SQL Managed Instance is zone redundant. Defaults to false.
	ZoneRedundantEnabled *bool `json:"zoneRedundantEnabled,omitempty" tf:"zone_redundant_enabled,omitempty"`
}

func (*MSSQLManagedInstanceInitParameters) DeepCopy

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

func (*MSSQLManagedInstanceInitParameters) DeepCopyInto

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

type MSSQLManagedInstanceList

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

MSSQLManagedInstanceList contains a list of MSSQLManagedInstances

func (*MSSQLManagedInstanceList) DeepCopy

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

func (*MSSQLManagedInstanceList) DeepCopyInto

func (in *MSSQLManagedInstanceList) DeepCopyInto(out *MSSQLManagedInstanceList)

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

func (*MSSQLManagedInstanceList) DeepCopyObject

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

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

func (*MSSQLManagedInstanceList) GetItems

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

GetItems of this MSSQLManagedInstanceList.

type MSSQLManagedInstanceObservation

type MSSQLManagedInstanceObservation struct {

	// The administrator login name for the new SQL Managed Instance. Changing this forces a new resource to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// Specifies how the SQL Managed Instance will be collated. Default value is SQL_Latin1_General_CP1_CI_AS. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The Dns Zone where the SQL Managed Instance is located.
	DNSZone *string `json:"dnsZone,omitempty" tf:"dns_zone,omitempty"`

	// The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an azurerm_sql_managed_instance_failover_group. Setting this after creation forces a new resource to be created.
	DNSZonePartnerID *string `json:"dnsZonePartnerId,omitempty" tf:"dns_zone_partner_id,omitempty"`

	// The fully qualified domain name of the Azure Managed SQL Instance
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// The SQL Managed Instance ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *MSSQLManagedInstanceIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// What type of license the Managed Instance will use. Possible values are LicenseIncluded and BasePrice.
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Valid values include SQL_Default or an Azure Location in the format SQL_{Location}_MI_{Size}(for example SQL_EastUS_MI_1). Defaults to SQL_Default.
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The Minimum TLS Version. Default value is 1.2 Valid values include 1.0, 1.1, 1.2.
	MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"`

	// Specifies how the SQL Managed Instance will be accessed. Default value is Default. Valid values include Default, Proxy, and Redirect.
	ProxyOverride *string `json:"proxyOverride,omitempty" tf:"proxy_override,omitempty"`

	// Is the public data endpoint enabled? Default value is false.
	PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty" tf:"public_data_endpoint_enabled,omitempty"`

	// The name of the resource group in which to create the SQL Managed Instance. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the SKU Name for the SQL Managed Instance. Valid values include GP_Gen4, GP_Gen5, GP_Gen8IM, GP_Gen8IH, BC_Gen4, BC_Gen5, BC_Gen8IM or BC_Gen8IH.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are GRS, GZRS, LRS, and ZRS. Defaults to GRS.
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"`

	// Maximum storage space for the SQL Managed instance. This should be a multiple of 32 (GB).
	StorageSizeInGb *float64 `json:"storageSizeInGb,omitempty" tf:"storage_size_in_gb,omitempty"`

	// The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The TimeZone ID that the SQL Managed Instance will be operating in. Default value is UTC. Changing this forces a new resource to be created.
	TimezoneID *string `json:"timezoneId,omitempty" tf:"timezone_id,omitempty"`

	// Number of cores that should be assigned to the SQL Managed Instance. Values can be 8, 16, or 24 for Gen4 SKUs, or 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96 or 128 for Gen5 SKUs.
	Vcores *float64 `json:"vcores,omitempty" tf:"vcores,omitempty"`

	// Specifies whether or not the SQL Managed Instance is zone redundant. Defaults to false.
	ZoneRedundantEnabled *bool `json:"zoneRedundantEnabled,omitempty" tf:"zone_redundant_enabled,omitempty"`
}

func (*MSSQLManagedInstanceObservation) DeepCopy

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

func (*MSSQLManagedInstanceObservation) DeepCopyInto

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

type MSSQLManagedInstanceParameters

type MSSQLManagedInstanceParameters struct {

	// The administrator login name for the new SQL Managed Instance. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The password associated with the administrator_login user. Needs to comply with Azure's Password Policy
	// +kubebuilder:validation:Optional
	AdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef" tf:"-"`

	// Specifies how the SQL Managed Instance will be collated. Default value is SQL_Latin1_General_CP1_CI_AS. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an azurerm_sql_managed_instance_failover_group. Setting this after creation forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DNSZonePartnerID *string `json:"dnsZonePartnerId,omitempty" tf:"dns_zone_partner_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate dnsZonePartnerId.
	// +kubebuilder:validation:Optional
	DNSZonePartnerIDRef *v1.Reference `json:"dnsZonePartnerIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate dnsZonePartnerId.
	// +kubebuilder:validation:Optional
	DNSZonePartnerIDSelector *v1.Selector `json:"dnsZonePartnerIdSelector,omitempty" tf:"-"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *MSSQLManagedInstanceIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// What type of license the Managed Instance will use. Possible values are LicenseIncluded and BasePrice.
	// +kubebuilder:validation:Optional
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Valid values include SQL_Default or an Azure Location in the format SQL_{Location}_MI_{Size}(for example SQL_EastUS_MI_1). Defaults to SQL_Default.
	// +kubebuilder:validation:Optional
	MaintenanceConfigurationName *string `json:"maintenanceConfigurationName,omitempty" tf:"maintenance_configuration_name,omitempty"`

	// The Minimum TLS Version. Default value is 1.2 Valid values include 1.0, 1.1, 1.2.
	// +kubebuilder:validation:Optional
	MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"`

	// Specifies how the SQL Managed Instance will be accessed. Default value is Default. Valid values include Default, Proxy, and Redirect.
	// +kubebuilder:validation:Optional
	ProxyOverride *string `json:"proxyOverride,omitempty" tf:"proxy_override,omitempty"`

	// Is the public data endpoint enabled? Default value is false.
	// +kubebuilder:validation:Optional
	PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty" tf:"public_data_endpoint_enabled,omitempty"`

	// The name of the resource group in which to create the SQL Managed Instance. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// Specifies the SKU Name for the SQL Managed Instance. Valid values include GP_Gen4, GP_Gen5, GP_Gen8IM, GP_Gen8IH, BC_Gen4, BC_Gen5, BC_Gen8IM or BC_Gen8IH.
	// +kubebuilder:validation:Optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are GRS, GZRS, LRS, and ZRS. Defaults to GRS.
	// +kubebuilder:validation:Optional
	StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"`

	// Maximum storage space for the SQL Managed instance. This should be a multiple of 32 (GB).
	// +kubebuilder:validation:Optional
	StorageSizeInGb *float64 `json:"storageSizeInGb,omitempty" tf:"storage_size_in_gb,omitempty"`

	// The subnet resource id that the SQL Managed Instance will be associated with. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The TimeZone ID that the SQL Managed Instance will be operating in. Default value is UTC. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	TimezoneID *string `json:"timezoneId,omitempty" tf:"timezone_id,omitempty"`

	// Number of cores that should be assigned to the SQL Managed Instance. Values can be 8, 16, or 24 for Gen4 SKUs, or 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96 or 128 for Gen5 SKUs.
	// +kubebuilder:validation:Optional
	Vcores *float64 `json:"vcores,omitempty" tf:"vcores,omitempty"`

	// Specifies whether or not the SQL Managed Instance is zone redundant. Defaults to false.
	// +kubebuilder:validation:Optional
	ZoneRedundantEnabled *bool `json:"zoneRedundantEnabled,omitempty" tf:"zone_redundant_enabled,omitempty"`
}

func (*MSSQLManagedInstanceParameters) DeepCopy

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

func (*MSSQLManagedInstanceParameters) DeepCopyInto

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

type MSSQLManagedInstanceSpec

type MSSQLManagedInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLManagedInstanceParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLManagedInstanceInitParameters `json:"initProvider,omitempty"`
}

MSSQLManagedInstanceSpec defines the desired state of MSSQLManagedInstance

func (*MSSQLManagedInstanceSpec) DeepCopy

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

func (*MSSQLManagedInstanceSpec) DeepCopyInto

func (in *MSSQLManagedInstanceSpec) DeepCopyInto(out *MSSQLManagedInstanceSpec)

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

type MSSQLManagedInstanceStatus

type MSSQLManagedInstanceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLManagedInstanceObservation `json:"atProvider,omitempty"`
}

MSSQLManagedInstanceStatus defines the observed state of MSSQLManagedInstance.

func (*MSSQLManagedInstanceStatus) DeepCopy

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

func (*MSSQLManagedInstanceStatus) DeepCopyInto

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

type MSSQLManagedInstanceVulnerabilityAssessment

type MSSQLManagedInstanceVulnerabilityAssessment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageContainerPath) || (has(self.initProvider) && has(self.initProvider.storageContainerPath))",message="spec.forProvider.storageContainerPath is a required parameter"
	Spec   MSSQLManagedInstanceVulnerabilityAssessmentSpec   `json:"spec"`
	Status MSSQLManagedInstanceVulnerabilityAssessmentStatus `json:"status,omitempty"`
}

MSSQLManagedInstanceVulnerabilityAssessment is the Schema for the MSSQLManagedInstanceVulnerabilityAssessments API. Manages the Vulnerability Assessment for an MS Managed Instance. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLManagedInstanceVulnerabilityAssessment) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessment) DeepCopyInto

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

func (*MSSQLManagedInstanceVulnerabilityAssessment) DeepCopyObject

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

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetCondition

GetCondition of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetConnectionDetailsMapping

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetDeletionPolicy

GetDeletionPolicy of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetID

GetID returns ID of underlying Terraform resource of this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetInitParameters

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetManagementPolicies

GetManagementPolicies of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetMergedParameters

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetObservation

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) GetObservation() (map[string]any, error)

GetObservation of this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetParameters

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) GetParameters() (map[string]any, error)

GetParameters of this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetPublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetTerraformResourceType

func (mg *MSSQLManagedInstanceVulnerabilityAssessment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetTerraformSchemaVersion

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLManagedInstanceVulnerabilityAssessment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) Hub

Hub marks this type as a conversion hub.

func (*MSSQLManagedInstanceVulnerabilityAssessment) LateInitialize

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLManagedInstanceVulnerabilityAssessment using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLManagedInstanceVulnerabilityAssessment) ResolveReferences

ResolveReferences of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetConditions

SetConditions of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetDeletionPolicy

SetDeletionPolicy of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetManagementPolicies

SetManagementPolicies of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetObservation

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) SetObservation(obs map[string]any) error

SetObservation for this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetParameters

func (tr *MSSQLManagedInstanceVulnerabilityAssessment) SetParameters(params map[string]any) error

SetParameters for this MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLManagedInstanceVulnerabilityAssessment.

type MSSQLManagedInstanceVulnerabilityAssessmentInitParameters

type MSSQLManagedInstanceVulnerabilityAssessmentInitParameters struct {

	// The recurring scans settings. The recurring_scans block supports fields documented below.
	RecurringScans *RecurringScansInitParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"`

	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If storage_container_sas_key isn't specified, storage_account_access_key is required.
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).
	StorageContainerPath *string `json:"storageContainerPath,omitempty" tf:"storage_container_path,omitempty"`

	// A shared access signature (SAS Key) that has write access to the blob container specified in storage_container_path parameter. If storage_account_access_key isn't specified, storage_container_sas_key is required.
	StorageContainerSASKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"`
}

func (*MSSQLManagedInstanceVulnerabilityAssessmentInitParameters) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentInitParameters) DeepCopyInto

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

type MSSQLManagedInstanceVulnerabilityAssessmentList

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

MSSQLManagedInstanceVulnerabilityAssessmentList contains a list of MSSQLManagedInstanceVulnerabilityAssessments

func (*MSSQLManagedInstanceVulnerabilityAssessmentList) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentList) DeepCopyInto

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentList) DeepCopyObject

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentList) GetItems

GetItems of this MSSQLManagedInstanceVulnerabilityAssessmentList.

type MSSQLManagedInstanceVulnerabilityAssessmentObservation

type MSSQLManagedInstanceVulnerabilityAssessmentObservation struct {

	// The ID of the Vulnerability Assessment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The id of the MS SQL Managed Instance. Changing this forces a new resource to be created.
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// The recurring scans settings. The recurring_scans block supports fields documented below.
	RecurringScans *RecurringScansObservation `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"`

	// A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).
	StorageContainerPath *string `json:"storageContainerPath,omitempty" tf:"storage_container_path,omitempty"`
}

func (*MSSQLManagedInstanceVulnerabilityAssessmentObservation) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentObservation) DeepCopyInto

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

type MSSQLManagedInstanceVulnerabilityAssessmentParameters

type MSSQLManagedInstanceVulnerabilityAssessmentParameters struct {

	// The id of the MS SQL Managed Instance. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLManagedInstance
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ManagedInstanceID *string `json:"managedInstanceId,omitempty" tf:"managed_instance_id,omitempty"`

	// Reference to a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDRef *v1.Reference `json:"managedInstanceIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLManagedInstance in sql to populate managedInstanceId.
	// +kubebuilder:validation:Optional
	ManagedInstanceIDSelector *v1.Selector `json:"managedInstanceIdSelector,omitempty" tf:"-"`

	// The recurring scans settings. The recurring_scans block supports fields documented below.
	// +kubebuilder:validation:Optional
	RecurringScans *RecurringScansParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"`

	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If storage_container_sas_key isn't specified, storage_account_access_key is required.
	// +kubebuilder:validation:Optional
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).
	// +kubebuilder:validation:Optional
	StorageContainerPath *string `json:"storageContainerPath,omitempty" tf:"storage_container_path,omitempty"`

	// A shared access signature (SAS Key) that has write access to the blob container specified in storage_container_path parameter. If storage_account_access_key isn't specified, storage_container_sas_key is required.
	// +kubebuilder:validation:Optional
	StorageContainerSASKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"`
}

func (*MSSQLManagedInstanceVulnerabilityAssessmentParameters) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentParameters) DeepCopyInto

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

type MSSQLManagedInstanceVulnerabilityAssessmentSpec

type MSSQLManagedInstanceVulnerabilityAssessmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLManagedInstanceVulnerabilityAssessmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLManagedInstanceVulnerabilityAssessmentInitParameters `json:"initProvider,omitempty"`
}

MSSQLManagedInstanceVulnerabilityAssessmentSpec defines the desired state of MSSQLManagedInstanceVulnerabilityAssessment

func (*MSSQLManagedInstanceVulnerabilityAssessmentSpec) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentSpec) DeepCopyInto

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

type MSSQLManagedInstanceVulnerabilityAssessmentStatus

type MSSQLManagedInstanceVulnerabilityAssessmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLManagedInstanceVulnerabilityAssessmentObservation `json:"atProvider,omitempty"`
}

MSSQLManagedInstanceVulnerabilityAssessmentStatus defines the observed state of MSSQLManagedInstanceVulnerabilityAssessment.

func (*MSSQLManagedInstanceVulnerabilityAssessmentStatus) DeepCopy

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

func (*MSSQLManagedInstanceVulnerabilityAssessmentStatus) DeepCopyInto

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

type MSSQLServer

type MSSQLServer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter"
	Spec   MSSQLServerSpec   `json:"spec"`
	Status MSSQLServerStatus `json:"status,omitempty"`
}

MSSQLServer is the Schema for the MSSQLServers API. Manages a Microsoft SQL Azure Database Server. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLServer) DeepCopy

func (in *MSSQLServer) DeepCopy() *MSSQLServer

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

func (*MSSQLServer) DeepCopyInto

func (in *MSSQLServer) DeepCopyInto(out *MSSQLServer)

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

func (*MSSQLServer) DeepCopyObject

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

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

func (*MSSQLServer) GetCondition

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

GetCondition of this MSSQLServer.

func (*MSSQLServer) GetConnectionDetailsMapping

func (tr *MSSQLServer) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLServer

func (*MSSQLServer) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLServer.

func (*MSSQLServer) GetID

func (tr *MSSQLServer) GetID() string

GetID returns ID of underlying Terraform resource of this MSSQLServer

func (*MSSQLServer) GetInitParameters

func (tr *MSSQLServer) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLServer

func (*MSSQLServer) GetManagementPolicies

func (mg *MSSQLServer) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLServer.

func (*MSSQLServer) GetMergedParameters

func (tr *MSSQLServer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLServer

func (*MSSQLServer) GetObservation

func (tr *MSSQLServer) GetObservation() (map[string]any, error)

GetObservation of this MSSQLServer

func (*MSSQLServer) GetParameters

func (tr *MSSQLServer) GetParameters() (map[string]any, error)

GetParameters of this MSSQLServer

func (*MSSQLServer) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLServer.

func (*MSSQLServer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLServer.

func (*MSSQLServer) GetTerraformResourceType

func (mg *MSSQLServer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLServer

func (*MSSQLServer) GetTerraformSchemaVersion

func (tr *MSSQLServer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLServer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLServer.

func (*MSSQLServer) Hub

func (tr *MSSQLServer) Hub()

Hub marks this type as a conversion hub.

func (*MSSQLServer) LateInitialize

func (tr *MSSQLServer) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLServer using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLServer) ResolveReferences

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

ResolveReferences of this MSSQLServer.

func (*MSSQLServer) SetConditions

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

SetConditions of this MSSQLServer.

func (*MSSQLServer) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLServer.

func (*MSSQLServer) SetManagementPolicies

func (mg *MSSQLServer) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLServer.

func (*MSSQLServer) SetObservation

func (tr *MSSQLServer) SetObservation(obs map[string]any) error

SetObservation for this MSSQLServer

func (*MSSQLServer) SetParameters

func (tr *MSSQLServer) SetParameters(params map[string]any) error

SetParameters for this MSSQLServer

func (*MSSQLServer) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLServer.

func (*MSSQLServer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLServer.

func (*MSSQLServer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLServer.

type MSSQLServerIdentityInitParameters

type MSSQLServerIdentityInitParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Server.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// References to UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsRefs []v1.Reference `json:"identityIdsRefs,omitempty" tf:"-"`

	// Selector for a list of UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsSelector *v1.Selector `json:"identityIdsSelector,omitempty" tf:"-"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Server. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*MSSQLServerIdentityInitParameters) DeepCopy

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

func (*MSSQLServerIdentityInitParameters) DeepCopyInto

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

type MSSQLServerIdentityObservation

type MSSQLServerIdentityObservation struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Server.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID for the Service Principal associated with the Identity of this SQL Server.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID for the Service Principal associated with the Identity of this SQL Server.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Server. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*MSSQLServerIdentityObservation) DeepCopy

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

func (*MSSQLServerIdentityObservation) DeepCopyInto

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

type MSSQLServerIdentityParameters

type MSSQLServerIdentityParameters struct {

	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this SQL Server.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// References to UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsRefs []v1.Reference `json:"identityIdsRefs,omitempty" tf:"-"`

	// Selector for a list of UserAssignedIdentity in managedidentity to populate identityIds.
	// +kubebuilder:validation:Optional
	IdentityIdsSelector *v1.Selector `json:"identityIdsSelector,omitempty" tf:"-"`

	// Specifies the type of Managed Service Identity that should be configured on this SQL Server. Possible values are SystemAssigned, UserAssigned, SystemAssigned, UserAssigned (to enable both).
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*MSSQLServerIdentityParameters) DeepCopy

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

func (*MSSQLServerIdentityParameters) DeepCopyInto

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

type MSSQLServerInitParameters

type MSSQLServerInitParameters struct {

	// The administrator login name for the new server. Required unless azuread_authentication_only in the azuread_administrator block is true. When omitted, Azure will generate a default username which cannot be subsequently changed. Changing this forces a new resource to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The password associated with the administrator_login user. Needs to comply with Azure's Password Policy. Required unless azuread_authentication_only in the azuread_administrator block is true.
	AdministratorLoginPasswordSecretRef *v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef,omitempty" tf:"-"`

	// An azuread_administrator block as defined below.
	AzureadAdministrator *AzureadAdministratorInitParameters `json:"azureadAdministrator,omitempty" tf:"azuread_administrator,omitempty"`

	// The connection policy the server will use. Possible values are Default, Proxy, and Redirect. Defaults to Default.
	ConnectionPolicy *string `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"`

	// An identity block as defined below.
	Identity *MSSQLServerIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: 1.0, 1.1 , 1.2 and Disabled. Defaults to 1.2.
	MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"`

	// Whether outbound network traffic is restricted for this server. Defaults to false.
	OutboundNetworkRestrictionEnabled *bool `json:"outboundNetworkRestrictionEnabled,omitempty" tf:"outbound_network_restriction_enabled,omitempty"`

	// Specifies the primary user managed identity id. Required if type within the identity block is set to either SystemAssigned, UserAssigned or UserAssigned and should be set at same time as setting identity_ids.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty" tf:"primary_user_assigned_identity_id,omitempty"`

	// Reference to a UserAssignedIdentity in managedidentity to populate primaryUserAssignedIdentityId.
	// +kubebuilder:validation:Optional
	PrimaryUserAssignedIdentityIDRef *v1.Reference `json:"primaryUserAssignedIdentityIdRef,omitempty" tf:"-"`

	// Selector for a UserAssignedIdentity in managedidentity to populate primaryUserAssignedIdentityId.
	// +kubebuilder:validation:Optional
	PrimaryUserAssignedIdentityIDSelector *v1.Selector `json:"primaryUserAssignedIdentityIdSelector,omitempty" tf:"-"`

	// Whether public network access is allowed for this server. Defaults to true.
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The fully versioned Key Vault Key URL (e.g. 'https://<YourVaultName>.vault.azure.net/keys/<YourKeyName>/<YourKeyVersion>) to be used as the Customer Managed Key(CMK/BYOK) for the Transparent Data Encryption(TDE) layer.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	TransparentDataEncryptionKeyVaultKeyID *string `json:"transparentDataEncryptionKeyVaultKeyId,omitempty" tf:"transparent_data_encryption_key_vault_key_id,omitempty"`

	// Reference to a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDRef *v1.Reference `json:"transparentDataEncryptionKeyVaultKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDSelector *v1.Selector `json:"transparentDataEncryptionKeyVaultKeyIdSelector,omitempty" tf:"-"`

	// The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Changing this forces a new resource to be created.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MSSQLServerInitParameters) DeepCopy

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

func (*MSSQLServerInitParameters) DeepCopyInto

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

type MSSQLServerList

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

MSSQLServerList contains a list of MSSQLServers

func (*MSSQLServerList) DeepCopy

func (in *MSSQLServerList) DeepCopy() *MSSQLServerList

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

func (*MSSQLServerList) DeepCopyInto

func (in *MSSQLServerList) DeepCopyInto(out *MSSQLServerList)

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

func (*MSSQLServerList) DeepCopyObject

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

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

func (*MSSQLServerList) GetItems

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

GetItems of this MSSQLServerList.

type MSSQLServerObservation

type MSSQLServerObservation struct {

	// The administrator login name for the new server. Required unless azuread_authentication_only in the azuread_administrator block is true. When omitted, Azure will generate a default username which cannot be subsequently changed. Changing this forces a new resource to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// An azuread_administrator block as defined below.
	AzureadAdministrator *AzureadAdministratorObservation `json:"azureadAdministrator,omitempty" tf:"azuread_administrator,omitempty"`

	// The connection policy the server will use. Possible values are Default, Proxy, and Redirect. Defaults to Default.
	ConnectionPolicy *string `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"`

	// The fully qualified domain name of the Azure SQL Server (e.g. myServerName.database.windows.net)
	FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty" tf:"fully_qualified_domain_name,omitempty"`

	// the Microsoft SQL Server ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *MSSQLServerIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: 1.0, 1.1 , 1.2 and Disabled. Defaults to 1.2.
	MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"`

	// Whether outbound network traffic is restricted for this server. Defaults to false.
	OutboundNetworkRestrictionEnabled *bool `json:"outboundNetworkRestrictionEnabled,omitempty" tf:"outbound_network_restriction_enabled,omitempty"`

	// Specifies the primary user managed identity id. Required if type within the identity block is set to either SystemAssigned, UserAssigned or UserAssigned and should be set at same time as setting identity_ids.
	PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty" tf:"primary_user_assigned_identity_id,omitempty"`

	// Whether public network access is allowed for this server. Defaults to true.
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// The name of the resource group in which to create the Microsoft SQL Server. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// A list of dropped restorable database IDs on the server.
	RestorableDroppedDatabaseIds []*string `json:"restorableDroppedDatabaseIds,omitempty" tf:"restorable_dropped_database_ids,omitempty"`

	// A mapping of tags to assign to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The fully versioned Key Vault Key URL (e.g. 'https://<YourVaultName>.vault.azure.net/keys/<YourKeyName>/<YourKeyVersion>) to be used as the Customer Managed Key(CMK/BYOK) for the Transparent Data Encryption(TDE) layer.
	TransparentDataEncryptionKeyVaultKeyID *string `json:"transparentDataEncryptionKeyVaultKeyId,omitempty" tf:"transparent_data_encryption_key_vault_key_id,omitempty"`

	// The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Changing this forces a new resource to be created.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MSSQLServerObservation) DeepCopy

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

func (*MSSQLServerObservation) DeepCopyInto

func (in *MSSQLServerObservation) DeepCopyInto(out *MSSQLServerObservation)

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

type MSSQLServerParameters

type MSSQLServerParameters struct {

	// The administrator login name for the new server. Required unless azuread_authentication_only in the azuread_administrator block is true. When omitted, Azure will generate a default username which cannot be subsequently changed. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The password associated with the administrator_login user. Needs to comply with Azure's Password Policy. Required unless azuread_authentication_only in the azuread_administrator block is true.
	// +kubebuilder:validation:Optional
	AdministratorLoginPasswordSecretRef *v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef,omitempty" tf:"-"`

	// An azuread_administrator block as defined below.
	// +kubebuilder:validation:Optional
	AzureadAdministrator *AzureadAdministratorParameters `json:"azureadAdministrator,omitempty" tf:"azuread_administrator,omitempty"`

	// The connection policy the server will use. Possible values are Default, Proxy, and Redirect. Defaults to Default.
	// +kubebuilder:validation:Optional
	ConnectionPolicy *string `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *MSSQLServerIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: 1.0, 1.1 , 1.2 and Disabled. Defaults to 1.2.
	// +kubebuilder:validation:Optional
	MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"`

	// Whether outbound network traffic is restricted for this server. Defaults to false.
	// +kubebuilder:validation:Optional
	OutboundNetworkRestrictionEnabled *bool `json:"outboundNetworkRestrictionEnabled,omitempty" tf:"outbound_network_restriction_enabled,omitempty"`

	// Specifies the primary user managed identity id. Required if type within the identity block is set to either SystemAssigned, UserAssigned or UserAssigned and should be set at same time as setting identity_ids.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/managedidentity/v1beta1.UserAssignedIdentity
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty" tf:"primary_user_assigned_identity_id,omitempty"`

	// Reference to a UserAssignedIdentity in managedidentity to populate primaryUserAssignedIdentityId.
	// +kubebuilder:validation:Optional
	PrimaryUserAssignedIdentityIDRef *v1.Reference `json:"primaryUserAssignedIdentityIdRef,omitempty" tf:"-"`

	// Selector for a UserAssignedIdentity in managedidentity to populate primaryUserAssignedIdentityId.
	// +kubebuilder:validation:Optional
	PrimaryUserAssignedIdentityIDSelector *v1.Selector `json:"primaryUserAssignedIdentityIdSelector,omitempty" tf:"-"`

	// Whether public network access is allowed for this server. Defaults to true.
	// +kubebuilder:validation:Optional
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// The name of the resource group in which to create the Microsoft SQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// A mapping of tags to assign to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The fully versioned Key Vault Key URL (e.g. 'https://<YourVaultName>.vault.azure.net/keys/<YourKeyName>/<YourKeyVersion>) to be used as the Customer Managed Key(CMK/BYOK) for the Transparent Data Encryption(TDE) layer.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/keyvault/v1beta2.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyID *string `json:"transparentDataEncryptionKeyVaultKeyId,omitempty" tf:"transparent_data_encryption_key_vault_key_id,omitempty"`

	// Reference to a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDRef *v1.Reference `json:"transparentDataEncryptionKeyVaultKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in keyvault to populate transparentDataEncryptionKeyVaultKeyId.
	// +kubebuilder:validation:Optional
	TransparentDataEncryptionKeyVaultKeyIDSelector *v1.Selector `json:"transparentDataEncryptionKeyVaultKeyIdSelector,omitempty" tf:"-"`

	// The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MSSQLServerParameters) DeepCopy

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

func (*MSSQLServerParameters) DeepCopyInto

func (in *MSSQLServerParameters) DeepCopyInto(out *MSSQLServerParameters)

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

type MSSQLServerSpec

type MSSQLServerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLServerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLServerInitParameters `json:"initProvider,omitempty"`
}

MSSQLServerSpec defines the desired state of MSSQLServer

func (*MSSQLServerSpec) DeepCopy

func (in *MSSQLServerSpec) DeepCopy() *MSSQLServerSpec

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

func (*MSSQLServerSpec) DeepCopyInto

func (in *MSSQLServerSpec) DeepCopyInto(out *MSSQLServerSpec)

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

type MSSQLServerStatus

type MSSQLServerStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLServerObservation `json:"atProvider,omitempty"`
}

MSSQLServerStatus defines the observed state of MSSQLServer.

func (*MSSQLServerStatus) DeepCopy

func (in *MSSQLServerStatus) DeepCopy() *MSSQLServerStatus

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

func (*MSSQLServerStatus) DeepCopyInto

func (in *MSSQLServerStatus) DeepCopyInto(out *MSSQLServerStatus)

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

type MSSQLServerVulnerabilityAssessment

type MSSQLServerVulnerabilityAssessment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageContainerPath) || (has(self.initProvider) && has(self.initProvider.storageContainerPath))",message="spec.forProvider.storageContainerPath is a required parameter"
	Spec   MSSQLServerVulnerabilityAssessmentSpec   `json:"spec"`
	Status MSSQLServerVulnerabilityAssessmentStatus `json:"status,omitempty"`
}

MSSQLServerVulnerabilityAssessment is the Schema for the MSSQLServerVulnerabilityAssessments API. Manages the Vulnerability Assessment for a MS SQL Server. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*MSSQLServerVulnerabilityAssessment) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessment) DeepCopyInto

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

func (*MSSQLServerVulnerabilityAssessment) DeepCopyObject

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

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

func (*MSSQLServerVulnerabilityAssessment) GetCondition

GetCondition of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) GetConnectionDetailsMapping

func (tr *MSSQLServerVulnerabilityAssessment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetDeletionPolicy

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

GetDeletionPolicy of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) GetID

GetID returns ID of underlying Terraform resource of this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetInitParameters

func (tr *MSSQLServerVulnerabilityAssessment) GetInitParameters() (map[string]any, error)

GetInitParameters of this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetManagementPolicies

func (mg *MSSQLServerVulnerabilityAssessment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) GetMergedParameters

func (tr *MSSQLServerVulnerabilityAssessment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetObservation

func (tr *MSSQLServerVulnerabilityAssessment) GetObservation() (map[string]any, error)

GetObservation of this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetParameters

func (tr *MSSQLServerVulnerabilityAssessment) GetParameters() (map[string]any, error)

GetParameters of this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetProviderConfigReference

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

GetProviderConfigReference of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) GetTerraformResourceType

func (mg *MSSQLServerVulnerabilityAssessment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) GetTerraformSchemaVersion

func (tr *MSSQLServerVulnerabilityAssessment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MSSQLServerVulnerabilityAssessment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) Hub

Hub marks this type as a conversion hub.

func (*MSSQLServerVulnerabilityAssessment) LateInitialize

func (tr *MSSQLServerVulnerabilityAssessment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this MSSQLServerVulnerabilityAssessment using its observed tfState. returns True if there are any spec changes for the resource.

func (*MSSQLServerVulnerabilityAssessment) ResolveReferences

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

ResolveReferences of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) SetConditions

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

SetConditions of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) SetDeletionPolicy

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

SetDeletionPolicy of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) SetManagementPolicies

func (mg *MSSQLServerVulnerabilityAssessment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) SetObservation

func (tr *MSSQLServerVulnerabilityAssessment) SetObservation(obs map[string]any) error

SetObservation for this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) SetParameters

func (tr *MSSQLServerVulnerabilityAssessment) SetParameters(params map[string]any) error

SetParameters for this MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessment) SetProviderConfigReference

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

SetProviderConfigReference of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MSSQLServerVulnerabilityAssessment.

type MSSQLServerVulnerabilityAssessmentInitParameters

type MSSQLServerVulnerabilityAssessmentInitParameters struct {

	// The recurring scans settings. The recurring_scans block supports fields documented below.
	RecurringScans *MSSQLServerVulnerabilityAssessmentRecurringScansInitParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"`

	// The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServerSecurityAlertPolicy
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ServerSecurityAlertPolicyID *string `json:"serverSecurityAlertPolicyId,omitempty" tf:"server_security_alert_policy_id,omitempty"`

	// Reference to a MSSQLServerSecurityAlertPolicy in sql to populate serverSecurityAlertPolicyId.
	// +kubebuilder:validation:Optional
	ServerSecurityAlertPolicyIDRef *v1.Reference `json:"serverSecurityAlertPolicyIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLServerSecurityAlertPolicy in sql to populate serverSecurityAlertPolicyId.
	// +kubebuilder:validation:Optional
	ServerSecurityAlertPolicyIDSelector *v1.Selector `json:"serverSecurityAlertPolicyIdSelector,omitempty" tf:"-"`

	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If storage_container_sas_key isn't specified, storage_account_access_key is required.
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// A blob storage container path to hold the scan results (e.g. https://example.blob.core.windows.net/VaScans/).
	StorageContainerPath *string `json:"storageContainerPath,omitempty" tf:"storage_container_path,omitempty"`

	// A shared access signature (SAS Key) that has write access to the blob container specified in storage_container_path parameter. If storage_account_access_key isn't specified, storage_container_sas_key is required.
	StorageContainerSASKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"`
}

func (*MSSQLServerVulnerabilityAssessmentInitParameters) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentInitParameters) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentList

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

MSSQLServerVulnerabilityAssessmentList contains a list of MSSQLServerVulnerabilityAssessments

func (*MSSQLServerVulnerabilityAssessmentList) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentList) DeepCopyInto

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

func (*MSSQLServerVulnerabilityAssessmentList) DeepCopyObject

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

func (*MSSQLServerVulnerabilityAssessmentList) GetItems

GetItems of this MSSQLServerVulnerabilityAssessmentList.

type MSSQLServerVulnerabilityAssessmentObservation

type MSSQLServerVulnerabilityAssessmentObservation struct {

	// The ID of the MS SQL Server Vulnerability Assessment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The recurring scans settings. The recurring_scans block supports fields documented below.
	RecurringScans *MSSQLServerVulnerabilityAssessmentRecurringScansObservation `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"`

	// The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created.
	ServerSecurityAlertPolicyID *string `json:"serverSecurityAlertPolicyId,omitempty" tf:"server_security_alert_policy_id,omitempty"`

	// A blob storage container path to hold the scan results (e.g. https://example.blob.core.windows.net/VaScans/).
	StorageContainerPath *string `json:"storageContainerPath,omitempty" tf:"storage_container_path,omitempty"`
}

func (*MSSQLServerVulnerabilityAssessmentObservation) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentObservation) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentParameters

type MSSQLServerVulnerabilityAssessmentParameters struct {

	// The recurring scans settings. The recurring_scans block supports fields documented below.
	// +kubebuilder:validation:Optional
	RecurringScans *MSSQLServerVulnerabilityAssessmentRecurringScansParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"`

	// The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta1.MSSQLServerSecurityAlertPolicy
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ServerSecurityAlertPolicyID *string `json:"serverSecurityAlertPolicyId,omitempty" tf:"server_security_alert_policy_id,omitempty"`

	// Reference to a MSSQLServerSecurityAlertPolicy in sql to populate serverSecurityAlertPolicyId.
	// +kubebuilder:validation:Optional
	ServerSecurityAlertPolicyIDRef *v1.Reference `json:"serverSecurityAlertPolicyIdRef,omitempty" tf:"-"`

	// Selector for a MSSQLServerSecurityAlertPolicy in sql to populate serverSecurityAlertPolicyId.
	// +kubebuilder:validation:Optional
	ServerSecurityAlertPolicyIDSelector *v1.Selector `json:"serverSecurityAlertPolicyIdSelector,omitempty" tf:"-"`

	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If storage_container_sas_key isn't specified, storage_account_access_key is required.
	// +kubebuilder:validation:Optional
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// A blob storage container path to hold the scan results (e.g. https://example.blob.core.windows.net/VaScans/).
	// +kubebuilder:validation:Optional
	StorageContainerPath *string `json:"storageContainerPath,omitempty" tf:"storage_container_path,omitempty"`

	// A shared access signature (SAS Key) that has write access to the blob container specified in storage_container_path parameter. If storage_account_access_key isn't specified, storage_container_sas_key is required.
	// +kubebuilder:validation:Optional
	StorageContainerSASKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"`
}

func (*MSSQLServerVulnerabilityAssessmentParameters) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentParameters) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentRecurringScansInitParameters

type MSSQLServerVulnerabilityAssessmentRecurringScansInitParameters struct {

	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to false.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"`

	// Specifies an array of email addresses to which the scan notification is sent.
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*MSSQLServerVulnerabilityAssessmentRecurringScansInitParameters) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentRecurringScansInitParameters) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentRecurringScansObservation

type MSSQLServerVulnerabilityAssessmentRecurringScansObservation struct {

	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to false.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"`

	// Specifies an array of email addresses to which the scan notification is sent.
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*MSSQLServerVulnerabilityAssessmentRecurringScansObservation) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentRecurringScansObservation) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentRecurringScansParameters

type MSSQLServerVulnerabilityAssessmentRecurringScansParameters struct {

	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to false.
	// +kubebuilder:validation:Optional
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"`

	// Specifies an array of email addresses to which the scan notification is sent.
	// +kubebuilder:validation:Optional
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to false.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*MSSQLServerVulnerabilityAssessmentRecurringScansParameters) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentRecurringScansParameters) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentSpec

type MSSQLServerVulnerabilityAssessmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MSSQLServerVulnerabilityAssessmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MSSQLServerVulnerabilityAssessmentInitParameters `json:"initProvider,omitempty"`
}

MSSQLServerVulnerabilityAssessmentSpec defines the desired state of MSSQLServerVulnerabilityAssessment

func (*MSSQLServerVulnerabilityAssessmentSpec) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentSpec) DeepCopyInto

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

type MSSQLServerVulnerabilityAssessmentStatus

type MSSQLServerVulnerabilityAssessmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        MSSQLServerVulnerabilityAssessmentObservation `json:"atProvider,omitempty"`
}

MSSQLServerVulnerabilityAssessmentStatus defines the observed state of MSSQLServerVulnerabilityAssessment.

func (*MSSQLServerVulnerabilityAssessmentStatus) DeepCopy

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

func (*MSSQLServerVulnerabilityAssessmentStatus) DeepCopyInto

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

type PartnerRegionInitParameters

type PartnerRegionInitParameters struct {
}

func (*PartnerRegionInitParameters) DeepCopy

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

func (*PartnerRegionInitParameters) DeepCopyInto

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

type PartnerRegionObservation

type PartnerRegionObservation struct {

	// The Azure Region where the Managed Instance Failover Group partner exists.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The partner replication role of the Managed Instance Failover Group.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*PartnerRegionObservation) DeepCopy

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

func (*PartnerRegionObservation) DeepCopyInto

func (in *PartnerRegionObservation) DeepCopyInto(out *PartnerRegionObservation)

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

type PartnerRegionParameters

type PartnerRegionParameters struct {
}

func (*PartnerRegionParameters) DeepCopy

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

func (*PartnerRegionParameters) DeepCopyInto

func (in *PartnerRegionParameters) DeepCopyInto(out *PartnerRegionParameters)

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

type PartnerServerInitParameters

type PartnerServerInitParameters struct {

	// The ID of a partner SQL server to include in the failover group.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a MSSQLServer in sql to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a MSSQLServer in sql to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`
}

func (*PartnerServerInitParameters) DeepCopy

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

func (*PartnerServerInitParameters) DeepCopyInto

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

type PartnerServerObservation

type PartnerServerObservation struct {

	// The ID of a partner SQL server to include in the failover group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The location of the partner server.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The replication role of the partner server. Possible values include Primary or Secondary.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`
}

func (*PartnerServerObservation) DeepCopy

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

func (*PartnerServerObservation) DeepCopyInto

func (in *PartnerServerObservation) DeepCopyInto(out *PartnerServerObservation)

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

type PartnerServerParameters

type PartnerServerParameters struct {

	// The ID of a partner SQL server to include in the failover group.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/sql/v1beta2.MSSQLServer
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a MSSQLServer in sql to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a MSSQLServer in sql to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`
}

func (*PartnerServerParameters) DeepCopy

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

func (*PartnerServerParameters) DeepCopyInto

func (in *PartnerServerParameters) DeepCopyInto(out *PartnerServerParameters)

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

type PerDatabaseSettingsInitParameters

type PerDatabaseSettingsInitParameters struct {

	// The maximum capacity any one database can consume.
	MaxCapacity *float64 `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"`

	// The minimum capacity all databases are guaranteed.
	MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"`
}

func (*PerDatabaseSettingsInitParameters) DeepCopy

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

func (*PerDatabaseSettingsInitParameters) DeepCopyInto

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

type PerDatabaseSettingsObservation

type PerDatabaseSettingsObservation struct {

	// The maximum capacity any one database can consume.
	MaxCapacity *float64 `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"`

	// The minimum capacity all databases are guaranteed.
	MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"`
}

func (*PerDatabaseSettingsObservation) DeepCopy

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

func (*PerDatabaseSettingsObservation) DeepCopyInto

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

type PerDatabaseSettingsParameters

type PerDatabaseSettingsParameters struct {

	// The maximum capacity any one database can consume.
	// +kubebuilder:validation:Optional
	MaxCapacity *float64 `json:"maxCapacity" tf:"max_capacity,omitempty"`

	// The minimum capacity all databases are guaranteed.
	// +kubebuilder:validation:Optional
	MinCapacity *float64 `json:"minCapacity" tf:"min_capacity,omitempty"`
}

func (*PerDatabaseSettingsParameters) DeepCopy

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

func (*PerDatabaseSettingsParameters) DeepCopyInto

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

type PointInTimeRestoreInitParameters

type PointInTimeRestoreInitParameters struct {

	// The point in time for the restore from source_database_id. Changing this forces a new resource to be created.
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// The source database id that will be used to restore from. Changing this forces a new resource to be created.
	SourceDatabaseID *string `json:"sourceDatabaseId,omitempty" tf:"source_database_id,omitempty"`
}

func (*PointInTimeRestoreInitParameters) DeepCopy

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

func (*PointInTimeRestoreInitParameters) DeepCopyInto

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

type PointInTimeRestoreObservation

type PointInTimeRestoreObservation struct {

	// The point in time for the restore from source_database_id. Changing this forces a new resource to be created.
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// The source database id that will be used to restore from. Changing this forces a new resource to be created.
	SourceDatabaseID *string `json:"sourceDatabaseId,omitempty" tf:"source_database_id,omitempty"`
}

func (*PointInTimeRestoreObservation) DeepCopy

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

func (*PointInTimeRestoreObservation) DeepCopyInto

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

type PointInTimeRestoreParameters

type PointInTimeRestoreParameters struct {

	// The point in time for the restore from source_database_id. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	RestorePointInTime *string `json:"restorePointInTime" tf:"restore_point_in_time,omitempty"`

	// The source database id that will be used to restore from. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SourceDatabaseID *string `json:"sourceDatabaseId" tf:"source_database_id,omitempty"`
}

func (*PointInTimeRestoreParameters) DeepCopy

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

func (*PointInTimeRestoreParameters) DeepCopyInto

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

type ReadWriteEndpointFailoverPolicyInitParameters

type ReadWriteEndpointFailoverPolicyInitParameters struct {

	// The grace period in minutes, before failover with data loss is attempted for the read-write endpoint. Required when mode is Automatic.
	GraceMinutes *float64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"`

	// The failover policy of the read-write endpoint for the failover group. Possible values are Automatic or Manual.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*ReadWriteEndpointFailoverPolicyInitParameters) DeepCopy

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

func (*ReadWriteEndpointFailoverPolicyInitParameters) DeepCopyInto

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

type ReadWriteEndpointFailoverPolicyObservation

type ReadWriteEndpointFailoverPolicyObservation struct {

	// The grace period in minutes, before failover with data loss is attempted for the read-write endpoint. Required when mode is Automatic.
	GraceMinutes *float64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"`

	// The failover policy of the read-write endpoint for the failover group. Possible values are Automatic or Manual.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`
}

func (*ReadWriteEndpointFailoverPolicyObservation) DeepCopy

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

func (*ReadWriteEndpointFailoverPolicyObservation) DeepCopyInto

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

type ReadWriteEndpointFailoverPolicyParameters

type ReadWriteEndpointFailoverPolicyParameters struct {

	// The grace period in minutes, before failover with data loss is attempted for the read-write endpoint. Required when mode is Automatic.
	// +kubebuilder:validation:Optional
	GraceMinutes *float64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"`

	// The failover policy of the read-write endpoint for the failover group. Possible values are Automatic or Manual.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode" tf:"mode,omitempty"`
}

func (*ReadWriteEndpointFailoverPolicyParameters) DeepCopy

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

func (*ReadWriteEndpointFailoverPolicyParameters) DeepCopyInto

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

type RecurringScansInitParameters

type RecurringScansInitParameters struct {

	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to true.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"`

	// Specifies an array of e-mail addresses to which the scan notification is sent.
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RecurringScansInitParameters) DeepCopy

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

func (*RecurringScansInitParameters) DeepCopyInto

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

type RecurringScansObservation

type RecurringScansObservation struct {

	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to true.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"`

	// Specifies an array of e-mail addresses to which the scan notification is sent.
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to false.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RecurringScansObservation) DeepCopy

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

func (*RecurringScansObservation) DeepCopyInto

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

type RecurringScansParameters

type RecurringScansParameters struct {

	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to true.
	// +kubebuilder:validation:Optional
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"`

	// Specifies an array of e-mail addresses to which the scan notification is sent.
	// +kubebuilder:validation:Optional
	Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"`

	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to false.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*RecurringScansParameters) DeepCopy

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

func (*RecurringScansParameters) DeepCopyInto

func (in *RecurringScansParameters) DeepCopyInto(out *RecurringScansParameters)

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

type ShortTermRetentionPolicyInitParameters

type ShortTermRetentionPolicyInitParameters struct {

	// The hours between each differential backup. This is only applicable to live databases but not dropped databases. Value has to be 12 or 24. Defaults to 12 hours.
	BackupIntervalInHours *float64 `json:"backupIntervalInHours,omitempty" tf:"backup_interval_in_hours,omitempty"`

	// Point In Time Restore configuration. Value has to be between 1 and 35.
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`
}

func (*ShortTermRetentionPolicyInitParameters) DeepCopy

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

func (*ShortTermRetentionPolicyInitParameters) DeepCopyInto

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

type ShortTermRetentionPolicyObservation

type ShortTermRetentionPolicyObservation struct {

	// The hours between each differential backup. This is only applicable to live databases but not dropped databases. Value has to be 12 or 24. Defaults to 12 hours.
	BackupIntervalInHours *float64 `json:"backupIntervalInHours,omitempty" tf:"backup_interval_in_hours,omitempty"`

	// Point In Time Restore configuration. Value has to be between 1 and 35.
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`
}

func (*ShortTermRetentionPolicyObservation) DeepCopy

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

func (*ShortTermRetentionPolicyObservation) DeepCopyInto

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

type ShortTermRetentionPolicyParameters

type ShortTermRetentionPolicyParameters struct {

	// The hours between each differential backup. This is only applicable to live databases but not dropped databases. Value has to be 12 or 24. Defaults to 12 hours.
	// +kubebuilder:validation:Optional
	BackupIntervalInHours *float64 `json:"backupIntervalInHours,omitempty" tf:"backup_interval_in_hours,omitempty"`

	// Point In Time Restore configuration. Value has to be between 1 and 35.
	// +kubebuilder:validation:Optional
	RetentionDays *float64 `json:"retentionDays" tf:"retention_days,omitempty"`
}

func (*ShortTermRetentionPolicyParameters) DeepCopy

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

func (*ShortTermRetentionPolicyParameters) DeepCopyInto

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

type SkuInitParameters

type SkuInitParameters struct {

	// The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: vCore-based or DTU-based.
	Capacity *float64 `json:"capacity,omitempty" tf:"capacity,omitempty"`

	// The family of hardware Gen4, Gen5, Fsv2 or DC.
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either vCore based or DTU based. Possible DTU based values are BasicPool, StandardPool, PremiumPool while possible vCore based values are GP_Gen4, GP_Gen5, GP_Fsv2, GP_DC, BC_Gen4, BC_Gen5, BC_DC, HS_PRMS, or HS_Gen5.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The tier of the particular SKU. Possible values are GeneralPurpose, BusinessCritical, Basic, Standard, Premium, or HyperScale. For more information see the documentation for your Elasticpool configuration: vCore-based or DTU-based.
	Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}

func (*SkuInitParameters) DeepCopy

func (in *SkuInitParameters) DeepCopy() *SkuInitParameters

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

func (*SkuInitParameters) DeepCopyInto

func (in *SkuInitParameters) DeepCopyInto(out *SkuInitParameters)

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

type SkuObservation

type SkuObservation struct {

	// The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: vCore-based or DTU-based.
	Capacity *float64 `json:"capacity,omitempty" tf:"capacity,omitempty"`

	// The family of hardware Gen4, Gen5, Fsv2 or DC.
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either vCore based or DTU based. Possible DTU based values are BasicPool, StandardPool, PremiumPool while possible vCore based values are GP_Gen4, GP_Gen5, GP_Fsv2, GP_DC, BC_Gen4, BC_Gen5, BC_DC, HS_PRMS, or HS_Gen5.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The tier of the particular SKU. Possible values are GeneralPurpose, BusinessCritical, Basic, Standard, Premium, or HyperScale. For more information see the documentation for your Elasticpool configuration: vCore-based or DTU-based.
	Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}

func (*SkuObservation) DeepCopy

func (in *SkuObservation) DeepCopy() *SkuObservation

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

func (*SkuObservation) DeepCopyInto

func (in *SkuObservation) DeepCopyInto(out *SkuObservation)

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

type SkuParameters

type SkuParameters struct {

	// The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: vCore-based or DTU-based.
	// +kubebuilder:validation:Optional
	Capacity *float64 `json:"capacity" tf:"capacity,omitempty"`

	// The family of hardware Gen4, Gen5, Fsv2 or DC.
	// +kubebuilder:validation:Optional
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either vCore based or DTU based. Possible DTU based values are BasicPool, StandardPool, PremiumPool while possible vCore based values are GP_Gen4, GP_Gen5, GP_Fsv2, GP_DC, BC_Gen4, BC_Gen5, BC_DC, HS_PRMS, or HS_Gen5.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The tier of the particular SKU. Possible values are GeneralPurpose, BusinessCritical, Basic, Standard, Premium, or HyperScale. For more information see the documentation for your Elasticpool configuration: vCore-based or DTU-based.
	// +kubebuilder:validation:Optional
	Tier *string `json:"tier" tf:"tier,omitempty"`
}

func (*SkuParameters) DeepCopy

func (in *SkuParameters) DeepCopy() *SkuParameters

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

func (*SkuParameters) DeepCopyInto

func (in *SkuParameters) DeepCopyInto(out *SkuParameters)

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

type ThreatDetectionPolicyInitParameters

type ThreatDetectionPolicyInitParameters struct {

	// Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability.
	// +listType=set
	DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"`

	// Should the account administrators be emailed when this alert is triggered? Possible values are Enabled or Disabled. Defaults to Disabled.
	EmailAccountAdmins *string `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"`

	// A list of email addresses which alerts should be sent to.
	// +listType=set
	EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"`

	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// The State of the Policy. Possible values are Enabled or Disabled. Defaults to Disabled.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Specifies the identifier key of the Threat Detection audit storage account. Required if state is Enabled.
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if state is Enabled.
	StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"`
}

func (*ThreatDetectionPolicyInitParameters) DeepCopy

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

func (*ThreatDetectionPolicyInitParameters) DeepCopyInto

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

type ThreatDetectionPolicyObservation

type ThreatDetectionPolicyObservation struct {

	// Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability.
	// +listType=set
	DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"`

	// Should the account administrators be emailed when this alert is triggered? Possible values are Enabled or Disabled. Defaults to Disabled.
	EmailAccountAdmins *string `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"`

	// A list of email addresses which alerts should be sent to.
	// +listType=set
	EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"`

	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// The State of the Policy. Possible values are Enabled or Disabled. Defaults to Disabled.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if state is Enabled.
	StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"`
}

func (*ThreatDetectionPolicyObservation) DeepCopy

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

func (*ThreatDetectionPolicyObservation) DeepCopyInto

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

type ThreatDetectionPolicyParameters

type ThreatDetectionPolicyParameters struct {

	// Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability.
	// +kubebuilder:validation:Optional
	// +listType=set
	DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"`

	// Should the account administrators be emailed when this alert is triggered? Possible values are Enabled or Disabled. Defaults to Disabled.
	// +kubebuilder:validation:Optional
	EmailAccountAdmins *string `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"`

	// A list of email addresses which alerts should be sent to.
	// +kubebuilder:validation:Optional
	// +listType=set
	EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"`

	// Specifies the number of days to keep in the Threat Detection audit logs.
	// +kubebuilder:validation:Optional
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// The State of the Policy. Possible values are Enabled or Disabled. Defaults to Disabled.
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Specifies the identifier key of the Threat Detection audit storage account. Required if state is Enabled.
	// +kubebuilder:validation:Optional
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if state is Enabled.
	// +kubebuilder:validation:Optional
	StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"`
}

func (*ThreatDetectionPolicyParameters) DeepCopy

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

func (*ThreatDetectionPolicyParameters) DeepCopyInto

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