v1api20211101

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

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

Package v1api20211101 contains API Schema definitions for the sql v1api20211101 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=v1api20211101

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 (
	ServerProperties_PublicNetworkAccess_Disabled = ServerProperties_PublicNetworkAccess("Disabled")
	ServerProperties_PublicNetworkAccess_Enabled  = ServerProperties_PublicNetworkAccess("Enabled")
)
View Source
const (
	ServerProperties_PublicNetworkAccess_STATUS_Disabled = ServerProperties_PublicNetworkAccess_STATUS("Disabled")
	ServerProperties_PublicNetworkAccess_STATUS_Enabled  = ServerProperties_PublicNetworkAccess_STATUS("Enabled")
)
View Source
const (
	ServerProperties_RestrictOutboundNetworkAccess_Disabled = ServerProperties_RestrictOutboundNetworkAccess("Disabled")
	ServerProperties_RestrictOutboundNetworkAccess_Enabled  = ServerProperties_RestrictOutboundNetworkAccess("Enabled")
)
View Source
const (
	ServerProperties_RestrictOutboundNetworkAccess_STATUS_Disabled = ServerProperties_RestrictOutboundNetworkAccess_STATUS("Disabled")
	ServerProperties_RestrictOutboundNetworkAccess_STATUS_Enabled  = ServerProperties_RestrictOutboundNetworkAccess_STATUS("Enabled")
)
View Source
const (
	ServerProperties_WorkspaceFeature_STATUS_Connected    = ServerProperties_WorkspaceFeature_STATUS("Connected")
	ServerProperties_WorkspaceFeature_STATUS_Disconnected = ServerProperties_WorkspaceFeature_STATUS("Disconnected")
)
View Source
const (
	ResourceIdentity_Type_None                       = ResourceIdentity_Type("None")
	ResourceIdentity_Type_SystemAssigned             = ResourceIdentity_Type("SystemAssigned")
	ResourceIdentity_Type_SystemAssignedUserAssigned = ResourceIdentity_Type("SystemAssigned,UserAssigned")
	ResourceIdentity_Type_UserAssigned               = ResourceIdentity_Type("UserAssigned")
)
View Source
const (
	ResourceIdentity_Type_STATUS_None                       = ResourceIdentity_Type_STATUS("None")
	ResourceIdentity_Type_STATUS_SystemAssigned             = ResourceIdentity_Type_STATUS("SystemAssigned")
	ResourceIdentity_Type_STATUS_SystemAssignedUserAssigned = ResourceIdentity_Type_STATUS("SystemAssigned,UserAssigned")
	ResourceIdentity_Type_STATUS_UserAssigned               = ResourceIdentity_Type_STATUS("UserAssigned")
)
View Source
const (
	ServerExternalAdministrator_PrincipalType_Application = ServerExternalAdministrator_PrincipalType("Application")
	ServerExternalAdministrator_PrincipalType_Group       = ServerExternalAdministrator_PrincipalType("Group")
	ServerExternalAdministrator_PrincipalType_User        = ServerExternalAdministrator_PrincipalType("User")
)
View Source
const (
	ServerExternalAdministrator_PrincipalType_STATUS_Application = ServerExternalAdministrator_PrincipalType_STATUS("Application")
	ServerExternalAdministrator_PrincipalType_STATUS_Group       = ServerExternalAdministrator_PrincipalType_STATUS("Group")
	ServerExternalAdministrator_PrincipalType_STATUS_User        = ServerExternalAdministrator_PrincipalType_STATUS("User")
)
View Source
const (
	PrivateEndpointConnectionProperties_ProvisioningState_STATUS_Approving = PrivateEndpointConnectionProperties_ProvisioningState_STATUS("Approving")
	PrivateEndpointConnectionProperties_ProvisioningState_STATUS_Dropping  = PrivateEndpointConnectionProperties_ProvisioningState_STATUS("Dropping")
	PrivateEndpointConnectionProperties_ProvisioningState_STATUS_Failed    = PrivateEndpointConnectionProperties_ProvisioningState_STATUS("Failed")
	PrivateEndpointConnectionProperties_ProvisioningState_STATUS_Ready     = PrivateEndpointConnectionProperties_ProvisioningState_STATUS("Ready")
	PrivateEndpointConnectionProperties_ProvisioningState_STATUS_Rejecting = PrivateEndpointConnectionProperties_ProvisioningState_STATUS("Rejecting")
)
View Source
const (
	PrivateLinkServiceConnectionStateProperty_Status_STATUS_Approved     = PrivateLinkServiceConnectionStateProperty_Status_STATUS("Approved")
	PrivateLinkServiceConnectionStateProperty_Status_STATUS_Disconnected = PrivateLinkServiceConnectionStateProperty_Status_STATUS("Disconnected")
	PrivateLinkServiceConnectionStateProperty_Status_STATUS_Pending      = PrivateLinkServiceConnectionStateProperty_Status_STATUS("Pending")
	PrivateLinkServiceConnectionStateProperty_Status_STATUS_Rejected     = PrivateLinkServiceConnectionStateProperty_Status_STATUS("Rejected")
)
View Source
const (
	AdvancedThreatProtectionProperties_State_Disabled = AdvancedThreatProtectionProperties_State("Disabled")
	AdvancedThreatProtectionProperties_State_Enabled  = AdvancedThreatProtectionProperties_State("Enabled")
	AdvancedThreatProtectionProperties_State_New      = AdvancedThreatProtectionProperties_State("New")
)
View Source
const (
	AdvancedThreatProtectionProperties_State_STATUS_Disabled = AdvancedThreatProtectionProperties_State_STATUS("Disabled")
	AdvancedThreatProtectionProperties_State_STATUS_Enabled  = AdvancedThreatProtectionProperties_State_STATUS("Enabled")
	AdvancedThreatProtectionProperties_State_STATUS_New      = AdvancedThreatProtectionProperties_State_STATUS("New")
)
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 (
	ServerBlobAuditingPolicyProperties_State_Disabled = ServerBlobAuditingPolicyProperties_State("Disabled")
	ServerBlobAuditingPolicyProperties_State_Enabled  = ServerBlobAuditingPolicyProperties_State("Enabled")
)
View Source
const (
	ServerBlobAuditingPolicyProperties_State_STATUS_Disabled = ServerBlobAuditingPolicyProperties_State_STATUS("Disabled")
	ServerBlobAuditingPolicyProperties_State_STATUS_Enabled  = ServerBlobAuditingPolicyProperties_State_STATUS("Enabled")
)
View Source
const (
	ServerConnectionPolicyProperties_ConnectionType_Default  = ServerConnectionPolicyProperties_ConnectionType("Default")
	ServerConnectionPolicyProperties_ConnectionType_Proxy    = ServerConnectionPolicyProperties_ConnectionType("Proxy")
	ServerConnectionPolicyProperties_ConnectionType_Redirect = ServerConnectionPolicyProperties_ConnectionType("Redirect")
)
View Source
const (
	ServerConnectionPolicyProperties_ConnectionType_STATUS_Default  = ServerConnectionPolicyProperties_ConnectionType_STATUS("Default")
	ServerConnectionPolicyProperties_ConnectionType_STATUS_Proxy    = ServerConnectionPolicyProperties_ConnectionType_STATUS("Proxy")
	ServerConnectionPolicyProperties_ConnectionType_STATUS_Redirect = ServerConnectionPolicyProperties_ConnectionType_STATUS("Redirect")
)
View Source
const (
	DatabaseProperties_CatalogCollation_DATABASE_DEFAULT             = DatabaseProperties_CatalogCollation("DATABASE_DEFAULT")
	DatabaseProperties_CatalogCollation_SQL_Latin1_General_CP1_CI_AS = DatabaseProperties_CatalogCollation("SQL_Latin1_General_CP1_CI_AS")
)
View Source
const (
	DatabaseProperties_CatalogCollation_STATUS_DATABASE_DEFAULT             = DatabaseProperties_CatalogCollation_STATUS("DATABASE_DEFAULT")
	DatabaseProperties_CatalogCollation_STATUS_SQL_Latin1_General_CP1_CI_AS = DatabaseProperties_CatalogCollation_STATUS("SQL_Latin1_General_CP1_CI_AS")
)
View Source
const (
	DatabaseProperties_CreateMode_Copy                           = DatabaseProperties_CreateMode("Copy")
	DatabaseProperties_CreateMode_Default                        = DatabaseProperties_CreateMode("Default")
	DatabaseProperties_CreateMode_OnlineSecondary                = DatabaseProperties_CreateMode("OnlineSecondary")
	DatabaseProperties_CreateMode_PointInTimeRestore             = DatabaseProperties_CreateMode("PointInTimeRestore")
	DatabaseProperties_CreateMode_Recovery                       = DatabaseProperties_CreateMode("Recovery")
	DatabaseProperties_CreateMode_Restore                        = DatabaseProperties_CreateMode("Restore")
	DatabaseProperties_CreateMode_RestoreExternalBackup          = DatabaseProperties_CreateMode("RestoreExternalBackup")
	DatabaseProperties_CreateMode_RestoreExternalBackupSecondary = DatabaseProperties_CreateMode("RestoreExternalBackupSecondary")
	DatabaseProperties_CreateMode_RestoreLongTermRetentionBackup = DatabaseProperties_CreateMode("RestoreLongTermRetentionBackup")
	DatabaseProperties_CreateMode_Secondary                      = DatabaseProperties_CreateMode("Secondary")
)
View Source
const (
	DatabaseProperties_CreateMode_STATUS_Copy                           = DatabaseProperties_CreateMode_STATUS("Copy")
	DatabaseProperties_CreateMode_STATUS_Default                        = DatabaseProperties_CreateMode_STATUS("Default")
	DatabaseProperties_CreateMode_STATUS_OnlineSecondary                = DatabaseProperties_CreateMode_STATUS("OnlineSecondary")
	DatabaseProperties_CreateMode_STATUS_PointInTimeRestore             = DatabaseProperties_CreateMode_STATUS("PointInTimeRestore")
	DatabaseProperties_CreateMode_STATUS_Recovery                       = DatabaseProperties_CreateMode_STATUS("Recovery")
	DatabaseProperties_CreateMode_STATUS_Restore                        = DatabaseProperties_CreateMode_STATUS("Restore")
	DatabaseProperties_CreateMode_STATUS_RestoreExternalBackup          = DatabaseProperties_CreateMode_STATUS("RestoreExternalBackup")
	DatabaseProperties_CreateMode_STATUS_RestoreExternalBackupSecondary = DatabaseProperties_CreateMode_STATUS("RestoreExternalBackupSecondary")
	DatabaseProperties_CreateMode_STATUS_RestoreLongTermRetentionBackup = DatabaseProperties_CreateMode_STATUS("RestoreLongTermRetentionBackup")
	DatabaseProperties_CreateMode_STATUS_Secondary                      = DatabaseProperties_CreateMode_STATUS("Secondary")
)
View Source
const (
	DatabaseProperties_CurrentBackupStorageRedundancy_STATUS_Geo     = DatabaseProperties_CurrentBackupStorageRedundancy_STATUS("Geo")
	DatabaseProperties_CurrentBackupStorageRedundancy_STATUS_GeoZone = DatabaseProperties_CurrentBackupStorageRedundancy_STATUS("GeoZone")
	DatabaseProperties_CurrentBackupStorageRedundancy_STATUS_Local   = DatabaseProperties_CurrentBackupStorageRedundancy_STATUS("Local")
	DatabaseProperties_CurrentBackupStorageRedundancy_STATUS_Zone    = DatabaseProperties_CurrentBackupStorageRedundancy_STATUS("Zone")
)
View Source
const (
	DatabaseProperties_LicenseType_BasePrice       = DatabaseProperties_LicenseType("BasePrice")
	DatabaseProperties_LicenseType_LicenseIncluded = DatabaseProperties_LicenseType("LicenseIncluded")
)
View Source
const (
	DatabaseProperties_LicenseType_STATUS_BasePrice       = DatabaseProperties_LicenseType_STATUS("BasePrice")
	DatabaseProperties_LicenseType_STATUS_LicenseIncluded = DatabaseProperties_LicenseType_STATUS("LicenseIncluded")
)
View Source
const (
	DatabaseProperties_ReadScale_Disabled = DatabaseProperties_ReadScale("Disabled")
	DatabaseProperties_ReadScale_Enabled  = DatabaseProperties_ReadScale("Enabled")
)
View Source
const (
	DatabaseProperties_ReadScale_STATUS_Disabled = DatabaseProperties_ReadScale_STATUS("Disabled")
	DatabaseProperties_ReadScale_STATUS_Enabled  = DatabaseProperties_ReadScale_STATUS("Enabled")
)
View Source
const (
	DatabaseProperties_RequestedBackupStorageRedundancy_Geo     = DatabaseProperties_RequestedBackupStorageRedundancy("Geo")
	DatabaseProperties_RequestedBackupStorageRedundancy_GeoZone = DatabaseProperties_RequestedBackupStorageRedundancy("GeoZone")
	DatabaseProperties_RequestedBackupStorageRedundancy_Local   = DatabaseProperties_RequestedBackupStorageRedundancy("Local")
	DatabaseProperties_RequestedBackupStorageRedundancy_Zone    = DatabaseProperties_RequestedBackupStorageRedundancy("Zone")
)
View Source
const (
	DatabaseProperties_RequestedBackupStorageRedundancy_STATUS_Geo     = DatabaseProperties_RequestedBackupStorageRedundancy_STATUS("Geo")
	DatabaseProperties_RequestedBackupStorageRedundancy_STATUS_GeoZone = DatabaseProperties_RequestedBackupStorageRedundancy_STATUS("GeoZone")
	DatabaseProperties_RequestedBackupStorageRedundancy_STATUS_Local   = DatabaseProperties_RequestedBackupStorageRedundancy_STATUS("Local")
	DatabaseProperties_RequestedBackupStorageRedundancy_STATUS_Zone    = DatabaseProperties_RequestedBackupStorageRedundancy_STATUS("Zone")
)
View Source
const (
	DatabaseProperties_SampleName_AdventureWorksLT       = DatabaseProperties_SampleName("AdventureWorksLT")
	DatabaseProperties_SampleName_WideWorldImportersFull = DatabaseProperties_SampleName("WideWorldImportersFull")
	DatabaseProperties_SampleName_WideWorldImportersStd  = DatabaseProperties_SampleName("WideWorldImportersStd")
)
View Source
const (
	DatabaseProperties_SampleName_STATUS_AdventureWorksLT       = DatabaseProperties_SampleName_STATUS("AdventureWorksLT")
	DatabaseProperties_SampleName_STATUS_WideWorldImportersFull = DatabaseProperties_SampleName_STATUS("WideWorldImportersFull")
	DatabaseProperties_SampleName_STATUS_WideWorldImportersStd  = DatabaseProperties_SampleName_STATUS("WideWorldImportersStd")
)
View Source
const (
	DatabaseProperties_SecondaryType_Geo   = DatabaseProperties_SecondaryType("Geo")
	DatabaseProperties_SecondaryType_Named = DatabaseProperties_SecondaryType("Named")
)
View Source
const (
	DatabaseProperties_SecondaryType_STATUS_Geo   = DatabaseProperties_SecondaryType_STATUS("Geo")
	DatabaseProperties_SecondaryType_STATUS_Named = DatabaseProperties_SecondaryType_STATUS("Named")
)
View Source
const (
	DatabaseProperties_Status_STATUS_AutoClosed                        = DatabaseProperties_Status_STATUS("AutoClosed")
	DatabaseProperties_Status_STATUS_Copying                           = DatabaseProperties_Status_STATUS("Copying")
	DatabaseProperties_Status_STATUS_Creating                          = DatabaseProperties_Status_STATUS("Creating")
	DatabaseProperties_Status_STATUS_Disabled                          = DatabaseProperties_Status_STATUS("Disabled")
	DatabaseProperties_Status_STATUS_EmergencyMode                     = DatabaseProperties_Status_STATUS("EmergencyMode")
	DatabaseProperties_Status_STATUS_Inaccessible                      = DatabaseProperties_Status_STATUS("Inaccessible")
	DatabaseProperties_Status_STATUS_Offline                           = DatabaseProperties_Status_STATUS("Offline")
	DatabaseProperties_Status_STATUS_OfflineChangingDwPerformanceTiers = DatabaseProperties_Status_STATUS("OfflineChangingDwPerformanceTiers")
	DatabaseProperties_Status_STATUS_OfflineSecondary                  = DatabaseProperties_Status_STATUS("OfflineSecondary")
	DatabaseProperties_Status_STATUS_Online                            = DatabaseProperties_Status_STATUS("Online")
	DatabaseProperties_Status_STATUS_OnlineChangingDwPerformanceTiers  = DatabaseProperties_Status_STATUS("OnlineChangingDwPerformanceTiers")
	DatabaseProperties_Status_STATUS_Paused                            = DatabaseProperties_Status_STATUS("Paused")
	DatabaseProperties_Status_STATUS_Pausing                           = DatabaseProperties_Status_STATUS("Pausing")
	DatabaseProperties_Status_STATUS_Recovering                        = DatabaseProperties_Status_STATUS("Recovering")
	DatabaseProperties_Status_STATUS_RecoveryPending                   = DatabaseProperties_Status_STATUS("RecoveryPending")
	DatabaseProperties_Status_STATUS_Restoring                         = DatabaseProperties_Status_STATUS("Restoring")
	DatabaseProperties_Status_STATUS_Resuming                          = DatabaseProperties_Status_STATUS("Resuming")
	DatabaseProperties_Status_STATUS_Scaling                           = DatabaseProperties_Status_STATUS("Scaling")
	DatabaseProperties_Status_STATUS_Shutdown                          = DatabaseProperties_Status_STATUS("Shutdown")
	DatabaseProperties_Status_STATUS_Standby                           = DatabaseProperties_Status_STATUS("Standby")
	DatabaseProperties_Status_STATUS_Starting                          = DatabaseProperties_Status_STATUS("Starting")
	DatabaseProperties_Status_STATUS_Stopped                           = DatabaseProperties_Status_STATUS("Stopped")
	DatabaseProperties_Status_STATUS_Stopping                          = DatabaseProperties_Status_STATUS("Stopping")
	DatabaseProperties_Status_STATUS_Suspect                           = DatabaseProperties_Status_STATUS("Suspect")
)
View Source
const (
	DatabaseIdentity_Type_None         = DatabaseIdentity_Type("None")
	DatabaseIdentity_Type_UserAssigned = DatabaseIdentity_Type("UserAssigned")
)
View Source
const (
	DatabaseIdentity_Type_STATUS_None         = DatabaseIdentity_Type_STATUS("None")
	DatabaseIdentity_Type_STATUS_UserAssigned = DatabaseIdentity_Type_STATUS("UserAssigned")
)
View Source
const (
	DatabaseBlobAuditingPolicyProperties_State_Disabled = DatabaseBlobAuditingPolicyProperties_State("Disabled")
	DatabaseBlobAuditingPolicyProperties_State_Enabled  = DatabaseBlobAuditingPolicyProperties_State("Enabled")
)
View Source
const (
	DatabaseBlobAuditingPolicyProperties_State_STATUS_Disabled = DatabaseBlobAuditingPolicyProperties_State_STATUS("Disabled")
	DatabaseBlobAuditingPolicyProperties_State_STATUS_Enabled  = DatabaseBlobAuditingPolicyProperties_State_STATUS("Enabled")
)
View Source
const (
	BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_12 = BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours(12)
	BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_24 = BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours(24)
)
View Source
const (
	BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS_12 = BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS(12)
	BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS_24 = BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS(24)
)
View Source
const (
	DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_Disabled = DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State("Disabled")
	DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_Enabled  = DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State("Enabled")
)
View Source
const (
	DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS_Disabled = DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS("Disabled")
	DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS_Enabled  = DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS("Enabled")
)
View Source
const (
	TransparentDataEncryptionProperties_State_Disabled = TransparentDataEncryptionProperties_State("Disabled")
	TransparentDataEncryptionProperties_State_Enabled  = TransparentDataEncryptionProperties_State("Enabled")
)
View Source
const (
	TransparentDataEncryptionProperties_State_STATUS_Disabled = TransparentDataEncryptionProperties_State_STATUS("Disabled")
	TransparentDataEncryptionProperties_State_STATUS_Enabled  = TransparentDataEncryptionProperties_State_STATUS("Enabled")
)
View Source
const (
	ElasticPoolProperties_LicenseType_BasePrice       = ElasticPoolProperties_LicenseType("BasePrice")
	ElasticPoolProperties_LicenseType_LicenseIncluded = ElasticPoolProperties_LicenseType("LicenseIncluded")
)
View Source
const (
	ElasticPoolProperties_LicenseType_STATUS_BasePrice       = ElasticPoolProperties_LicenseType_STATUS("BasePrice")
	ElasticPoolProperties_LicenseType_STATUS_LicenseIncluded = ElasticPoolProperties_LicenseType_STATUS("LicenseIncluded")
)
View Source
const (
	ElasticPoolProperties_State_STATUS_Creating = ElasticPoolProperties_State_STATUS("Creating")
	ElasticPoolProperties_State_STATUS_Disabled = ElasticPoolProperties_State_STATUS("Disabled")
	ElasticPoolProperties_State_STATUS_Ready    = ElasticPoolProperties_State_STATUS("Ready")
)
View Source
const (
	FailoverGroupProperties_ReplicationRole_STATUS_Primary   = FailoverGroupProperties_ReplicationRole_STATUS("Primary")
	FailoverGroupProperties_ReplicationRole_STATUS_Secondary = FailoverGroupProperties_ReplicationRole_STATUS("Secondary")
)
View Source
const (
	FailoverGroupReadOnlyEndpoint_FailoverPolicy_Disabled = FailoverGroupReadOnlyEndpoint_FailoverPolicy("Disabled")
	FailoverGroupReadOnlyEndpoint_FailoverPolicy_Enabled  = FailoverGroupReadOnlyEndpoint_FailoverPolicy("Enabled")
)
View Source
const (
	FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS_Disabled = FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS("Disabled")
	FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS_Enabled  = FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS("Enabled")
)
View Source
const (
	FailoverGroupReadWriteEndpoint_FailoverPolicy_Automatic = FailoverGroupReadWriteEndpoint_FailoverPolicy("Automatic")
	FailoverGroupReadWriteEndpoint_FailoverPolicy_Manual    = FailoverGroupReadWriteEndpoint_FailoverPolicy("Manual")
)
View Source
const (
	FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS_Automatic = FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS("Automatic")
	FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS_Manual    = FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS("Manual")
)
View Source
const (
	PartnerInfo_ReplicationRole_STATUS_Primary   = PartnerInfo_ReplicationRole_STATUS("Primary")
	PartnerInfo_ReplicationRole_STATUS_Secondary = PartnerInfo_ReplicationRole_STATUS("Secondary")
)
View Source
const (
	ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_Disabled = ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State("Disabled")
	ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_Enabled  = ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State("Enabled")
)
View Source
const (
	ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS_Disabled = ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS("Disabled")
	ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS_Enabled  = ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS("Enabled")
)
View Source
const (
	VirtualNetworkRuleProperties_State_STATUS_Deleting     = VirtualNetworkRuleProperties_State_STATUS("Deleting")
	VirtualNetworkRuleProperties_State_STATUS_Failed       = VirtualNetworkRuleProperties_State_STATUS("Failed")
	VirtualNetworkRuleProperties_State_STATUS_InProgress   = VirtualNetworkRuleProperties_State_STATUS("InProgress")
	VirtualNetworkRuleProperties_State_STATUS_Initializing = VirtualNetworkRuleProperties_State_STATUS("Initializing")
	VirtualNetworkRuleProperties_State_STATUS_Ready        = VirtualNetworkRuleProperties_State_STATUS("Ready")
	VirtualNetworkRuleProperties_State_STATUS_Unknown      = VirtualNetworkRuleProperties_State_STATUS("Unknown")
)
View Source
const APIVersion_Value = APIVersion("2021-11-01")
View Source
const AdministratorProperties_AdministratorType_ActiveDirectory = AdministratorProperties_AdministratorType("ActiveDirectory")
View Source
const AdministratorProperties_AdministratorType_STATUS_ActiveDirectory = AdministratorProperties_AdministratorType_STATUS("ActiveDirectory")
View Source
const PrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS_None = PrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS("None")
View Source
const ServerExternalAdministrator_AdministratorType_ActiveDirectory = ServerExternalAdministrator_AdministratorType("ActiveDirectory")
View Source
const ServerExternalAdministrator_AdministratorType_STATUS_ActiveDirectory = ServerExternalAdministrator_AdministratorType_STATUS("ActiveDirectory")

Variables

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

	// 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={"2021-11-01"}

type AdministratorProperties_AdministratorType

type AdministratorProperties_AdministratorType string

+kubebuilder:validation:Enum={"ActiveDirectory"}

type AdministratorProperties_AdministratorType_STATUS

type AdministratorProperties_AdministratorType_STATUS string

type AdvancedThreatProtectionProperties_State

type AdvancedThreatProtectionProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled","New"}

type AdvancedThreatProtectionProperties_State_STATUS

type AdvancedThreatProtectionProperties_State_STATUS string

type BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours

type BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours int

+kubebuilder:validation:Enum={12,24}

type BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS

type BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS int

type DatabaseBlobAuditingPolicyProperties_State

type DatabaseBlobAuditingPolicyProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type DatabaseBlobAuditingPolicyProperties_State_STATUS

type DatabaseBlobAuditingPolicyProperties_State_STATUS string

type DatabaseIdentity

type DatabaseIdentity struct {
	// Type: The identity type
	Type *DatabaseIdentity_Type `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 DatabaseIdentity_STATUS

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

	// Type: The identity type
	Type *DatabaseIdentity_Type_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 DatabaseIdentity_Type

type DatabaseIdentity_Type string

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

type DatabaseIdentity_Type_STATUS

type DatabaseIdentity_Type_STATUS string

type DatabaseProperties_CatalogCollation

type DatabaseProperties_CatalogCollation string

+kubebuilder:validation:Enum={"DATABASE_DEFAULT","SQL_Latin1_General_CP1_CI_AS"}

type DatabaseProperties_CatalogCollation_STATUS

type DatabaseProperties_CatalogCollation_STATUS string

type DatabaseProperties_CreateMode

type DatabaseProperties_CreateMode string

+kubebuilder:validation:Enum={"Copy","Default","OnlineSecondary","PointInTimeRestore","Recovery","Restore","RestoreExternalBackup","RestoreExternalBackupSecondary","RestoreLongTermRetentionBackup","Secondary"}

type DatabaseProperties_CreateMode_STATUS

type DatabaseProperties_CreateMode_STATUS string

type DatabaseProperties_CurrentBackupStorageRedundancy_STATUS

type DatabaseProperties_CurrentBackupStorageRedundancy_STATUS string

type DatabaseProperties_LicenseType

type DatabaseProperties_LicenseType string

+kubebuilder:validation:Enum={"BasePrice","LicenseIncluded"}

type DatabaseProperties_LicenseType_STATUS

type DatabaseProperties_LicenseType_STATUS string

type DatabaseProperties_ReadScale

type DatabaseProperties_ReadScale string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type DatabaseProperties_ReadScale_STATUS

type DatabaseProperties_ReadScale_STATUS string

type DatabaseProperties_RequestedBackupStorageRedundancy

type DatabaseProperties_RequestedBackupStorageRedundancy string

+kubebuilder:validation:Enum={"Geo","GeoZone","Local","Zone"}

type DatabaseProperties_RequestedBackupStorageRedundancy_STATUS

type DatabaseProperties_RequestedBackupStorageRedundancy_STATUS string

type DatabaseProperties_SampleName

type DatabaseProperties_SampleName string

+kubebuilder:validation:Enum={"AdventureWorksLT","WideWorldImportersFull","WideWorldImportersStd"}

type DatabaseProperties_SampleName_STATUS

type DatabaseProperties_SampleName_STATUS string

type DatabaseProperties_SecondaryType

type DatabaseProperties_SecondaryType string

+kubebuilder:validation:Enum={"Geo","Named"}

type DatabaseProperties_SecondaryType_STATUS

type DatabaseProperties_SecondaryType_STATUS string

type DatabaseProperties_Status_STATUS

type DatabaseProperties_Status_STATUS string

type DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State

type DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS

type DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS string

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 ElasticPoolPerDatabaseSettings

type ElasticPoolPerDatabaseSettings struct {
	// 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 {
	// 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 ElasticPoolProperties_LicenseType

type ElasticPoolProperties_LicenseType string

+kubebuilder:validation:Enum={"BasePrice","LicenseIncluded"}

type ElasticPoolProperties_LicenseType_STATUS

type ElasticPoolProperties_LicenseType_STATUS string

type ElasticPoolProperties_State_STATUS

type ElasticPoolProperties_State_STATUS string

type FailoverGroupProperties_ReplicationRole_STATUS

type FailoverGroupProperties_ReplicationRole_STATUS string

type FailoverGroupReadOnlyEndpoint

type FailoverGroupReadOnlyEndpoint struct {
	// FailoverPolicy: Failover policy of the read-only endpoint for the failover group.
	FailoverPolicy *FailoverGroupReadOnlyEndpoint_FailoverPolicy `json:"failoverPolicy,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_FailoverPolicy

type FailoverGroupReadOnlyEndpoint_FailoverPolicy string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS

type FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS string

type FailoverGroupReadOnlyEndpoint_STATUS

type FailoverGroupReadOnlyEndpoint_STATUS struct {
	// FailoverPolicy: Failover policy of the read-only endpoint for the failover group.
	FailoverPolicy *FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS `json:"failoverPolicy,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 *FailoverGroupReadWriteEndpoint_FailoverPolicy `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_FailoverPolicy

type FailoverGroupReadWriteEndpoint_FailoverPolicy string

+kubebuilder:validation:Enum={"Automatic","Manual"}

type FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS

type FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS string

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 *FailoverGroupReadWriteEndpoint_FailoverPolicy_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 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_ReplicationRole_STATUS

type PartnerInfo_ReplicationRole_STATUS string

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 *PartnerInfo_ReplicationRole_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 PrivateEndpointConnectionProperties_ProvisioningState_STATUS

type PrivateEndpointConnectionProperties_ProvisioningState_STATUS string

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 *PrivateEndpointConnectionProperties_ProvisioningState_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 PrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS

type PrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS string

type PrivateLinkServiceConnectionStateProperty_STATUS

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

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

	// Status: The private link service connection status.
	Status *PrivateLinkServiceConnectionStateProperty_Status_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 PrivateLinkServiceConnectionStateProperty_Status_STATUS

type PrivateLinkServiceConnectionStateProperty_Status_STATUS string

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 *ResourceIdentity_Type `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 *ResourceIdentity_Type_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 ResourceIdentity_Type

type ResourceIdentity_Type string

+kubebuilder:validation:Enum={"None","SystemAssigned","SystemAssigned,UserAssigned","UserAssigned"}

type ResourceIdentity_Type_STATUS

type ResourceIdentity_Type_STATUS string

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: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/stable/2021-11-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) Default

func (server *Server) Default()

Default applies defaults to the Server resource

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 "2021-11-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

func (*Server) ValidateCreate

func (server *Server) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*Server) ValidateDelete

func (server *Server) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*Server) ValidateUpdate

func (server *Server) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type ServerBlobAuditingPolicyProperties_State

type ServerBlobAuditingPolicyProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type ServerBlobAuditingPolicyProperties_State_STATUS

type ServerBlobAuditingPolicyProperties_State_STATUS string

type ServerConnectionPolicyProperties_ConnectionType

type ServerConnectionPolicyProperties_ConnectionType string

+kubebuilder:validation:Enum={"Default","Proxy","Redirect"}

type ServerConnectionPolicyProperties_ConnectionType_STATUS

type ServerConnectionPolicyProperties_ConnectionType_STATUS string

type ServerExternalAdministrator

type ServerExternalAdministrator struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *ServerExternalAdministrator_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"`

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

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// Sid: SID (object ID) of the server administrator.
	Sid *string `json:"sid,omitempty"`

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// TenantId: Tenant ID of the administrator.
	TenantId *string `json:"tenantId,omitempty"`
}

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_AdministratorType

type ServerExternalAdministrator_AdministratorType string

+kubebuilder:validation:Enum={"ActiveDirectory"}

type ServerExternalAdministrator_AdministratorType_STATUS

type ServerExternalAdministrator_AdministratorType_STATUS string

type ServerExternalAdministrator_PrincipalType

type ServerExternalAdministrator_PrincipalType string

+kubebuilder:validation:Enum={"Application","Group","User"}

type ServerExternalAdministrator_PrincipalType_STATUS

type ServerExternalAdministrator_PrincipalType_STATUS string

type ServerExternalAdministrator_STATUS

type ServerExternalAdministrator_STATUS struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *ServerExternalAdministrator_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 *ServerExternalAdministrator_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 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/stable/2021-11-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 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 ServerProperties_PublicNetworkAccess

type ServerProperties_PublicNetworkAccess string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type ServerProperties_PublicNetworkAccess_STATUS

type ServerProperties_PublicNetworkAccess_STATUS string

type ServerProperties_RestrictOutboundNetworkAccess

type ServerProperties_RestrictOutboundNetworkAccess string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type ServerProperties_RestrictOutboundNetworkAccess_STATUS

type ServerProperties_RestrictOutboundNetworkAccess_STATUS string

type ServerProperties_WorkspaceFeature_STATUS

type ServerProperties_WorkspaceFeature_STATUS string

type ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State

type ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS

type ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS string

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 of the server.
	Administrators *ServerExternalAdministrator_STATUS `json:"administrators,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Identity: The Azure Active Directory identity of the server.
	Identity *ResourceIdentity_STATUS `json:"identity,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: Resource location.
	Location *string `json:"location,omitempty"`

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

	// Name: Resource name.
	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'
	PublicNetworkAccess *ServerProperties_PublicNetworkAccess_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 *ServerProperties_RestrictOutboundNetworkAccess_STATUS `json:"restrictOutboundNetworkAccess,omitempty"`

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

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

	// Type: Resource type.
	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 *ServerProperties_WorkspaceFeature_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 of the server.
	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"`

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// FederatedClientId: The Client id used for cross tenant CMK scenario
	FederatedClientId *string `json:"federatedClientId,omitempty"`

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

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

	// +kubebuilder:validation:Required
	// Location: Resource location.
	Location *string `json:"location,omitempty"`

	// MinimalTlsVersion: Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
	MinimalTlsVersion *string `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'
	PublicNetworkAccess *ServerProperties_PublicNetworkAccess `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 *ServerProperties_RestrictOutboundNetworkAccess `json:"restrictOutboundNetworkAccess,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: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/stable/2021-11-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) Default

func (administrator *ServersAdministrator) Default()

Default applies defaults to the ServersAdministrator resource

func (ServersAdministrator) GetAPIVersion

func (administrator ServersAdministrator) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersAdministrator) ValidateCreate

func (administrator *ServersAdministrator) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersAdministrator) ValidateDelete

func (administrator *ServersAdministrator) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersAdministrator) ValidateUpdate

func (administrator *ServersAdministrator) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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 *AdministratorProperties_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: Resource ID.
	Id *string `json:"id,omitempty"`

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

	// Name: Resource name.
	Name *string `json:"name,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"`

	// Type: Resource type.
	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 {
	// +kubebuilder:validation:Required
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorProperties_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"`

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// Sid: SID (object ID) of the server administrator.
	Sid *string `json:"sid,omitempty" optionalConfigMapPair:"Sid"`

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

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// TenantId: Tenant ID of the administrator.
	TenantId *string `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: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/stable/2021-11-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) Default

func (setting *ServersAdvancedThreatProtectionSetting) Default()

Default applies defaults to the ServersAdvancedThreatProtectionSetting resource

func (ServersAdvancedThreatProtectionSetting) GetAPIVersion

func (setting ServersAdvancedThreatProtectionSetting) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersAdvancedThreatProtectionSetting) ValidateCreate

func (setting *ServersAdvancedThreatProtectionSetting) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersAdvancedThreatProtectionSetting) ValidateDelete

func (setting *ServersAdvancedThreatProtectionSetting) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersAdvancedThreatProtectionSetting) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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 *AdvancedThreatProtectionProperties_State_STATUS `json:"state,omitempty"`

	// SystemData: SystemData of AdvancedThreatProtectionResource.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: Resource type.
	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 *AdvancedThreatProtectionProperties_State `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: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/stable/2021-11-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) Default

func (setting *ServersAuditingSetting) Default()

Default applies defaults to the ServersAuditingSetting resource

func (ServersAuditingSetting) GetAPIVersion

func (setting ServersAuditingSetting) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersAuditingSetting) ValidateCreate

func (setting *ServersAuditingSetting) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersAuditingSetting) ValidateDelete

func (setting *ServersAuditingSetting) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersAuditingSetting) ValidateUpdate

func (setting *ServersAuditingSetting) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	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: Resource name.
	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 *ServerBlobAuditingPolicyProperties_State_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"`

	// Type: Resource type.
	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 *ServerBlobAuditingPolicyProperties_State `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"`

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// 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"`
}

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: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/stable/2021-11-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) Default

func (authentication *ServersAzureADOnlyAuthentication) Default()

Default applies defaults to the ServersAzureADOnlyAuthentication resource

func (ServersAzureADOnlyAuthentication) GetAPIVersion

func (authentication ServersAzureADOnlyAuthentication) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersAzureADOnlyAuthentication) ValidateCreate

func (authentication *ServersAzureADOnlyAuthentication) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersAzureADOnlyAuthentication) ValidateDelete

func (authentication *ServersAzureADOnlyAuthentication) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersAzureADOnlyAuthentication) ValidateUpdate

func (authentication *ServersAzureADOnlyAuthentication) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// Type: Resource type.
	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: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/stable/2021-11-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) Default

func (policy *ServersConnectionPolicy) Default()

Default applies defaults to the ServersConnectionPolicy resource

func (ServersConnectionPolicy) GetAPIVersion

func (policy ServersConnectionPolicy) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersConnectionPolicy) ValidateCreate

func (policy *ServersConnectionPolicy) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersConnectionPolicy) ValidateDelete

func (policy *ServersConnectionPolicy) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersConnectionPolicy) ValidateUpdate

func (policy *ServersConnectionPolicy) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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 *ServerConnectionPolicyProperties_ConnectionType_STATUS `json:"connectionType,omitempty"`

	// Id: Resource ID.
	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: Resource name.
	Name *string `json:"name,omitempty"`

	// Type: Resource type.
	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 *ServerConnectionPolicyProperties_ConnectionType `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: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/stable/2021-11-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) Default

func (database *ServersDatabase) Default()

Default applies defaults to the ServersDatabase resource

func (ServersDatabase) GetAPIVersion

func (database ServersDatabase) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabase) ValidateCreate

func (database *ServersDatabase) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersDatabase) ValidateDelete

func (database *ServersDatabase) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersDatabase) ValidateUpdate

func (database *ServersDatabase) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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"`

	// CatalogCollation: Collation of the metadata catalog.
	CatalogCollation *DatabaseProperties_CatalogCollation_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 *DatabaseProperties_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 *DatabaseProperties_CurrentBackupStorageRedundancy_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"`

	// 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"`

	// HighAvailabilityReplicaCount: The number of secondary replicas associated with the database that are used to provide
	// high availability. Not applicable to a Hyperscale database within an elastic pool.
	HighAvailabilityReplicaCount *int `json:"highAvailabilityReplicaCount,omitempty"`

	// Id: Resource ID.
	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"`

	// 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 *DatabaseProperties_LicenseType_STATUS `json:"licenseType,omitempty"`

	// Location: Resource location.
	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"`

	// 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: Resource name.
	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"`

	// 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 *DatabaseProperties_ReadScale_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 *DatabaseProperties_RequestedBackupStorageRedundancy_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 *DatabaseProperties_SampleName_STATUS `json:"sampleName,omitempty"`

	// SecondaryType: The secondary type of the database if it is a secondary.  Valid values are Geo and Named.
	SecondaryType *DatabaseProperties_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 *DatabaseProperties_Status_STATUS `json:"status,omitempty"`

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

	// Type: Resource type.
	Type *string `json:"type,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"`

	// 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 *DatabaseProperties_CatalogCollation `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 *DatabaseProperties_CreateMode `json:"createMode,omitempty"`

	// ElasticPoolReference: The resource identifier of the elastic pool containing this database.
	ElasticPoolReference *genruntime.ResourceReference `armReference:"ElasticPoolId" json:"elasticPoolReference,omitempty"`

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// FederatedClientId: The Client id used for cross tenant per database CMK scenario
	FederatedClientId *string `json:"federatedClientId,omitempty"`

	// HighAvailabilityReplicaCount: The number of secondary replicas associated with the 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 *DatabaseProperties_LicenseType `json:"licenseType,omitempty"`

	// +kubebuilder:validation:Required
	// Location: Resource location.
	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"`

	// 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"`

	// 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 *DatabaseProperties_ReadScale `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 *DatabaseProperties_RequestedBackupStorageRedundancy `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 *DatabaseProperties_SampleName `json:"sampleName,omitempty"`

	// SecondaryType: The secondary type of the database if it is a secondary.  Valid values are Geo and Named.
	SecondaryType *DatabaseProperties_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"`

	// 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: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/stable/2021-11-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) Default

Default applies defaults to the ServersDatabasesAdvancedThreatProtectionSetting resource

func (ServersDatabasesAdvancedThreatProtectionSetting) GetAPIVersion

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesAdvancedThreatProtectionSetting) ValidateCreate

ValidateCreate validates the creation of the resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) ValidateDelete

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesAdvancedThreatProtectionSetting) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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 *AdvancedThreatProtectionProperties_State_STATUS `json:"state,omitempty"`

	// SystemData: SystemData of AdvancedThreatProtectionResource.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: Resource type.
	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 *AdvancedThreatProtectionProperties_State `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: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/stable/2021-11-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) Default

func (setting *ServersDatabasesAuditingSetting) Default()

Default applies defaults to the ServersDatabasesAuditingSetting resource

func (ServersDatabasesAuditingSetting) GetAPIVersion

func (setting ServersDatabasesAuditingSetting) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesAuditingSetting) ValidateCreate

func (setting *ServersDatabasesAuditingSetting) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersDatabasesAuditingSetting) ValidateDelete

func (setting *ServersDatabasesAuditingSetting) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesAuditingSetting) ValidateUpdate

func (setting *ServersDatabasesAuditingSetting) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	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: Resource name.
	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 *DatabaseBlobAuditingPolicyProperties_State_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"`

	// Type: Resource type.
	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 *DatabaseBlobAuditingPolicyProperties_State `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"`

	// +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
	// 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"`
}

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: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/stable/2021-11-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) Default

Default applies defaults to the ServersDatabasesBackupLongTermRetentionPolicy resource

func (ServersDatabasesBackupLongTermRetentionPolicy) GetAPIVersion

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesBackupLongTermRetentionPolicy) ValidateCreate

ValidateCreate validates the creation of the resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) ValidateDelete

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesBackupLongTermRetentionPolicy) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	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: Resource name.
	Name *string `json:"name,omitempty"`

	// Type: Resource type.
	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"`

	// 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: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/stable/2021-11-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) Default

Default applies defaults to the ServersDatabasesBackupShortTermRetentionPolicy resource

func (ServersDatabasesBackupShortTermRetentionPolicy) GetAPIVersion

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesBackupShortTermRetentionPolicy) ValidateCreate

ValidateCreate validates the creation of the resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) ValidateDelete

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesBackupShortTermRetentionPolicy) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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 *BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS `json:"diffBackupIntervalInHours,omitempty"`

	// Id: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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"`

	// Type: Resource type.
	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 *BackupShortTermRetentionPolicyProperties_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: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/stable/2021-11-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) Default

func (policy *ServersDatabasesSecurityAlertPolicy) Default()

Default applies defaults to the ServersDatabasesSecurityAlertPolicy resource

func (ServersDatabasesSecurityAlertPolicy) GetAPIVersion

func (policy ServersDatabasesSecurityAlertPolicy) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesSecurityAlertPolicy) ValidateCreate

func (policy *ServersDatabasesSecurityAlertPolicy) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersDatabasesSecurityAlertPolicy) ValidateDelete

func (policy *ServersDatabasesSecurityAlertPolicy) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesSecurityAlertPolicy) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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 *DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_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: SystemData of SecurityAlertPolicyResource.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: Resource type.
	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 *DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State `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: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/stable/2021-11-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) Default

func (encryption *ServersDatabasesTransparentDataEncryption) Default()

Default applies defaults to the ServersDatabasesTransparentDataEncryption resource

func (ServersDatabasesTransparentDataEncryption) GetAPIVersion

func (encryption ServersDatabasesTransparentDataEncryption) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesTransparentDataEncryption) ValidateCreate

func (encryption *ServersDatabasesTransparentDataEncryption) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersDatabasesTransparentDataEncryption) ValidateDelete

func (encryption *ServersDatabasesTransparentDataEncryption) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesTransparentDataEncryption) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// State: Specifies the state of the transparent data encryption.
	State *TransparentDataEncryptionProperties_State_STATUS `json:"state,omitempty"`

	// Type: Resource type.
	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"`

	// +kubebuilder:validation:Required
	// State: Specifies the state of the transparent data encryption.
	State *TransparentDataEncryptionProperties_State `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: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/stable/2021-11-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) Default

func (assessment *ServersDatabasesVulnerabilityAssessment) Default()

Default applies defaults to the ServersDatabasesVulnerabilityAssessment resource

func (ServersDatabasesVulnerabilityAssessment) GetAPIVersion

func (assessment ServersDatabasesVulnerabilityAssessment) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersDatabasesVulnerabilityAssessment) ValidateCreate

func (assessment *ServersDatabasesVulnerabilityAssessment) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersDatabasesVulnerabilityAssessment) ValidateDelete

func (assessment *ServersDatabasesVulnerabilityAssessment) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersDatabasesVulnerabilityAssessment) ValidateUpdate

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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"`

	// Type: Resource type.
	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: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/stable/2021-11-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) Default

func (pool *ServersElasticPool) Default()

Default applies defaults to the ServersElasticPool resource

func (ServersElasticPool) GetAPIVersion

func (pool ServersElasticPool) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersElasticPool) ValidateCreate

func (pool *ServersElasticPool) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersElasticPool) ValidateDelete

func (pool *ServersElasticPool) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersElasticPool) ValidateUpdate

func (pool *ServersElasticPool) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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 {
	// 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 elastic pool that are used to provide
	// high availability. Applicable only to Hyperscale elastic pools.
	HighAvailabilityReplicaCount *int `json:"highAvailabilityReplicaCount,omitempty"`

	// Id: Resource ID.
	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 *ElasticPoolProperties_LicenseType_STATUS `json:"licenseType,omitempty"`

	// Location: Resource location.
	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: Resource name.
	Name *string `json:"name,omitempty"`

	// PerDatabaseSettings: The per database settings for the elastic pool.
	PerDatabaseSettings *ElasticPoolPerDatabaseSettings_STATUS `json:"perDatabaseSettings,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 *ElasticPoolProperties_State_STATUS `json:"state,omitempty"`

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

	// Type: Resource type.
	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 {
	// 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 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 *ElasticPoolProperties_LicenseType `json:"licenseType,omitempty"`

	// +kubebuilder:validation:Required
	// Location: Resource location.
	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"`

	// 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 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: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/stable/2021-11-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) Default

func (group *ServersFailoverGroup) Default()

Default applies defaults to the ServersFailoverGroup resource

func (ServersFailoverGroup) GetAPIVersion

func (group ServersFailoverGroup) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersFailoverGroup) ValidateCreate

func (group *ServersFailoverGroup) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersFailoverGroup) ValidateDelete

func (group *ServersFailoverGroup) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersFailoverGroup) ValidateUpdate

func (group *ServersFailoverGroup) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

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

	// Name: Resource name.
	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 *FailoverGroupProperties_ReplicationRole_STATUS `json:"replicationRole,omitempty"`

	// ReplicationState: Replication state of the failover group instance.
	ReplicationState *string `json:"replicationState,omitempty"`

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

	// Type: Resource type.
	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"`

	// 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: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/stable/2021-11-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) Default

func (rule *ServersFirewallRule) Default()

Default applies defaults to the ServersFirewallRule resource

func (ServersFirewallRule) GetAPIVersion

func (rule ServersFirewallRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersFirewallRule) ValidateCreate

func (rule *ServersFirewallRule) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersFirewallRule) ValidateDelete

func (rule *ServersFirewallRule) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersFirewallRule) ValidateUpdate

func (rule *ServersFirewallRule) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: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/stable/2021-11-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) Default

func (rule *ServersIPV6FirewallRule) Default()

Default applies defaults to the ServersIPV6FirewallRule resource

func (ServersIPV6FirewallRule) GetAPIVersion

func (rule ServersIPV6FirewallRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersIPV6FirewallRule) ValidateCreate

func (rule *ServersIPV6FirewallRule) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersIPV6FirewallRule) ValidateDelete

func (rule *ServersIPV6FirewallRule) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersIPV6FirewallRule) ValidateUpdate

func (rule *ServersIPV6FirewallRule) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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
	// startIpAddress.
	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
	// startIpAddress.
	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 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: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/stable/2021-11-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) Default

func (rule *ServersOutboundFirewallRule) Default()

Default applies defaults to the ServersOutboundFirewallRule resource

func (ServersOutboundFirewallRule) GetAPIVersion

func (rule ServersOutboundFirewallRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersOutboundFirewallRule) ValidateCreate

func (rule *ServersOutboundFirewallRule) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersOutboundFirewallRule) ValidateDelete

func (rule *ServersOutboundFirewallRule) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersOutboundFirewallRule) ValidateUpdate

func (rule *ServersOutboundFirewallRule) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// ProvisioningState: The state of the outbound rule.
	ProvisioningState *string `json:"provisioningState,omitempty"`

	// Type: Resource type.
	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: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/stable/2021-11-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) Default

func (policy *ServersSecurityAlertPolicy) Default()

Default applies defaults to the ServersSecurityAlertPolicy resource

func (ServersSecurityAlertPolicy) GetAPIVersion

func (policy ServersSecurityAlertPolicy) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersSecurityAlertPolicy) ValidateCreate

func (policy *ServersSecurityAlertPolicy) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersSecurityAlertPolicy) ValidateDelete

func (policy *ServersSecurityAlertPolicy) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersSecurityAlertPolicy) ValidateUpdate

func (policy *ServersSecurityAlertPolicy) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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 *ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_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: SystemData of SecurityAlertPolicyResource.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: Resource type.
	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 *ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State `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: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/stable/2021-11-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) Default

func (rule *ServersVirtualNetworkRule) Default()

Default applies defaults to the ServersVirtualNetworkRule resource

func (ServersVirtualNetworkRule) GetAPIVersion

func (rule ServersVirtualNetworkRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersVirtualNetworkRule) ValidateCreate

func (rule *ServersVirtualNetworkRule) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersVirtualNetworkRule) ValidateDelete

func (rule *ServersVirtualNetworkRule) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersVirtualNetworkRule) ValidateUpdate

func (rule *ServersVirtualNetworkRule) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual network has vnet service endpoint enabled.
	IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`

	// Name: Resource name.
	Name *string `json:"name,omitempty"`

	// State: Virtual Network Rule State
	State *VirtualNetworkRuleProperties_State_STATUS `json:"state,omitempty"`

	// Type: Resource type.
	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: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/stable/2021-11-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) Default

func (assessment *ServersVulnerabilityAssessment) Default()

Default applies defaults to the ServersVulnerabilityAssessment resource

func (ServersVulnerabilityAssessment) GetAPIVersion

func (assessment ServersVulnerabilityAssessment) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-11-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

func (*ServersVulnerabilityAssessment) ValidateCreate

func (assessment *ServersVulnerabilityAssessment) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*ServersVulnerabilityAssessment) ValidateDelete

func (assessment *ServersVulnerabilityAssessment) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*ServersVulnerabilityAssessment) ValidateUpdate

func (assessment *ServersVulnerabilityAssessment) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the 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/stable/2021-11-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: Resource ID.
	Id *string `json:"id,omitempty"`

	// Name: Resource name.
	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"`

	// Type: Resource type.
	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 TransparentDataEncryptionProperties_State

type TransparentDataEncryptionProperties_State string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type TransparentDataEncryptionProperties_State_STATUS

type TransparentDataEncryptionProperties_State_STATUS string

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 VirtualNetworkRuleProperties_State_STATUS

type VirtualNetworkRuleProperties_State_STATUS string

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=v1api20211101storage
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=v1api20211101storage

Jump to

Keyboard shortcuts

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