v20250101

package
v2.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package v20250101 contains API Schema definitions for the sql v20250101 API group +groupName=sql.azure.com

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Index

Constants

View Source
const (
	ExternalGovernanceStatus_STATUS_Disabled = ExternalGovernanceStatus_STATUS("Disabled")
	ExternalGovernanceStatus_STATUS_Enabled  = ExternalGovernanceStatus_STATUS("Enabled")
)
View Source
const (
	MinimalTlsVersion_10   = MinimalTlsVersion("1.0")
	MinimalTlsVersion_11   = MinimalTlsVersion("1.1")
	MinimalTlsVersion_12   = MinimalTlsVersion("1.2")
	MinimalTlsVersion_13   = MinimalTlsVersion("1.3")
	MinimalTlsVersion_None = MinimalTlsVersion("None")
)
View Source
const (
	MinimalTlsVersion_STATUS_10   = MinimalTlsVersion_STATUS("1.0")
	MinimalTlsVersion_STATUS_11   = MinimalTlsVersion_STATUS("1.1")
	MinimalTlsVersion_STATUS_12   = MinimalTlsVersion_STATUS("1.2")
	MinimalTlsVersion_STATUS_13   = MinimalTlsVersion_STATUS("1.3")
	MinimalTlsVersion_STATUS_None = MinimalTlsVersion_STATUS("None")
)
View Source
const (
	ServerCreateMode_Normal  = ServerCreateMode("Normal")
	ServerCreateMode_Restore = ServerCreateMode("Restore")
)
View Source
const (
	ServerCreateMode_STATUS_Normal  = ServerCreateMode_STATUS("Normal")
	ServerCreateMode_STATUS_Restore = ServerCreateMode_STATUS("Restore")
)
View Source
const (
	ServerNetworkAccessFlag_Disabled = ServerNetworkAccessFlag("Disabled")
	ServerNetworkAccessFlag_Enabled  = ServerNetworkAccessFlag("Enabled")
)
View Source
const (
	ServerNetworkAccessFlag_STATUS_Disabled = ServerNetworkAccessFlag_STATUS("Disabled")
	ServerNetworkAccessFlag_STATUS_Enabled  = ServerNetworkAccessFlag_STATUS("Enabled")
)
View Source
const (
	ServerPublicNetworkAccessFlag_Disabled           = ServerPublicNetworkAccessFlag("Disabled")
	ServerPublicNetworkAccessFlag_Enabled            = ServerPublicNetworkAccessFlag("Enabled")
	ServerPublicNetworkAccessFlag_SecuredByPerimeter = ServerPublicNetworkAccessFlag("SecuredByPerimeter")
)
View Source
const (
	ServerPublicNetworkAccessFlag_STATUS_Disabled           = ServerPublicNetworkAccessFlag_STATUS("Disabled")
	ServerPublicNetworkAccessFlag_STATUS_Enabled            = ServerPublicNetworkAccessFlag_STATUS("Enabled")
	ServerPublicNetworkAccessFlag_STATUS_SecuredByPerimeter = ServerPublicNetworkAccessFlag_STATUS("SecuredByPerimeter")
)
View Source
const (
	ServerWorkspaceFeature_STATUS_Connected    = ServerWorkspaceFeature_STATUS("Connected")
	ServerWorkspaceFeature_STATUS_Disconnected = ServerWorkspaceFeature_STATUS("Disconnected")
)
View Source
const (
	IdentityType_None                       = IdentityType("None")
	IdentityType_SystemAssigned             = IdentityType("SystemAssigned")
	IdentityType_SystemAssignedUserAssigned = IdentityType("SystemAssigned,UserAssigned")
	IdentityType_UserAssigned               = IdentityType("UserAssigned")
)
View Source
const (
	IdentityType_STATUS_None                       = IdentityType_STATUS("None")
	IdentityType_STATUS_SystemAssigned             = IdentityType_STATUS("SystemAssigned")
	IdentityType_STATUS_SystemAssignedUserAssigned = IdentityType_STATUS("SystemAssigned,UserAssigned")
	IdentityType_STATUS_UserAssigned               = IdentityType_STATUS("UserAssigned")
)
View Source
const (
	PrincipalType_Application = PrincipalType("Application")
	PrincipalType_Group       = PrincipalType("Group")
	PrincipalType_User        = PrincipalType("User")
)
View Source
const (
	PrincipalType_STATUS_Application = PrincipalType_STATUS("Application")
	PrincipalType_STATUS_Group       = PrincipalType_STATUS("Group")
	PrincipalType_STATUS_User        = PrincipalType_STATUS("User")
)
View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const (
	PrivateEndpointProvisioningState_STATUS_Approving = PrivateEndpointProvisioningState_STATUS("Approving")
	PrivateEndpointProvisioningState_STATUS_Dropping  = PrivateEndpointProvisioningState_STATUS("Dropping")
	PrivateEndpointProvisioningState_STATUS_Failed    = PrivateEndpointProvisioningState_STATUS("Failed")
	PrivateEndpointProvisioningState_STATUS_Ready     = PrivateEndpointProvisioningState_STATUS("Ready")
	PrivateEndpointProvisioningState_STATUS_Rejecting = PrivateEndpointProvisioningState_STATUS("Rejecting")
)
View Source
const (
	PrivateLinkServiceConnectionStateStatus_STATUS_Approved     = PrivateLinkServiceConnectionStateStatus_STATUS("Approved")
	PrivateLinkServiceConnectionStateStatus_STATUS_Disconnected = PrivateLinkServiceConnectionStateStatus_STATUS("Disconnected")
	PrivateLinkServiceConnectionStateStatus_STATUS_Pending      = PrivateLinkServiceConnectionStateStatus_STATUS("Pending")
	PrivateLinkServiceConnectionStateStatus_STATUS_Rejected     = PrivateLinkServiceConnectionStateStatus_STATUS("Rejected")
)
View Source
const (
	AdvancedThreatProtectionState_Disabled = AdvancedThreatProtectionState("Disabled")
	AdvancedThreatProtectionState_Enabled  = AdvancedThreatProtectionState("Enabled")
	AdvancedThreatProtectionState_New      = AdvancedThreatProtectionState("New")
)
View Source
const (
	AdvancedThreatProtectionState_STATUS_Disabled = AdvancedThreatProtectionState_STATUS("Disabled")
	AdvancedThreatProtectionState_STATUS_Enabled  = AdvancedThreatProtectionState_STATUS("Enabled")
	AdvancedThreatProtectionState_STATUS_New      = AdvancedThreatProtectionState_STATUS("New")
)
View Source
const (
	BlobAuditingPolicyState_Disabled = BlobAuditingPolicyState("Disabled")
	BlobAuditingPolicyState_Enabled  = BlobAuditingPolicyState("Enabled")
)
View Source
const (
	BlobAuditingPolicyState_STATUS_Disabled = BlobAuditingPolicyState_STATUS("Disabled")
	BlobAuditingPolicyState_STATUS_Enabled  = BlobAuditingPolicyState_STATUS("Enabled")
)
View Source
const (
	ServerConnectionType_Default  = ServerConnectionType("Default")
	ServerConnectionType_Proxy    = ServerConnectionType("Proxy")
	ServerConnectionType_Redirect = ServerConnectionType("Redirect")
)
View Source
const (
	ServerConnectionType_STATUS_Default  = ServerConnectionType_STATUS("Default")
	ServerConnectionType_STATUS_Proxy    = ServerConnectionType_STATUS("Proxy")
	ServerConnectionType_STATUS_Redirect = ServerConnectionType_STATUS("Redirect")
)
View Source
const (
	AlwaysEncryptedEnclaveType_Default = AlwaysEncryptedEnclaveType("Default")
	AlwaysEncryptedEnclaveType_VBS     = AlwaysEncryptedEnclaveType("VBS")
)
View Source
const (
	AlwaysEncryptedEnclaveType_STATUS_Default = AlwaysEncryptedEnclaveType_STATUS("Default")
	AlwaysEncryptedEnclaveType_STATUS_VBS     = AlwaysEncryptedEnclaveType_STATUS("VBS")
)
View Source
const (
	AvailabilityZoneType_1            = AvailabilityZoneType("1")
	AvailabilityZoneType_2            = AvailabilityZoneType("2")
	AvailabilityZoneType_3            = AvailabilityZoneType("3")
	AvailabilityZoneType_NoPreference = AvailabilityZoneType("NoPreference")
)
View Source
const (
	AvailabilityZoneType_STATUS_1            = AvailabilityZoneType_STATUS("1")
	AvailabilityZoneType_STATUS_2            = AvailabilityZoneType_STATUS("2")
	AvailabilityZoneType_STATUS_3            = AvailabilityZoneType_STATUS("3")
	AvailabilityZoneType_STATUS_NoPreference = AvailabilityZoneType_STATUS("NoPreference")
)
View Source
const (
	BackupStorageRedundancy_Geo     = BackupStorageRedundancy("Geo")
	BackupStorageRedundancy_GeoZone = BackupStorageRedundancy("GeoZone")
	BackupStorageRedundancy_Local   = BackupStorageRedundancy("Local")
	BackupStorageRedundancy_Zone    = BackupStorageRedundancy("Zone")
)
View Source
const (
	BackupStorageRedundancy_STATUS_Geo     = BackupStorageRedundancy_STATUS("Geo")
	BackupStorageRedundancy_STATUS_GeoZone = BackupStorageRedundancy_STATUS("GeoZone")
	BackupStorageRedundancy_STATUS_Local   = BackupStorageRedundancy_STATUS("Local")
	BackupStorageRedundancy_STATUS_Zone    = BackupStorageRedundancy_STATUS("Zone")
)
View Source
const (
	CatalogCollationType_DATABASE_DEFAULT             = CatalogCollationType("DATABASE_DEFAULT")
	CatalogCollationType_SQL_Latin1_General_CP1_CI_AS = CatalogCollationType("SQL_Latin1_General_CP1_CI_AS")
)
View Source
const (
	CatalogCollationType_STATUS_DATABASE_DEFAULT             = CatalogCollationType_STATUS("DATABASE_DEFAULT")
	CatalogCollationType_STATUS_SQL_Latin1_General_CP1_CI_AS = CatalogCollationType_STATUS("SQL_Latin1_General_CP1_CI_AS")
)
View Source
const (
	CreateMode_Copy                           = CreateMode("Copy")
	CreateMode_Default                        = CreateMode("Default")
	CreateMode_OnlineSecondary                = CreateMode("OnlineSecondary")
	CreateMode_PointInTimeRestore             = CreateMode("PointInTimeRestore")
	CreateMode_Recovery                       = CreateMode("Recovery")
	CreateMode_Restore                        = CreateMode("Restore")
	CreateMode_RestoreExternalBackup          = CreateMode("RestoreExternalBackup")
	CreateMode_RestoreExternalBackupSecondary = CreateMode("RestoreExternalBackupSecondary")
	CreateMode_RestoreLongTermRetentionBackup = CreateMode("RestoreLongTermRetentionBackup")
	CreateMode_Secondary                      = CreateMode("Secondary")
)
View Source
const (
	CreateMode_STATUS_Copy                           = CreateMode_STATUS("Copy")
	CreateMode_STATUS_Default                        = CreateMode_STATUS("Default")
	CreateMode_STATUS_OnlineSecondary                = CreateMode_STATUS("OnlineSecondary")
	CreateMode_STATUS_PointInTimeRestore             = CreateMode_STATUS("PointInTimeRestore")
	CreateMode_STATUS_Recovery                       = CreateMode_STATUS("Recovery")
	CreateMode_STATUS_Restore                        = CreateMode_STATUS("Restore")
	CreateMode_STATUS_RestoreExternalBackup          = CreateMode_STATUS("RestoreExternalBackup")
	CreateMode_STATUS_RestoreExternalBackupSecondary = CreateMode_STATUS("RestoreExternalBackupSecondary")
	CreateMode_STATUS_RestoreLongTermRetentionBackup = CreateMode_STATUS("RestoreLongTermRetentionBackup")
	CreateMode_STATUS_Secondary                      = CreateMode_STATUS("Secondary")
)
View Source
const (
	DatabaseLicenseType_BasePrice       = DatabaseLicenseType("BasePrice")
	DatabaseLicenseType_LicenseIncluded = DatabaseLicenseType("LicenseIncluded")
)
View Source
const (
	DatabaseLicenseType_STATUS_BasePrice       = DatabaseLicenseType_STATUS("BasePrice")
	DatabaseLicenseType_STATUS_LicenseIncluded = DatabaseLicenseType_STATUS("LicenseIncluded")
)
View Source
const (
	DatabaseReadScale_Disabled = DatabaseReadScale("Disabled")
	DatabaseReadScale_Enabled  = DatabaseReadScale("Enabled")
)
View Source
const (
	DatabaseReadScale_STATUS_Disabled = DatabaseReadScale_STATUS("Disabled")
	DatabaseReadScale_STATUS_Enabled  = DatabaseReadScale_STATUS("Enabled")
)
View Source
const (
	DatabaseStatus_STATUS_AutoClosed                        = DatabaseStatus_STATUS("AutoClosed")
	DatabaseStatus_STATUS_Copying                           = DatabaseStatus_STATUS("Copying")
	DatabaseStatus_STATUS_Creating                          = DatabaseStatus_STATUS("Creating")
	DatabaseStatus_STATUS_Disabled                          = DatabaseStatus_STATUS("Disabled")
	DatabaseStatus_STATUS_EmergencyMode                     = DatabaseStatus_STATUS("EmergencyMode")
	DatabaseStatus_STATUS_Inaccessible                      = DatabaseStatus_STATUS("Inaccessible")
	DatabaseStatus_STATUS_Offline                           = DatabaseStatus_STATUS("Offline")
	DatabaseStatus_STATUS_OfflineChangingDwPerformanceTiers = DatabaseStatus_STATUS("OfflineChangingDwPerformanceTiers")
	DatabaseStatus_STATUS_OfflineSecondary                  = DatabaseStatus_STATUS("OfflineSecondary")
	DatabaseStatus_STATUS_Online                            = DatabaseStatus_STATUS("Online")
	DatabaseStatus_STATUS_OnlineChangingDwPerformanceTiers  = DatabaseStatus_STATUS("OnlineChangingDwPerformanceTiers")
	DatabaseStatus_STATUS_Paused                            = DatabaseStatus_STATUS("Paused")
	DatabaseStatus_STATUS_Pausing                           = DatabaseStatus_STATUS("Pausing")
	DatabaseStatus_STATUS_Recovering                        = DatabaseStatus_STATUS("Recovering")
	DatabaseStatus_STATUS_RecoveryPending                   = DatabaseStatus_STATUS("RecoveryPending")
	DatabaseStatus_STATUS_Restoring                         = DatabaseStatus_STATUS("Restoring")
	DatabaseStatus_STATUS_Resuming                          = DatabaseStatus_STATUS("Resuming")
	DatabaseStatus_STATUS_Scaling                           = DatabaseStatus_STATUS("Scaling")
	DatabaseStatus_STATUS_Shutdown                          = DatabaseStatus_STATUS("Shutdown")
	DatabaseStatus_STATUS_Standby                           = DatabaseStatus_STATUS("Standby")
	DatabaseStatus_STATUS_Starting                          = DatabaseStatus_STATUS("Starting")
	DatabaseStatus_STATUS_Stopped                           = DatabaseStatus_STATUS("Stopped")
	DatabaseStatus_STATUS_Stopping                          = DatabaseStatus_STATUS("Stopping")
	DatabaseStatus_STATUS_Suspect                           = DatabaseStatus_STATUS("Suspect")
)
View Source
const (
	FreeLimitExhaustionBehavior_AutoPause     = FreeLimitExhaustionBehavior("AutoPause")
	FreeLimitExhaustionBehavior_BillOverUsage = FreeLimitExhaustionBehavior("BillOverUsage")
)
View Source
const (
	FreeLimitExhaustionBehavior_STATUS_AutoPause     = FreeLimitExhaustionBehavior_STATUS("AutoPause")
	FreeLimitExhaustionBehavior_STATUS_BillOverUsage = FreeLimitExhaustionBehavior_STATUS("BillOverUsage")
)
View Source
const (
	SampleName_AdventureWorksLT       = SampleName("AdventureWorksLT")
	SampleName_WideWorldImportersFull = SampleName("WideWorldImportersFull")
	SampleName_WideWorldImportersStd  = SampleName("WideWorldImportersStd")
)
View Source
const (
	SampleName_STATUS_AdventureWorksLT       = SampleName_STATUS("AdventureWorksLT")
	SampleName_STATUS_WideWorldImportersFull = SampleName_STATUS("WideWorldImportersFull")
	SampleName_STATUS_WideWorldImportersStd  = SampleName_STATUS("WideWorldImportersStd")
)
View Source
const (
	SecondaryType_Geo     = SecondaryType("Geo")
	SecondaryType_Named   = SecondaryType("Named")
	SecondaryType_Standby = SecondaryType("Standby")
)
View Source
const (
	SecondaryType_STATUS_Geo     = SecondaryType_STATUS("Geo")
	SecondaryType_STATUS_Named   = SecondaryType_STATUS("Named")
	SecondaryType_STATUS_Standby = SecondaryType_STATUS("Standby")
)
View Source
const (
	DatabaseIdentityType_None         = DatabaseIdentityType("None")
	DatabaseIdentityType_UserAssigned = DatabaseIdentityType("UserAssigned")
)
View Source
const (
	DatabaseIdentityType_STATUS_None         = DatabaseIdentityType_STATUS("None")
	DatabaseIdentityType_STATUS_UserAssigned = DatabaseIdentityType_STATUS("UserAssigned")
)
View Source
const (
	TimeBasedImmutability_Disabled = TimeBasedImmutability("Disabled")
	TimeBasedImmutability_Enabled  = TimeBasedImmutability("Enabled")
)
View Source
const (
	TimeBasedImmutability_STATUS_Disabled = TimeBasedImmutability_STATUS("Disabled")
	TimeBasedImmutability_STATUS_Enabled  = TimeBasedImmutability_STATUS("Enabled")
)
View Source
const (
	TimeBasedImmutabilityMode_Locked   = TimeBasedImmutabilityMode("Locked")
	TimeBasedImmutabilityMode_Unlocked = TimeBasedImmutabilityMode("Unlocked")
)
View Source
const (
	TimeBasedImmutabilityMode_STATUS_Locked   = TimeBasedImmutabilityMode_STATUS("Locked")
	TimeBasedImmutabilityMode_STATUS_Unlocked = TimeBasedImmutabilityMode_STATUS("Unlocked")
)
View Source
const (
	DiffBackupIntervalInHours_12 = DiffBackupIntervalInHours(12)
	DiffBackupIntervalInHours_24 = DiffBackupIntervalInHours(24)
)
View Source
const (
	DiffBackupIntervalInHours_STATUS_12 = DiffBackupIntervalInHours_STATUS(12)
	DiffBackupIntervalInHours_STATUS_24 = DiffBackupIntervalInHours_STATUS(24)
)
View Source
const (
	SecurityAlertsPolicyState_Disabled = SecurityAlertsPolicyState("Disabled")
	SecurityAlertsPolicyState_Enabled  = SecurityAlertsPolicyState("Enabled")
)
View Source
const (
	SecurityAlertsPolicyState_STATUS_Disabled = SecurityAlertsPolicyState_STATUS("Disabled")
	SecurityAlertsPolicyState_STATUS_Enabled  = SecurityAlertsPolicyState_STATUS("Enabled")
)
View Source
const (
	TransparentDataEncryptionScanState_Aborted   = TransparentDataEncryptionScanState("Aborted")
	TransparentDataEncryptionScanState_Completed = TransparentDataEncryptionScanState("Completed")
	TransparentDataEncryptionScanState_None      = TransparentDataEncryptionScanState("None")
	TransparentDataEncryptionScanState_Resume    = TransparentDataEncryptionScanState("Resume")
	TransparentDataEncryptionScanState_Running   = TransparentDataEncryptionScanState("Running")
	TransparentDataEncryptionScanState_Suspend   = TransparentDataEncryptionScanState("Suspend")
)
View Source
const (
	TransparentDataEncryptionScanState_STATUS_Aborted   = TransparentDataEncryptionScanState_STATUS("Aborted")
	TransparentDataEncryptionScanState_STATUS_Completed = TransparentDataEncryptionScanState_STATUS("Completed")
	TransparentDataEncryptionScanState_STATUS_None      = TransparentDataEncryptionScanState_STATUS("None")
	TransparentDataEncryptionScanState_STATUS_Resume    = TransparentDataEncryptionScanState_STATUS("Resume")
	TransparentDataEncryptionScanState_STATUS_Running   = TransparentDataEncryptionScanState_STATUS("Running")
	TransparentDataEncryptionScanState_STATUS_Suspend   = TransparentDataEncryptionScanState_STATUS("Suspend")
)
View Source
const (
	TransparentDataEncryptionState_Disabled = TransparentDataEncryptionState("Disabled")
	TransparentDataEncryptionState_Enabled  = TransparentDataEncryptionState("Enabled")
)
View Source
const (
	TransparentDataEncryptionState_STATUS_Disabled = TransparentDataEncryptionState_STATUS("Disabled")
	TransparentDataEncryptionState_STATUS_Enabled  = TransparentDataEncryptionState_STATUS("Enabled")
)
View Source
const (
	ElasticPoolLicenseType_BasePrice       = ElasticPoolLicenseType("BasePrice")
	ElasticPoolLicenseType_LicenseIncluded = ElasticPoolLicenseType("LicenseIncluded")
)
View Source
const (
	ElasticPoolLicenseType_STATUS_BasePrice       = ElasticPoolLicenseType_STATUS("BasePrice")
	ElasticPoolLicenseType_STATUS_LicenseIncluded = ElasticPoolLicenseType_STATUS("LicenseIncluded")
)
View Source
const (
	ElasticPoolState_STATUS_Creating = ElasticPoolState_STATUS("Creating")
	ElasticPoolState_STATUS_Disabled = ElasticPoolState_STATUS("Disabled")
	ElasticPoolState_STATUS_Ready    = ElasticPoolState_STATUS("Ready")
)
View Source
const (
	ServerKeyType_AzureKeyVault  = ServerKeyType("AzureKeyVault")
	ServerKeyType_ServiceManaged = ServerKeyType("ServiceManaged")
)
View Source
const (
	ServerKeyType_STATUS_AzureKeyVault  = ServerKeyType_STATUS("AzureKeyVault")
	ServerKeyType_STATUS_ServiceManaged = ServerKeyType_STATUS("ServiceManaged")
)
View Source
const (
	FailoverGroupDatabasesSecondaryType_Geo     = FailoverGroupDatabasesSecondaryType("Geo")
	FailoverGroupDatabasesSecondaryType_Standby = FailoverGroupDatabasesSecondaryType("Standby")
)
View Source
const (
	FailoverGroupDatabasesSecondaryType_STATUS_Geo     = FailoverGroupDatabasesSecondaryType_STATUS("Geo")
	FailoverGroupDatabasesSecondaryType_STATUS_Standby = FailoverGroupDatabasesSecondaryType_STATUS("Standby")
)
View Source
const (
	FailoverGroupReplicationRole_STATUS_Primary   = FailoverGroupReplicationRole_STATUS("Primary")
	FailoverGroupReplicationRole_STATUS_Secondary = FailoverGroupReplicationRole_STATUS("Secondary")
)
View Source
const (
	ReadOnlyEndpointFailoverPolicy_Disabled = ReadOnlyEndpointFailoverPolicy("Disabled")
	ReadOnlyEndpointFailoverPolicy_Enabled  = ReadOnlyEndpointFailoverPolicy("Enabled")
)
View Source
const (
	ReadOnlyEndpointFailoverPolicy_STATUS_Disabled = ReadOnlyEndpointFailoverPolicy_STATUS("Disabled")
	ReadOnlyEndpointFailoverPolicy_STATUS_Enabled  = ReadOnlyEndpointFailoverPolicy_STATUS("Enabled")
)
View Source
const (
	ReadWriteEndpointFailoverPolicy_Automatic = ReadWriteEndpointFailoverPolicy("Automatic")
	ReadWriteEndpointFailoverPolicy_Manual    = ReadWriteEndpointFailoverPolicy("Manual")
)
View Source
const (
	ReadWriteEndpointFailoverPolicy_STATUS_Automatic = ReadWriteEndpointFailoverPolicy_STATUS("Automatic")
	ReadWriteEndpointFailoverPolicy_STATUS_Manual    = ReadWriteEndpointFailoverPolicy_STATUS("Manual")
)
View Source
const (
	VirtualNetworkRuleState_STATUS_Deleting     = VirtualNetworkRuleState_STATUS("Deleting")
	VirtualNetworkRuleState_STATUS_Failed       = VirtualNetworkRuleState_STATUS("Failed")
	VirtualNetworkRuleState_STATUS_InProgress   = VirtualNetworkRuleState_STATUS("InProgress")
	VirtualNetworkRuleState_STATUS_Initializing = VirtualNetworkRuleState_STATUS("Initializing")
	VirtualNetworkRuleState_STATUS_Ready        = VirtualNetworkRuleState_STATUS("Ready")
	VirtualNetworkRuleState_STATUS_Unknown      = VirtualNetworkRuleState_STATUS("Unknown")
)
View Source
const APIVersion_Value = APIVersion("2025-01-01")
View Source
const AdministratorType_ActiveDirectory = AdministratorType("ActiveDirectory")
View Source
const AdministratorType_STATUS_ActiveDirectory = AdministratorType_STATUS("ActiveDirectory")
View Source
const DatabaseKeyType_STATUS_AzureKeyVault = DatabaseKeyType_STATUS("AzureKeyVault")
View Source
const PrivateLinkServiceConnectionStateActionsRequire_STATUS_None = PrivateLinkServiceConnectionStateActionsRequire_STATUS("None")

Variables

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

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

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

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2025-01-01"}

type AdministratorType

type AdministratorType string

Type of the sever administrator. +kubebuilder:validation:Enum={"ActiveDirectory"}

type AdministratorType_STATUS

type AdministratorType_STATUS string

Type of the sever administrator.

type AdvancedThreatProtectionState

type AdvancedThreatProtectionState string

Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. +kubebuilder:validation:Enum={"Disabled","Enabled","New"}

type AdvancedThreatProtectionState_STATUS

type AdvancedThreatProtectionState_STATUS string

Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server.

type AlwaysEncryptedEnclaveType

type AlwaysEncryptedEnclaveType string

Type of enclave requested on the database i.e. Default or VBS enclaves. +kubebuilder:validation:Enum={"Default","VBS"}

type AlwaysEncryptedEnclaveType_STATUS

type AlwaysEncryptedEnclaveType_STATUS string

Type of enclave requested on the database i.e. Default or VBS enclaves.

type AvailabilityZoneType

type AvailabilityZoneType string

Specifies the availability zone the database is pinned to. +kubebuilder:validation:Enum={"1","2","3","NoPreference"}

type AvailabilityZoneType_STATUS

type AvailabilityZoneType_STATUS string

Specifies the availability zone the database is pinned to.

type AzureCoreUuid

type AzureCoreUuid string

+kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"

type BackupStorageRedundancy

type BackupStorageRedundancy string

The storage account type used to store backups for this database. +kubebuilder:validation:Enum={"Geo","GeoZone","Local","Zone"}

type BackupStorageRedundancy_STATUS

type BackupStorageRedundancy_STATUS string

The storage account type used to store backups for this database.

type BlobAuditingPolicyState

type BlobAuditingPolicyState string

Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type BlobAuditingPolicyState_STATUS

type BlobAuditingPolicyState_STATUS string

Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required.

type CatalogCollationType

type CatalogCollationType string

Collation of the metadata catalog. +kubebuilder:validation:Enum={"DATABASE_DEFAULT","SQL_Latin1_General_CP1_CI_AS"}

type CatalogCollationType_STATUS

type CatalogCollationType_STATUS string

Collation of the metadata catalog.

type CreateMode

type CreateMode string

Specifies the mode of database creation. Default: regular database creation. Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. +kubebuilder:validation:Enum={"Copy","Default","OnlineSecondary","PointInTimeRestore","Recovery","Restore","RestoreExternalBackup","RestoreExternalBackupSecondary","RestoreLongTermRetentionBackup","Secondary"}

type CreateMode_STATUS

type CreateMode_STATUS string

Specifies the mode of database creation. Default: regular database creation. Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.

type DatabaseIdentity

type DatabaseIdentity struct {
	// Type: The identity type
	Type *DatabaseIdentityType `json:"type,omitempty"`

	// UserAssignedIdentities: The resource ids of the user assigned identities to use
	UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}

Azure Active Directory identity configuration for a resource.

func (*DatabaseIdentity) AssignProperties_From_DatabaseIdentity

func (identity *DatabaseIdentity) AssignProperties_From_DatabaseIdentity(source *storage.DatabaseIdentity) error

AssignProperties_From_DatabaseIdentity populates our DatabaseIdentity from the provided source DatabaseIdentity

func (*DatabaseIdentity) AssignProperties_To_DatabaseIdentity

func (identity *DatabaseIdentity) AssignProperties_To_DatabaseIdentity(destination *storage.DatabaseIdentity) error

AssignProperties_To_DatabaseIdentity populates the provided destination DatabaseIdentity from our DatabaseIdentity

func (*DatabaseIdentity) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*DatabaseIdentity) DeepCopy

func (in *DatabaseIdentity) DeepCopy() *DatabaseIdentity

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

func (*DatabaseIdentity) DeepCopyInto

func (in *DatabaseIdentity) DeepCopyInto(out *DatabaseIdentity)

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

func (*DatabaseIdentity) Initialize_From_DatabaseIdentity_STATUS

func (identity *DatabaseIdentity) Initialize_From_DatabaseIdentity_STATUS(source *DatabaseIdentity_STATUS) error

Initialize_From_DatabaseIdentity_STATUS populates our DatabaseIdentity from the provided source DatabaseIdentity_STATUS

func (*DatabaseIdentity) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DatabaseIdentity) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DatabaseIdentityType

type DatabaseIdentityType string

The identity type +kubebuilder:validation:Enum={"None","UserAssigned"}

type DatabaseIdentityType_STATUS

type DatabaseIdentityType_STATUS string

The identity type

type DatabaseIdentity_STATUS

type DatabaseIdentity_STATUS struct {
	// TenantId: The Azure Active Directory tenant id.
	TenantId *string `json:"tenantId,omitempty"`

	// Type: The identity type
	Type *DatabaseIdentityType_STATUS `json:"type,omitempty"`

	// UserAssignedIdentities: The resource ids of the user assigned identities to use
	UserAssignedIdentities map[string]DatabaseUserIdentity_STATUS `json:"userAssignedIdentities,omitempty"`
}

Azure Active Directory identity configuration for a resource.

func (*DatabaseIdentity_STATUS) AssignProperties_From_DatabaseIdentity_STATUS

func (identity *DatabaseIdentity_STATUS) AssignProperties_From_DatabaseIdentity_STATUS(source *storage.DatabaseIdentity_STATUS) error

AssignProperties_From_DatabaseIdentity_STATUS populates our DatabaseIdentity_STATUS from the provided source DatabaseIdentity_STATUS

func (*DatabaseIdentity_STATUS) AssignProperties_To_DatabaseIdentity_STATUS

func (identity *DatabaseIdentity_STATUS) AssignProperties_To_DatabaseIdentity_STATUS(destination *storage.DatabaseIdentity_STATUS) error

AssignProperties_To_DatabaseIdentity_STATUS populates the provided destination DatabaseIdentity_STATUS from our DatabaseIdentity_STATUS

func (*DatabaseIdentity_STATUS) DeepCopy

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

func (*DatabaseIdentity_STATUS) DeepCopyInto

func (in *DatabaseIdentity_STATUS) DeepCopyInto(out *DatabaseIdentity_STATUS)

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

func (*DatabaseIdentity_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DatabaseIdentity_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DatabaseKeyType_STATUS

type DatabaseKeyType_STATUS string

The database key type. Only supported value is 'AzureKeyVault'.

type DatabaseKey_STATUS

type DatabaseKey_STATUS struct {
	// CreationDate: The database key creation date.
	CreationDate *string `json:"creationDate,omitempty"`

	// KeyVersion: The database key's version.
	KeyVersion *string `json:"keyVersion,omitempty"`

	// Subregion: Subregion of the server key.
	Subregion *string `json:"subregion,omitempty"`

	// Thumbprint: Thumbprint of the database key.
	Thumbprint *string `json:"thumbprint,omitempty"`

	// Type: The database key type. Only supported value is 'AzureKeyVault'.
	Type *DatabaseKeyType_STATUS `json:"type,omitempty"`
}

Database level key used for encryption at rest.

func (*DatabaseKey_STATUS) AssignProperties_From_DatabaseKey_STATUS

func (databaseKey *DatabaseKey_STATUS) AssignProperties_From_DatabaseKey_STATUS(source *storage.DatabaseKey_STATUS) error

AssignProperties_From_DatabaseKey_STATUS populates our DatabaseKey_STATUS from the provided source DatabaseKey_STATUS

func (*DatabaseKey_STATUS) AssignProperties_To_DatabaseKey_STATUS

func (databaseKey *DatabaseKey_STATUS) AssignProperties_To_DatabaseKey_STATUS(destination *storage.DatabaseKey_STATUS) error

AssignProperties_To_DatabaseKey_STATUS populates the provided destination DatabaseKey_STATUS from our DatabaseKey_STATUS

func (*DatabaseKey_STATUS) DeepCopy

func (in *DatabaseKey_STATUS) DeepCopy() *DatabaseKey_STATUS

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

func (*DatabaseKey_STATUS) DeepCopyInto

func (in *DatabaseKey_STATUS) DeepCopyInto(out *DatabaseKey_STATUS)

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

func (*DatabaseKey_STATUS) NewEmptyARMValue

func (databaseKey *DatabaseKey_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DatabaseKey_STATUS) PopulateFromARM

func (databaseKey *DatabaseKey_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DatabaseLicenseType

type DatabaseLicenseType string

The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit. +kubebuilder:validation:Enum={"BasePrice","LicenseIncluded"}

type DatabaseLicenseType_STATUS

type DatabaseLicenseType_STATUS string

The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit.

type DatabaseReadScale

type DatabaseReadScale string

The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale database within an elastic pool. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type DatabaseReadScale_STATUS

type DatabaseReadScale_STATUS string

The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale database within an elastic pool.

type DatabaseStatus_STATUS

type DatabaseStatus_STATUS string

The status of the database.

type DatabaseUserIdentity_STATUS

type DatabaseUserIdentity_STATUS struct {
	// ClientId: The Azure Active Directory client id.
	ClientId *string `json:"clientId,omitempty"`

	// PrincipalId: The Azure Active Directory principal id.
	PrincipalId *string `json:"principalId,omitempty"`
}

Azure Active Directory identity configuration for a resource.

func (*DatabaseUserIdentity_STATUS) AssignProperties_From_DatabaseUserIdentity_STATUS

func (identity *DatabaseUserIdentity_STATUS) AssignProperties_From_DatabaseUserIdentity_STATUS(source *storage.DatabaseUserIdentity_STATUS) error

AssignProperties_From_DatabaseUserIdentity_STATUS populates our DatabaseUserIdentity_STATUS from the provided source DatabaseUserIdentity_STATUS

func (*DatabaseUserIdentity_STATUS) AssignProperties_To_DatabaseUserIdentity_STATUS

func (identity *DatabaseUserIdentity_STATUS) AssignProperties_To_DatabaseUserIdentity_STATUS(destination *storage.DatabaseUserIdentity_STATUS) error

AssignProperties_To_DatabaseUserIdentity_STATUS populates the provided destination DatabaseUserIdentity_STATUS from our DatabaseUserIdentity_STATUS

func (*DatabaseUserIdentity_STATUS) DeepCopy

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

func (*DatabaseUserIdentity_STATUS) DeepCopyInto

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

func (*DatabaseUserIdentity_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DatabaseUserIdentity_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DiffBackupIntervalInHours

type DiffBackupIntervalInHours float64

The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. +kubebuilder:validation:Enum={12,24}

type DiffBackupIntervalInHours_STATUS

type DiffBackupIntervalInHours_STATUS float64

The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases.

type ElasticPoolLicenseType

type ElasticPoolLicenseType string

The license type to apply for this elastic pool. +kubebuilder:validation:Enum={"BasePrice","LicenseIncluded"}

type ElasticPoolLicenseType_STATUS

type ElasticPoolLicenseType_STATUS string

The license type to apply for this elastic pool.

type ElasticPoolPerDatabaseSettings

type ElasticPoolPerDatabaseSettings struct {
	// AutoPauseDelay: Auto Pause Delay for per database within pool
	AutoPauseDelay *int `json:"autoPauseDelay,omitempty"`

	// MaxCapacity: The maximum capacity any one database can consume.
	MaxCapacity *float64 `json:"maxCapacity,omitempty"`

	// MinCapacity: The minimum capacity all databases are guaranteed.
	MinCapacity *float64 `json:"minCapacity,omitempty"`
}

Per database settings of an elastic pool.

func (*ElasticPoolPerDatabaseSettings) AssignProperties_From_ElasticPoolPerDatabaseSettings

func (settings *ElasticPoolPerDatabaseSettings) AssignProperties_From_ElasticPoolPerDatabaseSettings(source *storage.ElasticPoolPerDatabaseSettings) error

AssignProperties_From_ElasticPoolPerDatabaseSettings populates our ElasticPoolPerDatabaseSettings from the provided source ElasticPoolPerDatabaseSettings

func (*ElasticPoolPerDatabaseSettings) AssignProperties_To_ElasticPoolPerDatabaseSettings

func (settings *ElasticPoolPerDatabaseSettings) AssignProperties_To_ElasticPoolPerDatabaseSettings(destination *storage.ElasticPoolPerDatabaseSettings) error

AssignProperties_To_ElasticPoolPerDatabaseSettings populates the provided destination ElasticPoolPerDatabaseSettings from our ElasticPoolPerDatabaseSettings

func (*ElasticPoolPerDatabaseSettings) ConvertToARM

func (settings *ElasticPoolPerDatabaseSettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ElasticPoolPerDatabaseSettings) DeepCopy

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

func (*ElasticPoolPerDatabaseSettings) DeepCopyInto

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

func (*ElasticPoolPerDatabaseSettings) Initialize_From_ElasticPoolPerDatabaseSettings_STATUS

func (settings *ElasticPoolPerDatabaseSettings) Initialize_From_ElasticPoolPerDatabaseSettings_STATUS(source *ElasticPoolPerDatabaseSettings_STATUS) error

Initialize_From_ElasticPoolPerDatabaseSettings_STATUS populates our ElasticPoolPerDatabaseSettings from the provided source ElasticPoolPerDatabaseSettings_STATUS

func (*ElasticPoolPerDatabaseSettings) NewEmptyARMValue

func (settings *ElasticPoolPerDatabaseSettings) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ElasticPoolPerDatabaseSettings) PopulateFromARM

func (settings *ElasticPoolPerDatabaseSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ElasticPoolPerDatabaseSettings_STATUS

type ElasticPoolPerDatabaseSettings_STATUS struct {
	// AutoPauseDelay: Auto Pause Delay for per database within pool
	AutoPauseDelay *int `json:"autoPauseDelay,omitempty"`

	// MaxCapacity: The maximum capacity any one database can consume.
	MaxCapacity *float64 `json:"maxCapacity,omitempty"`

	// MinCapacity: The minimum capacity all databases are guaranteed.
	MinCapacity *float64 `json:"minCapacity,omitempty"`
}

Per database settings of an elastic pool.

func (*ElasticPoolPerDatabaseSettings_STATUS) AssignProperties_From_ElasticPoolPerDatabaseSettings_STATUS

func (settings *ElasticPoolPerDatabaseSettings_STATUS) AssignProperties_From_ElasticPoolPerDatabaseSettings_STATUS(source *storage.ElasticPoolPerDatabaseSettings_STATUS) error

AssignProperties_From_ElasticPoolPerDatabaseSettings_STATUS populates our ElasticPoolPerDatabaseSettings_STATUS from the provided source ElasticPoolPerDatabaseSettings_STATUS

func (*ElasticPoolPerDatabaseSettings_STATUS) AssignProperties_To_ElasticPoolPerDatabaseSettings_STATUS

func (settings *ElasticPoolPerDatabaseSettings_STATUS) AssignProperties_To_ElasticPoolPerDatabaseSettings_STATUS(destination *storage.ElasticPoolPerDatabaseSettings_STATUS) error

AssignProperties_To_ElasticPoolPerDatabaseSettings_STATUS populates the provided destination ElasticPoolPerDatabaseSettings_STATUS from our ElasticPoolPerDatabaseSettings_STATUS

func (*ElasticPoolPerDatabaseSettings_STATUS) DeepCopy

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

func (*ElasticPoolPerDatabaseSettings_STATUS) DeepCopyInto

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

func (*ElasticPoolPerDatabaseSettings_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ElasticPoolPerDatabaseSettings_STATUS) PopulateFromARM

func (settings *ElasticPoolPerDatabaseSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ElasticPoolState_STATUS

type ElasticPoolState_STATUS string

The state of the elastic pool.

type ExternalGovernanceStatus_STATUS

type ExternalGovernanceStatus_STATUS string

Status of external governance.

type FailoverGroupDatabasesSecondaryType

type FailoverGroupDatabasesSecondaryType string

Databases secondary type on partner server. +kubebuilder:validation:Enum={"Geo","Standby"}

type FailoverGroupDatabasesSecondaryType_STATUS

type FailoverGroupDatabasesSecondaryType_STATUS string

Databases secondary type on partner server.

type FailoverGroupReadOnlyEndpoint

type FailoverGroupReadOnlyEndpoint struct {
	// FailoverPolicy: Failover policy of the read-only endpoint for the failover group.
	FailoverPolicy *ReadOnlyEndpointFailoverPolicy `json:"failoverPolicy,omitempty"`

	// TargetServerReference: The target partner server where the read-only endpoint points to.
	TargetServerReference *genruntime.ResourceReference `armReference:"TargetServer" json:"targetServerReference,omitempty"`
}

Read-only endpoint of the failover group instance.

func (*FailoverGroupReadOnlyEndpoint) AssignProperties_From_FailoverGroupReadOnlyEndpoint

func (endpoint *FailoverGroupReadOnlyEndpoint) AssignProperties_From_FailoverGroupReadOnlyEndpoint(source *storage.FailoverGroupReadOnlyEndpoint) error

AssignProperties_From_FailoverGroupReadOnlyEndpoint populates our FailoverGroupReadOnlyEndpoint from the provided source FailoverGroupReadOnlyEndpoint

func (*FailoverGroupReadOnlyEndpoint) AssignProperties_To_FailoverGroupReadOnlyEndpoint

func (endpoint *FailoverGroupReadOnlyEndpoint) AssignProperties_To_FailoverGroupReadOnlyEndpoint(destination *storage.FailoverGroupReadOnlyEndpoint) error

AssignProperties_To_FailoverGroupReadOnlyEndpoint populates the provided destination FailoverGroupReadOnlyEndpoint from our FailoverGroupReadOnlyEndpoint

func (*FailoverGroupReadOnlyEndpoint) ConvertToARM

func (endpoint *FailoverGroupReadOnlyEndpoint) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FailoverGroupReadOnlyEndpoint) DeepCopy

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

func (*FailoverGroupReadOnlyEndpoint) DeepCopyInto

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

func (*FailoverGroupReadOnlyEndpoint) Initialize_From_FailoverGroupReadOnlyEndpoint_STATUS

func (endpoint *FailoverGroupReadOnlyEndpoint) Initialize_From_FailoverGroupReadOnlyEndpoint_STATUS(source *FailoverGroupReadOnlyEndpoint_STATUS) error

Initialize_From_FailoverGroupReadOnlyEndpoint_STATUS populates our FailoverGroupReadOnlyEndpoint from the provided source FailoverGroupReadOnlyEndpoint_STATUS

func (*FailoverGroupReadOnlyEndpoint) NewEmptyARMValue

func (endpoint *FailoverGroupReadOnlyEndpoint) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FailoverGroupReadOnlyEndpoint) PopulateFromARM

func (endpoint *FailoverGroupReadOnlyEndpoint) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FailoverGroupReadOnlyEndpoint_STATUS

type FailoverGroupReadOnlyEndpoint_STATUS struct {
	// FailoverPolicy: Failover policy of the read-only endpoint for the failover group.
	FailoverPolicy *ReadOnlyEndpointFailoverPolicy_STATUS `json:"failoverPolicy,omitempty"`

	// TargetServer: The target partner server where the read-only endpoint points to.
	TargetServer *string `json:"targetServer,omitempty"`
}

Read-only endpoint of the failover group instance.

func (*FailoverGroupReadOnlyEndpoint_STATUS) AssignProperties_From_FailoverGroupReadOnlyEndpoint_STATUS

func (endpoint *FailoverGroupReadOnlyEndpoint_STATUS) AssignProperties_From_FailoverGroupReadOnlyEndpoint_STATUS(source *storage.FailoverGroupReadOnlyEndpoint_STATUS) error

AssignProperties_From_FailoverGroupReadOnlyEndpoint_STATUS populates our FailoverGroupReadOnlyEndpoint_STATUS from the provided source FailoverGroupReadOnlyEndpoint_STATUS

func (*FailoverGroupReadOnlyEndpoint_STATUS) AssignProperties_To_FailoverGroupReadOnlyEndpoint_STATUS

func (endpoint *FailoverGroupReadOnlyEndpoint_STATUS) AssignProperties_To_FailoverGroupReadOnlyEndpoint_STATUS(destination *storage.FailoverGroupReadOnlyEndpoint_STATUS) error

AssignProperties_To_FailoverGroupReadOnlyEndpoint_STATUS populates the provided destination FailoverGroupReadOnlyEndpoint_STATUS from our FailoverGroupReadOnlyEndpoint_STATUS

func (*FailoverGroupReadOnlyEndpoint_STATUS) DeepCopy

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

func (*FailoverGroupReadOnlyEndpoint_STATUS) DeepCopyInto

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

func (*FailoverGroupReadOnlyEndpoint_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FailoverGroupReadOnlyEndpoint_STATUS) PopulateFromARM

func (endpoint *FailoverGroupReadOnlyEndpoint_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FailoverGroupReadWriteEndpoint

type FailoverGroupReadWriteEndpoint struct {
	// +kubebuilder:validation:Required
	// FailoverPolicy: Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then
	// failoverWithDataLossGracePeriodMinutes is required.
	FailoverPolicy *ReadWriteEndpointFailoverPolicy `json:"failoverPolicy,omitempty"`

	// FailoverWithDataLossGracePeriodMinutes: Grace period before failover with data loss is attempted for the read-write
	// endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
	FailoverWithDataLossGracePeriodMinutes *int `json:"failoverWithDataLossGracePeriodMinutes,omitempty"`
}

Read-write endpoint of the failover group instance.

func (*FailoverGroupReadWriteEndpoint) AssignProperties_From_FailoverGroupReadWriteEndpoint

func (endpoint *FailoverGroupReadWriteEndpoint) AssignProperties_From_FailoverGroupReadWriteEndpoint(source *storage.FailoverGroupReadWriteEndpoint) error

AssignProperties_From_FailoverGroupReadWriteEndpoint populates our FailoverGroupReadWriteEndpoint from the provided source FailoverGroupReadWriteEndpoint

func (*FailoverGroupReadWriteEndpoint) AssignProperties_To_FailoverGroupReadWriteEndpoint

func (endpoint *FailoverGroupReadWriteEndpoint) AssignProperties_To_FailoverGroupReadWriteEndpoint(destination *storage.FailoverGroupReadWriteEndpoint) error

AssignProperties_To_FailoverGroupReadWriteEndpoint populates the provided destination FailoverGroupReadWriteEndpoint from our FailoverGroupReadWriteEndpoint

func (*FailoverGroupReadWriteEndpoint) ConvertToARM

func (endpoint *FailoverGroupReadWriteEndpoint) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FailoverGroupReadWriteEndpoint) DeepCopy

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

func (*FailoverGroupReadWriteEndpoint) DeepCopyInto

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

func (*FailoverGroupReadWriteEndpoint) Initialize_From_FailoverGroupReadWriteEndpoint_STATUS

func (endpoint *FailoverGroupReadWriteEndpoint) Initialize_From_FailoverGroupReadWriteEndpoint_STATUS(source *FailoverGroupReadWriteEndpoint_STATUS) error

Initialize_From_FailoverGroupReadWriteEndpoint_STATUS populates our FailoverGroupReadWriteEndpoint from the provided source FailoverGroupReadWriteEndpoint_STATUS

func (*FailoverGroupReadWriteEndpoint) NewEmptyARMValue

func (endpoint *FailoverGroupReadWriteEndpoint) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FailoverGroupReadWriteEndpoint) PopulateFromARM

func (endpoint *FailoverGroupReadWriteEndpoint) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FailoverGroupReadWriteEndpoint_STATUS

type FailoverGroupReadWriteEndpoint_STATUS struct {
	// FailoverPolicy: Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then
	// failoverWithDataLossGracePeriodMinutes is required.
	FailoverPolicy *ReadWriteEndpointFailoverPolicy_STATUS `json:"failoverPolicy,omitempty"`

	// FailoverWithDataLossGracePeriodMinutes: Grace period before failover with data loss is attempted for the read-write
	// endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
	FailoverWithDataLossGracePeriodMinutes *int `json:"failoverWithDataLossGracePeriodMinutes,omitempty"`
}

Read-write endpoint of the failover group instance.

func (*FailoverGroupReadWriteEndpoint_STATUS) AssignProperties_From_FailoverGroupReadWriteEndpoint_STATUS

func (endpoint *FailoverGroupReadWriteEndpoint_STATUS) AssignProperties_From_FailoverGroupReadWriteEndpoint_STATUS(source *storage.FailoverGroupReadWriteEndpoint_STATUS) error

AssignProperties_From_FailoverGroupReadWriteEndpoint_STATUS populates our FailoverGroupReadWriteEndpoint_STATUS from the provided source FailoverGroupReadWriteEndpoint_STATUS

func (*FailoverGroupReadWriteEndpoint_STATUS) AssignProperties_To_FailoverGroupReadWriteEndpoint_STATUS

func (endpoint *FailoverGroupReadWriteEndpoint_STATUS) AssignProperties_To_FailoverGroupReadWriteEndpoint_STATUS(destination *storage.FailoverGroupReadWriteEndpoint_STATUS) error

AssignProperties_To_FailoverGroupReadWriteEndpoint_STATUS populates the provided destination FailoverGroupReadWriteEndpoint_STATUS from our FailoverGroupReadWriteEndpoint_STATUS

func (*FailoverGroupReadWriteEndpoint_STATUS) DeepCopy

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

func (*FailoverGroupReadWriteEndpoint_STATUS) DeepCopyInto

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

func (*FailoverGroupReadWriteEndpoint_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FailoverGroupReadWriteEndpoint_STATUS) PopulateFromARM

func (endpoint *FailoverGroupReadWriteEndpoint_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FailoverGroupReplicationRole_STATUS

type FailoverGroupReplicationRole_STATUS string

Local replication role of the failover group instance.

type FreeLimitExhaustionBehavior

type FreeLimitExhaustionBehavior string

Specifies the behavior when monthly free limits are exhausted for the free database. AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. +kubebuilder:validation:Enum={"AutoPause","BillOverUsage"}

type FreeLimitExhaustionBehavior_STATUS

type FreeLimitExhaustionBehavior_STATUS string

Specifies the behavior when monthly free limits are exhausted for the free database. AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed.

type IdentityType

type IdentityType string

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. +kubebuilder:validation:Enum={"None","SystemAssigned","SystemAssigned,UserAssigned","UserAssigned"}

type IdentityType_STATUS

type IdentityType_STATUS string

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.

type MinimalTlsVersion

type MinimalTlsVersion string

Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3' +kubebuilder:validation:Enum={"1.0","1.1","1.2","1.3","None"}

type MinimalTlsVersion_STATUS

type MinimalTlsVersion_STATUS string

Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3'

type PartnerInfo

type PartnerInfo struct {
	// +kubebuilder:validation:Required
	// Reference: Resource identifier of the partner server.
	Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
}

Partner server information for the failover group.

func (*PartnerInfo) AssignProperties_From_PartnerInfo

func (info *PartnerInfo) AssignProperties_From_PartnerInfo(source *storage.PartnerInfo) error

AssignProperties_From_PartnerInfo populates our PartnerInfo from the provided source PartnerInfo

func (*PartnerInfo) AssignProperties_To_PartnerInfo

func (info *PartnerInfo) AssignProperties_To_PartnerInfo(destination *storage.PartnerInfo) error

AssignProperties_To_PartnerInfo populates the provided destination PartnerInfo from our PartnerInfo

func (*PartnerInfo) ConvertToARM

func (info *PartnerInfo) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*PartnerInfo) DeepCopy

func (in *PartnerInfo) DeepCopy() *PartnerInfo

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

func (*PartnerInfo) DeepCopyInto

func (in *PartnerInfo) DeepCopyInto(out *PartnerInfo)

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

func (*PartnerInfo) Initialize_From_PartnerInfo_STATUS

func (info *PartnerInfo) Initialize_From_PartnerInfo_STATUS(source *PartnerInfo_STATUS) error

Initialize_From_PartnerInfo_STATUS populates our PartnerInfo from the provided source PartnerInfo_STATUS

func (*PartnerInfo) NewEmptyARMValue

func (info *PartnerInfo) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PartnerInfo) PopulateFromARM

func (info *PartnerInfo) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PartnerInfo_STATUS

type PartnerInfo_STATUS struct {
	// Id: Resource identifier of the partner server.
	Id *string `json:"id,omitempty"`

	// Location: Geo location of the partner server.
	Location *string `json:"location,omitempty"`

	// ReplicationRole: Replication role of the partner server.
	ReplicationRole *FailoverGroupReplicationRole_STATUS `json:"replicationRole,omitempty"`
}

Partner server information for the failover group.

func (*PartnerInfo_STATUS) AssignProperties_From_PartnerInfo_STATUS

func (info *PartnerInfo_STATUS) AssignProperties_From_PartnerInfo_STATUS(source *storage.PartnerInfo_STATUS) error

AssignProperties_From_PartnerInfo_STATUS populates our PartnerInfo_STATUS from the provided source PartnerInfo_STATUS

func (*PartnerInfo_STATUS) AssignProperties_To_PartnerInfo_STATUS

func (info *PartnerInfo_STATUS) AssignProperties_To_PartnerInfo_STATUS(destination *storage.PartnerInfo_STATUS) error

AssignProperties_To_PartnerInfo_STATUS populates the provided destination PartnerInfo_STATUS from our PartnerInfo_STATUS

func (*PartnerInfo_STATUS) DeepCopy

func (in *PartnerInfo_STATUS) DeepCopy() *PartnerInfo_STATUS

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

func (*PartnerInfo_STATUS) DeepCopyInto

func (in *PartnerInfo_STATUS) DeepCopyInto(out *PartnerInfo_STATUS)

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

func (*PartnerInfo_STATUS) NewEmptyARMValue

func (info *PartnerInfo_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PartnerInfo_STATUS) PopulateFromARM

func (info *PartnerInfo_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PrincipalType

type PrincipalType string

Principal Type of the sever administrator. +kubebuilder:validation:Enum={"Application","Group","User"}

type PrincipalType_STATUS

type PrincipalType_STATUS string

Principal Type of the sever administrator.

type PrivateEndpointConnectionProperties_STATUS

type PrivateEndpointConnectionProperties_STATUS struct {
	// GroupIds: Group IDs.
	GroupIds []string `json:"groupIds,omitempty"`

	// PrivateEndpoint: Private endpoint which the connection belongs to.
	PrivateEndpoint *PrivateEndpointProperty_STATUS `json:"privateEndpoint,omitempty"`

	// PrivateLinkServiceConnectionState: Connection state of the private endpoint connection.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty_STATUS `json:"privateLinkServiceConnectionState,omitempty"`

	// ProvisioningState: State of the private endpoint connection.
	ProvisioningState *PrivateEndpointProvisioningState_STATUS `json:"provisioningState,omitempty"`
}

Properties of a private endpoint connection.

func (*PrivateEndpointConnectionProperties_STATUS) AssignProperties_From_PrivateEndpointConnectionProperties_STATUS

func (properties *PrivateEndpointConnectionProperties_STATUS) AssignProperties_From_PrivateEndpointConnectionProperties_STATUS(source *storage.PrivateEndpointConnectionProperties_STATUS) error

AssignProperties_From_PrivateEndpointConnectionProperties_STATUS populates our PrivateEndpointConnectionProperties_STATUS from the provided source PrivateEndpointConnectionProperties_STATUS

func (*PrivateEndpointConnectionProperties_STATUS) AssignProperties_To_PrivateEndpointConnectionProperties_STATUS

func (properties *PrivateEndpointConnectionProperties_STATUS) AssignProperties_To_PrivateEndpointConnectionProperties_STATUS(destination *storage.PrivateEndpointConnectionProperties_STATUS) error

AssignProperties_To_PrivateEndpointConnectionProperties_STATUS populates the provided destination PrivateEndpointConnectionProperties_STATUS from our PrivateEndpointConnectionProperties_STATUS

func (*PrivateEndpointConnectionProperties_STATUS) DeepCopy

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

func (*PrivateEndpointConnectionProperties_STATUS) DeepCopyInto

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

func (*PrivateEndpointConnectionProperties_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PrivateEndpointConnectionProperties_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PrivateEndpointProperty_STATUS

type PrivateEndpointProperty_STATUS struct {
	// Id: Resource id of the private endpoint.
	Id *string `json:"id,omitempty"`
}

func (*PrivateEndpointProperty_STATUS) AssignProperties_From_PrivateEndpointProperty_STATUS

func (property *PrivateEndpointProperty_STATUS) AssignProperties_From_PrivateEndpointProperty_STATUS(source *storage.PrivateEndpointProperty_STATUS) error

AssignProperties_From_PrivateEndpointProperty_STATUS populates our PrivateEndpointProperty_STATUS from the provided source PrivateEndpointProperty_STATUS

func (*PrivateEndpointProperty_STATUS) AssignProperties_To_PrivateEndpointProperty_STATUS

func (property *PrivateEndpointProperty_STATUS) AssignProperties_To_PrivateEndpointProperty_STATUS(destination *storage.PrivateEndpointProperty_STATUS) error

AssignProperties_To_PrivateEndpointProperty_STATUS populates the provided destination PrivateEndpointProperty_STATUS from our PrivateEndpointProperty_STATUS

func (*PrivateEndpointProperty_STATUS) DeepCopy

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

func (*PrivateEndpointProperty_STATUS) DeepCopyInto

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

func (*PrivateEndpointProperty_STATUS) NewEmptyARMValue

func (property *PrivateEndpointProperty_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PrivateEndpointProperty_STATUS) PopulateFromARM

func (property *PrivateEndpointProperty_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PrivateEndpointProvisioningState_STATUS

type PrivateEndpointProvisioningState_STATUS string

State of the private endpoint connection.

type PrivateLinkServiceConnectionStateActionsRequire_STATUS

type PrivateLinkServiceConnectionStateActionsRequire_STATUS string

The actions required for private link service connection.

type PrivateLinkServiceConnectionStateProperty_STATUS

type PrivateLinkServiceConnectionStateProperty_STATUS struct {
	// ActionsRequired: The actions required for private link service connection.
	ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire_STATUS `json:"actionsRequired,omitempty"`

	// Description: The private link service connection description.
	Description *string `json:"description,omitempty"`

	// Status: The private link service connection status.
	Status *PrivateLinkServiceConnectionStateStatus_STATUS `json:"status,omitempty"`
}

func (*PrivateLinkServiceConnectionStateProperty_STATUS) AssignProperties_From_PrivateLinkServiceConnectionStateProperty_STATUS

func (property *PrivateLinkServiceConnectionStateProperty_STATUS) AssignProperties_From_PrivateLinkServiceConnectionStateProperty_STATUS(source *storage.PrivateLinkServiceConnectionStateProperty_STATUS) error

AssignProperties_From_PrivateLinkServiceConnectionStateProperty_STATUS populates our PrivateLinkServiceConnectionStateProperty_STATUS from the provided source PrivateLinkServiceConnectionStateProperty_STATUS

func (*PrivateLinkServiceConnectionStateProperty_STATUS) AssignProperties_To_PrivateLinkServiceConnectionStateProperty_STATUS

func (property *PrivateLinkServiceConnectionStateProperty_STATUS) AssignProperties_To_PrivateLinkServiceConnectionStateProperty_STATUS(destination *storage.PrivateLinkServiceConnectionStateProperty_STATUS) error

AssignProperties_To_PrivateLinkServiceConnectionStateProperty_STATUS populates the provided destination PrivateLinkServiceConnectionStateProperty_STATUS from our PrivateLinkServiceConnectionStateProperty_STATUS

func (*PrivateLinkServiceConnectionStateProperty_STATUS) DeepCopy

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

func (*PrivateLinkServiceConnectionStateProperty_STATUS) DeepCopyInto

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

func (*PrivateLinkServiceConnectionStateProperty_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*PrivateLinkServiceConnectionStateProperty_STATUS) PopulateFromARM

func (property *PrivateLinkServiceConnectionStateProperty_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type PrivateLinkServiceConnectionStateStatus_STATUS

type PrivateLinkServiceConnectionStateStatus_STATUS string

The private link service connection status.

type ReadOnlyEndpointFailoverPolicy

type ReadOnlyEndpointFailoverPolicy string

Failover policy of the read-only endpoint for the failover group. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type ReadOnlyEndpointFailoverPolicy_STATUS

type ReadOnlyEndpointFailoverPolicy_STATUS string

Failover policy of the read-only endpoint for the failover group.

type ReadWriteEndpointFailoverPolicy

type ReadWriteEndpointFailoverPolicy string

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. +kubebuilder:validation:Enum={"Automatic","Manual"}

type ReadWriteEndpointFailoverPolicy_STATUS

type ReadWriteEndpointFailoverPolicy_STATUS string

Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

type ResourceIdentity

type ResourceIdentity struct {
	// Type: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active
	// Directory principal for the resource.
	Type *IdentityType `json:"type,omitempty"`

	// UserAssignedIdentities: The resource ids of the user assigned identities to use
	UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}

Azure Active Directory identity configuration for a resource.

func (*ResourceIdentity) AssignProperties_From_ResourceIdentity

func (identity *ResourceIdentity) AssignProperties_From_ResourceIdentity(source *storage.ResourceIdentity) error

AssignProperties_From_ResourceIdentity populates our ResourceIdentity from the provided source ResourceIdentity

func (*ResourceIdentity) AssignProperties_To_ResourceIdentity

func (identity *ResourceIdentity) AssignProperties_To_ResourceIdentity(destination *storage.ResourceIdentity) error

AssignProperties_To_ResourceIdentity populates the provided destination ResourceIdentity from our ResourceIdentity

func (*ResourceIdentity) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ResourceIdentity) DeepCopy

func (in *ResourceIdentity) DeepCopy() *ResourceIdentity

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

func (*ResourceIdentity) DeepCopyInto

func (in *ResourceIdentity) DeepCopyInto(out *ResourceIdentity)

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

func (*ResourceIdentity) Initialize_From_ResourceIdentity_STATUS

func (identity *ResourceIdentity) Initialize_From_ResourceIdentity_STATUS(source *ResourceIdentity_STATUS) error

Initialize_From_ResourceIdentity_STATUS populates our ResourceIdentity from the provided source ResourceIdentity_STATUS

func (*ResourceIdentity) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceIdentity) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ResourceIdentity_STATUS

type ResourceIdentity_STATUS struct {
	// PrincipalId: The Azure Active Directory principal id.
	PrincipalId *string `json:"principalId,omitempty"`

	// TenantId: The Azure Active Directory tenant id.
	TenantId *string `json:"tenantId,omitempty"`

	// Type: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active
	// Directory principal for the resource.
	Type *IdentityType_STATUS `json:"type,omitempty"`

	// UserAssignedIdentities: The resource ids of the user assigned identities to use
	UserAssignedIdentities map[string]UserIdentity_STATUS `json:"userAssignedIdentities,omitempty"`
}

Azure Active Directory identity configuration for a resource.

func (*ResourceIdentity_STATUS) AssignProperties_From_ResourceIdentity_STATUS

func (identity *ResourceIdentity_STATUS) AssignProperties_From_ResourceIdentity_STATUS(source *storage.ResourceIdentity_STATUS) error

AssignProperties_From_ResourceIdentity_STATUS populates our ResourceIdentity_STATUS from the provided source ResourceIdentity_STATUS

func (*ResourceIdentity_STATUS) AssignProperties_To_ResourceIdentity_STATUS

func (identity *ResourceIdentity_STATUS) AssignProperties_To_ResourceIdentity_STATUS(destination *storage.ResourceIdentity_STATUS) error

AssignProperties_To_ResourceIdentity_STATUS populates the provided destination ResourceIdentity_STATUS from our ResourceIdentity_STATUS

func (*ResourceIdentity_STATUS) DeepCopy

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

func (*ResourceIdentity_STATUS) DeepCopyInto

func (in *ResourceIdentity_STATUS) DeepCopyInto(out *ResourceIdentity_STATUS)

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

func (*ResourceIdentity_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ResourceIdentity_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SampleName

type SampleName string

The name of the sample schema to apply when creating this database. +kubebuilder:validation:Enum={"AdventureWorksLT","WideWorldImportersFull","WideWorldImportersStd"}

type SampleName_STATUS

type SampleName_STATUS string

The name of the sample schema to apply when creating this database.

type SecondaryType

type SecondaryType string

The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. +kubebuilder:validation:Enum={"Geo","Named","Standby"}

type SecondaryType_STATUS

type SecondaryType_STATUS string

The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby.

type SecurityAlertsPolicyState

type SecurityAlertsPolicyState string

Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type SecurityAlertsPolicyState_STATUS

type SecurityAlertsPolicyState_STATUS string

Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.

type Server

type Server struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Server_Spec   `json:"spec,omitempty"`
	Status            Server_STATUS `json:"status,omitempty"`
}

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

func (*Server) AssignProperties_From_Server

func (server *Server) AssignProperties_From_Server(source *storage.Server) error

AssignProperties_From_Server populates our Server from the provided source Server

func (*Server) AssignProperties_To_Server

func (server *Server) AssignProperties_To_Server(destination *storage.Server) error

AssignProperties_To_Server populates the provided destination Server from our Server

func (*Server) AzureName

func (server *Server) AzureName() string

AzureName returns the Azure name of the resource

func (*Server) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*Server) ConvertFrom

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

ConvertFrom populates our Server from the provided hub Server

func (*Server) ConvertTo

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

ConvertTo populates the provided hub Server from our Server

func (*Server) DeepCopy

func (in *Server) DeepCopy() *Server

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

func (*Server) DeepCopyInto

func (in *Server) DeepCopyInto(out *Server)

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

func (*Server) DeepCopyObject

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

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

func (*Server) ExportKubernetesConfigMaps

func (server *Server) ExportKubernetesConfigMaps(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error)

ExportKubernetesConfigMaps defines a resource which can create ConfigMaps in Kubernetes.

func (Server) GetAPIVersion

func (server Server) GetAPIVersion() string

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

func (*Server) GetConditions

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

GetConditions returns the conditions of the resource

func (*Server) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*Server) GetSpec

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

GetSpec returns the specification of this resource

func (*Server) GetStatus

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

GetStatus returns the status of this resource

func (*Server) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*Server) GetType

func (server *Server) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers"

func (*Server) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*Server) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*Server) OriginalGVK

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

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

func (*Server) Owner

func (server *Server) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*Server) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*Server) SetConditions

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

SetConditions sets the conditions on the resource status

func (*Server) SetStatus

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

SetStatus sets the status of this resource

type ServerConnectionType

type ServerConnectionType string

The server connection type. +kubebuilder:validation:Enum={"Default","Proxy","Redirect"}

type ServerConnectionType_STATUS

type ServerConnectionType_STATUS string

The server connection type.

type ServerCreateMode

type ServerCreateMode string

Create mode for server, only valid values for this are Normal and Restore. +kubebuilder:validation:Enum={"Normal","Restore"}

type ServerCreateMode_STATUS

type ServerCreateMode_STATUS string

Create mode for server, only valid values for this are Normal and Restore.

type ServerExternalAdministrator

type ServerExternalAdministrator struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorType `json:"administratorType,omitempty"`

	// AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.
	AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"`

	// Login: Login name of the server administrator.
	Login *string `json:"login,omitempty" optionalConfigMapPair:"Login"`

	// LoginFromConfig: Login name of the server administrator.
	LoginFromConfig *genruntime.ConfigMapReference `json:"loginFromConfig,omitempty" optionalConfigMapPair:"Login"`

	// PrincipalType: Principal Type of the sever administrator.
	PrincipalType *PrincipalType `json:"principalType,omitempty"`

	// Sid: SID (object ID) of the server administrator.
	Sid *AzureCoreUuid `json:"sid,omitempty" optionalConfigMapPair:"Sid"`

	// SidFromConfig: SID (object ID) of the server administrator.
	SidFromConfig *genruntime.ConfigMapReference `json:"sidFromConfig,omitempty" optionalConfigMapPair:"Sid"`

	// TenantId: Tenant ID of the administrator.
	TenantId *AzureCoreUuid `json:"tenantId,omitempty" optionalConfigMapPair:"TenantId"`

	// TenantIdFromConfig: Tenant ID of the administrator.
	TenantIdFromConfig *genruntime.ConfigMapReference `json:"tenantIdFromConfig,omitempty" optionalConfigMapPair:"TenantId"`
}

Properties of a active directory administrator.

func (*ServerExternalAdministrator) AssignProperties_From_ServerExternalAdministrator

func (administrator *ServerExternalAdministrator) AssignProperties_From_ServerExternalAdministrator(source *storage.ServerExternalAdministrator) error

AssignProperties_From_ServerExternalAdministrator populates our ServerExternalAdministrator from the provided source ServerExternalAdministrator

func (*ServerExternalAdministrator) AssignProperties_To_ServerExternalAdministrator

func (administrator *ServerExternalAdministrator) AssignProperties_To_ServerExternalAdministrator(destination *storage.ServerExternalAdministrator) error

AssignProperties_To_ServerExternalAdministrator populates the provided destination ServerExternalAdministrator from our ServerExternalAdministrator

func (*ServerExternalAdministrator) ConvertToARM

func (administrator *ServerExternalAdministrator) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServerExternalAdministrator) DeepCopy

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

func (*ServerExternalAdministrator) DeepCopyInto

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

func (*ServerExternalAdministrator) Initialize_From_ServerExternalAdministrator_STATUS

func (administrator *ServerExternalAdministrator) Initialize_From_ServerExternalAdministrator_STATUS(source *ServerExternalAdministrator_STATUS) error

Initialize_From_ServerExternalAdministrator_STATUS populates our ServerExternalAdministrator from the provided source ServerExternalAdministrator_STATUS

func (*ServerExternalAdministrator) NewEmptyARMValue

func (administrator *ServerExternalAdministrator) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServerExternalAdministrator) PopulateFromARM

func (administrator *ServerExternalAdministrator) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServerExternalAdministrator_STATUS

type ServerExternalAdministrator_STATUS struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorType_STATUS `json:"administratorType,omitempty"`

	// AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.
	AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"`

	// Login: Login name of the server administrator.
	Login *string `json:"login,omitempty"`

	// PrincipalType: Principal Type of the sever administrator.
	PrincipalType *PrincipalType_STATUS `json:"principalType,omitempty"`

	// Sid: SID (object ID) of the server administrator.
	Sid *string `json:"sid,omitempty"`

	// TenantId: Tenant ID of the administrator.
	TenantId *string `json:"tenantId,omitempty"`
}

Properties of a active directory administrator.

func (*ServerExternalAdministrator_STATUS) AssignProperties_From_ServerExternalAdministrator_STATUS

func (administrator *ServerExternalAdministrator_STATUS) AssignProperties_From_ServerExternalAdministrator_STATUS(source *storage.ServerExternalAdministrator_STATUS) error

AssignProperties_From_ServerExternalAdministrator_STATUS populates our ServerExternalAdministrator_STATUS from the provided source ServerExternalAdministrator_STATUS

func (*ServerExternalAdministrator_STATUS) AssignProperties_To_ServerExternalAdministrator_STATUS

func (administrator *ServerExternalAdministrator_STATUS) AssignProperties_To_ServerExternalAdministrator_STATUS(destination *storage.ServerExternalAdministrator_STATUS) error

AssignProperties_To_ServerExternalAdministrator_STATUS populates the provided destination ServerExternalAdministrator_STATUS from our ServerExternalAdministrator_STATUS

func (*ServerExternalAdministrator_STATUS) DeepCopy

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

func (*ServerExternalAdministrator_STATUS) DeepCopyInto

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

func (*ServerExternalAdministrator_STATUS) NewEmptyARMValue

func (administrator *ServerExternalAdministrator_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServerExternalAdministrator_STATUS) PopulateFromARM

func (administrator *ServerExternalAdministrator_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServerKeyType

type ServerKeyType string

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. +kubebuilder:validation:Enum={"AzureKeyVault","ServiceManaged"}

type ServerKeyType_STATUS

type ServerKeyType_STATUS string

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.

type ServerList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/servers.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}

func (*ServerList) DeepCopy

func (in *ServerList) DeepCopy() *ServerList

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

func (*ServerList) DeepCopyInto

func (in *ServerList) DeepCopyInto(out *ServerList)

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

func (*ServerList) DeepCopyObject

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

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

type ServerNetworkAccessFlag

type ServerNetworkAccessFlag string

Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' +kubebuilder:validation:Enum={"Disabled","Enabled"}

type ServerNetworkAccessFlag_STATUS

type ServerNetworkAccessFlag_STATUS string

Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'

type ServerOperatorConfigMaps

type ServerOperatorConfigMaps struct {
	// FullyQualifiedDomainName: indicates where the FullyQualifiedDomainName config map should be placed. If omitted, no
	// config map will be created.
	FullyQualifiedDomainName *genruntime.ConfigMapDestination `json:"fullyQualifiedDomainName,omitempty"`
}

func (*ServerOperatorConfigMaps) AssignProperties_From_ServerOperatorConfigMaps

func (maps *ServerOperatorConfigMaps) AssignProperties_From_ServerOperatorConfigMaps(source *storage.ServerOperatorConfigMaps) error

AssignProperties_From_ServerOperatorConfigMaps populates our ServerOperatorConfigMaps from the provided source ServerOperatorConfigMaps

func (*ServerOperatorConfigMaps) AssignProperties_To_ServerOperatorConfigMaps

func (maps *ServerOperatorConfigMaps) AssignProperties_To_ServerOperatorConfigMaps(destination *storage.ServerOperatorConfigMaps) error

AssignProperties_To_ServerOperatorConfigMaps populates the provided destination ServerOperatorConfigMaps from our ServerOperatorConfigMaps

func (*ServerOperatorConfigMaps) DeepCopy

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

func (*ServerOperatorConfigMaps) DeepCopyInto

func (in *ServerOperatorConfigMaps) DeepCopyInto(out *ServerOperatorConfigMaps)

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

type ServerOperatorSpec

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

	// ConfigMaps: configures where to place operator written ConfigMaps.
	ConfigMaps *ServerOperatorConfigMaps `json:"configMaps,omitempty"`

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

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

func (*ServerOperatorSpec) AssignProperties_From_ServerOperatorSpec

func (operator *ServerOperatorSpec) AssignProperties_From_ServerOperatorSpec(source *storage.ServerOperatorSpec) error

AssignProperties_From_ServerOperatorSpec populates our ServerOperatorSpec from the provided source ServerOperatorSpec

func (*ServerOperatorSpec) AssignProperties_To_ServerOperatorSpec

func (operator *ServerOperatorSpec) AssignProperties_To_ServerOperatorSpec(destination *storage.ServerOperatorSpec) error

AssignProperties_To_ServerOperatorSpec populates the provided destination ServerOperatorSpec from our ServerOperatorSpec

func (*ServerOperatorSpec) DeepCopy

func (in *ServerOperatorSpec) DeepCopy() *ServerOperatorSpec

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

func (*ServerOperatorSpec) DeepCopyInto

func (in *ServerOperatorSpec) DeepCopyInto(out *ServerOperatorSpec)

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

type ServerPrivateEndpointConnection_STATUS

type ServerPrivateEndpointConnection_STATUS struct {
	// Id: Resource ID.
	Id *string `json:"id,omitempty"`

	// Properties: Private endpoint connection properties
	Properties *PrivateEndpointConnectionProperties_STATUS `json:"properties,omitempty"`
}

A private endpoint connection under a server

func (*ServerPrivateEndpointConnection_STATUS) AssignProperties_From_ServerPrivateEndpointConnection_STATUS

func (connection *ServerPrivateEndpointConnection_STATUS) AssignProperties_From_ServerPrivateEndpointConnection_STATUS(source *storage.ServerPrivateEndpointConnection_STATUS) error

AssignProperties_From_ServerPrivateEndpointConnection_STATUS populates our ServerPrivateEndpointConnection_STATUS from the provided source ServerPrivateEndpointConnection_STATUS

func (*ServerPrivateEndpointConnection_STATUS) AssignProperties_To_ServerPrivateEndpointConnection_STATUS

func (connection *ServerPrivateEndpointConnection_STATUS) AssignProperties_To_ServerPrivateEndpointConnection_STATUS(destination *storage.ServerPrivateEndpointConnection_STATUS) error

AssignProperties_To_ServerPrivateEndpointConnection_STATUS populates the provided destination ServerPrivateEndpointConnection_STATUS from our ServerPrivateEndpointConnection_STATUS

func (*ServerPrivateEndpointConnection_STATUS) DeepCopy

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

func (*ServerPrivateEndpointConnection_STATUS) DeepCopyInto

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

func (*ServerPrivateEndpointConnection_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServerPrivateEndpointConnection_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServerPublicNetworkAccessFlag

type ServerPublicNetworkAccessFlag string

Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter' +kubebuilder:validation:Enum={"Disabled","Enabled","SecuredByPerimeter"}

type ServerPublicNetworkAccessFlag_STATUS

type ServerPublicNetworkAccessFlag_STATUS string

Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter'

type ServerWorkspaceFeature_STATUS

type ServerWorkspaceFeature_STATUS string

Whether or not existing server has a workspace created and if it allows connection from workspace

type Server_STATUS

type Server_STATUS struct {
	// AdministratorLogin: Administrator username for the server. Once created it cannot be changed.
	AdministratorLogin *string `json:"administratorLogin,omitempty"`

	// Administrators: The Azure Active Directory administrator can be utilized during server creation and for server updates,
	// except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must
	// be used.
	Administrators *ServerExternalAdministrator_STATUS `json:"administrators,omitempty"`

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

	// CreateMode: Create mode for server, only valid values for this are Normal and Restore.
	CreateMode *ServerCreateMode_STATUS `json:"createMode,omitempty"`

	// ExternalGovernanceStatus: Status of external governance.
	ExternalGovernanceStatus *ExternalGovernanceStatus_STATUS `json:"externalGovernanceStatus,omitempty"`

	// FederatedClientId: The Client id used for cross tenant CMK scenario
	FederatedClientId *string `json:"federatedClientId,omitempty"`

	// FullyQualifiedDomainName: The fully qualified domain name of the server.
	FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"`

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

	// Identity: The Azure Active Directory identity of the server.
	Identity *ResourceIdentity_STATUS `json:"identity,omitempty"`

	// IsIPv6Enabled: Whether or not to enable IPv6 support for this server.  Value is optional but if passed in, must be
	// 'Enabled' or 'Disabled'
	IsIPv6Enabled *ServerNetworkAccessFlag_STATUS `json:"isIPv6Enabled,omitempty"`

	// KeyId: A CMK URI of the key to use for encryption.
	KeyId *string `json:"keyId,omitempty"`

	// Kind: Kind of sql server. This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`

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

	// MinimalTlsVersion: Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3'
	MinimalTlsVersion *MinimalTlsVersion_STATUS `json:"minimalTlsVersion,omitempty"`

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

	// PrimaryUserAssignedIdentityId: The resource id of a user assigned identity to be used by default.
	PrimaryUserAssignedIdentityId *string `json:"primaryUserAssignedIdentityId,omitempty"`

	// PrivateEndpointConnections: List of private endpoint connections on a server
	PrivateEndpointConnections []ServerPrivateEndpointConnection_STATUS `json:"privateEndpointConnections,omitempty"`

	// PublicNetworkAccess: Whether or not public endpoint access is allowed for this server.  Value is optional but if passed
	// in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter'
	PublicNetworkAccess *ServerPublicNetworkAccessFlag_STATUS `json:"publicNetworkAccess,omitempty"`

	// RestrictOutboundNetworkAccess: Whether or not to restrict outbound network access for this server.  Value is optional
	// but if passed in, must be 'Enabled' or 'Disabled'
	RestrictOutboundNetworkAccess *ServerNetworkAccessFlag_STATUS `json:"restrictOutboundNetworkAccess,omitempty"`

	// RetentionDays: Number of days this server will stay soft-deleted.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// State: The state of the server.
	State *string `json:"state,omitempty"`

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

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

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

	// Version: The version of the server.
	Version *string `json:"version,omitempty"`

	// WorkspaceFeature: Whether or not existing server has a workspace created and if it allows connection from workspace
	WorkspaceFeature *ServerWorkspaceFeature_STATUS `json:"workspaceFeature,omitempty"`
}

An Azure SQL Database server.

func (*Server_STATUS) AssignProperties_From_Server_STATUS

func (server *Server_STATUS) AssignProperties_From_Server_STATUS(source *storage.Server_STATUS) error

AssignProperties_From_Server_STATUS populates our Server_STATUS from the provided source Server_STATUS

func (*Server_STATUS) AssignProperties_To_Server_STATUS

func (server *Server_STATUS) AssignProperties_To_Server_STATUS(destination *storage.Server_STATUS) error

AssignProperties_To_Server_STATUS populates the provided destination Server_STATUS from our Server_STATUS

func (*Server_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our Server_STATUS from the provided source

func (*Server_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our Server_STATUS

func (*Server_STATUS) DeepCopy

func (in *Server_STATUS) DeepCopy() *Server_STATUS

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

func (*Server_STATUS) DeepCopyInto

func (in *Server_STATUS) DeepCopyInto(out *Server_STATUS)

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

func (*Server_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Server_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Server_Spec

type Server_Spec struct {
	// AdministratorLogin: Administrator username for the server. Once created it cannot be changed.
	AdministratorLogin *string `json:"administratorLogin,omitempty"`

	// AdministratorLoginPassword: The administrator login password (required for server creation).
	AdministratorLoginPassword *genruntime.SecretReference `json:"administratorLoginPassword,omitempty"`

	// Administrators: The Azure Active Directory administrator can be utilized during server creation and for server updates,
	// except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must
	// be used.
	Administrators *ServerExternalAdministrator `json:"administrators,omitempty"`

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

	// CreateMode: Create mode for server, only valid values for this are Normal and Restore.
	CreateMode *ServerCreateMode `json:"createMode,omitempty"`

	// FederatedClientId: The Client id used for cross tenant CMK scenario
	FederatedClientId *AzureCoreUuid `json:"federatedClientId,omitempty"`

	// Identity: The Azure Active Directory identity of the server.
	Identity *ResourceIdentity `json:"identity,omitempty"`

	// IsIPv6Enabled: Whether or not to enable IPv6 support for this server.  Value is optional but if passed in, must be
	// 'Enabled' or 'Disabled'
	IsIPv6Enabled *ServerNetworkAccessFlag `json:"isIPv6Enabled,omitempty"`

	// KeyId: A CMK URI of the key to use for encryption.
	KeyId *string `json:"keyId,omitempty"`

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

	// MinimalTlsVersion: Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3'
	MinimalTlsVersion *MinimalTlsVersion `json:"minimalTlsVersion,omitempty"`

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

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

	// PrimaryUserAssignedIdentityReference: The resource id of a user assigned identity to be used by default.
	PrimaryUserAssignedIdentityReference *genruntime.ResourceReference `armReference:"PrimaryUserAssignedIdentityId" json:"primaryUserAssignedIdentityReference,omitempty"`

	// PublicNetworkAccess: Whether or not public endpoint access is allowed for this server.  Value is optional but if passed
	// in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter'
	PublicNetworkAccess *ServerPublicNetworkAccessFlag `json:"publicNetworkAccess,omitempty"`

	// RestrictOutboundNetworkAccess: Whether or not to restrict outbound network access for this server.  Value is optional
	// but if passed in, must be 'Enabled' or 'Disabled'
	RestrictOutboundNetworkAccess *ServerNetworkAccessFlag `json:"restrictOutboundNetworkAccess,omitempty"`

	// RetentionDays: Number of days this server will stay soft-deleted.
	RetentionDays *int `json:"retentionDays,omitempty"`

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

	// Version: The version of the server.
	Version *string `json:"version,omitempty"`
}

func (*Server_Spec) AssignProperties_From_Server_Spec

func (server *Server_Spec) AssignProperties_From_Server_Spec(source *storage.Server_Spec) error

AssignProperties_From_Server_Spec populates our Server_Spec from the provided source Server_Spec

func (*Server_Spec) AssignProperties_To_Server_Spec

func (server *Server_Spec) AssignProperties_To_Server_Spec(destination *storage.Server_Spec) error

AssignProperties_To_Server_Spec populates the provided destination Server_Spec from our Server_Spec

func (*Server_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our Server_Spec from the provided source

func (*Server_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our Server_Spec

func (*Server_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Server_Spec) DeepCopy

func (in *Server_Spec) DeepCopy() *Server_Spec

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

func (*Server_Spec) DeepCopyInto

func (in *Server_Spec) DeepCopyInto(out *Server_Spec)

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

func (*Server_Spec) Initialize_From_Server_STATUS

func (server *Server_Spec) Initialize_From_Server_STATUS(source *Server_STATUS) error

Initialize_From_Server_STATUS populates our Server_Spec from the provided source Server_STATUS

func (*Server_Spec) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Server_Spec) OriginalVersion

func (server *Server_Spec) OriginalVersion() string

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

func (*Server_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*Server_Spec) SetAzureName

func (server *Server_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersAdministrator

type ServersAdministrator struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersAdministrator_Spec   `json:"spec,omitempty"`
	Status            ServersAdministrator_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverAzureAdAdministrators.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}

func (*ServersAdministrator) AssignProperties_From_ServersAdministrator

func (administrator *ServersAdministrator) AssignProperties_From_ServersAdministrator(source *storage.ServersAdministrator) error

AssignProperties_From_ServersAdministrator populates our ServersAdministrator from the provided source ServersAdministrator

func (*ServersAdministrator) AssignProperties_To_ServersAdministrator

func (administrator *ServersAdministrator) AssignProperties_To_ServersAdministrator(destination *storage.ServersAdministrator) error

AssignProperties_To_ServersAdministrator populates the provided destination ServersAdministrator from our ServersAdministrator

func (*ServersAdministrator) AzureName

func (administrator *ServersAdministrator) AzureName() string

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

func (*ServersAdministrator) ConfigMapDestinationExpressions

func (administrator *ServersAdministrator) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersAdministrator) ConvertFrom

func (administrator *ServersAdministrator) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersAdministrator from the provided hub ServersAdministrator

func (*ServersAdministrator) ConvertTo

func (administrator *ServersAdministrator) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersAdministrator from our ServersAdministrator

func (*ServersAdministrator) DeepCopy

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

func (*ServersAdministrator) DeepCopyInto

func (in *ServersAdministrator) DeepCopyInto(out *ServersAdministrator)

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

func (*ServersAdministrator) DeepCopyObject

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

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

func (ServersAdministrator) GetAPIVersion

func (administrator ServersAdministrator) GetAPIVersion() string

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

func (*ServersAdministrator) GetConditions

func (administrator *ServersAdministrator) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersAdministrator) GetResourceScope

func (administrator *ServersAdministrator) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersAdministrator) GetSpec

func (administrator *ServersAdministrator) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*ServersAdministrator) GetStatus

func (administrator *ServersAdministrator) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*ServersAdministrator) GetSupportedOperations

func (administrator *ServersAdministrator) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersAdministrator) GetType

func (administrator *ServersAdministrator) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/administrators"

func (*ServersAdministrator) InitializeSpec

func (administrator *ServersAdministrator) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersAdministrator) NewEmptyStatus

func (administrator *ServersAdministrator) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersAdministrator) OriginalGVK

func (administrator *ServersAdministrator) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersAdministrator) Owner

func (administrator *ServersAdministrator) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*ServersAdministrator) SecretDestinationExpressions

func (administrator *ServersAdministrator) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersAdministrator) SetConditions

func (administrator *ServersAdministrator) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersAdministrator) SetStatus

func (administrator *ServersAdministrator) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersAdministratorList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverAzureAdAdministrators.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}

func (*ServersAdministratorList) DeepCopy

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

func (*ServersAdministratorList) DeepCopyInto

func (in *ServersAdministratorList) DeepCopyInto(out *ServersAdministratorList)

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

func (*ServersAdministratorList) DeepCopyObject

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

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

type ServersAdministratorOperatorSpec

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

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

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

func (*ServersAdministratorOperatorSpec) AssignProperties_From_ServersAdministratorOperatorSpec

func (operator *ServersAdministratorOperatorSpec) AssignProperties_From_ServersAdministratorOperatorSpec(source *storage.ServersAdministratorOperatorSpec) error

AssignProperties_From_ServersAdministratorOperatorSpec populates our ServersAdministratorOperatorSpec from the provided source ServersAdministratorOperatorSpec

func (*ServersAdministratorOperatorSpec) AssignProperties_To_ServersAdministratorOperatorSpec

func (operator *ServersAdministratorOperatorSpec) AssignProperties_To_ServersAdministratorOperatorSpec(destination *storage.ServersAdministratorOperatorSpec) error

AssignProperties_To_ServersAdministratorOperatorSpec populates the provided destination ServersAdministratorOperatorSpec from our ServersAdministratorOperatorSpec

func (*ServersAdministratorOperatorSpec) DeepCopy

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

func (*ServersAdministratorOperatorSpec) DeepCopyInto

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

type ServersAdministrator_STATUS

type ServersAdministrator_STATUS struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorType_STATUS `json:"administratorType,omitempty"`

	// AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.
	AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"`

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

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

	// Login: Login name of the server administrator.
	Login *string `json:"login,omitempty"`

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

	// Sid: SID (object ID) of the server administrator.
	Sid *string `json:"sid,omitempty"`

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

	// TenantId: Tenant ID of the administrator.
	TenantId *string `json:"tenantId,omitempty"`

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

func (*ServersAdministrator_STATUS) AssignProperties_From_ServersAdministrator_STATUS

func (administrator *ServersAdministrator_STATUS) AssignProperties_From_ServersAdministrator_STATUS(source *storage.ServersAdministrator_STATUS) error

AssignProperties_From_ServersAdministrator_STATUS populates our ServersAdministrator_STATUS from the provided source ServersAdministrator_STATUS

func (*ServersAdministrator_STATUS) AssignProperties_To_ServersAdministrator_STATUS

func (administrator *ServersAdministrator_STATUS) AssignProperties_To_ServersAdministrator_STATUS(destination *storage.ServersAdministrator_STATUS) error

AssignProperties_To_ServersAdministrator_STATUS populates the provided destination ServersAdministrator_STATUS from our ServersAdministrator_STATUS

func (*ServersAdministrator_STATUS) ConvertStatusFrom

func (administrator *ServersAdministrator_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersAdministrator_STATUS from the provided source

func (*ServersAdministrator_STATUS) ConvertStatusTo

func (administrator *ServersAdministrator_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersAdministrator_STATUS

func (*ServersAdministrator_STATUS) DeepCopy

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

func (*ServersAdministrator_STATUS) DeepCopyInto

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

func (*ServersAdministrator_STATUS) NewEmptyARMValue

func (administrator *ServersAdministrator_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAdministrator_STATUS) PopulateFromARM

func (administrator *ServersAdministrator_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAdministrator_Spec

type ServersAdministrator_Spec struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorType `json:"administratorType,omitempty"`

	// +kubebuilder:validation:Required
	// Login: Login name of the server administrator.
	Login *string `json:"login,omitempty"`

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

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

	// Sid: SID (object ID) of the server administrator.
	Sid *AzureCoreUuid `json:"sid,omitempty" optionalConfigMapPair:"Sid"`

	// SidFromConfig: SID (object ID) of the server administrator.
	SidFromConfig *genruntime.ConfigMapReference `json:"sidFromConfig,omitempty" optionalConfigMapPair:"Sid"`

	// TenantId: Tenant ID of the administrator.
	TenantId *AzureCoreUuid `json:"tenantId,omitempty" optionalConfigMapPair:"TenantId"`

	// TenantIdFromConfig: Tenant ID of the administrator.
	TenantIdFromConfig *genruntime.ConfigMapReference `json:"tenantIdFromConfig,omitempty" optionalConfigMapPair:"TenantId"`
}

func (*ServersAdministrator_Spec) AssignProperties_From_ServersAdministrator_Spec

func (administrator *ServersAdministrator_Spec) AssignProperties_From_ServersAdministrator_Spec(source *storage.ServersAdministrator_Spec) error

AssignProperties_From_ServersAdministrator_Spec populates our ServersAdministrator_Spec from the provided source ServersAdministrator_Spec

func (*ServersAdministrator_Spec) AssignProperties_To_ServersAdministrator_Spec

func (administrator *ServersAdministrator_Spec) AssignProperties_To_ServersAdministrator_Spec(destination *storage.ServersAdministrator_Spec) error

AssignProperties_To_ServersAdministrator_Spec populates the provided destination ServersAdministrator_Spec from our ServersAdministrator_Spec

func (*ServersAdministrator_Spec) ConvertSpecFrom

func (administrator *ServersAdministrator_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersAdministrator_Spec from the provided source

func (*ServersAdministrator_Spec) ConvertSpecTo

func (administrator *ServersAdministrator_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersAdministrator_Spec

func (*ServersAdministrator_Spec) ConvertToARM

func (administrator *ServersAdministrator_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersAdministrator_Spec) DeepCopy

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

func (*ServersAdministrator_Spec) DeepCopyInto

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

func (*ServersAdministrator_Spec) Initialize_From_ServersAdministrator_STATUS

func (administrator *ServersAdministrator_Spec) Initialize_From_ServersAdministrator_STATUS(source *ServersAdministrator_STATUS) error

Initialize_From_ServersAdministrator_STATUS populates our ServersAdministrator_Spec from the provided source ServersAdministrator_STATUS

func (*ServersAdministrator_Spec) NewEmptyARMValue

func (administrator *ServersAdministrator_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAdministrator_Spec) OriginalVersion

func (administrator *ServersAdministrator_Spec) OriginalVersion() string

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

func (*ServersAdministrator_Spec) PopulateFromARM

func (administrator *ServersAdministrator_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAdvancedThreatProtectionSetting

type ServersAdvancedThreatProtectionSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersAdvancedThreatProtectionSetting_Spec   `json:"spec,omitempty"`
	Status            ServersAdvancedThreatProtectionSetting_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverAdvancedThreatProtectionSettings.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advancedThreatProtectionSettings/Default

func (*ServersAdvancedThreatProtectionSetting) AssignProperties_From_ServersAdvancedThreatProtectionSetting

func (setting *ServersAdvancedThreatProtectionSetting) AssignProperties_From_ServersAdvancedThreatProtectionSetting(source *storage.ServersAdvancedThreatProtectionSetting) error

AssignProperties_From_ServersAdvancedThreatProtectionSetting populates our ServersAdvancedThreatProtectionSetting from the provided source ServersAdvancedThreatProtectionSetting

func (*ServersAdvancedThreatProtectionSetting) AssignProperties_To_ServersAdvancedThreatProtectionSetting

func (setting *ServersAdvancedThreatProtectionSetting) AssignProperties_To_ServersAdvancedThreatProtectionSetting(destination *storage.ServersAdvancedThreatProtectionSetting) error

AssignProperties_To_ServersAdvancedThreatProtectionSetting populates the provided destination ServersAdvancedThreatProtectionSetting from our ServersAdvancedThreatProtectionSetting

func (*ServersAdvancedThreatProtectionSetting) AzureName

func (setting *ServersAdvancedThreatProtectionSetting) AzureName() string

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

func (*ServersAdvancedThreatProtectionSetting) ConfigMapDestinationExpressions

func (setting *ServersAdvancedThreatProtectionSetting) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersAdvancedThreatProtectionSetting) ConvertFrom

func (setting *ServersAdvancedThreatProtectionSetting) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersAdvancedThreatProtectionSetting from the provided hub ServersAdvancedThreatProtectionSetting

func (*ServersAdvancedThreatProtectionSetting) ConvertTo

ConvertTo populates the provided hub ServersAdvancedThreatProtectionSetting from our ServersAdvancedThreatProtectionSetting

func (*ServersAdvancedThreatProtectionSetting) DeepCopy

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

func (*ServersAdvancedThreatProtectionSetting) DeepCopyInto

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

func (*ServersAdvancedThreatProtectionSetting) DeepCopyObject

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

func (ServersAdvancedThreatProtectionSetting) GetAPIVersion

func (setting ServersAdvancedThreatProtectionSetting) GetAPIVersion() string

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

func (*ServersAdvancedThreatProtectionSetting) GetConditions

GetConditions returns the conditions of the resource

func (*ServersAdvancedThreatProtectionSetting) GetResourceScope

GetResourceScope returns the scope of the resource

func (*ServersAdvancedThreatProtectionSetting) GetSpec

GetSpec returns the specification of this resource

func (*ServersAdvancedThreatProtectionSetting) GetStatus

GetStatus returns the status of this resource

func (*ServersAdvancedThreatProtectionSetting) GetSupportedOperations

func (setting *ServersAdvancedThreatProtectionSetting) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersAdvancedThreatProtectionSetting) GetType

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/advancedThreatProtectionSettings"

func (*ServersAdvancedThreatProtectionSetting) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersAdvancedThreatProtectionSetting) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersAdvancedThreatProtectionSetting) OriginalGVK

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

func (*ServersAdvancedThreatProtectionSetting) Owner

Owner returns the ResourceReference of the owner

func (*ServersAdvancedThreatProtectionSetting) SecretDestinationExpressions

func (setting *ServersAdvancedThreatProtectionSetting) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersAdvancedThreatProtectionSetting) SetConditions

func (setting *ServersAdvancedThreatProtectionSetting) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersAdvancedThreatProtectionSetting) SetStatus

SetStatus sets the status of this resource

type ServersAdvancedThreatProtectionSettingList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverAdvancedThreatProtectionSettings.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advancedThreatProtectionSettings/Default

func (*ServersAdvancedThreatProtectionSettingList) DeepCopy

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

func (*ServersAdvancedThreatProtectionSettingList) DeepCopyInto

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

func (*ServersAdvancedThreatProtectionSettingList) DeepCopyObject

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

type ServersAdvancedThreatProtectionSettingOperatorSpec

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

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

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

func (*ServersAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_From_ServersAdvancedThreatProtectionSettingOperatorSpec

func (operator *ServersAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_From_ServersAdvancedThreatProtectionSettingOperatorSpec(source *storage.ServersAdvancedThreatProtectionSettingOperatorSpec) error

AssignProperties_From_ServersAdvancedThreatProtectionSettingOperatorSpec populates our ServersAdvancedThreatProtectionSettingOperatorSpec from the provided source ServersAdvancedThreatProtectionSettingOperatorSpec

func (*ServersAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_To_ServersAdvancedThreatProtectionSettingOperatorSpec

func (operator *ServersAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_To_ServersAdvancedThreatProtectionSettingOperatorSpec(destination *storage.ServersAdvancedThreatProtectionSettingOperatorSpec) error

AssignProperties_To_ServersAdvancedThreatProtectionSettingOperatorSpec populates the provided destination ServersAdvancedThreatProtectionSettingOperatorSpec from our ServersAdvancedThreatProtectionSettingOperatorSpec

func (*ServersAdvancedThreatProtectionSettingOperatorSpec) DeepCopy

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

func (*ServersAdvancedThreatProtectionSettingOperatorSpec) DeepCopyInto

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

type ServersAdvancedThreatProtectionSetting_STATUS

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

	// CreationTime: Specifies the UTC creation time of the policy.
	CreationTime *string `json:"creationTime,omitempty"`

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

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

	// State: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been
	// applied yet on the specific database or server.
	State *AdvancedThreatProtectionState_STATUS `json:"state,omitempty"`

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

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

func (*ServersAdvancedThreatProtectionSetting_STATUS) AssignProperties_From_ServersAdvancedThreatProtectionSetting_STATUS

func (setting *ServersAdvancedThreatProtectionSetting_STATUS) AssignProperties_From_ServersAdvancedThreatProtectionSetting_STATUS(source *storage.ServersAdvancedThreatProtectionSetting_STATUS) error

AssignProperties_From_ServersAdvancedThreatProtectionSetting_STATUS populates our ServersAdvancedThreatProtectionSetting_STATUS from the provided source ServersAdvancedThreatProtectionSetting_STATUS

func (*ServersAdvancedThreatProtectionSetting_STATUS) AssignProperties_To_ServersAdvancedThreatProtectionSetting_STATUS

func (setting *ServersAdvancedThreatProtectionSetting_STATUS) AssignProperties_To_ServersAdvancedThreatProtectionSetting_STATUS(destination *storage.ServersAdvancedThreatProtectionSetting_STATUS) error

AssignProperties_To_ServersAdvancedThreatProtectionSetting_STATUS populates the provided destination ServersAdvancedThreatProtectionSetting_STATUS from our ServersAdvancedThreatProtectionSetting_STATUS

func (*ServersAdvancedThreatProtectionSetting_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersAdvancedThreatProtectionSetting_STATUS from the provided source

func (*ServersAdvancedThreatProtectionSetting_STATUS) ConvertStatusTo

ConvertStatusTo populates the provided destination from our ServersAdvancedThreatProtectionSetting_STATUS

func (*ServersAdvancedThreatProtectionSetting_STATUS) DeepCopy

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

func (*ServersAdvancedThreatProtectionSetting_STATUS) DeepCopyInto

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

func (*ServersAdvancedThreatProtectionSetting_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAdvancedThreatProtectionSetting_STATUS) PopulateFromARM

func (setting *ServersAdvancedThreatProtectionSetting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAdvancedThreatProtectionSetting_Spec

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

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

	// +kubebuilder:validation:Required
	// State: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been
	// applied yet on the specific database or server.
	State *AdvancedThreatProtectionState `json:"state,omitempty"`
}

func (*ServersAdvancedThreatProtectionSetting_Spec) AssignProperties_From_ServersAdvancedThreatProtectionSetting_Spec

func (setting *ServersAdvancedThreatProtectionSetting_Spec) AssignProperties_From_ServersAdvancedThreatProtectionSetting_Spec(source *storage.ServersAdvancedThreatProtectionSetting_Spec) error

AssignProperties_From_ServersAdvancedThreatProtectionSetting_Spec populates our ServersAdvancedThreatProtectionSetting_Spec from the provided source ServersAdvancedThreatProtectionSetting_Spec

func (*ServersAdvancedThreatProtectionSetting_Spec) AssignProperties_To_ServersAdvancedThreatProtectionSetting_Spec

func (setting *ServersAdvancedThreatProtectionSetting_Spec) AssignProperties_To_ServersAdvancedThreatProtectionSetting_Spec(destination *storage.ServersAdvancedThreatProtectionSetting_Spec) error

AssignProperties_To_ServersAdvancedThreatProtectionSetting_Spec populates the provided destination ServersAdvancedThreatProtectionSetting_Spec from our ServersAdvancedThreatProtectionSetting_Spec

func (*ServersAdvancedThreatProtectionSetting_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersAdvancedThreatProtectionSetting_Spec from the provided source

func (*ServersAdvancedThreatProtectionSetting_Spec) ConvertSpecTo

ConvertSpecTo populates the provided destination from our ServersAdvancedThreatProtectionSetting_Spec

func (*ServersAdvancedThreatProtectionSetting_Spec) ConvertToARM

func (setting *ServersAdvancedThreatProtectionSetting_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersAdvancedThreatProtectionSetting_Spec) DeepCopy

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

func (*ServersAdvancedThreatProtectionSetting_Spec) DeepCopyInto

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

func (*ServersAdvancedThreatProtectionSetting_Spec) Initialize_From_ServersAdvancedThreatProtectionSetting_STATUS

func (setting *ServersAdvancedThreatProtectionSetting_Spec) Initialize_From_ServersAdvancedThreatProtectionSetting_STATUS(source *ServersAdvancedThreatProtectionSetting_STATUS) error

Initialize_From_ServersAdvancedThreatProtectionSetting_STATUS populates our ServersAdvancedThreatProtectionSetting_Spec from the provided source ServersAdvancedThreatProtectionSetting_STATUS

func (*ServersAdvancedThreatProtectionSetting_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAdvancedThreatProtectionSetting_Spec) OriginalVersion

func (setting *ServersAdvancedThreatProtectionSetting_Spec) OriginalVersion() string

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

func (*ServersAdvancedThreatProtectionSetting_Spec) PopulateFromARM

func (setting *ServersAdvancedThreatProtectionSetting_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAuditingSetting

type ServersAuditingSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersAuditingSetting_Spec   `json:"spec,omitempty"`
	Status            ServersAuditingSetting_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/blobAuditing.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/default

func (*ServersAuditingSetting) AssignProperties_From_ServersAuditingSetting

func (setting *ServersAuditingSetting) AssignProperties_From_ServersAuditingSetting(source *storage.ServersAuditingSetting) error

AssignProperties_From_ServersAuditingSetting populates our ServersAuditingSetting from the provided source ServersAuditingSetting

func (*ServersAuditingSetting) AssignProperties_To_ServersAuditingSetting

func (setting *ServersAuditingSetting) AssignProperties_To_ServersAuditingSetting(destination *storage.ServersAuditingSetting) error

AssignProperties_To_ServersAuditingSetting populates the provided destination ServersAuditingSetting from our ServersAuditingSetting

func (*ServersAuditingSetting) AzureName

func (setting *ServersAuditingSetting) AzureName() string

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

func (*ServersAuditingSetting) ConfigMapDestinationExpressions

func (setting *ServersAuditingSetting) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersAuditingSetting) ConvertFrom

func (setting *ServersAuditingSetting) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersAuditingSetting from the provided hub ServersAuditingSetting

func (*ServersAuditingSetting) ConvertTo

func (setting *ServersAuditingSetting) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersAuditingSetting from our ServersAuditingSetting

func (*ServersAuditingSetting) DeepCopy

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

func (*ServersAuditingSetting) DeepCopyInto

func (in *ServersAuditingSetting) DeepCopyInto(out *ServersAuditingSetting)

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

func (*ServersAuditingSetting) DeepCopyObject

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

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

func (ServersAuditingSetting) GetAPIVersion

func (setting ServersAuditingSetting) GetAPIVersion() string

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

func (*ServersAuditingSetting) GetConditions

func (setting *ServersAuditingSetting) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersAuditingSetting) GetResourceScope

func (setting *ServersAuditingSetting) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersAuditingSetting) GetSpec

GetSpec returns the specification of this resource

func (*ServersAuditingSetting) GetStatus

GetStatus returns the status of this resource

func (*ServersAuditingSetting) GetSupportedOperations

func (setting *ServersAuditingSetting) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersAuditingSetting) GetType

func (setting *ServersAuditingSetting) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/auditingSettings"

func (*ServersAuditingSetting) InitializeSpec

func (setting *ServersAuditingSetting) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersAuditingSetting) NewEmptyStatus

func (setting *ServersAuditingSetting) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersAuditingSetting) OriginalGVK

func (setting *ServersAuditingSetting) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersAuditingSetting) Owner

Owner returns the ResourceReference of the owner

func (*ServersAuditingSetting) SecretDestinationExpressions

func (setting *ServersAuditingSetting) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersAuditingSetting) SetConditions

func (setting *ServersAuditingSetting) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersAuditingSetting) SetStatus

func (setting *ServersAuditingSetting) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersAuditingSettingList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/blobAuditing.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/default

func (*ServersAuditingSettingList) DeepCopy

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

func (*ServersAuditingSettingList) DeepCopyInto

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

func (*ServersAuditingSettingList) DeepCopyObject

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

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

type ServersAuditingSettingOperatorSpec

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

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

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

func (*ServersAuditingSettingOperatorSpec) AssignProperties_From_ServersAuditingSettingOperatorSpec

func (operator *ServersAuditingSettingOperatorSpec) AssignProperties_From_ServersAuditingSettingOperatorSpec(source *storage.ServersAuditingSettingOperatorSpec) error

AssignProperties_From_ServersAuditingSettingOperatorSpec populates our ServersAuditingSettingOperatorSpec from the provided source ServersAuditingSettingOperatorSpec

func (*ServersAuditingSettingOperatorSpec) AssignProperties_To_ServersAuditingSettingOperatorSpec

func (operator *ServersAuditingSettingOperatorSpec) AssignProperties_To_ServersAuditingSettingOperatorSpec(destination *storage.ServersAuditingSettingOperatorSpec) error

AssignProperties_To_ServersAuditingSettingOperatorSpec populates the provided destination ServersAuditingSettingOperatorSpec from our ServersAuditingSettingOperatorSpec

func (*ServersAuditingSettingOperatorSpec) DeepCopy

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

func (*ServersAuditingSettingOperatorSpec) DeepCopyInto

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

type ServersAuditingSetting_STATUS

type ServersAuditingSetting_STATUS struct {
	// AuditActionsAndGroups: Specifies the Actions-Groups and Actions to audit.
	// The recommended set of action groups to use is the following combination - this will audit all the queries and stored
	// procedures executed against the database, as well as successful and failed logins:
	// BATCH_COMPLETED_GROUP,
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
	// FAILED_DATABASE_AUTHENTICATION_GROUP.
	// This above combination is also the set that is configured by default when enabling auditing from the Azure portal.
	// The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using
	// unnecessary groups could lead to very large quantities of audit records):
	// APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
	// BACKUP_RESTORE_GROUP
	// DATABASE_LOGOUT_GROUP
	// DATABASE_OBJECT_CHANGE_GROUP
	// DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
	// DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
	// DATABASE_OPERATION_GROUP
	// DATABASE_PERMISSION_CHANGE_GROUP
	// DATABASE_PRINCIPAL_CHANGE_GROUP
	// DATABASE_PRINCIPAL_IMPERSONATION_GROUP
	// DATABASE_ROLE_MEMBER_CHANGE_GROUP
	// FAILED_DATABASE_AUTHENTICATION_GROUP
	// SCHEMA_OBJECT_ACCESS_GROUP
	// SCHEMA_OBJECT_CHANGE_GROUP
	// SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
	// SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
	// USER_CHANGE_PASSWORD_GROUP
	// BATCH_STARTED_GROUP
	// BATCH_COMPLETED_GROUP
	// DBCC_GROUP
	// DATABASE_OWNERSHIP_CHANGE_GROUP
	// DATABASE_CHANGE_GROUP
	// LEDGER_OPERATION_GROUP
	// These are groups that cover all sql statements and stored procedures executed against the database, and should not be
	// used in combination with other groups as this will result in duplicate audit logs.
	// For more information, see [Database-Level Audit Action
	// Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
	// For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server
	// auditing policy). The supported actions to audit are:
	// SELECT
	// UPDATE
	// INSERT
	// DELETE
	// EXECUTE
	// RECEIVE
	// REFERENCES
	// The general form for defining an action to be audited is:
	// {action} ON {object} BY {principal}
	// Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire
	// database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
	// For example:
	// SELECT on dbo.myTable by public
	// SELECT on DATABASE::myDatabase by public
	// SELECT on SCHEMA::mySchema by public
	// For more information, see [Database-Level Audit
	// Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
	AuditActionsAndGroups []string `json:"auditActionsAndGroups,omitempty"`

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

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

	// IsAzureMonitorTargetEnabled: Specifies whether audit events are sent to Azure Monitor.
	// In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
	// When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on
	// the database should be also created.
	// Note that for server level audit you should use the 'master' database as {databaseName}.
	// Diagnostic Settings URI format:
	// PUT
	// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"`

	// IsDevopsAuditEnabled: Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure
	// Monitor.
	// In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and
	// 'IsDevopsAuditEnabled' as true
	// When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on
	// the master database should also be created.
	// Diagnostic Settings URI format:
	// PUT
	// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsDevopsAuditEnabled *bool `json:"isDevopsAuditEnabled,omitempty"`

	// IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage
	IsManagedIdentityInUse *bool `json:"isManagedIdentityInUse,omitempty"`

	// IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage's secondary key.
	IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"`

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

	// QueueDelayMs: Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be
	// processed.
	// The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
	QueueDelayMs *int `json:"queueDelayMs,omitempty"`

	// RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// State: Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are
	// required.
	State *BlobAuditingPolicyState_STATUS `json:"state,omitempty"`

	// StorageAccountSubscriptionId: Specifies the blob storage subscription Id.
	StorageAccountSubscriptionId *string `json:"storageAccountSubscriptionId,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is
	// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`

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

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

func (*ServersAuditingSetting_STATUS) AssignProperties_From_ServersAuditingSetting_STATUS

func (setting *ServersAuditingSetting_STATUS) AssignProperties_From_ServersAuditingSetting_STATUS(source *storage.ServersAuditingSetting_STATUS) error

AssignProperties_From_ServersAuditingSetting_STATUS populates our ServersAuditingSetting_STATUS from the provided source ServersAuditingSetting_STATUS

func (*ServersAuditingSetting_STATUS) AssignProperties_To_ServersAuditingSetting_STATUS

func (setting *ServersAuditingSetting_STATUS) AssignProperties_To_ServersAuditingSetting_STATUS(destination *storage.ServersAuditingSetting_STATUS) error

AssignProperties_To_ServersAuditingSetting_STATUS populates the provided destination ServersAuditingSetting_STATUS from our ServersAuditingSetting_STATUS

func (*ServersAuditingSetting_STATUS) ConvertStatusFrom

func (setting *ServersAuditingSetting_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersAuditingSetting_STATUS from the provided source

func (*ServersAuditingSetting_STATUS) ConvertStatusTo

func (setting *ServersAuditingSetting_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersAuditingSetting_STATUS

func (*ServersAuditingSetting_STATUS) DeepCopy

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

func (*ServersAuditingSetting_STATUS) DeepCopyInto

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

func (*ServersAuditingSetting_STATUS) NewEmptyARMValue

func (setting *ServersAuditingSetting_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAuditingSetting_STATUS) PopulateFromARM

func (setting *ServersAuditingSetting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAuditingSetting_Spec

type ServersAuditingSetting_Spec struct {
	// AuditActionsAndGroups: Specifies the Actions-Groups and Actions to audit.
	// The recommended set of action groups to use is the following combination - this will audit all the queries and stored
	// procedures executed against the database, as well as successful and failed logins:
	// BATCH_COMPLETED_GROUP,
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
	// FAILED_DATABASE_AUTHENTICATION_GROUP.
	// This above combination is also the set that is configured by default when enabling auditing from the Azure portal.
	// The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using
	// unnecessary groups could lead to very large quantities of audit records):
	// APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
	// BACKUP_RESTORE_GROUP
	// DATABASE_LOGOUT_GROUP
	// DATABASE_OBJECT_CHANGE_GROUP
	// DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
	// DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
	// DATABASE_OPERATION_GROUP
	// DATABASE_PERMISSION_CHANGE_GROUP
	// DATABASE_PRINCIPAL_CHANGE_GROUP
	// DATABASE_PRINCIPAL_IMPERSONATION_GROUP
	// DATABASE_ROLE_MEMBER_CHANGE_GROUP
	// FAILED_DATABASE_AUTHENTICATION_GROUP
	// SCHEMA_OBJECT_ACCESS_GROUP
	// SCHEMA_OBJECT_CHANGE_GROUP
	// SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
	// SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
	// USER_CHANGE_PASSWORD_GROUP
	// BATCH_STARTED_GROUP
	// BATCH_COMPLETED_GROUP
	// DBCC_GROUP
	// DATABASE_OWNERSHIP_CHANGE_GROUP
	// DATABASE_CHANGE_GROUP
	// LEDGER_OPERATION_GROUP
	// These are groups that cover all sql statements and stored procedures executed against the database, and should not be
	// used in combination with other groups as this will result in duplicate audit logs.
	// For more information, see [Database-Level Audit Action
	// Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
	// For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server
	// auditing policy). The supported actions to audit are:
	// SELECT
	// UPDATE
	// INSERT
	// DELETE
	// EXECUTE
	// RECEIVE
	// REFERENCES
	// The general form for defining an action to be audited is:
	// {action} ON {object} BY {principal}
	// Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire
	// database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
	// For example:
	// SELECT on dbo.myTable by public
	// SELECT on DATABASE::myDatabase by public
	// SELECT on SCHEMA::mySchema by public
	// For more information, see [Database-Level Audit
	// Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
	AuditActionsAndGroups []string `json:"auditActionsAndGroups,omitempty"`

	// IsAzureMonitorTargetEnabled: Specifies whether audit events are sent to Azure Monitor.
	// In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
	// When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on
	// the database should be also created.
	// Note that for server level audit you should use the 'master' database as {databaseName}.
	// Diagnostic Settings URI format:
	// PUT
	// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"`

	// IsDevopsAuditEnabled: Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure
	// Monitor.
	// In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and
	// 'IsDevopsAuditEnabled' as true
	// When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on
	// the master database should also be created.
	// Diagnostic Settings URI format:
	// PUT
	// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsDevopsAuditEnabled *bool `json:"isDevopsAuditEnabled,omitempty"`

	// IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage
	IsManagedIdentityInUse *bool `json:"isManagedIdentityInUse,omitempty"`

	// IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage's secondary key.
	IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"`

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

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

	// QueueDelayMs: Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be
	// processed.
	// The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
	QueueDelayMs *int `json:"queueDelayMs,omitempty"`

	// RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// +kubebuilder:validation:Required
	// State: Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are
	// required.
	State *BlobAuditingPolicyState `json:"state,omitempty"`

	// StorageAccountAccessKey: Specifies the identifier key of the auditing storage account.
	// If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server
	// system-assigned managed identity to access the storage.
	// Prerequisites for using managed identity authentication:
	// 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
	// 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the
	// server identity.
	// For more information, see [Auditing to storage using Managed Identity
	// authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
	StorageAccountAccessKey *genruntime.SecretReference `json:"storageAccountAccessKey,omitempty"`

	// StorageAccountSubscriptionId: Specifies the blob storage subscription Id.
	StorageAccountSubscriptionId *AzureCoreUuid `json:"storageAccountSubscriptionId,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is
	// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`
}

func (*ServersAuditingSetting_Spec) AssignProperties_From_ServersAuditingSetting_Spec

func (setting *ServersAuditingSetting_Spec) AssignProperties_From_ServersAuditingSetting_Spec(source *storage.ServersAuditingSetting_Spec) error

AssignProperties_From_ServersAuditingSetting_Spec populates our ServersAuditingSetting_Spec from the provided source ServersAuditingSetting_Spec

func (*ServersAuditingSetting_Spec) AssignProperties_To_ServersAuditingSetting_Spec

func (setting *ServersAuditingSetting_Spec) AssignProperties_To_ServersAuditingSetting_Spec(destination *storage.ServersAuditingSetting_Spec) error

AssignProperties_To_ServersAuditingSetting_Spec populates the provided destination ServersAuditingSetting_Spec from our ServersAuditingSetting_Spec

func (*ServersAuditingSetting_Spec) ConvertSpecFrom

func (setting *ServersAuditingSetting_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersAuditingSetting_Spec from the provided source

func (*ServersAuditingSetting_Spec) ConvertSpecTo

func (setting *ServersAuditingSetting_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersAuditingSetting_Spec

func (*ServersAuditingSetting_Spec) ConvertToARM

func (setting *ServersAuditingSetting_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersAuditingSetting_Spec) DeepCopy

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

func (*ServersAuditingSetting_Spec) DeepCopyInto

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

func (*ServersAuditingSetting_Spec) Initialize_From_ServersAuditingSetting_STATUS

func (setting *ServersAuditingSetting_Spec) Initialize_From_ServersAuditingSetting_STATUS(source *ServersAuditingSetting_STATUS) error

Initialize_From_ServersAuditingSetting_STATUS populates our ServersAuditingSetting_Spec from the provided source ServersAuditingSetting_STATUS

func (*ServersAuditingSetting_Spec) NewEmptyARMValue

func (setting *ServersAuditingSetting_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAuditingSetting_Spec) OriginalVersion

func (setting *ServersAuditingSetting_Spec) OriginalVersion() string

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

func (*ServersAuditingSetting_Spec) PopulateFromARM

func (setting *ServersAuditingSetting_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAzureADOnlyAuthentication

type ServersAzureADOnlyAuthentication struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersAzureADOnlyAuthentication_Spec   `json:"spec,omitempty"`
	Status            ServersAzureADOnlyAuthentication_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverAzureAdOnlyAuthentications.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/Default

func (*ServersAzureADOnlyAuthentication) AssignProperties_From_ServersAzureADOnlyAuthentication

func (authentication *ServersAzureADOnlyAuthentication) AssignProperties_From_ServersAzureADOnlyAuthentication(source *storage.ServersAzureADOnlyAuthentication) error

AssignProperties_From_ServersAzureADOnlyAuthentication populates our ServersAzureADOnlyAuthentication from the provided source ServersAzureADOnlyAuthentication

func (*ServersAzureADOnlyAuthentication) AssignProperties_To_ServersAzureADOnlyAuthentication

func (authentication *ServersAzureADOnlyAuthentication) AssignProperties_To_ServersAzureADOnlyAuthentication(destination *storage.ServersAzureADOnlyAuthentication) error

AssignProperties_To_ServersAzureADOnlyAuthentication populates the provided destination ServersAzureADOnlyAuthentication from our ServersAzureADOnlyAuthentication

func (*ServersAzureADOnlyAuthentication) AzureName

func (authentication *ServersAzureADOnlyAuthentication) AzureName() string

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

func (*ServersAzureADOnlyAuthentication) ConfigMapDestinationExpressions

func (authentication *ServersAzureADOnlyAuthentication) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersAzureADOnlyAuthentication) ConvertFrom

func (authentication *ServersAzureADOnlyAuthentication) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersAzureADOnlyAuthentication from the provided hub ServersAzureADOnlyAuthentication

func (*ServersAzureADOnlyAuthentication) ConvertTo

func (authentication *ServersAzureADOnlyAuthentication) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersAzureADOnlyAuthentication from our ServersAzureADOnlyAuthentication

func (*ServersAzureADOnlyAuthentication) DeepCopy

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

func (*ServersAzureADOnlyAuthentication) DeepCopyInto

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

func (*ServersAzureADOnlyAuthentication) DeepCopyObject

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

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

func (ServersAzureADOnlyAuthentication) GetAPIVersion

func (authentication ServersAzureADOnlyAuthentication) GetAPIVersion() string

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

func (*ServersAzureADOnlyAuthentication) GetConditions

func (authentication *ServersAzureADOnlyAuthentication) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersAzureADOnlyAuthentication) GetResourceScope

func (authentication *ServersAzureADOnlyAuthentication) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersAzureADOnlyAuthentication) GetSpec

GetSpec returns the specification of this resource

func (*ServersAzureADOnlyAuthentication) GetStatus

GetStatus returns the status of this resource

func (*ServersAzureADOnlyAuthentication) GetSupportedOperations

func (authentication *ServersAzureADOnlyAuthentication) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersAzureADOnlyAuthentication) GetType

func (authentication *ServersAzureADOnlyAuthentication) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/azureADOnlyAuthentications"

func (*ServersAzureADOnlyAuthentication) InitializeSpec

func (authentication *ServersAzureADOnlyAuthentication) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersAzureADOnlyAuthentication) NewEmptyStatus

func (authentication *ServersAzureADOnlyAuthentication) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersAzureADOnlyAuthentication) OriginalGVK

func (authentication *ServersAzureADOnlyAuthentication) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersAzureADOnlyAuthentication) Owner

Owner returns the ResourceReference of the owner

func (*ServersAzureADOnlyAuthentication) SecretDestinationExpressions

func (authentication *ServersAzureADOnlyAuthentication) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersAzureADOnlyAuthentication) SetConditions

func (authentication *ServersAzureADOnlyAuthentication) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersAzureADOnlyAuthentication) SetStatus

func (authentication *ServersAzureADOnlyAuthentication) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersAzureADOnlyAuthenticationList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverAzureAdOnlyAuthentications.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/Default

func (*ServersAzureADOnlyAuthenticationList) DeepCopy

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

func (*ServersAzureADOnlyAuthenticationList) DeepCopyInto

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

func (*ServersAzureADOnlyAuthenticationList) DeepCopyObject

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

type ServersAzureADOnlyAuthenticationOperatorSpec

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

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

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

func (*ServersAzureADOnlyAuthenticationOperatorSpec) AssignProperties_From_ServersAzureADOnlyAuthenticationOperatorSpec

func (operator *ServersAzureADOnlyAuthenticationOperatorSpec) AssignProperties_From_ServersAzureADOnlyAuthenticationOperatorSpec(source *storage.ServersAzureADOnlyAuthenticationOperatorSpec) error

AssignProperties_From_ServersAzureADOnlyAuthenticationOperatorSpec populates our ServersAzureADOnlyAuthenticationOperatorSpec from the provided source ServersAzureADOnlyAuthenticationOperatorSpec

func (*ServersAzureADOnlyAuthenticationOperatorSpec) AssignProperties_To_ServersAzureADOnlyAuthenticationOperatorSpec

func (operator *ServersAzureADOnlyAuthenticationOperatorSpec) AssignProperties_To_ServersAzureADOnlyAuthenticationOperatorSpec(destination *storage.ServersAzureADOnlyAuthenticationOperatorSpec) error

AssignProperties_To_ServersAzureADOnlyAuthenticationOperatorSpec populates the provided destination ServersAzureADOnlyAuthenticationOperatorSpec from our ServersAzureADOnlyAuthenticationOperatorSpec

func (*ServersAzureADOnlyAuthenticationOperatorSpec) DeepCopy

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

func (*ServersAzureADOnlyAuthenticationOperatorSpec) DeepCopyInto

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

type ServersAzureADOnlyAuthentication_STATUS

type ServersAzureADOnlyAuthentication_STATUS struct {
	// AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.
	AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"`

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

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

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

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

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

func (*ServersAzureADOnlyAuthentication_STATUS) AssignProperties_From_ServersAzureADOnlyAuthentication_STATUS

func (authentication *ServersAzureADOnlyAuthentication_STATUS) AssignProperties_From_ServersAzureADOnlyAuthentication_STATUS(source *storage.ServersAzureADOnlyAuthentication_STATUS) error

AssignProperties_From_ServersAzureADOnlyAuthentication_STATUS populates our ServersAzureADOnlyAuthentication_STATUS from the provided source ServersAzureADOnlyAuthentication_STATUS

func (*ServersAzureADOnlyAuthentication_STATUS) AssignProperties_To_ServersAzureADOnlyAuthentication_STATUS

func (authentication *ServersAzureADOnlyAuthentication_STATUS) AssignProperties_To_ServersAzureADOnlyAuthentication_STATUS(destination *storage.ServersAzureADOnlyAuthentication_STATUS) error

AssignProperties_To_ServersAzureADOnlyAuthentication_STATUS populates the provided destination ServersAzureADOnlyAuthentication_STATUS from our ServersAzureADOnlyAuthentication_STATUS

func (*ServersAzureADOnlyAuthentication_STATUS) ConvertStatusFrom

func (authentication *ServersAzureADOnlyAuthentication_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersAzureADOnlyAuthentication_STATUS from the provided source

func (*ServersAzureADOnlyAuthentication_STATUS) ConvertStatusTo

func (authentication *ServersAzureADOnlyAuthentication_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersAzureADOnlyAuthentication_STATUS

func (*ServersAzureADOnlyAuthentication_STATUS) DeepCopy

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

func (*ServersAzureADOnlyAuthentication_STATUS) DeepCopyInto

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

func (*ServersAzureADOnlyAuthentication_STATUS) NewEmptyARMValue

func (authentication *ServersAzureADOnlyAuthentication_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAzureADOnlyAuthentication_STATUS) PopulateFromARM

func (authentication *ServersAzureADOnlyAuthentication_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersAzureADOnlyAuthentication_Spec

type ServersAzureADOnlyAuthentication_Spec struct {
	// +kubebuilder:validation:Required
	// AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.
	AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"`

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

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

func (*ServersAzureADOnlyAuthentication_Spec) AssignProperties_From_ServersAzureADOnlyAuthentication_Spec

func (authentication *ServersAzureADOnlyAuthentication_Spec) AssignProperties_From_ServersAzureADOnlyAuthentication_Spec(source *storage.ServersAzureADOnlyAuthentication_Spec) error

AssignProperties_From_ServersAzureADOnlyAuthentication_Spec populates our ServersAzureADOnlyAuthentication_Spec from the provided source ServersAzureADOnlyAuthentication_Spec

func (*ServersAzureADOnlyAuthentication_Spec) AssignProperties_To_ServersAzureADOnlyAuthentication_Spec

func (authentication *ServersAzureADOnlyAuthentication_Spec) AssignProperties_To_ServersAzureADOnlyAuthentication_Spec(destination *storage.ServersAzureADOnlyAuthentication_Spec) error

AssignProperties_To_ServersAzureADOnlyAuthentication_Spec populates the provided destination ServersAzureADOnlyAuthentication_Spec from our ServersAzureADOnlyAuthentication_Spec

func (*ServersAzureADOnlyAuthentication_Spec) ConvertSpecFrom

func (authentication *ServersAzureADOnlyAuthentication_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersAzureADOnlyAuthentication_Spec from the provided source

func (*ServersAzureADOnlyAuthentication_Spec) ConvertSpecTo

func (authentication *ServersAzureADOnlyAuthentication_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersAzureADOnlyAuthentication_Spec

func (*ServersAzureADOnlyAuthentication_Spec) ConvertToARM

func (authentication *ServersAzureADOnlyAuthentication_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersAzureADOnlyAuthentication_Spec) DeepCopy

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

func (*ServersAzureADOnlyAuthentication_Spec) DeepCopyInto

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

func (*ServersAzureADOnlyAuthentication_Spec) Initialize_From_ServersAzureADOnlyAuthentication_STATUS

func (authentication *ServersAzureADOnlyAuthentication_Spec) Initialize_From_ServersAzureADOnlyAuthentication_STATUS(source *ServersAzureADOnlyAuthentication_STATUS) error

Initialize_From_ServersAzureADOnlyAuthentication_STATUS populates our ServersAzureADOnlyAuthentication_Spec from the provided source ServersAzureADOnlyAuthentication_STATUS

func (*ServersAzureADOnlyAuthentication_Spec) NewEmptyARMValue

func (authentication *ServersAzureADOnlyAuthentication_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersAzureADOnlyAuthentication_Spec) OriginalVersion

func (authentication *ServersAzureADOnlyAuthentication_Spec) OriginalVersion() string

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

func (*ServersAzureADOnlyAuthentication_Spec) PopulateFromARM

func (authentication *ServersAzureADOnlyAuthentication_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersConnectionPolicy

type ServersConnectionPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersConnectionPolicy_Spec   `json:"spec,omitempty"`
	Status            ServersConnectionPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverConnectionPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/default

func (*ServersConnectionPolicy) AssignProperties_From_ServersConnectionPolicy

func (policy *ServersConnectionPolicy) AssignProperties_From_ServersConnectionPolicy(source *storage.ServersConnectionPolicy) error

AssignProperties_From_ServersConnectionPolicy populates our ServersConnectionPolicy from the provided source ServersConnectionPolicy

func (*ServersConnectionPolicy) AssignProperties_To_ServersConnectionPolicy

func (policy *ServersConnectionPolicy) AssignProperties_To_ServersConnectionPolicy(destination *storage.ServersConnectionPolicy) error

AssignProperties_To_ServersConnectionPolicy populates the provided destination ServersConnectionPolicy from our ServersConnectionPolicy

func (*ServersConnectionPolicy) AzureName

func (policy *ServersConnectionPolicy) AzureName() string

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

func (*ServersConnectionPolicy) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersConnectionPolicy) ConvertFrom

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

ConvertFrom populates our ServersConnectionPolicy from the provided hub ServersConnectionPolicy

func (*ServersConnectionPolicy) ConvertTo

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

ConvertTo populates the provided hub ServersConnectionPolicy from our ServersConnectionPolicy

func (*ServersConnectionPolicy) DeepCopy

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

func (*ServersConnectionPolicy) DeepCopyInto

func (in *ServersConnectionPolicy) DeepCopyInto(out *ServersConnectionPolicy)

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

func (*ServersConnectionPolicy) DeepCopyObject

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

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

func (ServersConnectionPolicy) GetAPIVersion

func (policy ServersConnectionPolicy) GetAPIVersion() string

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

func (*ServersConnectionPolicy) GetConditions

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

GetConditions returns the conditions of the resource

func (*ServersConnectionPolicy) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*ServersConnectionPolicy) GetSpec

GetSpec returns the specification of this resource

func (*ServersConnectionPolicy) GetStatus

GetStatus returns the status of this resource

func (*ServersConnectionPolicy) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*ServersConnectionPolicy) GetType

func (policy *ServersConnectionPolicy) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/connectionPolicies"

func (*ServersConnectionPolicy) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*ServersConnectionPolicy) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*ServersConnectionPolicy) OriginalGVK

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

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

func (*ServersConnectionPolicy) Owner

Owner returns the ResourceReference of the owner

func (*ServersConnectionPolicy) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersConnectionPolicy) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersConnectionPolicy) SetStatus

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

SetStatus sets the status of this resource

type ServersConnectionPolicyList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverConnectionPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/default

func (*ServersConnectionPolicyList) DeepCopy

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

func (*ServersConnectionPolicyList) DeepCopyInto

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

func (*ServersConnectionPolicyList) DeepCopyObject

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

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

type ServersConnectionPolicyOperatorSpec

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

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

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

func (*ServersConnectionPolicyOperatorSpec) AssignProperties_From_ServersConnectionPolicyOperatorSpec

func (operator *ServersConnectionPolicyOperatorSpec) AssignProperties_From_ServersConnectionPolicyOperatorSpec(source *storage.ServersConnectionPolicyOperatorSpec) error

AssignProperties_From_ServersConnectionPolicyOperatorSpec populates our ServersConnectionPolicyOperatorSpec from the provided source ServersConnectionPolicyOperatorSpec

func (*ServersConnectionPolicyOperatorSpec) AssignProperties_To_ServersConnectionPolicyOperatorSpec

func (operator *ServersConnectionPolicyOperatorSpec) AssignProperties_To_ServersConnectionPolicyOperatorSpec(destination *storage.ServersConnectionPolicyOperatorSpec) error

AssignProperties_To_ServersConnectionPolicyOperatorSpec populates the provided destination ServersConnectionPolicyOperatorSpec from our ServersConnectionPolicyOperatorSpec

func (*ServersConnectionPolicyOperatorSpec) DeepCopy

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

func (*ServersConnectionPolicyOperatorSpec) DeepCopyInto

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

type ServersConnectionPolicy_STATUS

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

	// ConnectionType: The server connection type.
	ConnectionType *ServerConnectionType_STATUS `json:"connectionType,omitempty"`

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

	// Kind: Metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`

	// Location: Resource location.
	Location *string `json:"location,omitempty"`

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

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

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

func (*ServersConnectionPolicy_STATUS) AssignProperties_From_ServersConnectionPolicy_STATUS

func (policy *ServersConnectionPolicy_STATUS) AssignProperties_From_ServersConnectionPolicy_STATUS(source *storage.ServersConnectionPolicy_STATUS) error

AssignProperties_From_ServersConnectionPolicy_STATUS populates our ServersConnectionPolicy_STATUS from the provided source ServersConnectionPolicy_STATUS

func (*ServersConnectionPolicy_STATUS) AssignProperties_To_ServersConnectionPolicy_STATUS

func (policy *ServersConnectionPolicy_STATUS) AssignProperties_To_ServersConnectionPolicy_STATUS(destination *storage.ServersConnectionPolicy_STATUS) error

AssignProperties_To_ServersConnectionPolicy_STATUS populates the provided destination ServersConnectionPolicy_STATUS from our ServersConnectionPolicy_STATUS

func (*ServersConnectionPolicy_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our ServersConnectionPolicy_STATUS from the provided source

func (*ServersConnectionPolicy_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our ServersConnectionPolicy_STATUS

func (*ServersConnectionPolicy_STATUS) DeepCopy

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

func (*ServersConnectionPolicy_STATUS) DeepCopyInto

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

func (*ServersConnectionPolicy_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersConnectionPolicy_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersConnectionPolicy_Spec

type ServersConnectionPolicy_Spec struct {
	// +kubebuilder:validation:Required
	// ConnectionType: The server connection type.
	ConnectionType *ServerConnectionType `json:"connectionType,omitempty"`

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

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

func (*ServersConnectionPolicy_Spec) AssignProperties_From_ServersConnectionPolicy_Spec

func (policy *ServersConnectionPolicy_Spec) AssignProperties_From_ServersConnectionPolicy_Spec(source *storage.ServersConnectionPolicy_Spec) error

AssignProperties_From_ServersConnectionPolicy_Spec populates our ServersConnectionPolicy_Spec from the provided source ServersConnectionPolicy_Spec

func (*ServersConnectionPolicy_Spec) AssignProperties_To_ServersConnectionPolicy_Spec

func (policy *ServersConnectionPolicy_Spec) AssignProperties_To_ServersConnectionPolicy_Spec(destination *storage.ServersConnectionPolicy_Spec) error

AssignProperties_To_ServersConnectionPolicy_Spec populates the provided destination ServersConnectionPolicy_Spec from our ServersConnectionPolicy_Spec

func (*ServersConnectionPolicy_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our ServersConnectionPolicy_Spec from the provided source

func (*ServersConnectionPolicy_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our ServersConnectionPolicy_Spec

func (*ServersConnectionPolicy_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersConnectionPolicy_Spec) DeepCopy

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

func (*ServersConnectionPolicy_Spec) DeepCopyInto

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

func (*ServersConnectionPolicy_Spec) Initialize_From_ServersConnectionPolicy_STATUS

func (policy *ServersConnectionPolicy_Spec) Initialize_From_ServersConnectionPolicy_STATUS(source *ServersConnectionPolicy_STATUS) error

Initialize_From_ServersConnectionPolicy_STATUS populates our ServersConnectionPolicy_Spec from the provided source ServersConnectionPolicy_STATUS

func (*ServersConnectionPolicy_Spec) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersConnectionPolicy_Spec) OriginalVersion

func (policy *ServersConnectionPolicy_Spec) OriginalVersion() string

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

func (*ServersConnectionPolicy_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabase

type ServersDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabase_Spec   `json:"spec,omitempty"`
	Status            ServersDatabase_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databases.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}

func (*ServersDatabase) AssignProperties_From_ServersDatabase

func (database *ServersDatabase) AssignProperties_From_ServersDatabase(source *storage.ServersDatabase) error

AssignProperties_From_ServersDatabase populates our ServersDatabase from the provided source ServersDatabase

func (*ServersDatabase) AssignProperties_To_ServersDatabase

func (database *ServersDatabase) AssignProperties_To_ServersDatabase(destination *storage.ServersDatabase) error

AssignProperties_To_ServersDatabase populates the provided destination ServersDatabase from our ServersDatabase

func (*ServersDatabase) AzureName

func (database *ServersDatabase) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersDatabase) ConfigMapDestinationExpressions

func (database *ServersDatabase) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabase) ConvertFrom

func (database *ServersDatabase) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersDatabase from the provided hub ServersDatabase

func (*ServersDatabase) ConvertTo

func (database *ServersDatabase) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersDatabase from our ServersDatabase

func (*ServersDatabase) DeepCopy

func (in *ServersDatabase) DeepCopy() *ServersDatabase

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

func (*ServersDatabase) DeepCopyInto

func (in *ServersDatabase) DeepCopyInto(out *ServersDatabase)

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

func (*ServersDatabase) DeepCopyObject

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

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

func (ServersDatabase) GetAPIVersion

func (database ServersDatabase) GetAPIVersion() string

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

func (*ServersDatabase) GetConditions

func (database *ServersDatabase) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersDatabase) GetResourceScope

func (database *ServersDatabase) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabase) GetSpec

func (database *ServersDatabase) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*ServersDatabase) GetStatus

func (database *ServersDatabase) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*ServersDatabase) GetSupportedOperations

func (database *ServersDatabase) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabase) GetType

func (database *ServersDatabase) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases"

func (*ServersDatabase) InitializeSpec

func (database *ServersDatabase) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabase) NewEmptyStatus

func (database *ServersDatabase) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabase) OriginalGVK

func (database *ServersDatabase) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersDatabase) Owner

func (database *ServersDatabase) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*ServersDatabase) SecretDestinationExpressions

func (database *ServersDatabase) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabase) SetConditions

func (database *ServersDatabase) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersDatabase) SetStatus

func (database *ServersDatabase) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersDatabaseList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databases.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}

func (*ServersDatabaseList) DeepCopy

func (in *ServersDatabaseList) DeepCopy() *ServersDatabaseList

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

func (*ServersDatabaseList) DeepCopyInto

func (in *ServersDatabaseList) DeepCopyInto(out *ServersDatabaseList)

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

func (*ServersDatabaseList) DeepCopyObject

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

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

type ServersDatabaseOperatorSpec

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

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

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

func (*ServersDatabaseOperatorSpec) AssignProperties_From_ServersDatabaseOperatorSpec

func (operator *ServersDatabaseOperatorSpec) AssignProperties_From_ServersDatabaseOperatorSpec(source *storage.ServersDatabaseOperatorSpec) error

AssignProperties_From_ServersDatabaseOperatorSpec populates our ServersDatabaseOperatorSpec from the provided source ServersDatabaseOperatorSpec

func (*ServersDatabaseOperatorSpec) AssignProperties_To_ServersDatabaseOperatorSpec

func (operator *ServersDatabaseOperatorSpec) AssignProperties_To_ServersDatabaseOperatorSpec(destination *storage.ServersDatabaseOperatorSpec) error

AssignProperties_To_ServersDatabaseOperatorSpec populates the provided destination ServersDatabaseOperatorSpec from our ServersDatabaseOperatorSpec

func (*ServersDatabaseOperatorSpec) DeepCopy

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

func (*ServersDatabaseOperatorSpec) DeepCopyInto

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

type ServersDatabase_STATUS

type ServersDatabase_STATUS struct {
	// AutoPauseDelay: Time in minutes after which database is automatically paused. A value of -1 means that automatic pause
	// is disabled
	AutoPauseDelay *int `json:"autoPauseDelay,omitempty"`

	// AvailabilityZone: Specifies the availability zone the database is pinned to.
	AvailabilityZone *AvailabilityZoneType_STATUS `json:"availabilityZone,omitempty"`

	// CatalogCollation: Collation of the metadata catalog.
	CatalogCollation *CatalogCollationType_STATUS `json:"catalogCollation,omitempty"`

	// Collation: The collation of the database.
	Collation *string `json:"collation,omitempty"`

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

	// CreateMode: Specifies the mode of database creation.
	// Default: regular database creation.
	// Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the
	// source database.
	// Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the
	// resource ID of the existing primary database.
	// PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId
	// must be specified as the resource ID of the existing database, and restorePointInTime must be specified.
	// Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable
	// database resource ID to restore.
	// Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If
	// sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise
	// sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored.
	// restorePointInTime may also be specified to restore from an earlier point in time.
	// RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault.
	// recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.
	// Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.
	CreateMode *CreateMode_STATUS `json:"createMode,omitempty"`

	// CreationDate: The creation date of the database (ISO8601 format).
	CreationDate *string `json:"creationDate,omitempty"`

	// CurrentBackupStorageRedundancy: The storage account type used to store backups for this database.
	CurrentBackupStorageRedundancy *BackupStorageRedundancy_STATUS `json:"currentBackupStorageRedundancy,omitempty"`

	// CurrentServiceObjectiveName: The current service level objective name of the database.
	CurrentServiceObjectiveName *string `json:"currentServiceObjectiveName,omitempty"`

	// CurrentSku: The name and tier of the SKU.
	CurrentSku *Sku_STATUS `json:"currentSku,omitempty"`

	// DatabaseId: The ID of the database.
	DatabaseId *string `json:"databaseId,omitempty"`

	// DefaultSecondaryLocation: The default secondary region for this database.
	DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty"`

	// EarliestRestoreDate: This records the earliest start date and time that restore is available for this database (ISO8601
	// format).
	EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"`

	// ElasticPoolId: The resource identifier of the elastic pool containing this database.
	ElasticPoolId *string `json:"elasticPoolId,omitempty"`

	// EncryptionProtector: The azure key vault URI of the database if it's configured with per Database Customer Managed Keys.
	EncryptionProtector *string `json:"encryptionProtector,omitempty"`

	// EncryptionProtectorAutoRotation: The flag to enable or disable auto rotation of database encryption protector AKV key.
	EncryptionProtectorAutoRotation *bool `json:"encryptionProtectorAutoRotation,omitempty"`

	// FailoverGroupId: Failover Group resource identifier that this database belongs to.
	FailoverGroupId *string `json:"failoverGroupId,omitempty"`

	// FederatedClientId: The Client id used for cross tenant per database CMK scenario
	FederatedClientId *string `json:"federatedClientId,omitempty"`

	// FreeLimitExhaustionBehavior: Specifies the behavior when monthly free limits are exhausted for the free database.
	// AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month.
	// BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed.
	FreeLimitExhaustionBehavior *FreeLimitExhaustionBehavior_STATUS `json:"freeLimitExhaustionBehavior,omitempty"`

	// HighAvailabilityReplicaCount: The number of secondary replicas associated with the Business Critical, Premium, or
	// Hyperscale edition database that are used to provide high availability. Not applicable to a Hyperscale database within
	// an elastic pool.
	HighAvailabilityReplicaCount *int `json:"highAvailabilityReplicaCount,omitempty"`

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

	// Identity: The Azure Active Directory identity of the database.
	Identity *DatabaseIdentity_STATUS `json:"identity,omitempty"`

	// IsInfraEncryptionEnabled: Infra encryption is enabled for this database.
	IsInfraEncryptionEnabled *bool `json:"isInfraEncryptionEnabled,omitempty"`

	// IsLedgerOn: Whether or not this database is a ledger database, which means all tables in the database are ledger tables.
	// Note: the value of this property cannot be changed after the database has been created.
	IsLedgerOn *bool `json:"isLedgerOn,omitempty"`

	// Keys: The resource ids of the user assigned identities to use
	Keys map[string]DatabaseKey_STATUS `json:"keys,omitempty"`

	// Kind: Kind of database. This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`

	// LicenseType: The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you
	// have a license and are eligible for the Azure Hybrid Benefit.
	LicenseType *DatabaseLicenseType_STATUS `json:"licenseType,omitempty"`

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

	// LongTermRetentionBackupResourceId: The resource identifier of the long term retention backup associated with create
	// operation of this database.
	LongTermRetentionBackupResourceId *string `json:"longTermRetentionBackupResourceId,omitempty"`

	// MaintenanceConfigurationId: Maintenance configuration id assigned to the database. This configuration defines the period
	// when the maintenance updates will occur.
	MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"`

	// ManagedBy: Resource that manages the database.
	ManagedBy *string `json:"managedBy,omitempty"`

	// ManualCutover: Whether or not customer controlled manual cutover needs to be done during Update Database operation to
	// Hyperscale tier.
	// This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to
	// Hyperscale tier.
	// When manualCutover is specified, the scaling operation will wait for user input to trigger cutover to Hyperscale
	// database.
	// To trigger cutover, please provide 'performCutover' parameter when the Scaling operation is in Waiting state.
	ManualCutover *bool `json:"manualCutover,omitempty"`

	// MaxLogSizeBytes: The max log size for this database.
	MaxLogSizeBytes *int `json:"maxLogSizeBytes,omitempty"`

	// MaxSizeBytes: The max size of the database expressed in bytes.
	MaxSizeBytes *int `json:"maxSizeBytes,omitempty"`

	// MinCapacity: Minimal capacity that database will always have allocated, if not paused
	MinCapacity *float64 `json:"minCapacity,omitempty"`

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

	// PausedDate: The date when database was paused by user configuration or action(ISO8601 format). Null if the database is
	// ready.
	PausedDate *string `json:"pausedDate,omitempty"`

	// PerformCutover: To trigger customer controlled manual cutover during the wait state while Scaling operation is in
	// progress.
	// This property parameter is only applicable for scaling operations that are initiated along with 'manualCutover'
	// parameter.
	// This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to
	// Hyperscale tier is already in progress.
	// When performCutover is specified, the scaling operation will trigger cutover and perform role-change to Hyperscale
	// database.
	PerformCutover *bool `json:"performCutover,omitempty"`

	// PreferredEnclaveType: Type of enclave requested on the database i.e. Default or VBS enclaves.
	PreferredEnclaveType *AlwaysEncryptedEnclaveType_STATUS `json:"preferredEnclaveType,omitempty"`

	// ReadScale: The state of read-only routing. If enabled, connections that have application intent set to readonly in their
	// connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale
	// database within an elastic pool.
	ReadScale *DatabaseReadScale_STATUS `json:"readScale,omitempty"`

	// RecoverableDatabaseId: The resource identifier of the recoverable database associated with create operation of this
	// database.
	RecoverableDatabaseId *string `json:"recoverableDatabaseId,omitempty"`

	// RecoveryServicesRecoveryPointId: The resource identifier of the recovery point associated with create operation of this
	// database.
	RecoveryServicesRecoveryPointId *string `json:"recoveryServicesRecoveryPointId,omitempty"`

	// RequestedBackupStorageRedundancy: The storage account type to be used to store backups for this database.
	RequestedBackupStorageRedundancy *BackupStorageRedundancy_STATUS `json:"requestedBackupStorageRedundancy,omitempty"`

	// RequestedServiceObjectiveName: The requested service level objective name of the database.
	RequestedServiceObjectiveName *string `json:"requestedServiceObjectiveName,omitempty"`

	// RestorableDroppedDatabaseId: The resource identifier of the restorable dropped database associated with create operation
	// of this database.
	RestorableDroppedDatabaseId *string `json:"restorableDroppedDatabaseId,omitempty"`

	// RestorePointInTime: Specifies the point in time (ISO8601 format) of the source database that will be restored to create
	// the new database.
	RestorePointInTime *string `json:"restorePointInTime,omitempty"`

	// ResumedDate: The date when database was resumed by user action or database login (ISO8601 format). Null if the database
	// is paused.
	ResumedDate *string `json:"resumedDate,omitempty"`

	// SampleName: The name of the sample schema to apply when creating this database.
	SampleName *SampleName_STATUS `json:"sampleName,omitempty"`

	// SecondaryType: The secondary type of the database if it is a secondary.  Valid values are Geo, Named and Standby.
	SecondaryType *SecondaryType_STATUS `json:"secondaryType,omitempty"`

	// Sku: The database SKU.
	// The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition,
	// family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation`
	// REST API or one of the following commands:
	// “`azurecli
	// az sql db list-editions -l <location> -o table
	// “`
	// “`powershell
	// Get-AzSqlServerServiceObjective -Location <location>
	// “`
	Sku *Sku_STATUS `json:"sku,omitempty"`

	// SourceDatabaseDeletionDate: Specifies the time that the database was deleted.
	SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty"`

	// SourceDatabaseId: The resource identifier of the source database associated with create operation of this database.
	SourceDatabaseId *string `json:"sourceDatabaseId,omitempty"`

	// SourceResourceId: The resource identifier of the source associated with the create operation of this database.
	// This property is only supported for DataWarehouse edition and allows to restore across subscriptions.
	// When sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and
	// sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.
	// When createMode is PointInTimeRestore, sourceResourceId must be the resource ID of the existing database or existing sql
	// pool, and restorePointInTime must be specified.
	// When createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable
	// dropped sql pool.
	// When createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.
	// When source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary”
	// header must contain authentication token for the source tenant. For more details about
	// “x-ms-authorization-auxiliary” header see
	// https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant
	SourceResourceId *string `json:"sourceResourceId,omitempty"`

	// Status: The status of the database.
	Status *DatabaseStatus_STATUS `json:"status,omitempty"`

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

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

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

	// UseFreeLimit: Whether or not the database uses free monthly limits. Allowed on one database in a subscription.
	UseFreeLimit *bool `json:"useFreeLimit,omitempty"`

	// ZoneRedundant: Whether or not this database is zone redundant, which means the replicas of this database will be spread
	// across multiple availability zones.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`
}

func (*ServersDatabase_STATUS) AssignProperties_From_ServersDatabase_STATUS

func (database *ServersDatabase_STATUS) AssignProperties_From_ServersDatabase_STATUS(source *storage.ServersDatabase_STATUS) error

AssignProperties_From_ServersDatabase_STATUS populates our ServersDatabase_STATUS from the provided source ServersDatabase_STATUS

func (*ServersDatabase_STATUS) AssignProperties_To_ServersDatabase_STATUS

func (database *ServersDatabase_STATUS) AssignProperties_To_ServersDatabase_STATUS(destination *storage.ServersDatabase_STATUS) error

AssignProperties_To_ServersDatabase_STATUS populates the provided destination ServersDatabase_STATUS from our ServersDatabase_STATUS

func (*ServersDatabase_STATUS) ConvertStatusFrom

func (database *ServersDatabase_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersDatabase_STATUS from the provided source

func (*ServersDatabase_STATUS) ConvertStatusTo

func (database *ServersDatabase_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersDatabase_STATUS

func (*ServersDatabase_STATUS) DeepCopy

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

func (*ServersDatabase_STATUS) DeepCopyInto

func (in *ServersDatabase_STATUS) DeepCopyInto(out *ServersDatabase_STATUS)

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

func (*ServersDatabase_STATUS) NewEmptyARMValue

func (database *ServersDatabase_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabase_STATUS) PopulateFromARM

func (database *ServersDatabase_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabase_Spec

type ServersDatabase_Spec struct {
	// AutoPauseDelay: Time in minutes after which database is automatically paused. A value of -1 means that automatic pause
	// is disabled
	AutoPauseDelay *int `json:"autoPauseDelay,omitempty"`

	// AvailabilityZone: Specifies the availability zone the database is pinned to.
	AvailabilityZone *AvailabilityZoneType `json:"availabilityZone,omitempty"`

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

	// CatalogCollation: Collation of the metadata catalog.
	CatalogCollation *CatalogCollationType `json:"catalogCollation,omitempty"`

	// Collation: The collation of the database.
	Collation *string `json:"collation,omitempty"`

	// CreateMode: Specifies the mode of database creation.
	// Default: regular database creation.
	// Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the
	// source database.
	// Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the
	// resource ID of the existing primary database.
	// PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId
	// must be specified as the resource ID of the existing database, and restorePointInTime must be specified.
	// Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable
	// database resource ID to restore.
	// Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If
	// sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise
	// sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored.
	// restorePointInTime may also be specified to restore from an earlier point in time.
	// RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault.
	// recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.
	// Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.
	CreateMode *CreateMode `json:"createMode,omitempty"`

	// ElasticPoolReference: The resource identifier of the elastic pool containing this database.
	ElasticPoolReference *genruntime.ResourceReference `armReference:"ElasticPoolId" json:"elasticPoolReference,omitempty"`

	// EncryptionProtector: The azure key vault URI of the database if it's configured with per Database Customer Managed Keys.
	EncryptionProtector *string `json:"encryptionProtector,omitempty"`

	// EncryptionProtectorAutoRotation: The flag to enable or disable auto rotation of database encryption protector AKV key.
	EncryptionProtectorAutoRotation *bool `json:"encryptionProtectorAutoRotation,omitempty"`

	// FederatedClientId: The Client id used for cross tenant per database CMK scenario
	FederatedClientId *AzureCoreUuid `json:"federatedClientId,omitempty"`

	// FreeLimitExhaustionBehavior: Specifies the behavior when monthly free limits are exhausted for the free database.
	// AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month.
	// BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed.
	FreeLimitExhaustionBehavior *FreeLimitExhaustionBehavior `json:"freeLimitExhaustionBehavior,omitempty"`

	// HighAvailabilityReplicaCount: The number of secondary replicas associated with the Business Critical, Premium, or
	// Hyperscale edition database that are used to provide high availability. Not applicable to a Hyperscale database within
	// an elastic pool.
	HighAvailabilityReplicaCount *int `json:"highAvailabilityReplicaCount,omitempty"`

	// Identity: The Azure Active Directory identity of the database.
	Identity *DatabaseIdentity `json:"identity,omitempty"`

	// IsLedgerOn: Whether or not this database is a ledger database, which means all tables in the database are ledger tables.
	// Note: the value of this property cannot be changed after the database has been created.
	IsLedgerOn *bool `json:"isLedgerOn,omitempty"`

	// LicenseType: The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you
	// have a license and are eligible for the Azure Hybrid Benefit.
	LicenseType *DatabaseLicenseType `json:"licenseType,omitempty"`

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

	// LongTermRetentionBackupResourceReference: The resource identifier of the long term retention backup associated with
	// create operation of this database.
	LongTermRetentionBackupResourceReference *genruntime.ResourceReference `armReference:"LongTermRetentionBackupResourceId" json:"longTermRetentionBackupResourceReference,omitempty"`

	// MaintenanceConfigurationId: Maintenance configuration id assigned to the database. This configuration defines the period
	// when the maintenance updates will occur.
	MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"`

	// ManualCutover: Whether or not customer controlled manual cutover needs to be done during Update Database operation to
	// Hyperscale tier.
	// This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to
	// Hyperscale tier.
	// When manualCutover is specified, the scaling operation will wait for user input to trigger cutover to Hyperscale
	// database.
	// To trigger cutover, please provide 'performCutover' parameter when the Scaling operation is in Waiting state.
	ManualCutover *bool `json:"manualCutover,omitempty"`

	// MaxSizeBytes: The max size of the database expressed in bytes.
	MaxSizeBytes *int `json:"maxSizeBytes,omitempty"`

	// MinCapacity: Minimal capacity that database will always have allocated, if not paused
	MinCapacity *float64 `json:"minCapacity,omitempty"`

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

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

	// PerformCutover: To trigger customer controlled manual cutover during the wait state while Scaling operation is in
	// progress.
	// This property parameter is only applicable for scaling operations that are initiated along with 'manualCutover'
	// parameter.
	// This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to
	// Hyperscale tier is already in progress.
	// When performCutover is specified, the scaling operation will trigger cutover and perform role-change to Hyperscale
	// database.
	PerformCutover *bool `json:"performCutover,omitempty"`

	// PreferredEnclaveType: Type of enclave requested on the database i.e. Default or VBS enclaves.
	PreferredEnclaveType *AlwaysEncryptedEnclaveType `json:"preferredEnclaveType,omitempty"`

	// ReadScale: The state of read-only routing. If enabled, connections that have application intent set to readonly in their
	// connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale
	// database within an elastic pool.
	ReadScale *DatabaseReadScale `json:"readScale,omitempty"`

	// RecoverableDatabaseReference: The resource identifier of the recoverable database associated with create operation of
	// this database.
	RecoverableDatabaseReference *genruntime.ResourceReference `armReference:"RecoverableDatabaseId" json:"recoverableDatabaseReference,omitempty"`

	// RecoveryServicesRecoveryPointReference: The resource identifier of the recovery point associated with create operation
	// of this database.
	RecoveryServicesRecoveryPointReference *genruntime.ResourceReference `armReference:"RecoveryServicesRecoveryPointId" json:"recoveryServicesRecoveryPointReference,omitempty"`

	// RequestedBackupStorageRedundancy: The storage account type to be used to store backups for this database.
	RequestedBackupStorageRedundancy *BackupStorageRedundancy `json:"requestedBackupStorageRedundancy,omitempty"`

	// RestorableDroppedDatabaseReference: The resource identifier of the restorable dropped database associated with create
	// operation of this database.
	RestorableDroppedDatabaseReference *genruntime.ResourceReference `armReference:"RestorableDroppedDatabaseId" json:"restorableDroppedDatabaseReference,omitempty"`

	// RestorePointInTime: Specifies the point in time (ISO8601 format) of the source database that will be restored to create
	// the new database.
	RestorePointInTime *string `json:"restorePointInTime,omitempty"`

	// SampleName: The name of the sample schema to apply when creating this database.
	SampleName *SampleName `json:"sampleName,omitempty"`

	// SecondaryType: The secondary type of the database if it is a secondary.  Valid values are Geo, Named and Standby.
	SecondaryType *SecondaryType `json:"secondaryType,omitempty"`

	// Sku: The database SKU.
	// The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition,
	// family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation`
	// REST API or one of the following commands:
	// “`azurecli
	// az sql db list-editions -l <location> -o table
	// “`
	// “`powershell
	// Get-AzSqlServerServiceObjective -Location <location>
	// “`
	Sku *Sku `json:"sku,omitempty"`

	// SourceDatabaseDeletionDate: Specifies the time that the database was deleted.
	SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty"`

	// SourceDatabaseReference: The resource identifier of the source database associated with create operation of this
	// database.
	SourceDatabaseReference *genruntime.ResourceReference `armReference:"SourceDatabaseId" json:"sourceDatabaseReference,omitempty"`

	// SourceResourceReference: The resource identifier of the source associated with the create operation of this database.
	// This property is only supported for DataWarehouse edition and allows to restore across subscriptions.
	// When sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and
	// sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.
	// When createMode is PointInTimeRestore, sourceResourceId must be the resource ID of the existing database or existing sql
	// pool, and restorePointInTime must be specified.
	// When createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable
	// dropped sql pool.
	// When createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.
	// When source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary”
	// header must contain authentication token for the source tenant. For more details about
	// “x-ms-authorization-auxiliary” header see
	// https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant
	SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`

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

	// UseFreeLimit: Whether or not the database uses free monthly limits. Allowed on one database in a subscription.
	UseFreeLimit *bool `json:"useFreeLimit,omitempty"`

	// ZoneRedundant: Whether or not this database is zone redundant, which means the replicas of this database will be spread
	// across multiple availability zones.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`
}

func (*ServersDatabase_Spec) AssignProperties_From_ServersDatabase_Spec

func (database *ServersDatabase_Spec) AssignProperties_From_ServersDatabase_Spec(source *storage.ServersDatabase_Spec) error

AssignProperties_From_ServersDatabase_Spec populates our ServersDatabase_Spec from the provided source ServersDatabase_Spec

func (*ServersDatabase_Spec) AssignProperties_To_ServersDatabase_Spec

func (database *ServersDatabase_Spec) AssignProperties_To_ServersDatabase_Spec(destination *storage.ServersDatabase_Spec) error

AssignProperties_To_ServersDatabase_Spec populates the provided destination ServersDatabase_Spec from our ServersDatabase_Spec

func (*ServersDatabase_Spec) ConvertSpecFrom

func (database *ServersDatabase_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersDatabase_Spec from the provided source

func (*ServersDatabase_Spec) ConvertSpecTo

func (database *ServersDatabase_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersDatabase_Spec

func (*ServersDatabase_Spec) ConvertToARM

func (database *ServersDatabase_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabase_Spec) DeepCopy

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

func (*ServersDatabase_Spec) DeepCopyInto

func (in *ServersDatabase_Spec) DeepCopyInto(out *ServersDatabase_Spec)

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

func (*ServersDatabase_Spec) Initialize_From_ServersDatabase_STATUS

func (database *ServersDatabase_Spec) Initialize_From_ServersDatabase_STATUS(source *ServersDatabase_STATUS) error

Initialize_From_ServersDatabase_STATUS populates our ServersDatabase_Spec from the provided source ServersDatabase_STATUS

func (*ServersDatabase_Spec) NewEmptyARMValue

func (database *ServersDatabase_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabase_Spec) OriginalVersion

func (database *ServersDatabase_Spec) OriginalVersion() string

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

func (*ServersDatabase_Spec) PopulateFromARM

func (database *ServersDatabase_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersDatabase_Spec) SetAzureName

func (database *ServersDatabase_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersDatabasesAdvancedThreatProtectionSetting

type ServersDatabasesAdvancedThreatProtectionSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesAdvancedThreatProtectionSetting_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesAdvancedThreatProtectionSetting_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databaseAdvancedThreatProtectionSettings.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advancedThreatProtectionSettings/Default

func (*ServersDatabasesAdvancedThreatProtectionSetting) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting

func (setting *ServersDatabasesAdvancedThreatProtectionSetting) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting(source *storage.ServersDatabasesAdvancedThreatProtectionSetting) error

AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting populates our ServersDatabasesAdvancedThreatProtectionSetting from the provided source ServersDatabasesAdvancedThreatProtectionSetting

func (*ServersDatabasesAdvancedThreatProtectionSetting) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting

func (setting *ServersDatabasesAdvancedThreatProtectionSetting) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting(destination *storage.ServersDatabasesAdvancedThreatProtectionSetting) error

AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting populates the provided destination ServersDatabasesAdvancedThreatProtectionSetting from our ServersDatabasesAdvancedThreatProtectionSetting

func (*ServersDatabasesAdvancedThreatProtectionSetting) AzureName

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

func (*ServersDatabasesAdvancedThreatProtectionSetting) ConfigMapDestinationExpressions

func (setting *ServersDatabasesAdvancedThreatProtectionSetting) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesAdvancedThreatProtectionSetting) ConvertFrom

ConvertFrom populates our ServersDatabasesAdvancedThreatProtectionSetting from the provided hub ServersDatabasesAdvancedThreatProtectionSetting

func (*ServersDatabasesAdvancedThreatProtectionSetting) ConvertTo

ConvertTo populates the provided hub ServersDatabasesAdvancedThreatProtectionSetting from our ServersDatabasesAdvancedThreatProtectionSetting

func (*ServersDatabasesAdvancedThreatProtectionSetting) DeepCopy

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

func (*ServersDatabasesAdvancedThreatProtectionSetting) DeepCopyInto

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

func (*ServersDatabasesAdvancedThreatProtectionSetting) DeepCopyObject

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

func (ServersDatabasesAdvancedThreatProtectionSetting) GetAPIVersion

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

func (*ServersDatabasesAdvancedThreatProtectionSetting) GetConditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) GetResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) GetSupportedOperations

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) GetType

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/advancedThreatProtectionSettings"

func (*ServersDatabasesAdvancedThreatProtectionSetting) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesAdvancedThreatProtectionSetting) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesAdvancedThreatProtectionSetting) OriginalGVK

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

func (*ServersDatabasesAdvancedThreatProtectionSetting) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesAdvancedThreatProtectionSetting) SecretDestinationExpressions

func (setting *ServersDatabasesAdvancedThreatProtectionSetting) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesAdvancedThreatProtectionSetting) SetConditions

func (setting *ServersDatabasesAdvancedThreatProtectionSetting) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersDatabasesAdvancedThreatProtectionSetting) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesAdvancedThreatProtectionSettingList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databaseAdvancedThreatProtectionSettings.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advancedThreatProtectionSettings/Default

func (*ServersDatabasesAdvancedThreatProtectionSettingList) DeepCopy

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

func (*ServersDatabasesAdvancedThreatProtectionSettingList) DeepCopyInto

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

func (*ServersDatabasesAdvancedThreatProtectionSettingList) DeepCopyObject

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

type ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

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

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

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

func (*ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

func (operator *ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec(source *storage.ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) error

AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec populates our ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec from the provided source ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

func (*ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

func (operator *ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec(destination *storage.ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) error

AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec populates the provided destination ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec from our ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

func (*ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) DeepCopy

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

func (*ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec) DeepCopyInto

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

type ServersDatabasesAdvancedThreatProtectionSetting_STATUS

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

	// CreationTime: Specifies the UTC creation time of the policy.
	CreationTime *string `json:"creationTime,omitempty"`

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

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

	// State: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been
	// applied yet on the specific database or server.
	State *AdvancedThreatProtectionState_STATUS `json:"state,omitempty"`

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

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

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_STATUS) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting_STATUS(source *storage.ServersDatabasesAdvancedThreatProtectionSetting_STATUS) error

AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting_STATUS populates our ServersDatabasesAdvancedThreatProtectionSetting_STATUS from the provided source ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_STATUS) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting_STATUS(destination *storage.ServersDatabasesAdvancedThreatProtectionSetting_STATUS) error

AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting_STATUS populates the provided destination ServersDatabasesAdvancedThreatProtectionSetting_STATUS from our ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersDatabasesAdvancedThreatProtectionSetting_STATUS from the provided source

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) ConvertStatusTo

ConvertStatusTo populates the provided destination from our ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) DeepCopy

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

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) DeepCopyInto

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

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesAdvancedThreatProtectionSetting_STATUS) PopulateFromARM

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesAdvancedThreatProtectionSetting_Spec

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

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

	// +kubebuilder:validation:Required
	// State: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been
	// applied yet on the specific database or server.
	State *AdvancedThreatProtectionState `json:"state,omitempty"`
}

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting_Spec

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_Spec) AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting_Spec(source *storage.ServersDatabasesAdvancedThreatProtectionSetting_Spec) error

AssignProperties_From_ServersDatabasesAdvancedThreatProtectionSetting_Spec populates our ServersDatabasesAdvancedThreatProtectionSetting_Spec from the provided source ServersDatabasesAdvancedThreatProtectionSetting_Spec

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting_Spec

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_Spec) AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting_Spec(destination *storage.ServersDatabasesAdvancedThreatProtectionSetting_Spec) error

AssignProperties_To_ServersDatabasesAdvancedThreatProtectionSetting_Spec populates the provided destination ServersDatabasesAdvancedThreatProtectionSetting_Spec from our ServersDatabasesAdvancedThreatProtectionSetting_Spec

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersDatabasesAdvancedThreatProtectionSetting_Spec from the provided source

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) ConvertSpecTo

ConvertSpecTo populates the provided destination from our ServersDatabasesAdvancedThreatProtectionSetting_Spec

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) ConvertToARM

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) DeepCopy

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

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) DeepCopyInto

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

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) Initialize_From_ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_Spec) Initialize_From_ServersDatabasesAdvancedThreatProtectionSetting_STATUS(source *ServersDatabasesAdvancedThreatProtectionSetting_STATUS) error

Initialize_From_ServersDatabasesAdvancedThreatProtectionSetting_STATUS populates our ServersDatabasesAdvancedThreatProtectionSetting_Spec from the provided source ServersDatabasesAdvancedThreatProtectionSetting_STATUS

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) OriginalVersion

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

func (*ServersDatabasesAdvancedThreatProtectionSetting_Spec) PopulateFromARM

func (setting *ServersDatabasesAdvancedThreatProtectionSetting_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesAuditingSetting

type ServersDatabasesAuditingSetting struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesAuditingSetting_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesAuditingSetting_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/blobAuditing.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/default

func (*ServersDatabasesAuditingSetting) AssignProperties_From_ServersDatabasesAuditingSetting

func (setting *ServersDatabasesAuditingSetting) AssignProperties_From_ServersDatabasesAuditingSetting(source *storage.ServersDatabasesAuditingSetting) error

AssignProperties_From_ServersDatabasesAuditingSetting populates our ServersDatabasesAuditingSetting from the provided source ServersDatabasesAuditingSetting

func (*ServersDatabasesAuditingSetting) AssignProperties_To_ServersDatabasesAuditingSetting

func (setting *ServersDatabasesAuditingSetting) AssignProperties_To_ServersDatabasesAuditingSetting(destination *storage.ServersDatabasesAuditingSetting) error

AssignProperties_To_ServersDatabasesAuditingSetting populates the provided destination ServersDatabasesAuditingSetting from our ServersDatabasesAuditingSetting

func (*ServersDatabasesAuditingSetting) AzureName

func (setting *ServersDatabasesAuditingSetting) AzureName() string

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

func (*ServersDatabasesAuditingSetting) ConfigMapDestinationExpressions

func (setting *ServersDatabasesAuditingSetting) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesAuditingSetting) ConvertFrom

func (setting *ServersDatabasesAuditingSetting) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersDatabasesAuditingSetting from the provided hub ServersDatabasesAuditingSetting

func (*ServersDatabasesAuditingSetting) ConvertTo

func (setting *ServersDatabasesAuditingSetting) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersDatabasesAuditingSetting from our ServersDatabasesAuditingSetting

func (*ServersDatabasesAuditingSetting) DeepCopy

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

func (*ServersDatabasesAuditingSetting) DeepCopyInto

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

func (*ServersDatabasesAuditingSetting) DeepCopyObject

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

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

func (ServersDatabasesAuditingSetting) GetAPIVersion

func (setting ServersDatabasesAuditingSetting) GetAPIVersion() string

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

func (*ServersDatabasesAuditingSetting) GetConditions

func (setting *ServersDatabasesAuditingSetting) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesAuditingSetting) GetResourceScope

func (setting *ServersDatabasesAuditingSetting) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesAuditingSetting) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesAuditingSetting) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesAuditingSetting) GetSupportedOperations

func (setting *ServersDatabasesAuditingSetting) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesAuditingSetting) GetType

func (setting *ServersDatabasesAuditingSetting) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/auditingSettings"

func (*ServersDatabasesAuditingSetting) InitializeSpec

func (setting *ServersDatabasesAuditingSetting) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesAuditingSetting) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesAuditingSetting) OriginalGVK

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

func (*ServersDatabasesAuditingSetting) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesAuditingSetting) SecretDestinationExpressions

func (setting *ServersDatabasesAuditingSetting) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesAuditingSetting) SetConditions

func (setting *ServersDatabasesAuditingSetting) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersDatabasesAuditingSetting) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesAuditingSettingList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/blobAuditing.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingSettings/default

func (*ServersDatabasesAuditingSettingList) DeepCopy

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

func (*ServersDatabasesAuditingSettingList) DeepCopyInto

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

func (*ServersDatabasesAuditingSettingList) DeepCopyObject

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

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

type ServersDatabasesAuditingSettingOperatorSpec

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

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

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

func (*ServersDatabasesAuditingSettingOperatorSpec) AssignProperties_From_ServersDatabasesAuditingSettingOperatorSpec

func (operator *ServersDatabasesAuditingSettingOperatorSpec) AssignProperties_From_ServersDatabasesAuditingSettingOperatorSpec(source *storage.ServersDatabasesAuditingSettingOperatorSpec) error

AssignProperties_From_ServersDatabasesAuditingSettingOperatorSpec populates our ServersDatabasesAuditingSettingOperatorSpec from the provided source ServersDatabasesAuditingSettingOperatorSpec

func (*ServersDatabasesAuditingSettingOperatorSpec) AssignProperties_To_ServersDatabasesAuditingSettingOperatorSpec

func (operator *ServersDatabasesAuditingSettingOperatorSpec) AssignProperties_To_ServersDatabasesAuditingSettingOperatorSpec(destination *storage.ServersDatabasesAuditingSettingOperatorSpec) error

AssignProperties_To_ServersDatabasesAuditingSettingOperatorSpec populates the provided destination ServersDatabasesAuditingSettingOperatorSpec from our ServersDatabasesAuditingSettingOperatorSpec

func (*ServersDatabasesAuditingSettingOperatorSpec) DeepCopy

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

func (*ServersDatabasesAuditingSettingOperatorSpec) DeepCopyInto

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

type ServersDatabasesAuditingSetting_STATUS

type ServersDatabasesAuditingSetting_STATUS struct {
	// AuditActionsAndGroups: Specifies the Actions-Groups and Actions to audit.
	// The recommended set of action groups to use is the following combination - this will audit all the queries and stored
	// procedures executed against the database, as well as successful and failed logins:
	// BATCH_COMPLETED_GROUP,
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
	// FAILED_DATABASE_AUTHENTICATION_GROUP.
	// This above combination is also the set that is configured by default when enabling auditing from the Azure portal.
	// The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using
	// unnecessary groups could lead to very large quantities of audit records):
	// APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
	// BACKUP_RESTORE_GROUP
	// DATABASE_LOGOUT_GROUP
	// DATABASE_OBJECT_CHANGE_GROUP
	// DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
	// DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
	// DATABASE_OPERATION_GROUP
	// DATABASE_PERMISSION_CHANGE_GROUP
	// DATABASE_PRINCIPAL_CHANGE_GROUP
	// DATABASE_PRINCIPAL_IMPERSONATION_GROUP
	// DATABASE_ROLE_MEMBER_CHANGE_GROUP
	// FAILED_DATABASE_AUTHENTICATION_GROUP
	// SCHEMA_OBJECT_ACCESS_GROUP
	// SCHEMA_OBJECT_CHANGE_GROUP
	// SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
	// SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
	// USER_CHANGE_PASSWORD_GROUP
	// BATCH_STARTED_GROUP
	// BATCH_COMPLETED_GROUP
	// DBCC_GROUP
	// DATABASE_OWNERSHIP_CHANGE_GROUP
	// DATABASE_CHANGE_GROUP
	// LEDGER_OPERATION_GROUP
	// These are groups that cover all sql statements and stored procedures executed against the database, and should not be
	// used in combination with other groups as this will result in duplicate audit logs.
	// For more information, see [Database-Level Audit Action
	// Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
	// For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server
	// auditing policy). The supported actions to audit are:
	// SELECT
	// UPDATE
	// INSERT
	// DELETE
	// EXECUTE
	// RECEIVE
	// REFERENCES
	// The general form for defining an action to be audited is:
	// {action} ON {object} BY {principal}
	// Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire
	// database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
	// For example:
	// SELECT on dbo.myTable by public
	// SELECT on DATABASE::myDatabase by public
	// SELECT on SCHEMA::mySchema by public
	// For more information, see [Database-Level Audit
	// Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
	AuditActionsAndGroups []string `json:"auditActionsAndGroups,omitempty"`

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

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

	// IsAzureMonitorTargetEnabled: Specifies whether audit events are sent to Azure Monitor.
	// In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
	// When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on
	// the database should be also created.
	// Note that for server level audit you should use the 'master' database as {databaseName}.
	// Diagnostic Settings URI format:
	// PUT
	// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"`

	// IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage
	IsManagedIdentityInUse *bool `json:"isManagedIdentityInUse,omitempty"`

	// IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage's secondary key.
	IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"`

	// Kind: Resource kind.
	Kind *string `json:"kind,omitempty"`

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

	// QueueDelayMs: Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be
	// processed.
	// The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
	QueueDelayMs *int `json:"queueDelayMs,omitempty"`

	// RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// State: Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are
	// required.
	State *BlobAuditingPolicyState_STATUS `json:"state,omitempty"`

	// StorageAccountSubscriptionId: Specifies the blob storage subscription Id.
	StorageAccountSubscriptionId *string `json:"storageAccountSubscriptionId,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is
	// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`

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

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

func (*ServersDatabasesAuditingSetting_STATUS) AssignProperties_From_ServersDatabasesAuditingSetting_STATUS

func (setting *ServersDatabasesAuditingSetting_STATUS) AssignProperties_From_ServersDatabasesAuditingSetting_STATUS(source *storage.ServersDatabasesAuditingSetting_STATUS) error

AssignProperties_From_ServersDatabasesAuditingSetting_STATUS populates our ServersDatabasesAuditingSetting_STATUS from the provided source ServersDatabasesAuditingSetting_STATUS

func (*ServersDatabasesAuditingSetting_STATUS) AssignProperties_To_ServersDatabasesAuditingSetting_STATUS

func (setting *ServersDatabasesAuditingSetting_STATUS) AssignProperties_To_ServersDatabasesAuditingSetting_STATUS(destination *storage.ServersDatabasesAuditingSetting_STATUS) error

AssignProperties_To_ServersDatabasesAuditingSetting_STATUS populates the provided destination ServersDatabasesAuditingSetting_STATUS from our ServersDatabasesAuditingSetting_STATUS

func (*ServersDatabasesAuditingSetting_STATUS) ConvertStatusFrom

func (setting *ServersDatabasesAuditingSetting_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersDatabasesAuditingSetting_STATUS from the provided source

func (*ServersDatabasesAuditingSetting_STATUS) ConvertStatusTo

func (setting *ServersDatabasesAuditingSetting_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersDatabasesAuditingSetting_STATUS

func (*ServersDatabasesAuditingSetting_STATUS) DeepCopy

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

func (*ServersDatabasesAuditingSetting_STATUS) DeepCopyInto

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

func (*ServersDatabasesAuditingSetting_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesAuditingSetting_STATUS) PopulateFromARM

func (setting *ServersDatabasesAuditingSetting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesAuditingSetting_Spec

type ServersDatabasesAuditingSetting_Spec struct {
	// AuditActionsAndGroups: Specifies the Actions-Groups and Actions to audit.
	// The recommended set of action groups to use is the following combination - this will audit all the queries and stored
	// procedures executed against the database, as well as successful and failed logins:
	// BATCH_COMPLETED_GROUP,
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
	// FAILED_DATABASE_AUTHENTICATION_GROUP.
	// This above combination is also the set that is configured by default when enabling auditing from the Azure portal.
	// The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using
	// unnecessary groups could lead to very large quantities of audit records):
	// APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
	// BACKUP_RESTORE_GROUP
	// DATABASE_LOGOUT_GROUP
	// DATABASE_OBJECT_CHANGE_GROUP
	// DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
	// DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
	// DATABASE_OPERATION_GROUP
	// DATABASE_PERMISSION_CHANGE_GROUP
	// DATABASE_PRINCIPAL_CHANGE_GROUP
	// DATABASE_PRINCIPAL_IMPERSONATION_GROUP
	// DATABASE_ROLE_MEMBER_CHANGE_GROUP
	// FAILED_DATABASE_AUTHENTICATION_GROUP
	// SCHEMA_OBJECT_ACCESS_GROUP
	// SCHEMA_OBJECT_CHANGE_GROUP
	// SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
	// SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
	// USER_CHANGE_PASSWORD_GROUP
	// BATCH_STARTED_GROUP
	// BATCH_COMPLETED_GROUP
	// DBCC_GROUP
	// DATABASE_OWNERSHIP_CHANGE_GROUP
	// DATABASE_CHANGE_GROUP
	// LEDGER_OPERATION_GROUP
	// These are groups that cover all sql statements and stored procedures executed against the database, and should not be
	// used in combination with other groups as this will result in duplicate audit logs.
	// For more information, see [Database-Level Audit Action
	// Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
	// For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server
	// auditing policy). The supported actions to audit are:
	// SELECT
	// UPDATE
	// INSERT
	// DELETE
	// EXECUTE
	// RECEIVE
	// REFERENCES
	// The general form for defining an action to be audited is:
	// {action} ON {object} BY {principal}
	// Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire
	// database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
	// For example:
	// SELECT on dbo.myTable by public
	// SELECT on DATABASE::myDatabase by public
	// SELECT on SCHEMA::mySchema by public
	// For more information, see [Database-Level Audit
	// Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
	AuditActionsAndGroups []string `json:"auditActionsAndGroups,omitempty"`

	// IsAzureMonitorTargetEnabled: Specifies whether audit events are sent to Azure Monitor.
	// In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true.
	// When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on
	// the database should be also created.
	// Note that for server level audit you should use the 'master' database as {databaseName}.
	// Diagnostic Settings URI format:
	// PUT
	// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"`

	// IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage
	IsManagedIdentityInUse *bool `json:"isManagedIdentityInUse,omitempty"`

	// IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage's secondary key.
	IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"`

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

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

	// QueueDelayMs: Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be
	// processed.
	// The default minimum value is 1000 (1 second). The maximum is 2,147,483,647.
	QueueDelayMs *int `json:"queueDelayMs,omitempty"`

	// RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// +kubebuilder:validation:Required
	// State: Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are
	// required.
	State *BlobAuditingPolicyState `json:"state,omitempty"`

	// StorageAccountAccessKey: Specifies the identifier key of the auditing storage account.
	// If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server
	// system-assigned managed identity to access the storage.
	// Prerequisites for using managed identity authentication:
	// 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).
	// 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the
	// server identity.
	// For more information, see [Auditing to storage using Managed Identity
	// authentication](https://go.microsoft.com/fwlink/?linkid=2114355)
	StorageAccountAccessKey *genruntime.SecretReference `json:"storageAccountAccessKey,omitempty"`

	// StorageAccountSubscriptionId: Specifies the blob storage subscription Id.
	StorageAccountSubscriptionId *AzureCoreUuid `json:"storageAccountSubscriptionId,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is
	// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`
}

func (*ServersDatabasesAuditingSetting_Spec) AssignProperties_From_ServersDatabasesAuditingSetting_Spec

func (setting *ServersDatabasesAuditingSetting_Spec) AssignProperties_From_ServersDatabasesAuditingSetting_Spec(source *storage.ServersDatabasesAuditingSetting_Spec) error

AssignProperties_From_ServersDatabasesAuditingSetting_Spec populates our ServersDatabasesAuditingSetting_Spec from the provided source ServersDatabasesAuditingSetting_Spec

func (*ServersDatabasesAuditingSetting_Spec) AssignProperties_To_ServersDatabasesAuditingSetting_Spec

func (setting *ServersDatabasesAuditingSetting_Spec) AssignProperties_To_ServersDatabasesAuditingSetting_Spec(destination *storage.ServersDatabasesAuditingSetting_Spec) error

AssignProperties_To_ServersDatabasesAuditingSetting_Spec populates the provided destination ServersDatabasesAuditingSetting_Spec from our ServersDatabasesAuditingSetting_Spec

func (*ServersDatabasesAuditingSetting_Spec) ConvertSpecFrom

func (setting *ServersDatabasesAuditingSetting_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersDatabasesAuditingSetting_Spec from the provided source

func (*ServersDatabasesAuditingSetting_Spec) ConvertSpecTo

func (setting *ServersDatabasesAuditingSetting_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersDatabasesAuditingSetting_Spec

func (*ServersDatabasesAuditingSetting_Spec) ConvertToARM

func (setting *ServersDatabasesAuditingSetting_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesAuditingSetting_Spec) DeepCopy

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

func (*ServersDatabasesAuditingSetting_Spec) DeepCopyInto

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

func (*ServersDatabasesAuditingSetting_Spec) Initialize_From_ServersDatabasesAuditingSetting_STATUS

func (setting *ServersDatabasesAuditingSetting_Spec) Initialize_From_ServersDatabasesAuditingSetting_STATUS(source *ServersDatabasesAuditingSetting_STATUS) error

Initialize_From_ServersDatabasesAuditingSetting_STATUS populates our ServersDatabasesAuditingSetting_Spec from the provided source ServersDatabasesAuditingSetting_STATUS

func (*ServersDatabasesAuditingSetting_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesAuditingSetting_Spec) OriginalVersion

func (setting *ServersDatabasesAuditingSetting_Spec) OriginalVersion() string

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

func (*ServersDatabasesAuditingSetting_Spec) PopulateFromARM

func (setting *ServersDatabasesAuditingSetting_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesBackupLongTermRetentionPolicy

type ServersDatabasesBackupLongTermRetentionPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesBackupLongTermRetentionPolicy_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesBackupLongTermRetentionPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/longTermRetentionPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/default

func (*ServersDatabasesBackupLongTermRetentionPolicy) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy

func (policy *ServersDatabasesBackupLongTermRetentionPolicy) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy(source *storage.ServersDatabasesBackupLongTermRetentionPolicy) error

AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy populates our ServersDatabasesBackupLongTermRetentionPolicy from the provided source ServersDatabasesBackupLongTermRetentionPolicy

func (*ServersDatabasesBackupLongTermRetentionPolicy) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy

func (policy *ServersDatabasesBackupLongTermRetentionPolicy) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy(destination *storage.ServersDatabasesBackupLongTermRetentionPolicy) error

AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy populates the provided destination ServersDatabasesBackupLongTermRetentionPolicy from our ServersDatabasesBackupLongTermRetentionPolicy

func (*ServersDatabasesBackupLongTermRetentionPolicy) AzureName

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

func (*ServersDatabasesBackupLongTermRetentionPolicy) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesBackupLongTermRetentionPolicy) ConvertFrom

ConvertFrom populates our ServersDatabasesBackupLongTermRetentionPolicy from the provided hub ServersDatabasesBackupLongTermRetentionPolicy

func (*ServersDatabasesBackupLongTermRetentionPolicy) ConvertTo

ConvertTo populates the provided hub ServersDatabasesBackupLongTermRetentionPolicy from our ServersDatabasesBackupLongTermRetentionPolicy

func (*ServersDatabasesBackupLongTermRetentionPolicy) DeepCopy

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

func (*ServersDatabasesBackupLongTermRetentionPolicy) DeepCopyInto

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

func (*ServersDatabasesBackupLongTermRetentionPolicy) DeepCopyObject

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

func (ServersDatabasesBackupLongTermRetentionPolicy) GetAPIVersion

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

func (*ServersDatabasesBackupLongTermRetentionPolicy) GetConditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) GetResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) GetSupportedOperations

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) GetType

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies"

func (*ServersDatabasesBackupLongTermRetentionPolicy) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesBackupLongTermRetentionPolicy) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesBackupLongTermRetentionPolicy) OriginalGVK

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

func (*ServersDatabasesBackupLongTermRetentionPolicy) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesBackupLongTermRetentionPolicy) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesBackupLongTermRetentionPolicy) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersDatabasesBackupLongTermRetentionPolicy) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesBackupLongTermRetentionPolicyList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/longTermRetentionPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/default

func (*ServersDatabasesBackupLongTermRetentionPolicyList) DeepCopy

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

func (*ServersDatabasesBackupLongTermRetentionPolicyList) DeepCopyInto

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

func (*ServersDatabasesBackupLongTermRetentionPolicyList) DeepCopyObject

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

type ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

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

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

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

func (*ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

func (operator *ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec(source *storage.ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) error

AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec populates our ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec from the provided source ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

func (*ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

func (operator *ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec(destination *storage.ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) error

AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec populates the provided destination ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec from our ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

func (*ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) DeepCopy

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

func (*ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec) DeepCopyInto

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

type ServersDatabasesBackupLongTermRetentionPolicy_STATUS

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

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

	// MonthlyRetention: The monthly retention policy for an LTR backup in an ISO 8601 format.
	MonthlyRetention *string `json:"monthlyRetention,omitempty"`

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

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

	// TimeBasedImmutability: The setting for whether to enable time-based immutability for future backups. When set, future
	// backups will have TimeBasedImmutability enabled.
	TimeBasedImmutability *TimeBasedImmutability_STATUS `json:"timeBasedImmutability,omitempty"`

	// TimeBasedImmutabilityMode: The setting for time-based immutability mode for future backup (Value can be either Locked or
	// UnLocked. Only effective if TimeBasedImmutability is enabled). Caution: Immutability of LTR backup cannot be removed if
	// TimeBasedImmutabilityMode is Locked.
	TimeBasedImmutabilityMode *TimeBasedImmutabilityMode_STATUS `json:"timeBasedImmutabilityMode,omitempty"`

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

	// WeekOfYear: The week of year to take the yearly backup in an ISO 8601 format.
	WeekOfYear *int `json:"weekOfYear,omitempty"`

	// WeeklyRetention: The weekly retention policy for an LTR backup in an ISO 8601 format.
	WeeklyRetention *string `json:"weeklyRetention,omitempty"`

	// YearlyRetention: The yearly retention policy for an LTR backup in an ISO 8601 format.
	YearlyRetention *string `json:"yearlyRetention,omitempty"`
}

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (policy *ServersDatabasesBackupLongTermRetentionPolicy_STATUS) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy_STATUS(source *storage.ServersDatabasesBackupLongTermRetentionPolicy_STATUS) error

AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy_STATUS populates our ServersDatabasesBackupLongTermRetentionPolicy_STATUS from the provided source ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (policy *ServersDatabasesBackupLongTermRetentionPolicy_STATUS) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy_STATUS(destination *storage.ServersDatabasesBackupLongTermRetentionPolicy_STATUS) error

AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy_STATUS populates the provided destination ServersDatabasesBackupLongTermRetentionPolicy_STATUS from our ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersDatabasesBackupLongTermRetentionPolicy_STATUS from the provided source

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) ConvertStatusTo

ConvertStatusTo populates the provided destination from our ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) DeepCopy

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

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) DeepCopyInto

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

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesBackupLongTermRetentionPolicy_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesBackupLongTermRetentionPolicy_Spec

type ServersDatabasesBackupLongTermRetentionPolicy_Spec struct {
	// MonthlyRetention: The monthly retention policy for an LTR backup in an ISO 8601 format.
	MonthlyRetention *string `json:"monthlyRetention,omitempty"`

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

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

	// TimeBasedImmutability: The setting for whether to enable time-based immutability for future backups. When set, future
	// backups will have TimeBasedImmutability enabled.
	TimeBasedImmutability *TimeBasedImmutability `json:"timeBasedImmutability,omitempty"`

	// TimeBasedImmutabilityMode: The setting for time-based immutability mode for future backup (Value can be either Locked or
	// UnLocked. Only effective if TimeBasedImmutability is enabled). Caution: Immutability of LTR backup cannot be removed if
	// TimeBasedImmutabilityMode is Locked.
	TimeBasedImmutabilityMode *TimeBasedImmutabilityMode `json:"timeBasedImmutabilityMode,omitempty"`

	// WeekOfYear: The week of year to take the yearly backup in an ISO 8601 format.
	WeekOfYear *int `json:"weekOfYear,omitempty"`

	// WeeklyRetention: The weekly retention policy for an LTR backup in an ISO 8601 format.
	WeeklyRetention *string `json:"weeklyRetention,omitempty"`

	// YearlyRetention: The yearly retention policy for an LTR backup in an ISO 8601 format.
	YearlyRetention *string `json:"yearlyRetention,omitempty"`
}

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy_Spec

func (policy *ServersDatabasesBackupLongTermRetentionPolicy_Spec) AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy_Spec(source *storage.ServersDatabasesBackupLongTermRetentionPolicy_Spec) error

AssignProperties_From_ServersDatabasesBackupLongTermRetentionPolicy_Spec populates our ServersDatabasesBackupLongTermRetentionPolicy_Spec from the provided source ServersDatabasesBackupLongTermRetentionPolicy_Spec

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy_Spec

func (policy *ServersDatabasesBackupLongTermRetentionPolicy_Spec) AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy_Spec(destination *storage.ServersDatabasesBackupLongTermRetentionPolicy_Spec) error

AssignProperties_To_ServersDatabasesBackupLongTermRetentionPolicy_Spec populates the provided destination ServersDatabasesBackupLongTermRetentionPolicy_Spec from our ServersDatabasesBackupLongTermRetentionPolicy_Spec

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersDatabasesBackupLongTermRetentionPolicy_Spec from the provided source

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) ConvertSpecTo

ConvertSpecTo populates the provided destination from our ServersDatabasesBackupLongTermRetentionPolicy_Spec

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) ConvertToARM

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) DeepCopy

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

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) DeepCopyInto

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

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) Initialize_From_ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (policy *ServersDatabasesBackupLongTermRetentionPolicy_Spec) Initialize_From_ServersDatabasesBackupLongTermRetentionPolicy_STATUS(source *ServersDatabasesBackupLongTermRetentionPolicy_STATUS) error

Initialize_From_ServersDatabasesBackupLongTermRetentionPolicy_STATUS populates our ServersDatabasesBackupLongTermRetentionPolicy_Spec from the provided source ServersDatabasesBackupLongTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) OriginalVersion

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

func (*ServersDatabasesBackupLongTermRetentionPolicy_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesBackupShortTermRetentionPolicy

type ServersDatabasesBackupShortTermRetentionPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesBackupShortTermRetentionPolicy_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesBackupShortTermRetentionPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/backupShortTermRetentionPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/default

func (*ServersDatabasesBackupShortTermRetentionPolicy) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy

func (policy *ServersDatabasesBackupShortTermRetentionPolicy) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy(source *storage.ServersDatabasesBackupShortTermRetentionPolicy) error

AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy populates our ServersDatabasesBackupShortTermRetentionPolicy from the provided source ServersDatabasesBackupShortTermRetentionPolicy

func (*ServersDatabasesBackupShortTermRetentionPolicy) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy

func (policy *ServersDatabasesBackupShortTermRetentionPolicy) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy(destination *storage.ServersDatabasesBackupShortTermRetentionPolicy) error

AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy populates the provided destination ServersDatabasesBackupShortTermRetentionPolicy from our ServersDatabasesBackupShortTermRetentionPolicy

func (*ServersDatabasesBackupShortTermRetentionPolicy) AzureName

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

func (*ServersDatabasesBackupShortTermRetentionPolicy) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesBackupShortTermRetentionPolicy) ConvertFrom

ConvertFrom populates our ServersDatabasesBackupShortTermRetentionPolicy from the provided hub ServersDatabasesBackupShortTermRetentionPolicy

func (*ServersDatabasesBackupShortTermRetentionPolicy) ConvertTo

ConvertTo populates the provided hub ServersDatabasesBackupShortTermRetentionPolicy from our ServersDatabasesBackupShortTermRetentionPolicy

func (*ServersDatabasesBackupShortTermRetentionPolicy) DeepCopy

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

func (*ServersDatabasesBackupShortTermRetentionPolicy) DeepCopyInto

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

func (*ServersDatabasesBackupShortTermRetentionPolicy) DeepCopyObject

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

func (ServersDatabasesBackupShortTermRetentionPolicy) GetAPIVersion

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

func (*ServersDatabasesBackupShortTermRetentionPolicy) GetConditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) GetResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) GetSupportedOperations

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) GetType

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies"

func (*ServersDatabasesBackupShortTermRetentionPolicy) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesBackupShortTermRetentionPolicy) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesBackupShortTermRetentionPolicy) OriginalGVK

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

func (*ServersDatabasesBackupShortTermRetentionPolicy) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesBackupShortTermRetentionPolicy) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesBackupShortTermRetentionPolicy) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersDatabasesBackupShortTermRetentionPolicy) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesBackupShortTermRetentionPolicyList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/backupShortTermRetentionPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/default

func (*ServersDatabasesBackupShortTermRetentionPolicyList) DeepCopy

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

func (*ServersDatabasesBackupShortTermRetentionPolicyList) DeepCopyInto

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

func (*ServersDatabasesBackupShortTermRetentionPolicyList) DeepCopyObject

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

type ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

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

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

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

func (*ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

func (operator *ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec(source *storage.ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) error

AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec populates our ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec from the provided source ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

func (*ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

func (operator *ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec(destination *storage.ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) error

AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec populates the provided destination ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec from our ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

func (*ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) DeepCopy

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

func (*ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec) DeepCopyInto

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

type ServersDatabasesBackupShortTermRetentionPolicy_STATUS

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

	// DiffBackupIntervalInHours: The differential backup interval in hours. This is how many interval hours between each
	// differential backup will be supported. This is only applicable to live databases but not dropped databases.
	DiffBackupIntervalInHours *DiffBackupIntervalInHours_STATUS `json:"diffBackupIntervalInHours,omitempty"`

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

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

	// RetentionDays: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
	RetentionDays *int `json:"retentionDays,omitempty"`

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

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

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (policy *ServersDatabasesBackupShortTermRetentionPolicy_STATUS) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy_STATUS(source *storage.ServersDatabasesBackupShortTermRetentionPolicy_STATUS) error

AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy_STATUS populates our ServersDatabasesBackupShortTermRetentionPolicy_STATUS from the provided source ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (policy *ServersDatabasesBackupShortTermRetentionPolicy_STATUS) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy_STATUS(destination *storage.ServersDatabasesBackupShortTermRetentionPolicy_STATUS) error

AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy_STATUS populates the provided destination ServersDatabasesBackupShortTermRetentionPolicy_STATUS from our ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersDatabasesBackupShortTermRetentionPolicy_STATUS from the provided source

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) ConvertStatusTo

ConvertStatusTo populates the provided destination from our ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) DeepCopy

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

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) DeepCopyInto

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

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesBackupShortTermRetentionPolicy_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesBackupShortTermRetentionPolicy_Spec

type ServersDatabasesBackupShortTermRetentionPolicy_Spec struct {
	// DiffBackupIntervalInHours: The differential backup interval in hours. This is how many interval hours between each
	// differential backup will be supported. This is only applicable to live databases but not dropped databases.
	DiffBackupIntervalInHours *DiffBackupIntervalInHours `json:"diffBackupIntervalInHours,omitempty"`

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

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

	// RetentionDays: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.
	RetentionDays *int `json:"retentionDays,omitempty"`
}

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy_Spec

func (policy *ServersDatabasesBackupShortTermRetentionPolicy_Spec) AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy_Spec(source *storage.ServersDatabasesBackupShortTermRetentionPolicy_Spec) error

AssignProperties_From_ServersDatabasesBackupShortTermRetentionPolicy_Spec populates our ServersDatabasesBackupShortTermRetentionPolicy_Spec from the provided source ServersDatabasesBackupShortTermRetentionPolicy_Spec

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy_Spec

func (policy *ServersDatabasesBackupShortTermRetentionPolicy_Spec) AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy_Spec(destination *storage.ServersDatabasesBackupShortTermRetentionPolicy_Spec) error

AssignProperties_To_ServersDatabasesBackupShortTermRetentionPolicy_Spec populates the provided destination ServersDatabasesBackupShortTermRetentionPolicy_Spec from our ServersDatabasesBackupShortTermRetentionPolicy_Spec

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersDatabasesBackupShortTermRetentionPolicy_Spec from the provided source

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) ConvertSpecTo

ConvertSpecTo populates the provided destination from our ServersDatabasesBackupShortTermRetentionPolicy_Spec

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) ConvertToARM

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) DeepCopy

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

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) DeepCopyInto

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

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) Initialize_From_ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (policy *ServersDatabasesBackupShortTermRetentionPolicy_Spec) Initialize_From_ServersDatabasesBackupShortTermRetentionPolicy_STATUS(source *ServersDatabasesBackupShortTermRetentionPolicy_STATUS) error

Initialize_From_ServersDatabasesBackupShortTermRetentionPolicy_STATUS populates our ServersDatabasesBackupShortTermRetentionPolicy_Spec from the provided source ServersDatabasesBackupShortTermRetentionPolicy_STATUS

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) OriginalVersion

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

func (*ServersDatabasesBackupShortTermRetentionPolicy_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesSecurityAlertPolicy

type ServersDatabasesSecurityAlertPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesSecurityAlertPolicy_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesSecurityAlertPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databaseSecurityAlertPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/Default

func (*ServersDatabasesSecurityAlertPolicy) AssignProperties_From_ServersDatabasesSecurityAlertPolicy

func (policy *ServersDatabasesSecurityAlertPolicy) AssignProperties_From_ServersDatabasesSecurityAlertPolicy(source *storage.ServersDatabasesSecurityAlertPolicy) error

AssignProperties_From_ServersDatabasesSecurityAlertPolicy populates our ServersDatabasesSecurityAlertPolicy from the provided source ServersDatabasesSecurityAlertPolicy

func (*ServersDatabasesSecurityAlertPolicy) AssignProperties_To_ServersDatabasesSecurityAlertPolicy

func (policy *ServersDatabasesSecurityAlertPolicy) AssignProperties_To_ServersDatabasesSecurityAlertPolicy(destination *storage.ServersDatabasesSecurityAlertPolicy) error

AssignProperties_To_ServersDatabasesSecurityAlertPolicy populates the provided destination ServersDatabasesSecurityAlertPolicy from our ServersDatabasesSecurityAlertPolicy

func (*ServersDatabasesSecurityAlertPolicy) AzureName

func (policy *ServersDatabasesSecurityAlertPolicy) AzureName() string

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

func (*ServersDatabasesSecurityAlertPolicy) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesSecurityAlertPolicy) ConvertFrom

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

ConvertFrom populates our ServersDatabasesSecurityAlertPolicy from the provided hub ServersDatabasesSecurityAlertPolicy

func (*ServersDatabasesSecurityAlertPolicy) ConvertTo

ConvertTo populates the provided hub ServersDatabasesSecurityAlertPolicy from our ServersDatabasesSecurityAlertPolicy

func (*ServersDatabasesSecurityAlertPolicy) DeepCopy

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

func (*ServersDatabasesSecurityAlertPolicy) DeepCopyInto

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

func (*ServersDatabasesSecurityAlertPolicy) DeepCopyObject

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

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

func (ServersDatabasesSecurityAlertPolicy) GetAPIVersion

func (policy ServersDatabasesSecurityAlertPolicy) GetAPIVersion() string

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

func (*ServersDatabasesSecurityAlertPolicy) GetConditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesSecurityAlertPolicy) GetResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesSecurityAlertPolicy) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesSecurityAlertPolicy) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesSecurityAlertPolicy) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesSecurityAlertPolicy) GetType

func (policy *ServersDatabasesSecurityAlertPolicy) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/securityAlertPolicies"

func (*ServersDatabasesSecurityAlertPolicy) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesSecurityAlertPolicy) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesSecurityAlertPolicy) OriginalGVK

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

func (*ServersDatabasesSecurityAlertPolicy) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesSecurityAlertPolicy) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesSecurityAlertPolicy) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersDatabasesSecurityAlertPolicy) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesSecurityAlertPolicyList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databaseSecurityAlertPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/Default

func (*ServersDatabasesSecurityAlertPolicyList) DeepCopy

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

func (*ServersDatabasesSecurityAlertPolicyList) DeepCopyInto

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

func (*ServersDatabasesSecurityAlertPolicyList) DeepCopyObject

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

type ServersDatabasesSecurityAlertPolicyOperatorSpec

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

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

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

func (*ServersDatabasesSecurityAlertPolicyOperatorSpec) AssignProperties_From_ServersDatabasesSecurityAlertPolicyOperatorSpec

func (operator *ServersDatabasesSecurityAlertPolicyOperatorSpec) AssignProperties_From_ServersDatabasesSecurityAlertPolicyOperatorSpec(source *storage.ServersDatabasesSecurityAlertPolicyOperatorSpec) error

AssignProperties_From_ServersDatabasesSecurityAlertPolicyOperatorSpec populates our ServersDatabasesSecurityAlertPolicyOperatorSpec from the provided source ServersDatabasesSecurityAlertPolicyOperatorSpec

func (*ServersDatabasesSecurityAlertPolicyOperatorSpec) AssignProperties_To_ServersDatabasesSecurityAlertPolicyOperatorSpec

func (operator *ServersDatabasesSecurityAlertPolicyOperatorSpec) AssignProperties_To_ServersDatabasesSecurityAlertPolicyOperatorSpec(destination *storage.ServersDatabasesSecurityAlertPolicyOperatorSpec) error

AssignProperties_To_ServersDatabasesSecurityAlertPolicyOperatorSpec populates the provided destination ServersDatabasesSecurityAlertPolicyOperatorSpec from our ServersDatabasesSecurityAlertPolicyOperatorSpec

func (*ServersDatabasesSecurityAlertPolicyOperatorSpec) DeepCopy

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

func (*ServersDatabasesSecurityAlertPolicyOperatorSpec) DeepCopyInto

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

type ServersDatabasesSecurityAlertPolicy_STATUS

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

	// CreationTime: Specifies the UTC creation time of the policy.
	CreationTime *string `json:"creationTime,omitempty"`

	// DisabledAlerts: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
	// Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
	DisabledAlerts []string `json:"disabledAlerts,omitempty"`

	// EmailAccountAdmins: Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`

	// EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.
	EmailAddresses []string `json:"emailAddresses,omitempty"`

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

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

	// RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// State: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the
	// specific database.
	State *SecurityAlertsPolicyState_STATUS `json:"state,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage
	// will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`

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

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

func (*ServersDatabasesSecurityAlertPolicy_STATUS) AssignProperties_From_ServersDatabasesSecurityAlertPolicy_STATUS

func (policy *ServersDatabasesSecurityAlertPolicy_STATUS) AssignProperties_From_ServersDatabasesSecurityAlertPolicy_STATUS(source *storage.ServersDatabasesSecurityAlertPolicy_STATUS) error

AssignProperties_From_ServersDatabasesSecurityAlertPolicy_STATUS populates our ServersDatabasesSecurityAlertPolicy_STATUS from the provided source ServersDatabasesSecurityAlertPolicy_STATUS

func (*ServersDatabasesSecurityAlertPolicy_STATUS) AssignProperties_To_ServersDatabasesSecurityAlertPolicy_STATUS

func (policy *ServersDatabasesSecurityAlertPolicy_STATUS) AssignProperties_To_ServersDatabasesSecurityAlertPolicy_STATUS(destination *storage.ServersDatabasesSecurityAlertPolicy_STATUS) error

AssignProperties_To_ServersDatabasesSecurityAlertPolicy_STATUS populates the provided destination ServersDatabasesSecurityAlertPolicy_STATUS from our ServersDatabasesSecurityAlertPolicy_STATUS

func (*ServersDatabasesSecurityAlertPolicy_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersDatabasesSecurityAlertPolicy_STATUS from the provided source

func (*ServersDatabasesSecurityAlertPolicy_STATUS) ConvertStatusTo

ConvertStatusTo populates the provided destination from our ServersDatabasesSecurityAlertPolicy_STATUS

func (*ServersDatabasesSecurityAlertPolicy_STATUS) DeepCopy

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

func (*ServersDatabasesSecurityAlertPolicy_STATUS) DeepCopyInto

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

func (*ServersDatabasesSecurityAlertPolicy_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesSecurityAlertPolicy_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesSecurityAlertPolicy_Spec

type ServersDatabasesSecurityAlertPolicy_Spec struct {
	// DisabledAlerts: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
	// Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
	DisabledAlerts []string `json:"disabledAlerts,omitempty"`

	// EmailAccountAdmins: Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`

	// EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.
	EmailAddresses []string `json:"emailAddresses,omitempty"`

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

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

	// RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// +kubebuilder:validation:Required
	// State: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the
	// specific database.
	State *SecurityAlertsPolicyState `json:"state,omitempty"`

	// StorageAccountAccessKey: Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey *genruntime.SecretReference `json:"storageAccountAccessKey,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage
	// will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`
}

func (*ServersDatabasesSecurityAlertPolicy_Spec) AssignProperties_From_ServersDatabasesSecurityAlertPolicy_Spec

func (policy *ServersDatabasesSecurityAlertPolicy_Spec) AssignProperties_From_ServersDatabasesSecurityAlertPolicy_Spec(source *storage.ServersDatabasesSecurityAlertPolicy_Spec) error

AssignProperties_From_ServersDatabasesSecurityAlertPolicy_Spec populates our ServersDatabasesSecurityAlertPolicy_Spec from the provided source ServersDatabasesSecurityAlertPolicy_Spec

func (*ServersDatabasesSecurityAlertPolicy_Spec) AssignProperties_To_ServersDatabasesSecurityAlertPolicy_Spec

func (policy *ServersDatabasesSecurityAlertPolicy_Spec) AssignProperties_To_ServersDatabasesSecurityAlertPolicy_Spec(destination *storage.ServersDatabasesSecurityAlertPolicy_Spec) error

AssignProperties_To_ServersDatabasesSecurityAlertPolicy_Spec populates the provided destination ServersDatabasesSecurityAlertPolicy_Spec from our ServersDatabasesSecurityAlertPolicy_Spec

func (*ServersDatabasesSecurityAlertPolicy_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersDatabasesSecurityAlertPolicy_Spec from the provided source

func (*ServersDatabasesSecurityAlertPolicy_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our ServersDatabasesSecurityAlertPolicy_Spec

func (*ServersDatabasesSecurityAlertPolicy_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesSecurityAlertPolicy_Spec) DeepCopy

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

func (*ServersDatabasesSecurityAlertPolicy_Spec) DeepCopyInto

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

func (*ServersDatabasesSecurityAlertPolicy_Spec) Initialize_From_ServersDatabasesSecurityAlertPolicy_STATUS

func (policy *ServersDatabasesSecurityAlertPolicy_Spec) Initialize_From_ServersDatabasesSecurityAlertPolicy_STATUS(source *ServersDatabasesSecurityAlertPolicy_STATUS) error

Initialize_From_ServersDatabasesSecurityAlertPolicy_STATUS populates our ServersDatabasesSecurityAlertPolicy_Spec from the provided source ServersDatabasesSecurityAlertPolicy_STATUS

func (*ServersDatabasesSecurityAlertPolicy_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesSecurityAlertPolicy_Spec) OriginalVersion

func (policy *ServersDatabasesSecurityAlertPolicy_Spec) OriginalVersion() string

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

func (*ServersDatabasesSecurityAlertPolicy_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesTransparentDataEncryption

type ServersDatabasesTransparentDataEncryption struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesTransparentDataEncryption_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesTransparentDataEncryption_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/transparentDataEncryptions.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{tdeName}

func (*ServersDatabasesTransparentDataEncryption) AssignProperties_From_ServersDatabasesTransparentDataEncryption

func (encryption *ServersDatabasesTransparentDataEncryption) AssignProperties_From_ServersDatabasesTransparentDataEncryption(source *storage.ServersDatabasesTransparentDataEncryption) error

AssignProperties_From_ServersDatabasesTransparentDataEncryption populates our ServersDatabasesTransparentDataEncryption from the provided source ServersDatabasesTransparentDataEncryption

func (*ServersDatabasesTransparentDataEncryption) AssignProperties_To_ServersDatabasesTransparentDataEncryption

func (encryption *ServersDatabasesTransparentDataEncryption) AssignProperties_To_ServersDatabasesTransparentDataEncryption(destination *storage.ServersDatabasesTransparentDataEncryption) error

AssignProperties_To_ServersDatabasesTransparentDataEncryption populates the provided destination ServersDatabasesTransparentDataEncryption from our ServersDatabasesTransparentDataEncryption

func (*ServersDatabasesTransparentDataEncryption) AzureName

func (encryption *ServersDatabasesTransparentDataEncryption) AzureName() string

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

func (*ServersDatabasesTransparentDataEncryption) ConfigMapDestinationExpressions

func (encryption *ServersDatabasesTransparentDataEncryption) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesTransparentDataEncryption) ConvertFrom

func (encryption *ServersDatabasesTransparentDataEncryption) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersDatabasesTransparentDataEncryption from the provided hub ServersDatabasesTransparentDataEncryption

func (*ServersDatabasesTransparentDataEncryption) ConvertTo

ConvertTo populates the provided hub ServersDatabasesTransparentDataEncryption from our ServersDatabasesTransparentDataEncryption

func (*ServersDatabasesTransparentDataEncryption) DeepCopy

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

func (*ServersDatabasesTransparentDataEncryption) DeepCopyInto

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

func (*ServersDatabasesTransparentDataEncryption) DeepCopyObject

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

func (ServersDatabasesTransparentDataEncryption) GetAPIVersion

func (encryption ServersDatabasesTransparentDataEncryption) GetAPIVersion() string

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

func (*ServersDatabasesTransparentDataEncryption) GetConditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesTransparentDataEncryption) GetResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesTransparentDataEncryption) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesTransparentDataEncryption) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesTransparentDataEncryption) GetSupportedOperations

func (encryption *ServersDatabasesTransparentDataEncryption) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesTransparentDataEncryption) GetType

func (encryption *ServersDatabasesTransparentDataEncryption) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/transparentDataEncryption"

func (*ServersDatabasesTransparentDataEncryption) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesTransparentDataEncryption) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesTransparentDataEncryption) OriginalGVK

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

func (*ServersDatabasesTransparentDataEncryption) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesTransparentDataEncryption) SecretDestinationExpressions

func (encryption *ServersDatabasesTransparentDataEncryption) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesTransparentDataEncryption) SetConditions

func (encryption *ServersDatabasesTransparentDataEncryption) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersDatabasesTransparentDataEncryption) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesTransparentDataEncryptionList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/transparentDataEncryptions.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{tdeName}

func (*ServersDatabasesTransparentDataEncryptionList) DeepCopy

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

func (*ServersDatabasesTransparentDataEncryptionList) DeepCopyInto

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

func (*ServersDatabasesTransparentDataEncryptionList) DeepCopyObject

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

type ServersDatabasesTransparentDataEncryptionOperatorSpec

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

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

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

func (*ServersDatabasesTransparentDataEncryptionOperatorSpec) AssignProperties_From_ServersDatabasesTransparentDataEncryptionOperatorSpec

func (operator *ServersDatabasesTransparentDataEncryptionOperatorSpec) AssignProperties_From_ServersDatabasesTransparentDataEncryptionOperatorSpec(source *storage.ServersDatabasesTransparentDataEncryptionOperatorSpec) error

AssignProperties_From_ServersDatabasesTransparentDataEncryptionOperatorSpec populates our ServersDatabasesTransparentDataEncryptionOperatorSpec from the provided source ServersDatabasesTransparentDataEncryptionOperatorSpec

func (*ServersDatabasesTransparentDataEncryptionOperatorSpec) AssignProperties_To_ServersDatabasesTransparentDataEncryptionOperatorSpec

func (operator *ServersDatabasesTransparentDataEncryptionOperatorSpec) AssignProperties_To_ServersDatabasesTransparentDataEncryptionOperatorSpec(destination *storage.ServersDatabasesTransparentDataEncryptionOperatorSpec) error

AssignProperties_To_ServersDatabasesTransparentDataEncryptionOperatorSpec populates the provided destination ServersDatabasesTransparentDataEncryptionOperatorSpec from our ServersDatabasesTransparentDataEncryptionOperatorSpec

func (*ServersDatabasesTransparentDataEncryptionOperatorSpec) DeepCopy

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

func (*ServersDatabasesTransparentDataEncryptionOperatorSpec) DeepCopyInto

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

type ServersDatabasesTransparentDataEncryption_STATUS

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

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

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

	// ScanState: Specifies the encryption scan state of the transparent data encryption.
	ScanState *TransparentDataEncryptionScanState_STATUS `json:"scanState,omitempty"`

	// State: Specifies the state of the transparent data encryption.
	State *TransparentDataEncryptionState_STATUS `json:"state,omitempty"`

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

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

func (*ServersDatabasesTransparentDataEncryption_STATUS) AssignProperties_From_ServersDatabasesTransparentDataEncryption_STATUS

func (encryption *ServersDatabasesTransparentDataEncryption_STATUS) AssignProperties_From_ServersDatabasesTransparentDataEncryption_STATUS(source *storage.ServersDatabasesTransparentDataEncryption_STATUS) error

AssignProperties_From_ServersDatabasesTransparentDataEncryption_STATUS populates our ServersDatabasesTransparentDataEncryption_STATUS from the provided source ServersDatabasesTransparentDataEncryption_STATUS

func (*ServersDatabasesTransparentDataEncryption_STATUS) AssignProperties_To_ServersDatabasesTransparentDataEncryption_STATUS

func (encryption *ServersDatabasesTransparentDataEncryption_STATUS) AssignProperties_To_ServersDatabasesTransparentDataEncryption_STATUS(destination *storage.ServersDatabasesTransparentDataEncryption_STATUS) error

AssignProperties_To_ServersDatabasesTransparentDataEncryption_STATUS populates the provided destination ServersDatabasesTransparentDataEncryption_STATUS from our ServersDatabasesTransparentDataEncryption_STATUS

func (*ServersDatabasesTransparentDataEncryption_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersDatabasesTransparentDataEncryption_STATUS from the provided source

func (*ServersDatabasesTransparentDataEncryption_STATUS) ConvertStatusTo

ConvertStatusTo populates the provided destination from our ServersDatabasesTransparentDataEncryption_STATUS

func (*ServersDatabasesTransparentDataEncryption_STATUS) DeepCopy

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

func (*ServersDatabasesTransparentDataEncryption_STATUS) DeepCopyInto

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

func (*ServersDatabasesTransparentDataEncryption_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesTransparentDataEncryption_STATUS) PopulateFromARM

func (encryption *ServersDatabasesTransparentDataEncryption_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesTransparentDataEncryption_Spec

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

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

	// ScanState: Specifies the encryption scan state of the transparent data encryption.
	ScanState *TransparentDataEncryptionScanState `json:"scanState,omitempty"`

	// +kubebuilder:validation:Required
	// State: Specifies the state of the transparent data encryption.
	State *TransparentDataEncryptionState `json:"state,omitempty"`
}

func (*ServersDatabasesTransparentDataEncryption_Spec) AssignProperties_From_ServersDatabasesTransparentDataEncryption_Spec

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) AssignProperties_From_ServersDatabasesTransparentDataEncryption_Spec(source *storage.ServersDatabasesTransparentDataEncryption_Spec) error

AssignProperties_From_ServersDatabasesTransparentDataEncryption_Spec populates our ServersDatabasesTransparentDataEncryption_Spec from the provided source ServersDatabasesTransparentDataEncryption_Spec

func (*ServersDatabasesTransparentDataEncryption_Spec) AssignProperties_To_ServersDatabasesTransparentDataEncryption_Spec

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) AssignProperties_To_ServersDatabasesTransparentDataEncryption_Spec(destination *storage.ServersDatabasesTransparentDataEncryption_Spec) error

AssignProperties_To_ServersDatabasesTransparentDataEncryption_Spec populates the provided destination ServersDatabasesTransparentDataEncryption_Spec from our ServersDatabasesTransparentDataEncryption_Spec

func (*ServersDatabasesTransparentDataEncryption_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersDatabasesTransparentDataEncryption_Spec from the provided source

func (*ServersDatabasesTransparentDataEncryption_Spec) ConvertSpecTo

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersDatabasesTransparentDataEncryption_Spec

func (*ServersDatabasesTransparentDataEncryption_Spec) ConvertToARM

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesTransparentDataEncryption_Spec) DeepCopy

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

func (*ServersDatabasesTransparentDataEncryption_Spec) DeepCopyInto

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

func (*ServersDatabasesTransparentDataEncryption_Spec) Initialize_From_ServersDatabasesTransparentDataEncryption_STATUS

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) Initialize_From_ServersDatabasesTransparentDataEncryption_STATUS(source *ServersDatabasesTransparentDataEncryption_STATUS) error

Initialize_From_ServersDatabasesTransparentDataEncryption_STATUS populates our ServersDatabasesTransparentDataEncryption_Spec from the provided source ServersDatabasesTransparentDataEncryption_STATUS

func (*ServersDatabasesTransparentDataEncryption_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesTransparentDataEncryption_Spec) OriginalVersion

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) OriginalVersion() string

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

func (*ServersDatabasesTransparentDataEncryption_Spec) PopulateFromARM

func (encryption *ServersDatabasesTransparentDataEncryption_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesVulnerabilityAssessment

type ServersDatabasesVulnerabilityAssessment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersDatabasesVulnerabilityAssessment_Spec   `json:"spec,omitempty"`
	Status            ServersDatabasesVulnerabilityAssessment_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databaseVulnerabilityAssessments.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/default

func (*ServersDatabasesVulnerabilityAssessment) AssignProperties_From_ServersDatabasesVulnerabilityAssessment

func (assessment *ServersDatabasesVulnerabilityAssessment) AssignProperties_From_ServersDatabasesVulnerabilityAssessment(source *storage.ServersDatabasesVulnerabilityAssessment) error

AssignProperties_From_ServersDatabasesVulnerabilityAssessment populates our ServersDatabasesVulnerabilityAssessment from the provided source ServersDatabasesVulnerabilityAssessment

func (*ServersDatabasesVulnerabilityAssessment) AssignProperties_To_ServersDatabasesVulnerabilityAssessment

func (assessment *ServersDatabasesVulnerabilityAssessment) AssignProperties_To_ServersDatabasesVulnerabilityAssessment(destination *storage.ServersDatabasesVulnerabilityAssessment) error

AssignProperties_To_ServersDatabasesVulnerabilityAssessment populates the provided destination ServersDatabasesVulnerabilityAssessment from our ServersDatabasesVulnerabilityAssessment

func (*ServersDatabasesVulnerabilityAssessment) AzureName

func (assessment *ServersDatabasesVulnerabilityAssessment) AzureName() string

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

func (*ServersDatabasesVulnerabilityAssessment) ConfigMapDestinationExpressions

func (assessment *ServersDatabasesVulnerabilityAssessment) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersDatabasesVulnerabilityAssessment) ConvertFrom

func (assessment *ServersDatabasesVulnerabilityAssessment) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersDatabasesVulnerabilityAssessment from the provided hub ServersDatabasesVulnerabilityAssessment

func (*ServersDatabasesVulnerabilityAssessment) ConvertTo

func (assessment *ServersDatabasesVulnerabilityAssessment) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersDatabasesVulnerabilityAssessment from our ServersDatabasesVulnerabilityAssessment

func (*ServersDatabasesVulnerabilityAssessment) DeepCopy

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

func (*ServersDatabasesVulnerabilityAssessment) DeepCopyInto

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

func (*ServersDatabasesVulnerabilityAssessment) DeepCopyObject

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

func (ServersDatabasesVulnerabilityAssessment) GetAPIVersion

func (assessment ServersDatabasesVulnerabilityAssessment) GetAPIVersion() string

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

func (*ServersDatabasesVulnerabilityAssessment) GetConditions

GetConditions returns the conditions of the resource

func (*ServersDatabasesVulnerabilityAssessment) GetResourceScope

func (assessment *ServersDatabasesVulnerabilityAssessment) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersDatabasesVulnerabilityAssessment) GetSpec

GetSpec returns the specification of this resource

func (*ServersDatabasesVulnerabilityAssessment) GetStatus

GetStatus returns the status of this resource

func (*ServersDatabasesVulnerabilityAssessment) GetSupportedOperations

func (assessment *ServersDatabasesVulnerabilityAssessment) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersDatabasesVulnerabilityAssessment) GetType

func (assessment *ServersDatabasesVulnerabilityAssessment) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/databases/vulnerabilityAssessments"

func (*ServersDatabasesVulnerabilityAssessment) InitializeSpec

InitializeSpec initializes the spec for this resource from the given status

func (*ServersDatabasesVulnerabilityAssessment) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersDatabasesVulnerabilityAssessment) OriginalGVK

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

func (*ServersDatabasesVulnerabilityAssessment) Owner

Owner returns the ResourceReference of the owner

func (*ServersDatabasesVulnerabilityAssessment) SecretDestinationExpressions

func (assessment *ServersDatabasesVulnerabilityAssessment) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersDatabasesVulnerabilityAssessment) SetConditions

func (assessment *ServersDatabasesVulnerabilityAssessment) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersDatabasesVulnerabilityAssessment) SetStatus

SetStatus sets the status of this resource

type ServersDatabasesVulnerabilityAssessmentList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/databaseVulnerabilityAssessments.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/vulnerabilityAssessments/default

func (*ServersDatabasesVulnerabilityAssessmentList) DeepCopy

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

func (*ServersDatabasesVulnerabilityAssessmentList) DeepCopyInto

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

func (*ServersDatabasesVulnerabilityAssessmentList) DeepCopyObject

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

type ServersDatabasesVulnerabilityAssessmentOperatorSpec

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

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

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

func (*ServersDatabasesVulnerabilityAssessmentOperatorSpec) AssignProperties_From_ServersDatabasesVulnerabilityAssessmentOperatorSpec

func (operator *ServersDatabasesVulnerabilityAssessmentOperatorSpec) AssignProperties_From_ServersDatabasesVulnerabilityAssessmentOperatorSpec(source *storage.ServersDatabasesVulnerabilityAssessmentOperatorSpec) error

AssignProperties_From_ServersDatabasesVulnerabilityAssessmentOperatorSpec populates our ServersDatabasesVulnerabilityAssessmentOperatorSpec from the provided source ServersDatabasesVulnerabilityAssessmentOperatorSpec

func (*ServersDatabasesVulnerabilityAssessmentOperatorSpec) AssignProperties_To_ServersDatabasesVulnerabilityAssessmentOperatorSpec

func (operator *ServersDatabasesVulnerabilityAssessmentOperatorSpec) AssignProperties_To_ServersDatabasesVulnerabilityAssessmentOperatorSpec(destination *storage.ServersDatabasesVulnerabilityAssessmentOperatorSpec) error

AssignProperties_To_ServersDatabasesVulnerabilityAssessmentOperatorSpec populates the provided destination ServersDatabasesVulnerabilityAssessmentOperatorSpec from our ServersDatabasesVulnerabilityAssessmentOperatorSpec

func (*ServersDatabasesVulnerabilityAssessmentOperatorSpec) DeepCopy

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

func (*ServersDatabasesVulnerabilityAssessmentOperatorSpec) DeepCopyInto

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

type ServersDatabasesVulnerabilityAssessment_STATUS

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

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

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

	// RecurringScans: The recurring scans settings
	RecurringScans *VulnerabilityAssessmentRecurringScansProperties_STATUS `json:"recurringScans,omitempty"`

	// StorageContainerPath: A blob storage container path to hold the scan results (e.g.
	// https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level vulnerability assessment policy
	// doesn't set
	StorageContainerPath *string `json:"storageContainerPath,omitempty"`

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

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

func (*ServersDatabasesVulnerabilityAssessment_STATUS) AssignProperties_From_ServersDatabasesVulnerabilityAssessment_STATUS

func (assessment *ServersDatabasesVulnerabilityAssessment_STATUS) AssignProperties_From_ServersDatabasesVulnerabilityAssessment_STATUS(source *storage.ServersDatabasesVulnerabilityAssessment_STATUS) error

AssignProperties_From_ServersDatabasesVulnerabilityAssessment_STATUS populates our ServersDatabasesVulnerabilityAssessment_STATUS from the provided source ServersDatabasesVulnerabilityAssessment_STATUS

func (*ServersDatabasesVulnerabilityAssessment_STATUS) AssignProperties_To_ServersDatabasesVulnerabilityAssessment_STATUS

func (assessment *ServersDatabasesVulnerabilityAssessment_STATUS) AssignProperties_To_ServersDatabasesVulnerabilityAssessment_STATUS(destination *storage.ServersDatabasesVulnerabilityAssessment_STATUS) error

AssignProperties_To_ServersDatabasesVulnerabilityAssessment_STATUS populates the provided destination ServersDatabasesVulnerabilityAssessment_STATUS from our ServersDatabasesVulnerabilityAssessment_STATUS

func (*ServersDatabasesVulnerabilityAssessment_STATUS) ConvertStatusFrom

ConvertStatusFrom populates our ServersDatabasesVulnerabilityAssessment_STATUS from the provided source

func (*ServersDatabasesVulnerabilityAssessment_STATUS) ConvertStatusTo

func (assessment *ServersDatabasesVulnerabilityAssessment_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersDatabasesVulnerabilityAssessment_STATUS

func (*ServersDatabasesVulnerabilityAssessment_STATUS) DeepCopy

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

func (*ServersDatabasesVulnerabilityAssessment_STATUS) DeepCopyInto

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

func (*ServersDatabasesVulnerabilityAssessment_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesVulnerabilityAssessment_STATUS) PopulateFromARM

func (assessment *ServersDatabasesVulnerabilityAssessment_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersDatabasesVulnerabilityAssessment_Spec

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

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

	// RecurringScans: The recurring scans settings
	RecurringScans *VulnerabilityAssessmentRecurringScansProperties `json:"recurringScans,omitempty"`

	// StorageAccountAccessKey: Specifies the identifier key of the storage account for vulnerability assessment scan results.
	// If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is
	// not behind a Vnet or a firewall
	StorageAccountAccessKey *genruntime.SecretReference `json:"storageAccountAccessKey,omitempty"`

	// StorageContainerPath: A blob storage container path to hold the scan results (e.g.
	// https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level vulnerability assessment policy
	// doesn't set
	StorageContainerPath *string `json:"storageContainerPath,omitempty" optionalConfigMapPair:"StorageContainerPath"`

	// StorageContainerPathFromConfig: A blob storage container path to hold the scan results (e.g.
	// https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level vulnerability assessment policy
	// doesn't set
	StorageContainerPathFromConfig *genruntime.ConfigMapReference `json:"storageContainerPathFromConfig,omitempty" optionalConfigMapPair:"StorageContainerPath"`

	// StorageContainerSasKey: A shared access signature (SAS Key) that has write access to the blob container specified in
	// 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.
	// Applies only if the storage account is not behind a Vnet or a firewall
	StorageContainerSasKey *genruntime.SecretReference `json:"storageContainerSasKey,omitempty"`
}

func (*ServersDatabasesVulnerabilityAssessment_Spec) AssignProperties_From_ServersDatabasesVulnerabilityAssessment_Spec

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) AssignProperties_From_ServersDatabasesVulnerabilityAssessment_Spec(source *storage.ServersDatabasesVulnerabilityAssessment_Spec) error

AssignProperties_From_ServersDatabasesVulnerabilityAssessment_Spec populates our ServersDatabasesVulnerabilityAssessment_Spec from the provided source ServersDatabasesVulnerabilityAssessment_Spec

func (*ServersDatabasesVulnerabilityAssessment_Spec) AssignProperties_To_ServersDatabasesVulnerabilityAssessment_Spec

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) AssignProperties_To_ServersDatabasesVulnerabilityAssessment_Spec(destination *storage.ServersDatabasesVulnerabilityAssessment_Spec) error

AssignProperties_To_ServersDatabasesVulnerabilityAssessment_Spec populates the provided destination ServersDatabasesVulnerabilityAssessment_Spec from our ServersDatabasesVulnerabilityAssessment_Spec

func (*ServersDatabasesVulnerabilityAssessment_Spec) ConvertSpecFrom

ConvertSpecFrom populates our ServersDatabasesVulnerabilityAssessment_Spec from the provided source

func (*ServersDatabasesVulnerabilityAssessment_Spec) ConvertSpecTo

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersDatabasesVulnerabilityAssessment_Spec

func (*ServersDatabasesVulnerabilityAssessment_Spec) ConvertToARM

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersDatabasesVulnerabilityAssessment_Spec) DeepCopy

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

func (*ServersDatabasesVulnerabilityAssessment_Spec) DeepCopyInto

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

func (*ServersDatabasesVulnerabilityAssessment_Spec) Initialize_From_ServersDatabasesVulnerabilityAssessment_STATUS

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) Initialize_From_ServersDatabasesVulnerabilityAssessment_STATUS(source *ServersDatabasesVulnerabilityAssessment_STATUS) error

Initialize_From_ServersDatabasesVulnerabilityAssessment_STATUS populates our ServersDatabasesVulnerabilityAssessment_Spec from the provided source ServersDatabasesVulnerabilityAssessment_STATUS

func (*ServersDatabasesVulnerabilityAssessment_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersDatabasesVulnerabilityAssessment_Spec) OriginalVersion

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) OriginalVersion() string

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

func (*ServersDatabasesVulnerabilityAssessment_Spec) PopulateFromARM

func (assessment *ServersDatabasesVulnerabilityAssessment_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersElasticPool

type ServersElasticPool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersElasticPool_Spec   `json:"spec,omitempty"`
	Status            ServersElasticPool_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/elasticPools.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}

func (*ServersElasticPool) AssignProperties_From_ServersElasticPool

func (pool *ServersElasticPool) AssignProperties_From_ServersElasticPool(source *storage.ServersElasticPool) error

AssignProperties_From_ServersElasticPool populates our ServersElasticPool from the provided source ServersElasticPool

func (*ServersElasticPool) AssignProperties_To_ServersElasticPool

func (pool *ServersElasticPool) AssignProperties_To_ServersElasticPool(destination *storage.ServersElasticPool) error

AssignProperties_To_ServersElasticPool populates the provided destination ServersElasticPool from our ServersElasticPool

func (*ServersElasticPool) AzureName

func (pool *ServersElasticPool) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersElasticPool) ConfigMapDestinationExpressions

func (pool *ServersElasticPool) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersElasticPool) ConvertFrom

func (pool *ServersElasticPool) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersElasticPool from the provided hub ServersElasticPool

func (*ServersElasticPool) ConvertTo

func (pool *ServersElasticPool) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersElasticPool from our ServersElasticPool

func (*ServersElasticPool) DeepCopy

func (in *ServersElasticPool) DeepCopy() *ServersElasticPool

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

func (*ServersElasticPool) DeepCopyInto

func (in *ServersElasticPool) DeepCopyInto(out *ServersElasticPool)

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

func (*ServersElasticPool) DeepCopyObject

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

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

func (ServersElasticPool) GetAPIVersion

func (pool ServersElasticPool) GetAPIVersion() string

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

func (*ServersElasticPool) GetConditions

func (pool *ServersElasticPool) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersElasticPool) GetResourceScope

func (pool *ServersElasticPool) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersElasticPool) GetSpec

GetSpec returns the specification of this resource

func (*ServersElasticPool) GetStatus

GetStatus returns the status of this resource

func (*ServersElasticPool) GetSupportedOperations

func (pool *ServersElasticPool) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersElasticPool) GetType

func (pool *ServersElasticPool) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/elasticPools"

func (*ServersElasticPool) InitializeSpec

func (pool *ServersElasticPool) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersElasticPool) NewEmptyStatus

func (pool *ServersElasticPool) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersElasticPool) OriginalGVK

func (pool *ServersElasticPool) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersElasticPool) Owner

Owner returns the ResourceReference of the owner

func (*ServersElasticPool) SecretDestinationExpressions

func (pool *ServersElasticPool) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersElasticPool) SetConditions

func (pool *ServersElasticPool) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersElasticPool) SetStatus

func (pool *ServersElasticPool) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersElasticPoolList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/elasticPools.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}

func (*ServersElasticPoolList) DeepCopy

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

func (*ServersElasticPoolList) DeepCopyInto

func (in *ServersElasticPoolList) DeepCopyInto(out *ServersElasticPoolList)

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

func (*ServersElasticPoolList) DeepCopyObject

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

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

type ServersElasticPoolOperatorSpec

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

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

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

func (*ServersElasticPoolOperatorSpec) AssignProperties_From_ServersElasticPoolOperatorSpec

func (operator *ServersElasticPoolOperatorSpec) AssignProperties_From_ServersElasticPoolOperatorSpec(source *storage.ServersElasticPoolOperatorSpec) error

AssignProperties_From_ServersElasticPoolOperatorSpec populates our ServersElasticPoolOperatorSpec from the provided source ServersElasticPoolOperatorSpec

func (*ServersElasticPoolOperatorSpec) AssignProperties_To_ServersElasticPoolOperatorSpec

func (operator *ServersElasticPoolOperatorSpec) AssignProperties_To_ServersElasticPoolOperatorSpec(destination *storage.ServersElasticPoolOperatorSpec) error

AssignProperties_To_ServersElasticPoolOperatorSpec populates the provided destination ServersElasticPoolOperatorSpec from our ServersElasticPoolOperatorSpec

func (*ServersElasticPoolOperatorSpec) DeepCopy

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

func (*ServersElasticPoolOperatorSpec) DeepCopyInto

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

type ServersElasticPool_STATUS

type ServersElasticPool_STATUS struct {
	// AutoPauseDelay: Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic
	// pause is disabled
	AutoPauseDelay *int `json:"autoPauseDelay,omitempty"`

	// AvailabilityZone: Specifies the availability zone the pool's primary replica is pinned to.
	AvailabilityZone *AvailabilityZoneType_STATUS `json:"availabilityZone,omitempty"`

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

	// CreationDate: The creation date of the elastic pool (ISO8601 format).
	CreationDate *string `json:"creationDate,omitempty"`

	// HighAvailabilityReplicaCount: The number of secondary replicas associated with the Business Critical, Premium, or
	// Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.
	HighAvailabilityReplicaCount *int `json:"highAvailabilityReplicaCount,omitempty"`

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

	// Kind: Kind of elastic pool. This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`

	// LicenseType: The license type to apply for this elastic pool.
	LicenseType *ElasticPoolLicenseType_STATUS `json:"licenseType,omitempty"`

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

	// MaintenanceConfigurationId: Maintenance configuration id assigned to the elastic pool. This configuration defines the
	// period when the maintenance updates will will occur.
	MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"`

	// MaxSizeBytes: The storage limit for the database elastic pool in bytes.
	MaxSizeBytes *int `json:"maxSizeBytes,omitempty"`

	// MinCapacity: Minimal capacity that serverless pool will not shrink below, if not paused
	MinCapacity *float64 `json:"minCapacity,omitempty"`

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

	// PerDatabaseSettings: The per database settings for the elastic pool.
	PerDatabaseSettings *ElasticPoolPerDatabaseSettings_STATUS `json:"perDatabaseSettings,omitempty"`

	// PreferredEnclaveType: Type of enclave requested on the elastic pool.
	PreferredEnclaveType *AlwaysEncryptedEnclaveType_STATUS `json:"preferredEnclaveType,omitempty"`

	// Sku: The elastic pool SKU.
	// The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition,
	// family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation`
	// REST API or the following command:
	// “`azurecli
	// az sql elastic-pool list-editions -l <location> -o table
	// “`
	Sku *Sku_STATUS `json:"sku,omitempty"`

	// State: The state of the elastic pool.
	State *ElasticPoolState_STATUS `json:"state,omitempty"`

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

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

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

	// ZoneRedundant: Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be
	// spread across multiple availability zones.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`
}

func (*ServersElasticPool_STATUS) AssignProperties_From_ServersElasticPool_STATUS

func (pool *ServersElasticPool_STATUS) AssignProperties_From_ServersElasticPool_STATUS(source *storage.ServersElasticPool_STATUS) error

AssignProperties_From_ServersElasticPool_STATUS populates our ServersElasticPool_STATUS from the provided source ServersElasticPool_STATUS

func (*ServersElasticPool_STATUS) AssignProperties_To_ServersElasticPool_STATUS

func (pool *ServersElasticPool_STATUS) AssignProperties_To_ServersElasticPool_STATUS(destination *storage.ServersElasticPool_STATUS) error

AssignProperties_To_ServersElasticPool_STATUS populates the provided destination ServersElasticPool_STATUS from our ServersElasticPool_STATUS

func (*ServersElasticPool_STATUS) ConvertStatusFrom

func (pool *ServersElasticPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersElasticPool_STATUS from the provided source

func (*ServersElasticPool_STATUS) ConvertStatusTo

func (pool *ServersElasticPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersElasticPool_STATUS

func (*ServersElasticPool_STATUS) DeepCopy

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

func (*ServersElasticPool_STATUS) DeepCopyInto

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

func (*ServersElasticPool_STATUS) NewEmptyARMValue

func (pool *ServersElasticPool_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersElasticPool_STATUS) PopulateFromARM

func (pool *ServersElasticPool_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersElasticPool_Spec

type ServersElasticPool_Spec struct {
	// AutoPauseDelay: Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic
	// pause is disabled
	AutoPauseDelay *int `json:"autoPauseDelay,omitempty"`

	// AvailabilityZone: Specifies the availability zone the pool's primary replica is pinned to.
	AvailabilityZone *AvailabilityZoneType `json:"availabilityZone,omitempty"`

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

	// HighAvailabilityReplicaCount: The number of secondary replicas associated with the Business Critical, Premium, or
	// Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.
	HighAvailabilityReplicaCount *int `json:"highAvailabilityReplicaCount,omitempty"`

	// LicenseType: The license type to apply for this elastic pool.
	LicenseType *ElasticPoolLicenseType `json:"licenseType,omitempty"`

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

	// MaintenanceConfigurationId: Maintenance configuration id assigned to the elastic pool. This configuration defines the
	// period when the maintenance updates will will occur.
	MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"`

	// MaxSizeBytes: The storage limit for the database elastic pool in bytes.
	MaxSizeBytes *int `json:"maxSizeBytes,omitempty"`

	// MinCapacity: Minimal capacity that serverless pool will not shrink below, if not paused
	MinCapacity *float64 `json:"minCapacity,omitempty"`

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

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

	// PerDatabaseSettings: The per database settings for the elastic pool.
	PerDatabaseSettings *ElasticPoolPerDatabaseSettings `json:"perDatabaseSettings,omitempty"`

	// PreferredEnclaveType: Type of enclave requested on the elastic pool.
	PreferredEnclaveType *AlwaysEncryptedEnclaveType `json:"preferredEnclaveType,omitempty"`

	// Sku: The elastic pool SKU.
	// The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition,
	// family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation`
	// REST API or the following command:
	// “`azurecli
	// az sql elastic-pool list-editions -l <location> -o table
	// “`
	Sku *Sku `json:"sku,omitempty"`

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

	// ZoneRedundant: Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be
	// spread across multiple availability zones.
	ZoneRedundant *bool `json:"zoneRedundant,omitempty"`
}

func (*ServersElasticPool_Spec) AssignProperties_From_ServersElasticPool_Spec

func (pool *ServersElasticPool_Spec) AssignProperties_From_ServersElasticPool_Spec(source *storage.ServersElasticPool_Spec) error

AssignProperties_From_ServersElasticPool_Spec populates our ServersElasticPool_Spec from the provided source ServersElasticPool_Spec

func (*ServersElasticPool_Spec) AssignProperties_To_ServersElasticPool_Spec

func (pool *ServersElasticPool_Spec) AssignProperties_To_ServersElasticPool_Spec(destination *storage.ServersElasticPool_Spec) error

AssignProperties_To_ServersElasticPool_Spec populates the provided destination ServersElasticPool_Spec from our ServersElasticPool_Spec

func (*ServersElasticPool_Spec) ConvertSpecFrom

func (pool *ServersElasticPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersElasticPool_Spec from the provided source

func (*ServersElasticPool_Spec) ConvertSpecTo

func (pool *ServersElasticPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersElasticPool_Spec

func (*ServersElasticPool_Spec) ConvertToARM

func (pool *ServersElasticPool_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersElasticPool_Spec) DeepCopy

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

func (*ServersElasticPool_Spec) DeepCopyInto

func (in *ServersElasticPool_Spec) DeepCopyInto(out *ServersElasticPool_Spec)

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

func (*ServersElasticPool_Spec) Initialize_From_ServersElasticPool_STATUS

func (pool *ServersElasticPool_Spec) Initialize_From_ServersElasticPool_STATUS(source *ServersElasticPool_STATUS) error

Initialize_From_ServersElasticPool_STATUS populates our ServersElasticPool_Spec from the provided source ServersElasticPool_STATUS

func (*ServersElasticPool_Spec) NewEmptyARMValue

func (pool *ServersElasticPool_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersElasticPool_Spec) OriginalVersion

func (pool *ServersElasticPool_Spec) OriginalVersion() string

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

func (*ServersElasticPool_Spec) PopulateFromARM

func (pool *ServersElasticPool_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersElasticPool_Spec) SetAzureName

func (pool *ServersElasticPool_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersEncryptionProtector

type ServersEncryptionProtector struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersEncryptionProtector_Spec   `json:"spec,omitempty"`
	Status            ServersEncryptionProtector_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/encryptionProtectors.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}

func (*ServersEncryptionProtector) AssignProperties_From_ServersEncryptionProtector

func (protector *ServersEncryptionProtector) AssignProperties_From_ServersEncryptionProtector(source *storage.ServersEncryptionProtector) error

AssignProperties_From_ServersEncryptionProtector populates our ServersEncryptionProtector from the provided source ServersEncryptionProtector

func (*ServersEncryptionProtector) AssignProperties_To_ServersEncryptionProtector

func (protector *ServersEncryptionProtector) AssignProperties_To_ServersEncryptionProtector(destination *storage.ServersEncryptionProtector) error

AssignProperties_To_ServersEncryptionProtector populates the provided destination ServersEncryptionProtector from our ServersEncryptionProtector

func (*ServersEncryptionProtector) AzureName

func (protector *ServersEncryptionProtector) AzureName() string

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

func (*ServersEncryptionProtector) ConfigMapDestinationExpressions

func (protector *ServersEncryptionProtector) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersEncryptionProtector) ConvertFrom

func (protector *ServersEncryptionProtector) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersEncryptionProtector from the provided hub ServersEncryptionProtector

func (*ServersEncryptionProtector) ConvertTo

func (protector *ServersEncryptionProtector) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersEncryptionProtector from our ServersEncryptionProtector

func (*ServersEncryptionProtector) DeepCopy

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

func (*ServersEncryptionProtector) DeepCopyInto

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

func (*ServersEncryptionProtector) DeepCopyObject

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

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

func (ServersEncryptionProtector) GetAPIVersion

func (protector ServersEncryptionProtector) GetAPIVersion() string

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

func (*ServersEncryptionProtector) GetConditions

func (protector *ServersEncryptionProtector) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersEncryptionProtector) GetResourceScope

func (protector *ServersEncryptionProtector) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersEncryptionProtector) GetSpec

GetSpec returns the specification of this resource

func (*ServersEncryptionProtector) GetStatus

GetStatus returns the status of this resource

func (*ServersEncryptionProtector) GetSupportedOperations

func (protector *ServersEncryptionProtector) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersEncryptionProtector) GetType

func (protector *ServersEncryptionProtector) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/encryptionProtector"

func (*ServersEncryptionProtector) InitializeSpec

func (protector *ServersEncryptionProtector) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersEncryptionProtector) NewEmptyStatus

func (protector *ServersEncryptionProtector) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersEncryptionProtector) OriginalGVK

func (protector *ServersEncryptionProtector) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersEncryptionProtector) Owner

Owner returns the ResourceReference of the owner

func (*ServersEncryptionProtector) SecretDestinationExpressions

func (protector *ServersEncryptionProtector) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersEncryptionProtector) SetConditions

func (protector *ServersEncryptionProtector) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersEncryptionProtector) SetStatus

func (protector *ServersEncryptionProtector) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersEncryptionProtectorList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/encryptionProtectors.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}

func (*ServersEncryptionProtectorList) DeepCopy

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

func (*ServersEncryptionProtectorList) DeepCopyInto

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

func (*ServersEncryptionProtectorList) DeepCopyObject

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

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

type ServersEncryptionProtectorOperatorSpec

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

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

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

func (*ServersEncryptionProtectorOperatorSpec) AssignProperties_From_ServersEncryptionProtectorOperatorSpec

func (operator *ServersEncryptionProtectorOperatorSpec) AssignProperties_From_ServersEncryptionProtectorOperatorSpec(source *storage.ServersEncryptionProtectorOperatorSpec) error

AssignProperties_From_ServersEncryptionProtectorOperatorSpec populates our ServersEncryptionProtectorOperatorSpec from the provided source ServersEncryptionProtectorOperatorSpec

func (*ServersEncryptionProtectorOperatorSpec) AssignProperties_To_ServersEncryptionProtectorOperatorSpec

func (operator *ServersEncryptionProtectorOperatorSpec) AssignProperties_To_ServersEncryptionProtectorOperatorSpec(destination *storage.ServersEncryptionProtectorOperatorSpec) error

AssignProperties_To_ServersEncryptionProtectorOperatorSpec populates the provided destination ServersEncryptionProtectorOperatorSpec from our ServersEncryptionProtectorOperatorSpec

func (*ServersEncryptionProtectorOperatorSpec) DeepCopy

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

func (*ServersEncryptionProtectorOperatorSpec) DeepCopyInto

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

type ServersEncryptionProtector_STATUS

type ServersEncryptionProtector_STATUS struct {
	// AutoRotationEnabled: Key auto rotation opt-in flag. Either true or false.
	AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"`

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

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

	// KeyVersion: The version of the server key being used as encryption protector
	KeyVersion *string `json:"keyVersion,omitempty"`

	// Kind: Kind of encryption protector. This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`

	// Location: Resource location.
	Location *string `json:"location,omitempty"`

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

	// ServerKeyName: The name of the server key.
	ServerKeyName *string `json:"serverKeyName,omitempty"`

	// ServerKeyType: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
	ServerKeyType *ServerKeyType_STATUS `json:"serverKeyType,omitempty"`

	// Subregion: Subregion of the encryption protector.
	Subregion *string `json:"subregion,omitempty"`

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

	// Thumbprint: Thumbprint of the server key.
	Thumbprint *string `json:"thumbprint,omitempty"`

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

	// Uri: The URI of the server key.
	Uri *string `json:"uri,omitempty"`
}

func (*ServersEncryptionProtector_STATUS) AssignProperties_From_ServersEncryptionProtector_STATUS

func (protector *ServersEncryptionProtector_STATUS) AssignProperties_From_ServersEncryptionProtector_STATUS(source *storage.ServersEncryptionProtector_STATUS) error

AssignProperties_From_ServersEncryptionProtector_STATUS populates our ServersEncryptionProtector_STATUS from the provided source ServersEncryptionProtector_STATUS

func (*ServersEncryptionProtector_STATUS) AssignProperties_To_ServersEncryptionProtector_STATUS

func (protector *ServersEncryptionProtector_STATUS) AssignProperties_To_ServersEncryptionProtector_STATUS(destination *storage.ServersEncryptionProtector_STATUS) error

AssignProperties_To_ServersEncryptionProtector_STATUS populates the provided destination ServersEncryptionProtector_STATUS from our ServersEncryptionProtector_STATUS

func (*ServersEncryptionProtector_STATUS) ConvertStatusFrom

func (protector *ServersEncryptionProtector_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersEncryptionProtector_STATUS from the provided source

func (*ServersEncryptionProtector_STATUS) ConvertStatusTo

func (protector *ServersEncryptionProtector_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersEncryptionProtector_STATUS

func (*ServersEncryptionProtector_STATUS) DeepCopy

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

func (*ServersEncryptionProtector_STATUS) DeepCopyInto

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

func (*ServersEncryptionProtector_STATUS) NewEmptyARMValue

func (protector *ServersEncryptionProtector_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersEncryptionProtector_STATUS) PopulateFromARM

func (protector *ServersEncryptionProtector_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersEncryptionProtector_Spec

type ServersEncryptionProtector_Spec struct {
	// AutoRotationEnabled: Key auto rotation opt-in flag. Either true or false.
	AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"`

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

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

	// ServerKeyName: The name of the server key.
	ServerKeyName *string `json:"serverKeyName,omitempty"`

	// +kubebuilder:validation:Required
	// ServerKeyType: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
	ServerKeyType *ServerKeyType `json:"serverKeyType,omitempty"`
}

func (*ServersEncryptionProtector_Spec) AssignProperties_From_ServersEncryptionProtector_Spec

func (protector *ServersEncryptionProtector_Spec) AssignProperties_From_ServersEncryptionProtector_Spec(source *storage.ServersEncryptionProtector_Spec) error

AssignProperties_From_ServersEncryptionProtector_Spec populates our ServersEncryptionProtector_Spec from the provided source ServersEncryptionProtector_Spec

func (*ServersEncryptionProtector_Spec) AssignProperties_To_ServersEncryptionProtector_Spec

func (protector *ServersEncryptionProtector_Spec) AssignProperties_To_ServersEncryptionProtector_Spec(destination *storage.ServersEncryptionProtector_Spec) error

AssignProperties_To_ServersEncryptionProtector_Spec populates the provided destination ServersEncryptionProtector_Spec from our ServersEncryptionProtector_Spec

func (*ServersEncryptionProtector_Spec) ConvertSpecFrom

func (protector *ServersEncryptionProtector_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersEncryptionProtector_Spec from the provided source

func (*ServersEncryptionProtector_Spec) ConvertSpecTo

func (protector *ServersEncryptionProtector_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersEncryptionProtector_Spec

func (*ServersEncryptionProtector_Spec) ConvertToARM

func (protector *ServersEncryptionProtector_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersEncryptionProtector_Spec) DeepCopy

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

func (*ServersEncryptionProtector_Spec) DeepCopyInto

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

func (*ServersEncryptionProtector_Spec) Initialize_From_ServersEncryptionProtector_STATUS

func (protector *ServersEncryptionProtector_Spec) Initialize_From_ServersEncryptionProtector_STATUS(source *ServersEncryptionProtector_STATUS) error

Initialize_From_ServersEncryptionProtector_STATUS populates our ServersEncryptionProtector_Spec from the provided source ServersEncryptionProtector_STATUS

func (*ServersEncryptionProtector_Spec) NewEmptyARMValue

func (protector *ServersEncryptionProtector_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersEncryptionProtector_Spec) OriginalVersion

func (protector *ServersEncryptionProtector_Spec) OriginalVersion() string

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

func (*ServersEncryptionProtector_Spec) PopulateFromARM

func (protector *ServersEncryptionProtector_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersFailoverGroup

type ServersFailoverGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersFailoverGroup_Spec   `json:"spec,omitempty"`
	Status            ServersFailoverGroup_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/failoverGroups.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}

func (*ServersFailoverGroup) AssignProperties_From_ServersFailoverGroup

func (group *ServersFailoverGroup) AssignProperties_From_ServersFailoverGroup(source *storage.ServersFailoverGroup) error

AssignProperties_From_ServersFailoverGroup populates our ServersFailoverGroup from the provided source ServersFailoverGroup

func (*ServersFailoverGroup) AssignProperties_To_ServersFailoverGroup

func (group *ServersFailoverGroup) AssignProperties_To_ServersFailoverGroup(destination *storage.ServersFailoverGroup) error

AssignProperties_To_ServersFailoverGroup populates the provided destination ServersFailoverGroup from our ServersFailoverGroup

func (*ServersFailoverGroup) AzureName

func (group *ServersFailoverGroup) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersFailoverGroup) ConfigMapDestinationExpressions

func (group *ServersFailoverGroup) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersFailoverGroup) ConvertFrom

func (group *ServersFailoverGroup) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersFailoverGroup from the provided hub ServersFailoverGroup

func (*ServersFailoverGroup) ConvertTo

func (group *ServersFailoverGroup) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersFailoverGroup from our ServersFailoverGroup

func (*ServersFailoverGroup) DeepCopy

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

func (*ServersFailoverGroup) DeepCopyInto

func (in *ServersFailoverGroup) DeepCopyInto(out *ServersFailoverGroup)

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

func (*ServersFailoverGroup) DeepCopyObject

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

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

func (ServersFailoverGroup) GetAPIVersion

func (group ServersFailoverGroup) GetAPIVersion() string

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

func (*ServersFailoverGroup) GetConditions

func (group *ServersFailoverGroup) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersFailoverGroup) GetResourceScope

func (group *ServersFailoverGroup) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersFailoverGroup) GetSpec

GetSpec returns the specification of this resource

func (*ServersFailoverGroup) GetStatus

GetStatus returns the status of this resource

func (*ServersFailoverGroup) GetSupportedOperations

func (group *ServersFailoverGroup) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersFailoverGroup) GetType

func (group *ServersFailoverGroup) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/failoverGroups"

func (*ServersFailoverGroup) InitializeSpec

func (group *ServersFailoverGroup) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersFailoverGroup) NewEmptyStatus

func (group *ServersFailoverGroup) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersFailoverGroup) OriginalGVK

func (group *ServersFailoverGroup) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersFailoverGroup) Owner

Owner returns the ResourceReference of the owner

func (*ServersFailoverGroup) SecretDestinationExpressions

func (group *ServersFailoverGroup) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersFailoverGroup) SetConditions

func (group *ServersFailoverGroup) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersFailoverGroup) SetStatus

func (group *ServersFailoverGroup) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersFailoverGroupList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/failoverGroups.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}

func (*ServersFailoverGroupList) DeepCopy

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

func (*ServersFailoverGroupList) DeepCopyInto

func (in *ServersFailoverGroupList) DeepCopyInto(out *ServersFailoverGroupList)

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

func (*ServersFailoverGroupList) DeepCopyObject

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

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

type ServersFailoverGroupOperatorSpec

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

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

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

func (*ServersFailoverGroupOperatorSpec) AssignProperties_From_ServersFailoverGroupOperatorSpec

func (operator *ServersFailoverGroupOperatorSpec) AssignProperties_From_ServersFailoverGroupOperatorSpec(source *storage.ServersFailoverGroupOperatorSpec) error

AssignProperties_From_ServersFailoverGroupOperatorSpec populates our ServersFailoverGroupOperatorSpec from the provided source ServersFailoverGroupOperatorSpec

func (*ServersFailoverGroupOperatorSpec) AssignProperties_To_ServersFailoverGroupOperatorSpec

func (operator *ServersFailoverGroupOperatorSpec) AssignProperties_To_ServersFailoverGroupOperatorSpec(destination *storage.ServersFailoverGroupOperatorSpec) error

AssignProperties_To_ServersFailoverGroupOperatorSpec populates the provided destination ServersFailoverGroupOperatorSpec from our ServersFailoverGroupOperatorSpec

func (*ServersFailoverGroupOperatorSpec) DeepCopy

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

func (*ServersFailoverGroupOperatorSpec) DeepCopyInto

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

type ServersFailoverGroup_STATUS

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

	// Databases: List of databases in the failover group.
	Databases []string `json:"databases,omitempty"`

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

	// Location: Resource location.
	Location *string `json:"location,omitempty"`

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

	// PartnerServers: List of partner server information for the failover group.
	PartnerServers []PartnerInfo_STATUS `json:"partnerServers,omitempty"`

	// ReadOnlyEndpoint: Read-only endpoint of the failover group instance.
	ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint_STATUS `json:"readOnlyEndpoint,omitempty"`

	// ReadWriteEndpoint: Read-write endpoint of the failover group instance.
	ReadWriteEndpoint *FailoverGroupReadWriteEndpoint_STATUS `json:"readWriteEndpoint,omitempty"`

	// ReplicationRole: Local replication role of the failover group instance.
	ReplicationRole *FailoverGroupReplicationRole_STATUS `json:"replicationRole,omitempty"`

	// ReplicationState: Replication state of the failover group instance.
	ReplicationState *string `json:"replicationState,omitempty"`

	// SecondaryType: Databases secondary type on partner server.
	SecondaryType *FailoverGroupDatabasesSecondaryType_STATUS `json:"secondaryType,omitempty"`

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

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

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

func (*ServersFailoverGroup_STATUS) AssignProperties_From_ServersFailoverGroup_STATUS

func (group *ServersFailoverGroup_STATUS) AssignProperties_From_ServersFailoverGroup_STATUS(source *storage.ServersFailoverGroup_STATUS) error

AssignProperties_From_ServersFailoverGroup_STATUS populates our ServersFailoverGroup_STATUS from the provided source ServersFailoverGroup_STATUS

func (*ServersFailoverGroup_STATUS) AssignProperties_To_ServersFailoverGroup_STATUS

func (group *ServersFailoverGroup_STATUS) AssignProperties_To_ServersFailoverGroup_STATUS(destination *storage.ServersFailoverGroup_STATUS) error

AssignProperties_To_ServersFailoverGroup_STATUS populates the provided destination ServersFailoverGroup_STATUS from our ServersFailoverGroup_STATUS

func (*ServersFailoverGroup_STATUS) ConvertStatusFrom

func (group *ServersFailoverGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersFailoverGroup_STATUS from the provided source

func (*ServersFailoverGroup_STATUS) ConvertStatusTo

func (group *ServersFailoverGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersFailoverGroup_STATUS

func (*ServersFailoverGroup_STATUS) DeepCopy

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

func (*ServersFailoverGroup_STATUS) DeepCopyInto

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

func (*ServersFailoverGroup_STATUS) NewEmptyARMValue

func (group *ServersFailoverGroup_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersFailoverGroup_STATUS) PopulateFromARM

func (group *ServersFailoverGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersFailoverGroup_Spec

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

	// DatabasesReferences: List of databases in the failover group.
	DatabasesReferences []genruntime.ResourceReference `armReference:"Databases" json:"databasesReferences,omitempty"`

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

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

	// +kubebuilder:validation:Required
	// PartnerServers: List of partner server information for the failover group.
	PartnerServers []PartnerInfo `json:"partnerServers,omitempty"`

	// ReadOnlyEndpoint: Read-only endpoint of the failover group instance.
	ReadOnlyEndpoint *FailoverGroupReadOnlyEndpoint `json:"readOnlyEndpoint,omitempty"`

	// +kubebuilder:validation:Required
	// ReadWriteEndpoint: Read-write endpoint of the failover group instance.
	ReadWriteEndpoint *FailoverGroupReadWriteEndpoint `json:"readWriteEndpoint,omitempty"`

	// SecondaryType: Databases secondary type on partner server.
	SecondaryType *FailoverGroupDatabasesSecondaryType `json:"secondaryType,omitempty"`

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

func (*ServersFailoverGroup_Spec) AssignProperties_From_ServersFailoverGroup_Spec

func (group *ServersFailoverGroup_Spec) AssignProperties_From_ServersFailoverGroup_Spec(source *storage.ServersFailoverGroup_Spec) error

AssignProperties_From_ServersFailoverGroup_Spec populates our ServersFailoverGroup_Spec from the provided source ServersFailoverGroup_Spec

func (*ServersFailoverGroup_Spec) AssignProperties_To_ServersFailoverGroup_Spec

func (group *ServersFailoverGroup_Spec) AssignProperties_To_ServersFailoverGroup_Spec(destination *storage.ServersFailoverGroup_Spec) error

AssignProperties_To_ServersFailoverGroup_Spec populates the provided destination ServersFailoverGroup_Spec from our ServersFailoverGroup_Spec

func (*ServersFailoverGroup_Spec) ConvertSpecFrom

func (group *ServersFailoverGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersFailoverGroup_Spec from the provided source

func (*ServersFailoverGroup_Spec) ConvertSpecTo

func (group *ServersFailoverGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersFailoverGroup_Spec

func (*ServersFailoverGroup_Spec) ConvertToARM

func (group *ServersFailoverGroup_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersFailoverGroup_Spec) DeepCopy

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

func (*ServersFailoverGroup_Spec) DeepCopyInto

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

func (*ServersFailoverGroup_Spec) Initialize_From_ServersFailoverGroup_STATUS

func (group *ServersFailoverGroup_Spec) Initialize_From_ServersFailoverGroup_STATUS(source *ServersFailoverGroup_STATUS) error

Initialize_From_ServersFailoverGroup_STATUS populates our ServersFailoverGroup_Spec from the provided source ServersFailoverGroup_STATUS

func (*ServersFailoverGroup_Spec) NewEmptyARMValue

func (group *ServersFailoverGroup_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersFailoverGroup_Spec) OriginalVersion

func (group *ServersFailoverGroup_Spec) OriginalVersion() string

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

func (*ServersFailoverGroup_Spec) PopulateFromARM

func (group *ServersFailoverGroup_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersFailoverGroup_Spec) SetAzureName

func (group *ServersFailoverGroup_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersFirewallRule

type ServersFirewallRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersFirewallRule_Spec   `json:"spec,omitempty"`
	Status            ServersFirewallRule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/firewallRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}

func (*ServersFirewallRule) AssignProperties_From_ServersFirewallRule

func (rule *ServersFirewallRule) AssignProperties_From_ServersFirewallRule(source *storage.ServersFirewallRule) error

AssignProperties_From_ServersFirewallRule populates our ServersFirewallRule from the provided source ServersFirewallRule

func (*ServersFirewallRule) AssignProperties_To_ServersFirewallRule

func (rule *ServersFirewallRule) AssignProperties_To_ServersFirewallRule(destination *storage.ServersFirewallRule) error

AssignProperties_To_ServersFirewallRule populates the provided destination ServersFirewallRule from our ServersFirewallRule

func (*ServersFirewallRule) AzureName

func (rule *ServersFirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersFirewallRule) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersFirewallRule) ConvertFrom

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

ConvertFrom populates our ServersFirewallRule from the provided hub ServersFirewallRule

func (*ServersFirewallRule) ConvertTo

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

ConvertTo populates the provided hub ServersFirewallRule from our ServersFirewallRule

func (*ServersFirewallRule) DeepCopy

func (in *ServersFirewallRule) DeepCopy() *ServersFirewallRule

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

func (*ServersFirewallRule) DeepCopyInto

func (in *ServersFirewallRule) DeepCopyInto(out *ServersFirewallRule)

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

func (*ServersFirewallRule) DeepCopyObject

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

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

func (ServersFirewallRule) GetAPIVersion

func (rule ServersFirewallRule) GetAPIVersion() string

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

func (*ServersFirewallRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*ServersFirewallRule) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*ServersFirewallRule) GetSpec

GetSpec returns the specification of this resource

func (*ServersFirewallRule) GetStatus

GetStatus returns the status of this resource

func (*ServersFirewallRule) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*ServersFirewallRule) GetType

func (rule *ServersFirewallRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/firewallRules"

func (*ServersFirewallRule) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*ServersFirewallRule) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*ServersFirewallRule) OriginalGVK

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

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

func (*ServersFirewallRule) Owner

Owner returns the ResourceReference of the owner

func (*ServersFirewallRule) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersFirewallRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersFirewallRule) SetStatus

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

SetStatus sets the status of this resource

type ServersFirewallRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/firewallRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}

func (*ServersFirewallRuleList) DeepCopy

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

func (*ServersFirewallRuleList) DeepCopyInto

func (in *ServersFirewallRuleList) DeepCopyInto(out *ServersFirewallRuleList)

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

func (*ServersFirewallRuleList) DeepCopyObject

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

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

type ServersFirewallRuleOperatorSpec

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

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

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

func (*ServersFirewallRuleOperatorSpec) AssignProperties_From_ServersFirewallRuleOperatorSpec

func (operator *ServersFirewallRuleOperatorSpec) AssignProperties_From_ServersFirewallRuleOperatorSpec(source *storage.ServersFirewallRuleOperatorSpec) error

AssignProperties_From_ServersFirewallRuleOperatorSpec populates our ServersFirewallRuleOperatorSpec from the provided source ServersFirewallRuleOperatorSpec

func (*ServersFirewallRuleOperatorSpec) AssignProperties_To_ServersFirewallRuleOperatorSpec

func (operator *ServersFirewallRuleOperatorSpec) AssignProperties_To_ServersFirewallRuleOperatorSpec(destination *storage.ServersFirewallRuleOperatorSpec) error

AssignProperties_To_ServersFirewallRuleOperatorSpec populates the provided destination ServersFirewallRuleOperatorSpec from our ServersFirewallRuleOperatorSpec

func (*ServersFirewallRuleOperatorSpec) DeepCopy

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

func (*ServersFirewallRuleOperatorSpec) DeepCopyInto

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

type ServersFirewallRule_STATUS

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

	// EndIpAddress: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to
	// startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// Id: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// StartIpAddress: The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all
	// Azure-internal IP addresses.
	StartIpAddress *string `json:"startIpAddress,omitempty"`

	// Type: Resource type.
	Type *string `json:"type,omitempty"`
}

func (*ServersFirewallRule_STATUS) AssignProperties_From_ServersFirewallRule_STATUS

func (rule *ServersFirewallRule_STATUS) AssignProperties_From_ServersFirewallRule_STATUS(source *storage.ServersFirewallRule_STATUS) error

AssignProperties_From_ServersFirewallRule_STATUS populates our ServersFirewallRule_STATUS from the provided source ServersFirewallRule_STATUS

func (*ServersFirewallRule_STATUS) AssignProperties_To_ServersFirewallRule_STATUS

func (rule *ServersFirewallRule_STATUS) AssignProperties_To_ServersFirewallRule_STATUS(destination *storage.ServersFirewallRule_STATUS) error

AssignProperties_To_ServersFirewallRule_STATUS populates the provided destination ServersFirewallRule_STATUS from our ServersFirewallRule_STATUS

func (*ServersFirewallRule_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our ServersFirewallRule_STATUS from the provided source

func (*ServersFirewallRule_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our ServersFirewallRule_STATUS

func (*ServersFirewallRule_STATUS) DeepCopy

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

func (*ServersFirewallRule_STATUS) DeepCopyInto

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

func (*ServersFirewallRule_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersFirewallRule_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersFirewallRule_Spec

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

	// EndIpAddress: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to
	// startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

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

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

	// StartIpAddress: The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all
	// Azure-internal IP addresses.
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

func (*ServersFirewallRule_Spec) AssignProperties_From_ServersFirewallRule_Spec

func (rule *ServersFirewallRule_Spec) AssignProperties_From_ServersFirewallRule_Spec(source *storage.ServersFirewallRule_Spec) error

AssignProperties_From_ServersFirewallRule_Spec populates our ServersFirewallRule_Spec from the provided source ServersFirewallRule_Spec

func (*ServersFirewallRule_Spec) AssignProperties_To_ServersFirewallRule_Spec

func (rule *ServersFirewallRule_Spec) AssignProperties_To_ServersFirewallRule_Spec(destination *storage.ServersFirewallRule_Spec) error

AssignProperties_To_ServersFirewallRule_Spec populates the provided destination ServersFirewallRule_Spec from our ServersFirewallRule_Spec

func (*ServersFirewallRule_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our ServersFirewallRule_Spec from the provided source

func (*ServersFirewallRule_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our ServersFirewallRule_Spec

func (*ServersFirewallRule_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersFirewallRule_Spec) DeepCopy

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

func (*ServersFirewallRule_Spec) DeepCopyInto

func (in *ServersFirewallRule_Spec) DeepCopyInto(out *ServersFirewallRule_Spec)

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

func (*ServersFirewallRule_Spec) Initialize_From_ServersFirewallRule_STATUS

func (rule *ServersFirewallRule_Spec) Initialize_From_ServersFirewallRule_STATUS(source *ServersFirewallRule_STATUS) error

Initialize_From_ServersFirewallRule_STATUS populates our ServersFirewallRule_Spec from the provided source ServersFirewallRule_STATUS

func (*ServersFirewallRule_Spec) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersFirewallRule_Spec) OriginalVersion

func (rule *ServersFirewallRule_Spec) OriginalVersion() string

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

func (*ServersFirewallRule_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersFirewallRule_Spec) SetAzureName

func (rule *ServersFirewallRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersIPV6FirewallRule

type ServersIPV6FirewallRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersIPV6FirewallRule_Spec   `json:"spec,omitempty"`
	Status            ServersIPV6FirewallRule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/iPv6FirewallRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}

func (*ServersIPV6FirewallRule) AssignProperties_From_ServersIPV6FirewallRule

func (rule *ServersIPV6FirewallRule) AssignProperties_From_ServersIPV6FirewallRule(source *storage.ServersIPV6FirewallRule) error

AssignProperties_From_ServersIPV6FirewallRule populates our ServersIPV6FirewallRule from the provided source ServersIPV6FirewallRule

func (*ServersIPV6FirewallRule) AssignProperties_To_ServersIPV6FirewallRule

func (rule *ServersIPV6FirewallRule) AssignProperties_To_ServersIPV6FirewallRule(destination *storage.ServersIPV6FirewallRule) error

AssignProperties_To_ServersIPV6FirewallRule populates the provided destination ServersIPV6FirewallRule from our ServersIPV6FirewallRule

func (*ServersIPV6FirewallRule) AzureName

func (rule *ServersIPV6FirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersIPV6FirewallRule) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersIPV6FirewallRule) ConvertFrom

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

ConvertFrom populates our ServersIPV6FirewallRule from the provided hub ServersIPV6FirewallRule

func (*ServersIPV6FirewallRule) ConvertTo

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

ConvertTo populates the provided hub ServersIPV6FirewallRule from our ServersIPV6FirewallRule

func (*ServersIPV6FirewallRule) DeepCopy

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

func (*ServersIPV6FirewallRule) DeepCopyInto

func (in *ServersIPV6FirewallRule) DeepCopyInto(out *ServersIPV6FirewallRule)

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

func (*ServersIPV6FirewallRule) DeepCopyObject

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

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

func (ServersIPV6FirewallRule) GetAPIVersion

func (rule ServersIPV6FirewallRule) GetAPIVersion() string

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

func (*ServersIPV6FirewallRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*ServersIPV6FirewallRule) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*ServersIPV6FirewallRule) GetSpec

GetSpec returns the specification of this resource

func (*ServersIPV6FirewallRule) GetStatus

GetStatus returns the status of this resource

func (*ServersIPV6FirewallRule) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*ServersIPV6FirewallRule) GetType

func (rule *ServersIPV6FirewallRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/ipv6FirewallRules"

func (*ServersIPV6FirewallRule) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*ServersIPV6FirewallRule) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*ServersIPV6FirewallRule) OriginalGVK

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

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

func (*ServersIPV6FirewallRule) Owner

Owner returns the ResourceReference of the owner

func (*ServersIPV6FirewallRule) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersIPV6FirewallRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersIPV6FirewallRule) SetStatus

SetStatus sets the status of this resource

type ServersIPV6FirewallRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/iPv6FirewallRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}

func (*ServersIPV6FirewallRuleList) DeepCopy

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

func (*ServersIPV6FirewallRuleList) DeepCopyInto

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

func (*ServersIPV6FirewallRuleList) DeepCopyObject

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

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

type ServersIPV6FirewallRuleOperatorSpec

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

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

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

func (*ServersIPV6FirewallRuleOperatorSpec) AssignProperties_From_ServersIPV6FirewallRuleOperatorSpec

func (operator *ServersIPV6FirewallRuleOperatorSpec) AssignProperties_From_ServersIPV6FirewallRuleOperatorSpec(source *storage.ServersIPV6FirewallRuleOperatorSpec) error

AssignProperties_From_ServersIPV6FirewallRuleOperatorSpec populates our ServersIPV6FirewallRuleOperatorSpec from the provided source ServersIPV6FirewallRuleOperatorSpec

func (*ServersIPV6FirewallRuleOperatorSpec) AssignProperties_To_ServersIPV6FirewallRuleOperatorSpec

func (operator *ServersIPV6FirewallRuleOperatorSpec) AssignProperties_To_ServersIPV6FirewallRuleOperatorSpec(destination *storage.ServersIPV6FirewallRuleOperatorSpec) error

AssignProperties_To_ServersIPV6FirewallRuleOperatorSpec populates the provided destination ServersIPV6FirewallRuleOperatorSpec from our ServersIPV6FirewallRuleOperatorSpec

func (*ServersIPV6FirewallRuleOperatorSpec) DeepCopy

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

func (*ServersIPV6FirewallRuleOperatorSpec) DeepCopyInto

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

type ServersIPV6FirewallRule_STATUS

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

	// EndIPv6Address: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to
	// startIpv6Address.
	EndIPv6Address *string `json:"endIPv6Address,omitempty"`

	// Id: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// StartIPv6Address: The start IP address of the firewall rule. Must be IPv6 format.
	StartIPv6Address *string `json:"startIPv6Address,omitempty"`

	// Type: Resource type.
	Type *string `json:"type,omitempty"`
}

func (*ServersIPV6FirewallRule_STATUS) AssignProperties_From_ServersIPV6FirewallRule_STATUS

func (rule *ServersIPV6FirewallRule_STATUS) AssignProperties_From_ServersIPV6FirewallRule_STATUS(source *storage.ServersIPV6FirewallRule_STATUS) error

AssignProperties_From_ServersIPV6FirewallRule_STATUS populates our ServersIPV6FirewallRule_STATUS from the provided source ServersIPV6FirewallRule_STATUS

func (*ServersIPV6FirewallRule_STATUS) AssignProperties_To_ServersIPV6FirewallRule_STATUS

func (rule *ServersIPV6FirewallRule_STATUS) AssignProperties_To_ServersIPV6FirewallRule_STATUS(destination *storage.ServersIPV6FirewallRule_STATUS) error

AssignProperties_To_ServersIPV6FirewallRule_STATUS populates the provided destination ServersIPV6FirewallRule_STATUS from our ServersIPV6FirewallRule_STATUS

func (*ServersIPV6FirewallRule_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our ServersIPV6FirewallRule_STATUS from the provided source

func (*ServersIPV6FirewallRule_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our ServersIPV6FirewallRule_STATUS

func (*ServersIPV6FirewallRule_STATUS) DeepCopy

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

func (*ServersIPV6FirewallRule_STATUS) DeepCopyInto

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

func (*ServersIPV6FirewallRule_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersIPV6FirewallRule_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersIPV6FirewallRule_Spec

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

	// EndIPv6Address: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to
	// startIpv6Address.
	EndIPv6Address *string `json:"endIPv6Address,omitempty"`

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

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

	// StartIPv6Address: The start IP address of the firewall rule. Must be IPv6 format.
	StartIPv6Address *string `json:"startIPv6Address,omitempty"`
}

func (*ServersIPV6FirewallRule_Spec) AssignProperties_From_ServersIPV6FirewallRule_Spec

func (rule *ServersIPV6FirewallRule_Spec) AssignProperties_From_ServersIPV6FirewallRule_Spec(source *storage.ServersIPV6FirewallRule_Spec) error

AssignProperties_From_ServersIPV6FirewallRule_Spec populates our ServersIPV6FirewallRule_Spec from the provided source ServersIPV6FirewallRule_Spec

func (*ServersIPV6FirewallRule_Spec) AssignProperties_To_ServersIPV6FirewallRule_Spec

func (rule *ServersIPV6FirewallRule_Spec) AssignProperties_To_ServersIPV6FirewallRule_Spec(destination *storage.ServersIPV6FirewallRule_Spec) error

AssignProperties_To_ServersIPV6FirewallRule_Spec populates the provided destination ServersIPV6FirewallRule_Spec from our ServersIPV6FirewallRule_Spec

func (*ServersIPV6FirewallRule_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our ServersIPV6FirewallRule_Spec from the provided source

func (*ServersIPV6FirewallRule_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our ServersIPV6FirewallRule_Spec

func (*ServersIPV6FirewallRule_Spec) ConvertToARM

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

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersIPV6FirewallRule_Spec) DeepCopy

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

func (*ServersIPV6FirewallRule_Spec) DeepCopyInto

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

func (*ServersIPV6FirewallRule_Spec) Initialize_From_ServersIPV6FirewallRule_STATUS

func (rule *ServersIPV6FirewallRule_Spec) Initialize_From_ServersIPV6FirewallRule_STATUS(source *ServersIPV6FirewallRule_STATUS) error

Initialize_From_ServersIPV6FirewallRule_STATUS populates our ServersIPV6FirewallRule_Spec from the provided source ServersIPV6FirewallRule_STATUS

func (*ServersIPV6FirewallRule_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersIPV6FirewallRule_Spec) OriginalVersion

func (rule *ServersIPV6FirewallRule_Spec) OriginalVersion() string

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

func (*ServersIPV6FirewallRule_Spec) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersIPV6FirewallRule_Spec) SetAzureName

func (rule *ServersIPV6FirewallRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersKey

type ServersKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersKey_Spec   `json:"spec,omitempty"`
	Status            ServersKey_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverKeys.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}

func (*ServersKey) AssignProperties_From_ServersKey

func (serversKey *ServersKey) AssignProperties_From_ServersKey(source *storage.ServersKey) error

AssignProperties_From_ServersKey populates our ServersKey from the provided source ServersKey

func (*ServersKey) AssignProperties_To_ServersKey

func (serversKey *ServersKey) AssignProperties_To_ServersKey(destination *storage.ServersKey) error

AssignProperties_To_ServersKey populates the provided destination ServersKey from our ServersKey

func (*ServersKey) AzureName

func (serversKey *ServersKey) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersKey) ConfigMapDestinationExpressions

func (serversKey *ServersKey) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersKey) ConvertFrom

func (serversKey *ServersKey) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersKey from the provided hub ServersKey

func (*ServersKey) ConvertTo

func (serversKey *ServersKey) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersKey from our ServersKey

func (*ServersKey) DeepCopy

func (in *ServersKey) DeepCopy() *ServersKey

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

func (*ServersKey) DeepCopyInto

func (in *ServersKey) DeepCopyInto(out *ServersKey)

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

func (*ServersKey) DeepCopyObject

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

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

func (ServersKey) GetAPIVersion

func (serversKey ServersKey) GetAPIVersion() string

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

func (*ServersKey) GetConditions

func (serversKey *ServersKey) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersKey) GetResourceScope

func (serversKey *ServersKey) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersKey) GetSpec

func (serversKey *ServersKey) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*ServersKey) GetStatus

func (serversKey *ServersKey) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*ServersKey) GetSupportedOperations

func (serversKey *ServersKey) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersKey) GetType

func (serversKey *ServersKey) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/keys"

func (*ServersKey) InitializeSpec

func (serversKey *ServersKey) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersKey) NewEmptyStatus

func (serversKey *ServersKey) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersKey) OriginalGVK

func (serversKey *ServersKey) OriginalGVK() *schema.GroupVersionKind

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

func (*ServersKey) Owner

func (serversKey *ServersKey) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner

func (*ServersKey) SecretDestinationExpressions

func (serversKey *ServersKey) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersKey) SetConditions

func (serversKey *ServersKey) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersKey) SetStatus

func (serversKey *ServersKey) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersKeyList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverKeys.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}

func (*ServersKeyList) DeepCopy

func (in *ServersKeyList) DeepCopy() *ServersKeyList

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

func (*ServersKeyList) DeepCopyInto

func (in *ServersKeyList) DeepCopyInto(out *ServersKeyList)

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

func (*ServersKeyList) DeepCopyObject

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

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

type ServersKeyOperatorSpec

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

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

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

func (*ServersKeyOperatorSpec) AssignProperties_From_ServersKeyOperatorSpec

func (operator *ServersKeyOperatorSpec) AssignProperties_From_ServersKeyOperatorSpec(source *storage.ServersKeyOperatorSpec) error

AssignProperties_From_ServersKeyOperatorSpec populates our ServersKeyOperatorSpec from the provided source ServersKeyOperatorSpec

func (*ServersKeyOperatorSpec) AssignProperties_To_ServersKeyOperatorSpec

func (operator *ServersKeyOperatorSpec) AssignProperties_To_ServersKeyOperatorSpec(destination *storage.ServersKeyOperatorSpec) error

AssignProperties_To_ServersKeyOperatorSpec populates the provided destination ServersKeyOperatorSpec from our ServersKeyOperatorSpec

func (*ServersKeyOperatorSpec) DeepCopy

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

func (*ServersKeyOperatorSpec) DeepCopyInto

func (in *ServersKeyOperatorSpec) DeepCopyInto(out *ServersKeyOperatorSpec)

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

type ServersKey_STATUS

type ServersKey_STATUS struct {
	// AutoRotationEnabled: Key auto rotation opt-in flag. Either true or false.
	AutoRotationEnabled *bool `json:"autoRotationEnabled,omitempty"`

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

	// CreationDate: The server key creation date.
	CreationDate *string `json:"creationDate,omitempty"`

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

	// KeyVersion: The version of the server key.
	KeyVersion *string `json:"keyVersion,omitempty"`

	// Kind: Kind of encryption protector. This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`

	// Location: Resource location.
	Location *string `json:"location,omitempty"`

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

	// ServerKeyType: The server key type like 'ServiceManaged', 'AzureKeyVault'.
	ServerKeyType *ServerKeyType_STATUS `json:"serverKeyType,omitempty"`

	// Subregion: Subregion of the server key.
	Subregion *string `json:"subregion,omitempty"`

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

	// Thumbprint: Thumbprint of the server key.
	Thumbprint *string `json:"thumbprint,omitempty"`

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

	// Uri: The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required. The AKV URI is required
	// to be in this format: 'https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion' or can be
	// 'https://YourVaultName.vault.azure.net/keys/YourKeyName'
	Uri *string `json:"uri,omitempty"`
}

func (*ServersKey_STATUS) AssignProperties_From_ServersKey_STATUS

func (serversKey *ServersKey_STATUS) AssignProperties_From_ServersKey_STATUS(source *storage.ServersKey_STATUS) error

AssignProperties_From_ServersKey_STATUS populates our ServersKey_STATUS from the provided source ServersKey_STATUS

func (*ServersKey_STATUS) AssignProperties_To_ServersKey_STATUS

func (serversKey *ServersKey_STATUS) AssignProperties_To_ServersKey_STATUS(destination *storage.ServersKey_STATUS) error

AssignProperties_To_ServersKey_STATUS populates the provided destination ServersKey_STATUS from our ServersKey_STATUS

func (*ServersKey_STATUS) ConvertStatusFrom

func (serversKey *ServersKey_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersKey_STATUS from the provided source

func (*ServersKey_STATUS) ConvertStatusTo

func (serversKey *ServersKey_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersKey_STATUS

func (*ServersKey_STATUS) DeepCopy

func (in *ServersKey_STATUS) DeepCopy() *ServersKey_STATUS

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

func (*ServersKey_STATUS) DeepCopyInto

func (in *ServersKey_STATUS) DeepCopyInto(out *ServersKey_STATUS)

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

func (*ServersKey_STATUS) NewEmptyARMValue

func (serversKey *ServersKey_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersKey_STATUS) PopulateFromARM

func (serversKey *ServersKey_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersKey_Spec

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

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

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

	// +kubebuilder:validation:Required
	// ServerKeyType: The server key type like 'ServiceManaged', 'AzureKeyVault'.
	ServerKeyType *ServerKeyType `json:"serverKeyType,omitempty"`

	// Uri: The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required. The AKV URI is required
	// to be in this format: 'https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion' or can be
	// 'https://YourVaultName.vault.azure.net/keys/YourKeyName'
	Uri *string `json:"uri,omitempty"`
}

func (*ServersKey_Spec) AssignProperties_From_ServersKey_Spec

func (serversKey *ServersKey_Spec) AssignProperties_From_ServersKey_Spec(source *storage.ServersKey_Spec) error

AssignProperties_From_ServersKey_Spec populates our ServersKey_Spec from the provided source ServersKey_Spec

func (*ServersKey_Spec) AssignProperties_To_ServersKey_Spec

func (serversKey *ServersKey_Spec) AssignProperties_To_ServersKey_Spec(destination *storage.ServersKey_Spec) error

AssignProperties_To_ServersKey_Spec populates the provided destination ServersKey_Spec from our ServersKey_Spec

func (*ServersKey_Spec) ConvertSpecFrom

func (serversKey *ServersKey_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersKey_Spec from the provided source

func (*ServersKey_Spec) ConvertSpecTo

func (serversKey *ServersKey_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersKey_Spec

func (*ServersKey_Spec) ConvertToARM

func (serversKey *ServersKey_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersKey_Spec) DeepCopy

func (in *ServersKey_Spec) DeepCopy() *ServersKey_Spec

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

func (*ServersKey_Spec) DeepCopyInto

func (in *ServersKey_Spec) DeepCopyInto(out *ServersKey_Spec)

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

func (*ServersKey_Spec) Initialize_From_ServersKey_STATUS

func (serversKey *ServersKey_Spec) Initialize_From_ServersKey_STATUS(source *ServersKey_STATUS) error

Initialize_From_ServersKey_STATUS populates our ServersKey_Spec from the provided source ServersKey_STATUS

func (*ServersKey_Spec) NewEmptyARMValue

func (serversKey *ServersKey_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersKey_Spec) OriginalVersion

func (serversKey *ServersKey_Spec) OriginalVersion() string

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

func (*ServersKey_Spec) PopulateFromARM

func (serversKey *ServersKey_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersKey_Spec) SetAzureName

func (serversKey *ServersKey_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersOutboundFirewallRule

type ServersOutboundFirewallRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersOutboundFirewallRule_Spec   `json:"spec,omitempty"`
	Status            ServersOutboundFirewallRule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/outboundFirewallRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}

func (*ServersOutboundFirewallRule) AssignProperties_From_ServersOutboundFirewallRule

func (rule *ServersOutboundFirewallRule) AssignProperties_From_ServersOutboundFirewallRule(source *storage.ServersOutboundFirewallRule) error

AssignProperties_From_ServersOutboundFirewallRule populates our ServersOutboundFirewallRule from the provided source ServersOutboundFirewallRule

func (*ServersOutboundFirewallRule) AssignProperties_To_ServersOutboundFirewallRule

func (rule *ServersOutboundFirewallRule) AssignProperties_To_ServersOutboundFirewallRule(destination *storage.ServersOutboundFirewallRule) error

AssignProperties_To_ServersOutboundFirewallRule populates the provided destination ServersOutboundFirewallRule from our ServersOutboundFirewallRule

func (*ServersOutboundFirewallRule) AzureName

func (rule *ServersOutboundFirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersOutboundFirewallRule) ConfigMapDestinationExpressions

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

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersOutboundFirewallRule) ConvertFrom

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

ConvertFrom populates our ServersOutboundFirewallRule from the provided hub ServersOutboundFirewallRule

func (*ServersOutboundFirewallRule) ConvertTo

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

ConvertTo populates the provided hub ServersOutboundFirewallRule from our ServersOutboundFirewallRule

func (*ServersOutboundFirewallRule) DeepCopy

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

func (*ServersOutboundFirewallRule) DeepCopyInto

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

func (*ServersOutboundFirewallRule) DeepCopyObject

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

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

func (ServersOutboundFirewallRule) GetAPIVersion

func (rule ServersOutboundFirewallRule) GetAPIVersion() string

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

func (*ServersOutboundFirewallRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*ServersOutboundFirewallRule) GetResourceScope

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

GetResourceScope returns the scope of the resource

func (*ServersOutboundFirewallRule) GetSpec

GetSpec returns the specification of this resource

func (*ServersOutboundFirewallRule) GetStatus

GetStatus returns the status of this resource

func (*ServersOutboundFirewallRule) GetSupportedOperations

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

GetSupportedOperations returns the operations supported by the resource

func (*ServersOutboundFirewallRule) GetType

func (rule *ServersOutboundFirewallRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/outboundFirewallRules"

func (*ServersOutboundFirewallRule) InitializeSpec

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

InitializeSpec initializes the spec for this resource from the given status

func (*ServersOutboundFirewallRule) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersOutboundFirewallRule) OriginalGVK

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

func (*ServersOutboundFirewallRule) Owner

Owner returns the ResourceReference of the owner

func (*ServersOutboundFirewallRule) SecretDestinationExpressions

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

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersOutboundFirewallRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*ServersOutboundFirewallRule) SetStatus

SetStatus sets the status of this resource

type ServersOutboundFirewallRuleList

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

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/outboundFirewallRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}

func (*ServersOutboundFirewallRuleList) DeepCopy

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

func (*ServersOutboundFirewallRuleList) DeepCopyInto

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

func (*ServersOutboundFirewallRuleList) DeepCopyObject

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

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

type ServersOutboundFirewallRuleOperatorSpec

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

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

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

func (*ServersOutboundFirewallRuleOperatorSpec) AssignProperties_From_ServersOutboundFirewallRuleOperatorSpec

func (operator *ServersOutboundFirewallRuleOperatorSpec) AssignProperties_From_ServersOutboundFirewallRuleOperatorSpec(source *storage.ServersOutboundFirewallRuleOperatorSpec) error

AssignProperties_From_ServersOutboundFirewallRuleOperatorSpec populates our ServersOutboundFirewallRuleOperatorSpec from the provided source ServersOutboundFirewallRuleOperatorSpec

func (*ServersOutboundFirewallRuleOperatorSpec) AssignProperties_To_ServersOutboundFirewallRuleOperatorSpec

func (operator *ServersOutboundFirewallRuleOperatorSpec) AssignProperties_To_ServersOutboundFirewallRuleOperatorSpec(destination *storage.ServersOutboundFirewallRuleOperatorSpec) error

AssignProperties_To_ServersOutboundFirewallRuleOperatorSpec populates the provided destination ServersOutboundFirewallRuleOperatorSpec from our ServersOutboundFirewallRuleOperatorSpec

func (*ServersOutboundFirewallRuleOperatorSpec) DeepCopy

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

func (*ServersOutboundFirewallRuleOperatorSpec) DeepCopyInto

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

type ServersOutboundFirewallRule_STATUS

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

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

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

	// ProvisioningState: The state of the outbound rule.
	ProvisioningState *string `json:"provisioningState,omitempty"`

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

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

func (*ServersOutboundFirewallRule_STATUS) AssignProperties_From_ServersOutboundFirewallRule_STATUS

func (rule *ServersOutboundFirewallRule_STATUS) AssignProperties_From_ServersOutboundFirewallRule_STATUS(source *storage.ServersOutboundFirewallRule_STATUS) error

AssignProperties_From_ServersOutboundFirewallRule_STATUS populates our ServersOutboundFirewallRule_STATUS from the provided source ServersOutboundFirewallRule_STATUS

func (*ServersOutboundFirewallRule_STATUS) AssignProperties_To_ServersOutboundFirewallRule_STATUS

func (rule *ServersOutboundFirewallRule_STATUS) AssignProperties_To_ServersOutboundFirewallRule_STATUS(destination *storage.ServersOutboundFirewallRule_STATUS) error

AssignProperties_To_ServersOutboundFirewallRule_STATUS populates the provided destination ServersOutboundFirewallRule_STATUS from our ServersOutboundFirewallRule_STATUS

func (*ServersOutboundFirewallRule_STATUS) ConvertStatusFrom

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

ConvertStatusFrom populates our ServersOutboundFirewallRule_STATUS from the provided source

func (*ServersOutboundFirewallRule_STATUS) ConvertStatusTo

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

ConvertStatusTo populates the provided destination from our ServersOutboundFirewallRule_STATUS

func (*ServersOutboundFirewallRule_STATUS) DeepCopy

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

func (*ServersOutboundFirewallRule_STATUS) DeepCopyInto

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

func (*ServersOutboundFirewallRule_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersOutboundFirewallRule_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersOutboundFirewallRule_Spec

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

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

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

func (*ServersOutboundFirewallRule_Spec) AssignProperties_From_ServersOutboundFirewallRule_Spec

func (rule *ServersOutboundFirewallRule_Spec) AssignProperties_From_ServersOutboundFirewallRule_Spec(source *storage.ServersOutboundFirewallRule_Spec) error

AssignProperties_From_ServersOutboundFirewallRule_Spec populates our ServersOutboundFirewallRule_Spec from the provided source ServersOutboundFirewallRule_Spec

func (*ServersOutboundFirewallRule_Spec) AssignProperties_To_ServersOutboundFirewallRule_Spec

func (rule *ServersOutboundFirewallRule_Spec) AssignProperties_To_ServersOutboundFirewallRule_Spec(destination *storage.ServersOutboundFirewallRule_Spec) error

AssignProperties_To_ServersOutboundFirewallRule_Spec populates the provided destination ServersOutboundFirewallRule_Spec from our ServersOutboundFirewallRule_Spec

func (*ServersOutboundFirewallRule_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our ServersOutboundFirewallRule_Spec from the provided source

func (*ServersOutboundFirewallRule_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our ServersOutboundFirewallRule_Spec

func (*ServersOutboundFirewallRule_Spec) ConvertToARM

func (rule *ServersOutboundFirewallRule_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersOutboundFirewallRule_Spec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersOutboundFirewallRule_Spec.

func (*ServersOutboundFirewallRule_Spec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersOutboundFirewallRule_Spec) Initialize_From_ServersOutboundFirewallRule_STATUS

func (rule *ServersOutboundFirewallRule_Spec) Initialize_From_ServersOutboundFirewallRule_STATUS(source *ServersOutboundFirewallRule_STATUS) error

Initialize_From_ServersOutboundFirewallRule_STATUS populates our ServersOutboundFirewallRule_Spec from the provided source ServersOutboundFirewallRule_STATUS

func (*ServersOutboundFirewallRule_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersOutboundFirewallRule_Spec) OriginalVersion

func (rule *ServersOutboundFirewallRule_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*ServersOutboundFirewallRule_Spec) PopulateFromARM

func (rule *ServersOutboundFirewallRule_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersOutboundFirewallRule_Spec) SetAzureName

func (rule *ServersOutboundFirewallRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersSecurityAlertPolicy

type ServersSecurityAlertPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersSecurityAlertPolicy_Spec   `json:"spec,omitempty"`
	Status            ServersSecurityAlertPolicy_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverSecurityAlertPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/Default

func (*ServersSecurityAlertPolicy) AssignProperties_From_ServersSecurityAlertPolicy

func (policy *ServersSecurityAlertPolicy) AssignProperties_From_ServersSecurityAlertPolicy(source *storage.ServersSecurityAlertPolicy) error

AssignProperties_From_ServersSecurityAlertPolicy populates our ServersSecurityAlertPolicy from the provided source ServersSecurityAlertPolicy

func (*ServersSecurityAlertPolicy) AssignProperties_To_ServersSecurityAlertPolicy

func (policy *ServersSecurityAlertPolicy) AssignProperties_To_ServersSecurityAlertPolicy(destination *storage.ServersSecurityAlertPolicy) error

AssignProperties_To_ServersSecurityAlertPolicy populates the provided destination ServersSecurityAlertPolicy from our ServersSecurityAlertPolicy

func (*ServersSecurityAlertPolicy) AzureName

func (policy *ServersSecurityAlertPolicy) AzureName() string

AzureName returns the Azure name of the resource (always "Default")

func (*ServersSecurityAlertPolicy) ConfigMapDestinationExpressions

func (policy *ServersSecurityAlertPolicy) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersSecurityAlertPolicy) ConvertFrom

func (policy *ServersSecurityAlertPolicy) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersSecurityAlertPolicy from the provided hub ServersSecurityAlertPolicy

func (*ServersSecurityAlertPolicy) ConvertTo

func (policy *ServersSecurityAlertPolicy) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersSecurityAlertPolicy from our ServersSecurityAlertPolicy

func (*ServersSecurityAlertPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSecurityAlertPolicy.

func (*ServersSecurityAlertPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersSecurityAlertPolicy) DeepCopyObject

func (in *ServersSecurityAlertPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ServersSecurityAlertPolicy) GetAPIVersion

func (policy ServersSecurityAlertPolicy) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2025-01-01"

func (*ServersSecurityAlertPolicy) GetConditions

func (policy *ServersSecurityAlertPolicy) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersSecurityAlertPolicy) GetResourceScope

func (policy *ServersSecurityAlertPolicy) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersSecurityAlertPolicy) GetSpec

GetSpec returns the specification of this resource

func (*ServersSecurityAlertPolicy) GetStatus

GetStatus returns the status of this resource

func (*ServersSecurityAlertPolicy) GetSupportedOperations

func (policy *ServersSecurityAlertPolicy) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersSecurityAlertPolicy) GetType

func (policy *ServersSecurityAlertPolicy) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/securityAlertPolicies"

func (*ServersSecurityAlertPolicy) InitializeSpec

func (policy *ServersSecurityAlertPolicy) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersSecurityAlertPolicy) NewEmptyStatus

func (policy *ServersSecurityAlertPolicy) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersSecurityAlertPolicy) OriginalGVK

func (policy *ServersSecurityAlertPolicy) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*ServersSecurityAlertPolicy) Owner

Owner returns the ResourceReference of the owner

func (*ServersSecurityAlertPolicy) SecretDestinationExpressions

func (policy *ServersSecurityAlertPolicy) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersSecurityAlertPolicy) SetConditions

func (policy *ServersSecurityAlertPolicy) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersSecurityAlertPolicy) SetStatus

SetStatus sets the status of this resource

type ServersSecurityAlertPolicyList

type ServersSecurityAlertPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServersSecurityAlertPolicy `json:"items"`
}

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverSecurityAlertPolicies.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/Default

func (*ServersSecurityAlertPolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSecurityAlertPolicyList.

func (*ServersSecurityAlertPolicyList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersSecurityAlertPolicyList) DeepCopyObject

func (in *ServersSecurityAlertPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServersSecurityAlertPolicyOperatorSpec

type ServersSecurityAlertPolicyOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*ServersSecurityAlertPolicyOperatorSpec) AssignProperties_From_ServersSecurityAlertPolicyOperatorSpec

func (operator *ServersSecurityAlertPolicyOperatorSpec) AssignProperties_From_ServersSecurityAlertPolicyOperatorSpec(source *storage.ServersSecurityAlertPolicyOperatorSpec) error

AssignProperties_From_ServersSecurityAlertPolicyOperatorSpec populates our ServersSecurityAlertPolicyOperatorSpec from the provided source ServersSecurityAlertPolicyOperatorSpec

func (*ServersSecurityAlertPolicyOperatorSpec) AssignProperties_To_ServersSecurityAlertPolicyOperatorSpec

func (operator *ServersSecurityAlertPolicyOperatorSpec) AssignProperties_To_ServersSecurityAlertPolicyOperatorSpec(destination *storage.ServersSecurityAlertPolicyOperatorSpec) error

AssignProperties_To_ServersSecurityAlertPolicyOperatorSpec populates the provided destination ServersSecurityAlertPolicyOperatorSpec from our ServersSecurityAlertPolicyOperatorSpec

func (*ServersSecurityAlertPolicyOperatorSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSecurityAlertPolicyOperatorSpec.

func (*ServersSecurityAlertPolicyOperatorSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServersSecurityAlertPolicy_STATUS

type ServersSecurityAlertPolicy_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// CreationTime: Specifies the UTC creation time of the policy.
	CreationTime *string `json:"creationTime,omitempty"`

	// DisabledAlerts: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
	// Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
	DisabledAlerts []string `json:"disabledAlerts,omitempty"`

	// EmailAccountAdmins: Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`

	// EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.
	EmailAddresses []string `json:"emailAddresses,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// State: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the
	// specific database.
	State *SecurityAlertsPolicyState_STATUS `json:"state,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage
	// will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*ServersSecurityAlertPolicy_STATUS) AssignProperties_From_ServersSecurityAlertPolicy_STATUS

func (policy *ServersSecurityAlertPolicy_STATUS) AssignProperties_From_ServersSecurityAlertPolicy_STATUS(source *storage.ServersSecurityAlertPolicy_STATUS) error

AssignProperties_From_ServersSecurityAlertPolicy_STATUS populates our ServersSecurityAlertPolicy_STATUS from the provided source ServersSecurityAlertPolicy_STATUS

func (*ServersSecurityAlertPolicy_STATUS) AssignProperties_To_ServersSecurityAlertPolicy_STATUS

func (policy *ServersSecurityAlertPolicy_STATUS) AssignProperties_To_ServersSecurityAlertPolicy_STATUS(destination *storage.ServersSecurityAlertPolicy_STATUS) error

AssignProperties_To_ServersSecurityAlertPolicy_STATUS populates the provided destination ServersSecurityAlertPolicy_STATUS from our ServersSecurityAlertPolicy_STATUS

func (*ServersSecurityAlertPolicy_STATUS) ConvertStatusFrom

func (policy *ServersSecurityAlertPolicy_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersSecurityAlertPolicy_STATUS from the provided source

func (*ServersSecurityAlertPolicy_STATUS) ConvertStatusTo

func (policy *ServersSecurityAlertPolicy_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersSecurityAlertPolicy_STATUS

func (*ServersSecurityAlertPolicy_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSecurityAlertPolicy_STATUS.

func (*ServersSecurityAlertPolicy_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersSecurityAlertPolicy_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersSecurityAlertPolicy_STATUS) PopulateFromARM

func (policy *ServersSecurityAlertPolicy_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersSecurityAlertPolicy_Spec

type ServersSecurityAlertPolicy_Spec struct {
	// DisabledAlerts: Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
	// Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force
	DisabledAlerts []string `json:"disabledAlerts,omitempty"`

	// EmailAccountAdmins: Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`

	// EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.
	EmailAddresses []string `json:"emailAddresses,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *ServersSecurityAlertPolicyOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a sql.azure.com/Server resource
	Owner *genruntime.KnownResourceReference `group:"sql.azure.com" json:"owner,omitempty" kind:"Server"`

	// RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *int `json:"retentionDays,omitempty"`

	// +kubebuilder:validation:Required
	// State: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the
	// specific database.
	State *SecurityAlertsPolicyState `json:"state,omitempty"`

	// StorageAccountAccessKey: Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey *genruntime.SecretReference `json:"storageAccountAccessKey,omitempty"`

	// StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage
	// will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`
}

func (*ServersSecurityAlertPolicy_Spec) AssignProperties_From_ServersSecurityAlertPolicy_Spec

func (policy *ServersSecurityAlertPolicy_Spec) AssignProperties_From_ServersSecurityAlertPolicy_Spec(source *storage.ServersSecurityAlertPolicy_Spec) error

AssignProperties_From_ServersSecurityAlertPolicy_Spec populates our ServersSecurityAlertPolicy_Spec from the provided source ServersSecurityAlertPolicy_Spec

func (*ServersSecurityAlertPolicy_Spec) AssignProperties_To_ServersSecurityAlertPolicy_Spec

func (policy *ServersSecurityAlertPolicy_Spec) AssignProperties_To_ServersSecurityAlertPolicy_Spec(destination *storage.ServersSecurityAlertPolicy_Spec) error

AssignProperties_To_ServersSecurityAlertPolicy_Spec populates the provided destination ServersSecurityAlertPolicy_Spec from our ServersSecurityAlertPolicy_Spec

func (*ServersSecurityAlertPolicy_Spec) ConvertSpecFrom

func (policy *ServersSecurityAlertPolicy_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersSecurityAlertPolicy_Spec from the provided source

func (*ServersSecurityAlertPolicy_Spec) ConvertSpecTo

func (policy *ServersSecurityAlertPolicy_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersSecurityAlertPolicy_Spec

func (*ServersSecurityAlertPolicy_Spec) ConvertToARM

func (policy *ServersSecurityAlertPolicy_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersSecurityAlertPolicy_Spec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSecurityAlertPolicy_Spec.

func (*ServersSecurityAlertPolicy_Spec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersSecurityAlertPolicy_Spec) Initialize_From_ServersSecurityAlertPolicy_STATUS

func (policy *ServersSecurityAlertPolicy_Spec) Initialize_From_ServersSecurityAlertPolicy_STATUS(source *ServersSecurityAlertPolicy_STATUS) error

Initialize_From_ServersSecurityAlertPolicy_STATUS populates our ServersSecurityAlertPolicy_Spec from the provided source ServersSecurityAlertPolicy_STATUS

func (*ServersSecurityAlertPolicy_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersSecurityAlertPolicy_Spec) OriginalVersion

func (policy *ServersSecurityAlertPolicy_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*ServersSecurityAlertPolicy_Spec) PopulateFromARM

func (policy *ServersSecurityAlertPolicy_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersVirtualNetworkRule

type ServersVirtualNetworkRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersVirtualNetworkRule_Spec   `json:"spec,omitempty"`
	Status            ServersVirtualNetworkRule_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/virtualNetworkRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}

func (*ServersVirtualNetworkRule) AssignProperties_From_ServersVirtualNetworkRule

func (rule *ServersVirtualNetworkRule) AssignProperties_From_ServersVirtualNetworkRule(source *storage.ServersVirtualNetworkRule) error

AssignProperties_From_ServersVirtualNetworkRule populates our ServersVirtualNetworkRule from the provided source ServersVirtualNetworkRule

func (*ServersVirtualNetworkRule) AssignProperties_To_ServersVirtualNetworkRule

func (rule *ServersVirtualNetworkRule) AssignProperties_To_ServersVirtualNetworkRule(destination *storage.ServersVirtualNetworkRule) error

AssignProperties_To_ServersVirtualNetworkRule populates the provided destination ServersVirtualNetworkRule from our ServersVirtualNetworkRule

func (*ServersVirtualNetworkRule) AzureName

func (rule *ServersVirtualNetworkRule) AzureName() string

AzureName returns the Azure name of the resource

func (*ServersVirtualNetworkRule) ConfigMapDestinationExpressions

func (rule *ServersVirtualNetworkRule) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersVirtualNetworkRule) ConvertFrom

func (rule *ServersVirtualNetworkRule) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersVirtualNetworkRule from the provided hub ServersVirtualNetworkRule

func (*ServersVirtualNetworkRule) ConvertTo

func (rule *ServersVirtualNetworkRule) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersVirtualNetworkRule from our ServersVirtualNetworkRule

func (*ServersVirtualNetworkRule) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRule.

func (*ServersVirtualNetworkRule) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVirtualNetworkRule) DeepCopyObject

func (in *ServersVirtualNetworkRule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ServersVirtualNetworkRule) GetAPIVersion

func (rule ServersVirtualNetworkRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2025-01-01"

func (*ServersVirtualNetworkRule) GetConditions

func (rule *ServersVirtualNetworkRule) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersVirtualNetworkRule) GetResourceScope

func (rule *ServersVirtualNetworkRule) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersVirtualNetworkRule) GetSpec

GetSpec returns the specification of this resource

func (*ServersVirtualNetworkRule) GetStatus

GetStatus returns the status of this resource

func (*ServersVirtualNetworkRule) GetSupportedOperations

func (rule *ServersVirtualNetworkRule) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersVirtualNetworkRule) GetType

func (rule *ServersVirtualNetworkRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/virtualNetworkRules"

func (*ServersVirtualNetworkRule) InitializeSpec

func (rule *ServersVirtualNetworkRule) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersVirtualNetworkRule) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersVirtualNetworkRule) OriginalGVK

func (rule *ServersVirtualNetworkRule) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*ServersVirtualNetworkRule) Owner

Owner returns the ResourceReference of the owner

func (*ServersVirtualNetworkRule) SecretDestinationExpressions

func (rule *ServersVirtualNetworkRule) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersVirtualNetworkRule) SetConditions

func (rule *ServersVirtualNetworkRule) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersVirtualNetworkRule) SetStatus

SetStatus sets the status of this resource

type ServersVirtualNetworkRuleList

type ServersVirtualNetworkRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServersVirtualNetworkRule `json:"items"`
}

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/virtualNetworkRules.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}

func (*ServersVirtualNetworkRuleList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRuleList.

func (*ServersVirtualNetworkRuleList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVirtualNetworkRuleList) DeepCopyObject

func (in *ServersVirtualNetworkRuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServersVirtualNetworkRuleOperatorSpec

type ServersVirtualNetworkRuleOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*ServersVirtualNetworkRuleOperatorSpec) AssignProperties_From_ServersVirtualNetworkRuleOperatorSpec

func (operator *ServersVirtualNetworkRuleOperatorSpec) AssignProperties_From_ServersVirtualNetworkRuleOperatorSpec(source *storage.ServersVirtualNetworkRuleOperatorSpec) error

AssignProperties_From_ServersVirtualNetworkRuleOperatorSpec populates our ServersVirtualNetworkRuleOperatorSpec from the provided source ServersVirtualNetworkRuleOperatorSpec

func (*ServersVirtualNetworkRuleOperatorSpec) AssignProperties_To_ServersVirtualNetworkRuleOperatorSpec

func (operator *ServersVirtualNetworkRuleOperatorSpec) AssignProperties_To_ServersVirtualNetworkRuleOperatorSpec(destination *storage.ServersVirtualNetworkRuleOperatorSpec) error

AssignProperties_To_ServersVirtualNetworkRuleOperatorSpec populates the provided destination ServersVirtualNetworkRuleOperatorSpec from our ServersVirtualNetworkRuleOperatorSpec

func (*ServersVirtualNetworkRuleOperatorSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRuleOperatorSpec.

func (*ServersVirtualNetworkRuleOperatorSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServersVirtualNetworkRule_STATUS

type ServersVirtualNetworkRule_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual network has vnet service endpoint enabled.
	IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// State: Virtual Network Rule State
	State *VirtualNetworkRuleState_STATUS `json:"state,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// VirtualNetworkSubnetId: The ARM resource id of the virtual network subnet.
	VirtualNetworkSubnetId *string `json:"virtualNetworkSubnetId,omitempty"`
}

func (*ServersVirtualNetworkRule_STATUS) AssignProperties_From_ServersVirtualNetworkRule_STATUS

func (rule *ServersVirtualNetworkRule_STATUS) AssignProperties_From_ServersVirtualNetworkRule_STATUS(source *storage.ServersVirtualNetworkRule_STATUS) error

AssignProperties_From_ServersVirtualNetworkRule_STATUS populates our ServersVirtualNetworkRule_STATUS from the provided source ServersVirtualNetworkRule_STATUS

func (*ServersVirtualNetworkRule_STATUS) AssignProperties_To_ServersVirtualNetworkRule_STATUS

func (rule *ServersVirtualNetworkRule_STATUS) AssignProperties_To_ServersVirtualNetworkRule_STATUS(destination *storage.ServersVirtualNetworkRule_STATUS) error

AssignProperties_To_ServersVirtualNetworkRule_STATUS populates the provided destination ServersVirtualNetworkRule_STATUS from our ServersVirtualNetworkRule_STATUS

func (*ServersVirtualNetworkRule_STATUS) ConvertStatusFrom

func (rule *ServersVirtualNetworkRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersVirtualNetworkRule_STATUS from the provided source

func (*ServersVirtualNetworkRule_STATUS) ConvertStatusTo

func (rule *ServersVirtualNetworkRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersVirtualNetworkRule_STATUS

func (*ServersVirtualNetworkRule_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRule_STATUS.

func (*ServersVirtualNetworkRule_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVirtualNetworkRule_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersVirtualNetworkRule_STATUS) PopulateFromARM

func (rule *ServersVirtualNetworkRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersVirtualNetworkRule_Spec

type ServersVirtualNetworkRule_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual network has vnet service endpoint enabled.
	IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *ServersVirtualNetworkRuleOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a sql.azure.com/Server resource
	Owner *genruntime.KnownResourceReference `group:"sql.azure.com" json:"owner,omitempty" kind:"Server"`

	// +kubebuilder:validation:Required
	// VirtualNetworkSubnetReference: The ARM resource id of the virtual network subnet.
	VirtualNetworkSubnetReference *genruntime.ResourceReference `armReference:"VirtualNetworkSubnetId" json:"virtualNetworkSubnetReference,omitempty"`
}

func (*ServersVirtualNetworkRule_Spec) AssignProperties_From_ServersVirtualNetworkRule_Spec

func (rule *ServersVirtualNetworkRule_Spec) AssignProperties_From_ServersVirtualNetworkRule_Spec(source *storage.ServersVirtualNetworkRule_Spec) error

AssignProperties_From_ServersVirtualNetworkRule_Spec populates our ServersVirtualNetworkRule_Spec from the provided source ServersVirtualNetworkRule_Spec

func (*ServersVirtualNetworkRule_Spec) AssignProperties_To_ServersVirtualNetworkRule_Spec

func (rule *ServersVirtualNetworkRule_Spec) AssignProperties_To_ServersVirtualNetworkRule_Spec(destination *storage.ServersVirtualNetworkRule_Spec) error

AssignProperties_To_ServersVirtualNetworkRule_Spec populates the provided destination ServersVirtualNetworkRule_Spec from our ServersVirtualNetworkRule_Spec

func (*ServersVirtualNetworkRule_Spec) ConvertSpecFrom

func (rule *ServersVirtualNetworkRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersVirtualNetworkRule_Spec from the provided source

func (*ServersVirtualNetworkRule_Spec) ConvertSpecTo

func (rule *ServersVirtualNetworkRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersVirtualNetworkRule_Spec

func (*ServersVirtualNetworkRule_Spec) ConvertToARM

func (rule *ServersVirtualNetworkRule_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersVirtualNetworkRule_Spec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVirtualNetworkRule_Spec.

func (*ServersVirtualNetworkRule_Spec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVirtualNetworkRule_Spec) Initialize_From_ServersVirtualNetworkRule_STATUS

func (rule *ServersVirtualNetworkRule_Spec) Initialize_From_ServersVirtualNetworkRule_STATUS(source *ServersVirtualNetworkRule_STATUS) error

Initialize_From_ServersVirtualNetworkRule_STATUS populates our ServersVirtualNetworkRule_Spec from the provided source ServersVirtualNetworkRule_STATUS

func (*ServersVirtualNetworkRule_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersVirtualNetworkRule_Spec) OriginalVersion

func (rule *ServersVirtualNetworkRule_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*ServersVirtualNetworkRule_Spec) PopulateFromARM

func (rule *ServersVirtualNetworkRule_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*ServersVirtualNetworkRule_Spec) SetAzureName

func (rule *ServersVirtualNetworkRule_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type ServersVulnerabilityAssessment

type ServersVulnerabilityAssessment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServersVulnerabilityAssessment_Spec   `json:"spec,omitempty"`
	Status            ServersVulnerabilityAssessment_STATUS `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories={azure,sql} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverVulnerabilityAssessments.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/default

func (*ServersVulnerabilityAssessment) AssignProperties_From_ServersVulnerabilityAssessment

func (assessment *ServersVulnerabilityAssessment) AssignProperties_From_ServersVulnerabilityAssessment(source *storage.ServersVulnerabilityAssessment) error

AssignProperties_From_ServersVulnerabilityAssessment populates our ServersVulnerabilityAssessment from the provided source ServersVulnerabilityAssessment

func (*ServersVulnerabilityAssessment) AssignProperties_To_ServersVulnerabilityAssessment

func (assessment *ServersVulnerabilityAssessment) AssignProperties_To_ServersVulnerabilityAssessment(destination *storage.ServersVulnerabilityAssessment) error

AssignProperties_To_ServersVulnerabilityAssessment populates the provided destination ServersVulnerabilityAssessment from our ServersVulnerabilityAssessment

func (*ServersVulnerabilityAssessment) AzureName

func (assessment *ServersVulnerabilityAssessment) AzureName() string

AzureName returns the Azure name of the resource (always "default")

func (*ServersVulnerabilityAssessment) ConfigMapDestinationExpressions

func (assessment *ServersVulnerabilityAssessment) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*ServersVulnerabilityAssessment) ConvertFrom

func (assessment *ServersVulnerabilityAssessment) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our ServersVulnerabilityAssessment from the provided hub ServersVulnerabilityAssessment

func (*ServersVulnerabilityAssessment) ConvertTo

func (assessment *ServersVulnerabilityAssessment) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub ServersVulnerabilityAssessment from our ServersVulnerabilityAssessment

func (*ServersVulnerabilityAssessment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVulnerabilityAssessment.

func (*ServersVulnerabilityAssessment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVulnerabilityAssessment) DeepCopyObject

func (in *ServersVulnerabilityAssessment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ServersVulnerabilityAssessment) GetAPIVersion

func (assessment ServersVulnerabilityAssessment) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2025-01-01"

func (*ServersVulnerabilityAssessment) GetConditions

func (assessment *ServersVulnerabilityAssessment) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*ServersVulnerabilityAssessment) GetResourceScope

func (assessment *ServersVulnerabilityAssessment) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*ServersVulnerabilityAssessment) GetSpec

GetSpec returns the specification of this resource

func (*ServersVulnerabilityAssessment) GetStatus

GetStatus returns the status of this resource

func (*ServersVulnerabilityAssessment) GetSupportedOperations

func (assessment *ServersVulnerabilityAssessment) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*ServersVulnerabilityAssessment) GetType

func (assessment *ServersVulnerabilityAssessment) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.Sql/servers/vulnerabilityAssessments"

func (*ServersVulnerabilityAssessment) InitializeSpec

func (assessment *ServersVulnerabilityAssessment) InitializeSpec(status genruntime.ConvertibleStatus) error

InitializeSpec initializes the spec for this resource from the given status

func (*ServersVulnerabilityAssessment) NewEmptyStatus

func (assessment *ServersVulnerabilityAssessment) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*ServersVulnerabilityAssessment) OriginalGVK

func (assessment *ServersVulnerabilityAssessment) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*ServersVulnerabilityAssessment) Owner

Owner returns the ResourceReference of the owner

func (*ServersVulnerabilityAssessment) SecretDestinationExpressions

func (assessment *ServersVulnerabilityAssessment) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*ServersVulnerabilityAssessment) SetConditions

func (assessment *ServersVulnerabilityAssessment) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*ServersVulnerabilityAssessment) SetStatus

func (assessment *ServersVulnerabilityAssessment) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

type ServersVulnerabilityAssessmentList

type ServersVulnerabilityAssessmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServersVulnerabilityAssessment `json:"items"`
}

+kubebuilder:object:root=true Generator information: - Generated from: /sql/resource-manager/Microsoft.Sql/SQL/stable/2025-01-01/serverVulnerabilityAssessments.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/default

func (*ServersVulnerabilityAssessmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVulnerabilityAssessmentList.

func (*ServersVulnerabilityAssessmentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVulnerabilityAssessmentList) DeepCopyObject

func (in *ServersVulnerabilityAssessmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServersVulnerabilityAssessmentOperatorSpec

type ServersVulnerabilityAssessmentOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*ServersVulnerabilityAssessmentOperatorSpec) AssignProperties_From_ServersVulnerabilityAssessmentOperatorSpec

func (operator *ServersVulnerabilityAssessmentOperatorSpec) AssignProperties_From_ServersVulnerabilityAssessmentOperatorSpec(source *storage.ServersVulnerabilityAssessmentOperatorSpec) error

AssignProperties_From_ServersVulnerabilityAssessmentOperatorSpec populates our ServersVulnerabilityAssessmentOperatorSpec from the provided source ServersVulnerabilityAssessmentOperatorSpec

func (*ServersVulnerabilityAssessmentOperatorSpec) AssignProperties_To_ServersVulnerabilityAssessmentOperatorSpec

func (operator *ServersVulnerabilityAssessmentOperatorSpec) AssignProperties_To_ServersVulnerabilityAssessmentOperatorSpec(destination *storage.ServersVulnerabilityAssessmentOperatorSpec) error

AssignProperties_To_ServersVulnerabilityAssessmentOperatorSpec populates the provided destination ServersVulnerabilityAssessmentOperatorSpec from our ServersVulnerabilityAssessmentOperatorSpec

func (*ServersVulnerabilityAssessmentOperatorSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVulnerabilityAssessmentOperatorSpec.

func (*ServersVulnerabilityAssessmentOperatorSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServersVulnerabilityAssessment_STATUS

type ServersVulnerabilityAssessment_STATUS struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// RecurringScans: The recurring scans settings
	RecurringScans *VulnerabilityAssessmentRecurringScansProperties_STATUS `json:"recurringScans,omitempty"`

	// StorageContainerPath: A blob storage container path to hold the scan results (e.g.
	// https://myStorage.blob.core.windows.net/VaScans/).
	StorageContainerPath *string `json:"storageContainerPath,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*ServersVulnerabilityAssessment_STATUS) AssignProperties_From_ServersVulnerabilityAssessment_STATUS

func (assessment *ServersVulnerabilityAssessment_STATUS) AssignProperties_From_ServersVulnerabilityAssessment_STATUS(source *storage.ServersVulnerabilityAssessment_STATUS) error

AssignProperties_From_ServersVulnerabilityAssessment_STATUS populates our ServersVulnerabilityAssessment_STATUS from the provided source ServersVulnerabilityAssessment_STATUS

func (*ServersVulnerabilityAssessment_STATUS) AssignProperties_To_ServersVulnerabilityAssessment_STATUS

func (assessment *ServersVulnerabilityAssessment_STATUS) AssignProperties_To_ServersVulnerabilityAssessment_STATUS(destination *storage.ServersVulnerabilityAssessment_STATUS) error

AssignProperties_To_ServersVulnerabilityAssessment_STATUS populates the provided destination ServersVulnerabilityAssessment_STATUS from our ServersVulnerabilityAssessment_STATUS

func (*ServersVulnerabilityAssessment_STATUS) ConvertStatusFrom

func (assessment *ServersVulnerabilityAssessment_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our ServersVulnerabilityAssessment_STATUS from the provided source

func (*ServersVulnerabilityAssessment_STATUS) ConvertStatusTo

func (assessment *ServersVulnerabilityAssessment_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our ServersVulnerabilityAssessment_STATUS

func (*ServersVulnerabilityAssessment_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVulnerabilityAssessment_STATUS.

func (*ServersVulnerabilityAssessment_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVulnerabilityAssessment_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersVulnerabilityAssessment_STATUS) PopulateFromARM

func (assessment *ServersVulnerabilityAssessment_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type ServersVulnerabilityAssessment_Spec

type ServersVulnerabilityAssessment_Spec struct {
	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *ServersVulnerabilityAssessmentOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a sql.azure.com/Server resource
	Owner *genruntime.KnownResourceReference `group:"sql.azure.com" json:"owner,omitempty" kind:"Server"`

	// RecurringScans: The recurring scans settings
	RecurringScans *VulnerabilityAssessmentRecurringScansProperties `json:"recurringScans,omitempty"`

	// StorageAccountAccessKey: Specifies the identifier key of the storage account for vulnerability assessment scan results.
	// If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is
	// not behind a Vnet or a firewall
	StorageAccountAccessKey *genruntime.SecretReference `json:"storageAccountAccessKey,omitempty"`

	// StorageContainerPath: A blob storage container path to hold the scan results (e.g.
	// https://myStorage.blob.core.windows.net/VaScans/).
	StorageContainerPath *string `json:"storageContainerPath,omitempty" optionalConfigMapPair:"StorageContainerPath"`

	// StorageContainerPathFromConfig: A blob storage container path to hold the scan results (e.g.
	// https://myStorage.blob.core.windows.net/VaScans/).
	StorageContainerPathFromConfig *genruntime.ConfigMapReference `json:"storageContainerPathFromConfig,omitempty" optionalConfigMapPair:"StorageContainerPath"`

	// StorageContainerSasKey: A shared access signature (SAS Key) that has write access to the blob container specified in
	// 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.
	// Applies only if the storage account is not behind a Vnet or a firewall
	StorageContainerSasKey *genruntime.SecretReference `json:"storageContainerSasKey,omitempty"`
}

func (*ServersVulnerabilityAssessment_Spec) AssignProperties_From_ServersVulnerabilityAssessment_Spec

func (assessment *ServersVulnerabilityAssessment_Spec) AssignProperties_From_ServersVulnerabilityAssessment_Spec(source *storage.ServersVulnerabilityAssessment_Spec) error

AssignProperties_From_ServersVulnerabilityAssessment_Spec populates our ServersVulnerabilityAssessment_Spec from the provided source ServersVulnerabilityAssessment_Spec

func (*ServersVulnerabilityAssessment_Spec) AssignProperties_To_ServersVulnerabilityAssessment_Spec

func (assessment *ServersVulnerabilityAssessment_Spec) AssignProperties_To_ServersVulnerabilityAssessment_Spec(destination *storage.ServersVulnerabilityAssessment_Spec) error

AssignProperties_To_ServersVulnerabilityAssessment_Spec populates the provided destination ServersVulnerabilityAssessment_Spec from our ServersVulnerabilityAssessment_Spec

func (*ServersVulnerabilityAssessment_Spec) ConvertSpecFrom

func (assessment *ServersVulnerabilityAssessment_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our ServersVulnerabilityAssessment_Spec from the provided source

func (*ServersVulnerabilityAssessment_Spec) ConvertSpecTo

func (assessment *ServersVulnerabilityAssessment_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our ServersVulnerabilityAssessment_Spec

func (*ServersVulnerabilityAssessment_Spec) ConvertToARM

func (assessment *ServersVulnerabilityAssessment_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*ServersVulnerabilityAssessment_Spec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersVulnerabilityAssessment_Spec.

func (*ServersVulnerabilityAssessment_Spec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServersVulnerabilityAssessment_Spec) Initialize_From_ServersVulnerabilityAssessment_STATUS

func (assessment *ServersVulnerabilityAssessment_Spec) Initialize_From_ServersVulnerabilityAssessment_STATUS(source *ServersVulnerabilityAssessment_STATUS) error

Initialize_From_ServersVulnerabilityAssessment_STATUS populates our ServersVulnerabilityAssessment_Spec from the provided source ServersVulnerabilityAssessment_STATUS

func (*ServersVulnerabilityAssessment_Spec) NewEmptyARMValue

func (assessment *ServersVulnerabilityAssessment_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*ServersVulnerabilityAssessment_Spec) OriginalVersion

func (assessment *ServersVulnerabilityAssessment_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*ServersVulnerabilityAssessment_Spec) PopulateFromARM

func (assessment *ServersVulnerabilityAssessment_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku

type Sku struct {
	// Capacity: Capacity of the particular SKU.
	Capacity *int `json:"capacity,omitempty"`

	// Family: If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`

	// +kubebuilder:validation:Required
	// Name: The name of the SKU, typically, a letter + Number code, e.g. P3.
	Name *string `json:"name,omitempty"`

	// Size: Size of the particular SKU
	Size *string `json:"size,omitempty"`

	// Tier: The tier or edition of the particular SKU, e.g. Basic, Premium.
	Tier *string `json:"tier,omitempty"`
}

An ARM Resource SKU.

func (*Sku) AssignProperties_From_Sku

func (sku *Sku) AssignProperties_From_Sku(source *storage.Sku) error

AssignProperties_From_Sku populates our Sku from the provided source Sku

func (*Sku) AssignProperties_To_Sku

func (sku *Sku) AssignProperties_To_Sku(destination *storage.Sku) error

AssignProperties_To_Sku populates the provided destination Sku from our Sku

func (*Sku) ConvertToARM

func (sku *Sku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Sku) DeepCopy

func (in *Sku) DeepCopy() *Sku

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku.

func (*Sku) DeepCopyInto

func (in *Sku) DeepCopyInto(out *Sku)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sku) Initialize_From_Sku_STATUS

func (sku *Sku) Initialize_From_Sku_STATUS(source *Sku_STATUS) error

Initialize_From_Sku_STATUS populates our Sku from the provided source Sku_STATUS

func (*Sku) NewEmptyARMValue

func (sku *Sku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku) PopulateFromARM

func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku_STATUS

type Sku_STATUS struct {
	// Capacity: Capacity of the particular SKU.
	Capacity *int `json:"capacity,omitempty"`

	// Family: If the service has different generations of hardware, for the same SKU, then that can be captured here.
	Family *string `json:"family,omitempty"`

	// Name: The name of the SKU, typically, a letter + Number code, e.g. P3.
	Name *string `json:"name,omitempty"`

	// Size: Size of the particular SKU
	Size *string `json:"size,omitempty"`

	// Tier: The tier or edition of the particular SKU, e.g. Basic, Premium.
	Tier *string `json:"tier,omitempty"`
}

An ARM Resource SKU.

func (*Sku_STATUS) AssignProperties_From_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *storage.Sku_STATUS) error

AssignProperties_From_Sku_STATUS populates our Sku_STATUS from the provided source Sku_STATUS

func (*Sku_STATUS) AssignProperties_To_Sku_STATUS

func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *storage.Sku_STATUS) error

AssignProperties_To_Sku_STATUS populates the provided destination Sku_STATUS from our Sku_STATUS

func (*Sku_STATUS) DeepCopy

func (in *Sku_STATUS) DeepCopy() *Sku_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sku_STATUS.

func (*Sku_STATUS) DeepCopyInto

func (in *Sku_STATUS) DeepCopyInto(out *Sku_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sku_STATUS) NewEmptyARMValue

func (sku *Sku_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_STATUS) PopulateFromARM

func (sku *Sku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS string

type SystemData_STATUS

type SystemData_STATUS struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemData_STATUS.

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SystemData_STATUS) NewEmptyARMValue

func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type TimeBasedImmutability

type TimeBasedImmutability string

The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type TimeBasedImmutabilityMode

type TimeBasedImmutabilityMode string

The time-based immutability mode. Only applicable if time-based immutability is enabled. +kubebuilder:validation:Enum={"Locked","Unlocked"}

type TimeBasedImmutabilityMode_STATUS

type TimeBasedImmutabilityMode_STATUS string

The time-based immutability mode. Only applicable if time-based immutability is enabled.

type TimeBasedImmutability_STATUS

type TimeBasedImmutability_STATUS string

The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime.

type TransparentDataEncryptionScanState

type TransparentDataEncryptionScanState string

Specifies the encryption scan state of the transparent data encryption. +kubebuilder:validation:Enum={"Aborted","Completed","None","Resume","Running","Suspend"}

type TransparentDataEncryptionScanState_STATUS

type TransparentDataEncryptionScanState_STATUS string

Specifies the encryption scan state of the transparent data encryption.

type TransparentDataEncryptionState

type TransparentDataEncryptionState string

Specifies the state of the transparent data encryption. +kubebuilder:validation:Enum={"Disabled","Enabled"}

type TransparentDataEncryptionState_STATUS

type TransparentDataEncryptionState_STATUS string

Specifies the state of the transparent data encryption.

type UserAssignedIdentityDetails

type UserAssignedIdentityDetails struct {
	Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}

Information about the user assigned identity for the resource

func (*UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails

func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error

AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails

func (*UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails

func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error

AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails

func (*UserAssignedIdentityDetails) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentityDetails.

func (*UserAssignedIdentityDetails) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserIdentity_STATUS

type UserIdentity_STATUS struct {
	// ClientId: The Azure Active Directory client id.
	ClientId *string `json:"clientId,omitempty"`

	// PrincipalId: The Azure Active Directory principal id.
	PrincipalId *string `json:"principalId,omitempty"`
}

Azure Active Directory identity configuration for a resource.

func (*UserIdentity_STATUS) AssignProperties_From_UserIdentity_STATUS

func (identity *UserIdentity_STATUS) AssignProperties_From_UserIdentity_STATUS(source *storage.UserIdentity_STATUS) error

AssignProperties_From_UserIdentity_STATUS populates our UserIdentity_STATUS from the provided source UserIdentity_STATUS

func (*UserIdentity_STATUS) AssignProperties_To_UserIdentity_STATUS

func (identity *UserIdentity_STATUS) AssignProperties_To_UserIdentity_STATUS(destination *storage.UserIdentity_STATUS) error

AssignProperties_To_UserIdentity_STATUS populates the provided destination UserIdentity_STATUS from our UserIdentity_STATUS

func (*UserIdentity_STATUS) DeepCopy

func (in *UserIdentity_STATUS) DeepCopy() *UserIdentity_STATUS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIdentity_STATUS.

func (*UserIdentity_STATUS) DeepCopyInto

func (in *UserIdentity_STATUS) DeepCopyInto(out *UserIdentity_STATUS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UserIdentity_STATUS) NewEmptyARMValue

func (identity *UserIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*UserIdentity_STATUS) PopulateFromARM

func (identity *UserIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type VirtualNetworkRuleState_STATUS

type VirtualNetworkRuleState_STATUS string

Virtual Network Rule State

type VulnerabilityAssessmentRecurringScansProperties

type VulnerabilityAssessmentRecurringScansProperties struct {
	// EmailSubscriptionAdmins: Specifies that the schedule scan notification will be is sent to the subscription
	// administrators.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty"`

	// Emails: Specifies an array of e-mail addresses to which the scan notification is sent.
	Emails []string `json:"emails,omitempty"`

	// IsEnabled: Recurring scans state.
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

Properties of a Vulnerability Assessment recurring scans.

func (*VulnerabilityAssessmentRecurringScansProperties) AssignProperties_From_VulnerabilityAssessmentRecurringScansProperties

func (properties *VulnerabilityAssessmentRecurringScansProperties) AssignProperties_From_VulnerabilityAssessmentRecurringScansProperties(source *storage.VulnerabilityAssessmentRecurringScansProperties) error

AssignProperties_From_VulnerabilityAssessmentRecurringScansProperties populates our VulnerabilityAssessmentRecurringScansProperties from the provided source VulnerabilityAssessmentRecurringScansProperties

func (*VulnerabilityAssessmentRecurringScansProperties) AssignProperties_To_VulnerabilityAssessmentRecurringScansProperties

func (properties *VulnerabilityAssessmentRecurringScansProperties) AssignProperties_To_VulnerabilityAssessmentRecurringScansProperties(destination *storage.VulnerabilityAssessmentRecurringScansProperties) error

AssignProperties_To_VulnerabilityAssessmentRecurringScansProperties populates the provided destination VulnerabilityAssessmentRecurringScansProperties from our VulnerabilityAssessmentRecurringScansProperties

func (*VulnerabilityAssessmentRecurringScansProperties) ConvertToARM

func (properties *VulnerabilityAssessmentRecurringScansProperties) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*VulnerabilityAssessmentRecurringScansProperties) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityAssessmentRecurringScansProperties.

func (*VulnerabilityAssessmentRecurringScansProperties) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityAssessmentRecurringScansProperties) Initialize_From_VulnerabilityAssessmentRecurringScansProperties_STATUS

func (properties *VulnerabilityAssessmentRecurringScansProperties) Initialize_From_VulnerabilityAssessmentRecurringScansProperties_STATUS(source *VulnerabilityAssessmentRecurringScansProperties_STATUS) error

Initialize_From_VulnerabilityAssessmentRecurringScansProperties_STATUS populates our VulnerabilityAssessmentRecurringScansProperties from the provided source VulnerabilityAssessmentRecurringScansProperties_STATUS

func (*VulnerabilityAssessmentRecurringScansProperties) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*VulnerabilityAssessmentRecurringScansProperties) PopulateFromARM

func (properties *VulnerabilityAssessmentRecurringScansProperties) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type VulnerabilityAssessmentRecurringScansProperties_STATUS

type VulnerabilityAssessmentRecurringScansProperties_STATUS struct {
	// EmailSubscriptionAdmins: Specifies that the schedule scan notification will be is sent to the subscription
	// administrators.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty"`

	// Emails: Specifies an array of e-mail addresses to which the scan notification is sent.
	Emails []string `json:"emails,omitempty"`

	// IsEnabled: Recurring scans state.
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

Properties of a Vulnerability Assessment recurring scans.

func (*VulnerabilityAssessmentRecurringScansProperties_STATUS) AssignProperties_From_VulnerabilityAssessmentRecurringScansProperties_STATUS

func (properties *VulnerabilityAssessmentRecurringScansProperties_STATUS) AssignProperties_From_VulnerabilityAssessmentRecurringScansProperties_STATUS(source *storage.VulnerabilityAssessmentRecurringScansProperties_STATUS) error

AssignProperties_From_VulnerabilityAssessmentRecurringScansProperties_STATUS populates our VulnerabilityAssessmentRecurringScansProperties_STATUS from the provided source VulnerabilityAssessmentRecurringScansProperties_STATUS

func (*VulnerabilityAssessmentRecurringScansProperties_STATUS) AssignProperties_To_VulnerabilityAssessmentRecurringScansProperties_STATUS

func (properties *VulnerabilityAssessmentRecurringScansProperties_STATUS) AssignProperties_To_VulnerabilityAssessmentRecurringScansProperties_STATUS(destination *storage.VulnerabilityAssessmentRecurringScansProperties_STATUS) error

AssignProperties_To_VulnerabilityAssessmentRecurringScansProperties_STATUS populates the provided destination VulnerabilityAssessmentRecurringScansProperties_STATUS from our VulnerabilityAssessmentRecurringScansProperties_STATUS

func (*VulnerabilityAssessmentRecurringScansProperties_STATUS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityAssessmentRecurringScansProperties_STATUS.

func (*VulnerabilityAssessmentRecurringScansProperties_STATUS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityAssessmentRecurringScansProperties_STATUS) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*VulnerabilityAssessmentRecurringScansProperties_STATUS) PopulateFromARM

func (properties *VulnerabilityAssessmentRecurringScansProperties_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Package storage contains API Schema definitions for the sql storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=sql.azure.com +versionName=v20250101storage
Package storage contains API Schema definitions for the sql storage API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=sql.azure.com +versionName=v20250101storage
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL