sql.azure.com/v1api20211101

sql.azure.com/v1api20211101

Package v1api20211101 contains API Schema definitions for the sql v1api20211101 API group

Resource Types:

    APIVersion (string alias)

    Value Description

    "2021-11-01"

    AdministratorProperties_AdministratorType (string alias)

    (Appears on:ServersAdministrator_Spec)

    Value Description

    "ActiveDirectory"

    AdministratorProperties_AdministratorType_STATUS (string alias)

    (Appears on:ServersAdministrator_STATUS)

    Value Description

    "ActiveDirectory"

    AdvancedThreatProtectionProperties_State (string alias)

    (Appears on:ServersAdvancedThreatProtectionSetting_Spec, ServersDatabasesAdvancedThreatProtectionSetting_Spec)

    Value Description

    "Disabled"

    "Enabled"

    "New"

    AdvancedThreatProtectionProperties_State_STATUS (string alias)

    (Appears on:ServersAdvancedThreatProtectionSetting_STATUS, ServersDatabasesAdvancedThreatProtectionSetting_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    "New"

    BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours (int alias)

    (Appears on:ServersDatabasesBackupShortTermRetentionPolicy_Spec)

    Value Description

    12

    24

    BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS (int alias)

    (Appears on:ServersDatabasesBackupShortTermRetentionPolicy_STATUS)

    Value Description

    12

    24

    DatabaseBlobAuditingPolicyProperties_State (string alias)

    (Appears on:ServersDatabasesAuditingSetting_Spec)

    Value Description

    "Disabled"

    "Enabled"

    DatabaseBlobAuditingPolicyProperties_State_STATUS (string alias)

    (Appears on:ServersDatabasesAuditingSetting_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    DatabaseIdentity

    (Appears on:ServersDatabase_Spec)

    Azure Active Directory identity configuration for a resource.

    Field Description
    type
    DatabaseIdentity_Type

    Type: The identity type

    userAssignedIdentities
    []UserAssignedIdentityDetails

    UserAssignedIdentities: The resource ids of the user assigned identities to use

    DatabaseIdentity_STATUS

    (Appears on:ServersDatabase_STATUS)

    Azure Active Directory identity configuration for a resource.

    Field Description
    tenantId
    string

    TenantId: The Azure Active Directory tenant id.

    type
    DatabaseIdentity_Type_STATUS

    Type: The identity type

    userAssignedIdentities
    map[string]./api/sql/v1api20211101.DatabaseUserIdentity_STATUS

    UserAssignedIdentities: The resource ids of the user assigned identities to use

    DatabaseIdentity_Type (string alias)

    (Appears on:DatabaseIdentity)

    Value Description

    "None"

    "UserAssigned"

    DatabaseIdentity_Type_STATUS (string alias)

    (Appears on:DatabaseIdentity_STATUS)

    Value Description

    "None"

    "UserAssigned"

    DatabaseProperties_CatalogCollation (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "DATABASE_DEFAULT"

    "SQL_Latin1_General_CP1_CI_AS"

    DatabaseProperties_CatalogCollation_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "DATABASE_DEFAULT"

    "SQL_Latin1_General_CP1_CI_AS"

    DatabaseProperties_CreateMode (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "Copy"

    "Default"

    "OnlineSecondary"

    "PointInTimeRestore"

    "Recovery"

    "Restore"

    "RestoreExternalBackup"

    "RestoreExternalBackupSecondary"

    "RestoreLongTermRetentionBackup"

    "Secondary"

    DatabaseProperties_CreateMode_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "Copy"

    "Default"

    "OnlineSecondary"

    "PointInTimeRestore"

    "Recovery"

    "Restore"

    "RestoreExternalBackup"

    "RestoreExternalBackupSecondary"

    "RestoreLongTermRetentionBackup"

    "Secondary"

    DatabaseProperties_CurrentBackupStorageRedundancy_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "Geo"

    "GeoZone"

    "Local"

    "Zone"

    DatabaseProperties_LicenseType (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "BasePrice"

    "LicenseIncluded"

    DatabaseProperties_LicenseType_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "BasePrice"

    "LicenseIncluded"

    DatabaseProperties_ReadScale (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "Disabled"

    "Enabled"

    DatabaseProperties_ReadScale_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    DatabaseProperties_RequestedBackupStorageRedundancy (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "Geo"

    "GeoZone"

    "Local"

    "Zone"

    DatabaseProperties_RequestedBackupStorageRedundancy_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "Geo"

    "GeoZone"

    "Local"

    "Zone"

    DatabaseProperties_SampleName (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "AdventureWorksLT"

    "WideWorldImportersFull"

    "WideWorldImportersStd"

    DatabaseProperties_SampleName_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "AdventureWorksLT"

    "WideWorldImportersFull"

    "WideWorldImportersStd"

    DatabaseProperties_SecondaryType (string alias)

    (Appears on:ServersDatabase_Spec)

    Value Description

    "Geo"

    "Named"

    DatabaseProperties_SecondaryType_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "Geo"

    "Named"

    DatabaseProperties_Status_STATUS (string alias)

    (Appears on:ServersDatabase_STATUS)

    Value Description

    "AutoClosed"

    "Copying"

    "Creating"

    "Disabled"

    "EmergencyMode"

    "Inaccessible"

    "Offline"

    "OfflineChangingDwPerformanceTiers"

    "OfflineSecondary"

    "Online"

    "OnlineChangingDwPerformanceTiers"

    "Paused"

    "Pausing"

    "Recovering"

    "RecoveryPending"

    "Restoring"

    "Resuming"

    "Scaling"

    "Shutdown"

    "Standby"

    "Starting"

    "Stopped"

    "Stopping"

    "Suspect"

    DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State (string alias)

    (Appears on:ServersDatabasesSecurityAlertPolicy_Spec)

    Value Description

    "Disabled"

    "Enabled"

    DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS (string alias)

    (Appears on:ServersDatabasesSecurityAlertPolicy_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    DatabaseUserIdentity_STATUS

    (Appears on:DatabaseIdentity_STATUS)

    Azure Active Directory identity configuration for a resource.

    Field Description
    clientId
    string

    ClientId: The Azure Active Directory client id.

    principalId
    string

    PrincipalId: The Azure Active Directory principal id.

    ElasticPoolPerDatabaseSettings

    (Appears on:ServersElasticPool_Spec)

    Per database settings of an elastic pool.

    Field Description
    maxCapacity
    float64

    MaxCapacity: The maximum capacity any one database can consume.

    minCapacity
    float64

    MinCapacity: The minimum capacity all databases are guaranteed.

    ElasticPoolPerDatabaseSettings_STATUS

    (Appears on:ServersElasticPool_STATUS)

    Per database settings of an elastic pool.

    Field Description
    maxCapacity
    float64

    MaxCapacity: The maximum capacity any one database can consume.

    minCapacity
    float64

    MinCapacity: The minimum capacity all databases are guaranteed.

    ElasticPoolProperties_LicenseType (string alias)

    (Appears on:ServersElasticPool_Spec)

    Value Description

    "BasePrice"

    "LicenseIncluded"

    ElasticPoolProperties_LicenseType_STATUS (string alias)

    (Appears on:ServersElasticPool_STATUS)

    Value Description

    "BasePrice"

    "LicenseIncluded"

    ElasticPoolProperties_State_STATUS (string alias)

    (Appears on:ServersElasticPool_STATUS)

    Value Description

    "Creating"

    "Disabled"

    "Ready"

    FailoverGroupProperties_ReplicationRole_STATUS (string alias)

    (Appears on:ServersFailoverGroup_STATUS)

    Value Description

    "Primary"

    "Secondary"

    FailoverGroupReadOnlyEndpoint

    (Appears on:ServersFailoverGroup_Spec)

    Read-only endpoint of the failover group instance.

    Field Description
    failoverPolicy
    FailoverGroupReadOnlyEndpoint_FailoverPolicy

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

    FailoverGroupReadOnlyEndpoint_FailoverPolicy (string alias)

    (Appears on:FailoverGroupReadOnlyEndpoint)

    Value Description

    "Disabled"

    "Enabled"

    FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS (string alias)

    (Appears on:FailoverGroupReadOnlyEndpoint_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    FailoverGroupReadOnlyEndpoint_STATUS

    (Appears on:ServersFailoverGroup_STATUS)

    Read-only endpoint of the failover group instance.

    Field Description
    failoverPolicy
    FailoverGroupReadOnlyEndpoint_FailoverPolicy_STATUS

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

    FailoverGroupReadWriteEndpoint

    (Appears on:ServersFailoverGroup_Spec)

    Read-write endpoint of the failover group instance.

    Field Description
    failoverPolicy
    FailoverGroupReadWriteEndpoint_FailoverPolicy

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

    failoverWithDataLossGracePeriodMinutes
    int

    FailoverWithDataLossGracePeriodMinutes: Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

    FailoverGroupReadWriteEndpoint_FailoverPolicy (string alias)

    (Appears on:FailoverGroupReadWriteEndpoint)

    Value Description

    "Automatic"

    "Manual"

    FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS (string alias)

    (Appears on:FailoverGroupReadWriteEndpoint_STATUS)

    Value Description

    "Automatic"

    "Manual"

    FailoverGroupReadWriteEndpoint_STATUS

    (Appears on:ServersFailoverGroup_STATUS)

    Read-write endpoint of the failover group instance.

    Field Description
    failoverPolicy
    FailoverGroupReadWriteEndpoint_FailoverPolicy_STATUS

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

    failoverWithDataLossGracePeriodMinutes
    int

    FailoverWithDataLossGracePeriodMinutes: Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.

    PartnerInfo

    (Appears on:ServersFailoverGroup_Spec)

    Partner server information for the failover group.

    Field Description
    reference
    genruntime.ResourceReference

    Reference: Resource identifier of the partner server.

    PartnerInfo_ReplicationRole_STATUS (string alias)

    (Appears on:PartnerInfo_STATUS)

    Value Description

    "Primary"

    "Secondary"

    PartnerInfo_STATUS

    (Appears on:ServersFailoverGroup_STATUS)

    Partner server information for the failover group.

    Field Description
    id
    string

    Id: Resource identifier of the partner server.

    location
    string

    Location: Geo location of the partner server.

    replicationRole
    PartnerInfo_ReplicationRole_STATUS

    ReplicationRole: Replication role of the partner server.

    PrivateEndpointConnectionProperties_ProvisioningState_STATUS (string alias)

    (Appears on:PrivateEndpointConnectionProperties_STATUS)

    Value Description

    "Approving"

    "Dropping"

    "Failed"

    "Ready"

    "Rejecting"

    PrivateEndpointConnectionProperties_STATUS

    (Appears on:ServerPrivateEndpointConnection_STATUS)

    Properties of a private endpoint connection.

    Field Description
    groupIds
    []string

    GroupIds: Group IDs.

    privateEndpoint
    PrivateEndpointProperty_STATUS

    PrivateEndpoint: Private endpoint which the connection belongs to.

    privateLinkServiceConnectionState
    PrivateLinkServiceConnectionStateProperty_STATUS

    PrivateLinkServiceConnectionState: Connection state of the private endpoint connection.

    provisioningState
    PrivateEndpointConnectionProperties_ProvisioningState_STATUS

    ProvisioningState: State of the private endpoint connection.

    PrivateEndpointProperty_STATUS

    (Appears on:PrivateEndpointConnectionProperties_STATUS)

    Field Description
    id
    string

    Id: Resource id of the private endpoint.

    PrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS (string alias)

    (Appears on:PrivateLinkServiceConnectionStateProperty_STATUS)

    Value Description

    "None"

    PrivateLinkServiceConnectionStateProperty_STATUS

    (Appears on:PrivateEndpointConnectionProperties_STATUS)

    Field Description
    actionsRequired
    PrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS

    ActionsRequired: The actions required for private link service connection.

    description
    string

    Description: The private link service connection description.

    status
    PrivateLinkServiceConnectionStateProperty_Status_STATUS

    Status: The private link service connection status.

    PrivateLinkServiceConnectionStateProperty_Status_STATUS (string alias)

    (Appears on:PrivateLinkServiceConnectionStateProperty_STATUS)

    Value Description

    "Approved"

    "Disconnected"

    "Pending"

    "Rejected"

    ResourceIdentity

    (Appears on:Server_Spec)

    Azure Active Directory identity configuration for a resource.

    Field Description
    type
    ResourceIdentity_Type

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

    userAssignedIdentities
    []UserAssignedIdentityDetails

    UserAssignedIdentities: The resource ids of the user assigned identities to use

    ResourceIdentity_STATUS

    (Appears on:Server_STATUS)

    Azure Active Directory identity configuration for a resource.

    Field Description
    principalId
    string

    PrincipalId: The Azure Active Directory principal id.

    tenantId
    string

    TenantId: The Azure Active Directory tenant id.

    type
    ResourceIdentity_Type_STATUS

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

    userAssignedIdentities
    map[string]./api/sql/v1api20211101.UserIdentity_STATUS

    UserAssignedIdentities: The resource ids of the user assigned identities to use

    ResourceIdentity_Type (string alias)

    (Appears on:ResourceIdentity)

    Value Description

    "None"

    "SystemAssigned"

    "SystemAssigned,UserAssigned"

    "UserAssigned"

    ResourceIdentity_Type_STATUS (string alias)

    (Appears on:ResourceIdentity_STATUS)

    Value Description

    "None"

    "SystemAssigned"

    "SystemAssigned,UserAssigned"

    "UserAssigned"

    Server

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    Server_Spec


    administratorLogin
    string

    AdministratorLogin: Administrator username for the server. Once created it cannot be changed.

    administratorLoginPassword
    genruntime.SecretReference

    AdministratorLoginPassword: The administrator login password (required for server creation).

    administrators
    ServerExternalAdministrator

    Administrators: The Azure Active Directory administrator of the server.

    azureName
    string

    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.

    federatedClientId
    string

    FederatedClientId: The Client id used for cross tenant CMK scenario

    identity
    ResourceIdentity

    Identity: The Azure Active Directory identity of the server.

    keyId
    string

    KeyId: A CMK URI of the key to use for encryption.

    location
    string

    Location: Resource location.

    minimalTlsVersion
    string

    MinimalTlsVersion: Minimal TLS version. Allowed values: ‘1.0’, ‘1.1’, ‘1.2’

    operatorSpec
    ServerOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    primaryUserAssignedIdentityReference
    genruntime.ResourceReference

    PrimaryUserAssignedIdentityReference: The resource id of a user assigned identity to be used by default.

    publicNetworkAccess
    ServerProperties_PublicNetworkAccess

    PublicNetworkAccess: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’

    restrictOutboundNetworkAccess
    ServerProperties_RestrictOutboundNetworkAccess

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

    tags
    map[string]string

    Tags: Resource tags.

    version
    string

    Version: The version of the server.

    status
    Server_STATUS

    ServerBlobAuditingPolicyProperties_State (string alias)

    (Appears on:ServersAuditingSetting_Spec)

    Value Description

    "Disabled"

    "Enabled"

    ServerBlobAuditingPolicyProperties_State_STATUS (string alias)

    (Appears on:ServersAuditingSetting_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    ServerConnectionPolicyProperties_ConnectionType (string alias)

    (Appears on:ServersConnectionPolicy_Spec)

    Value Description

    "Default"

    "Proxy"

    "Redirect"

    ServerConnectionPolicyProperties_ConnectionType_STATUS (string alias)

    (Appears on:ServersConnectionPolicy_STATUS)

    Value Description

    "Default"

    "Proxy"

    "Redirect"

    ServerExternalAdministrator

    (Appears on:Server_Spec)

    Properties of a active directory administrator.

    Field Description
    administratorType
    ServerExternalAdministrator_AdministratorType

    AdministratorType: Type of the sever administrator.

    azureADOnlyAuthentication
    bool

    AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.

    login
    string

    Login: Login name of the server administrator.

    principalType
    ServerExternalAdministrator_PrincipalType

    PrincipalType: Principal Type of the sever administrator.

    sid
    string

    Sid: SID (object ID) of the server administrator.

    tenantId
    string

    TenantId: Tenant ID of the administrator.

    ServerExternalAdministrator_AdministratorType (string alias)

    (Appears on:ServerExternalAdministrator)

    Value Description

    "ActiveDirectory"

    ServerExternalAdministrator_AdministratorType_STATUS (string alias)

    (Appears on:ServerExternalAdministrator_STATUS)

    Value Description

    "ActiveDirectory"

    ServerExternalAdministrator_PrincipalType (string alias)

    (Appears on:ServerExternalAdministrator)

    Value Description

    "Application"

    "Group"

    "User"

    ServerExternalAdministrator_PrincipalType_STATUS (string alias)

    (Appears on:ServerExternalAdministrator_STATUS)

    Value Description

    "Application"

    "Group"

    "User"

    ServerExternalAdministrator_STATUS

    (Appears on:Server_STATUS)

    Properties of a active directory administrator.

    Field Description
    administratorType
    ServerExternalAdministrator_AdministratorType_STATUS

    AdministratorType: Type of the sever administrator.

    azureADOnlyAuthentication
    bool

    AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.

    login
    string

    Login: Login name of the server administrator.

    principalType
    ServerExternalAdministrator_PrincipalType_STATUS

    PrincipalType: Principal Type of the sever administrator.

    sid
    string

    Sid: SID (object ID) of the server administrator.

    tenantId
    string

    TenantId: Tenant ID of the administrator.

    ServerOperatorConfigMaps

    (Appears on:ServerOperatorSpec)

    Field Description
    fullyQualifiedDomainName
    genruntime.ConfigMapDestination

    FullyQualifiedDomainName: indicates where the FullyQualifiedDomainName config map should be placed. If omitted, no config map will be created.

    ServerOperatorSpec

    (Appears on:Server_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    configMaps
    ServerOperatorConfigMaps

    ConfigMaps: configures where to place operator written ConfigMaps.

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServerPrivateEndpointConnection_STATUS

    (Appears on:Server_STATUS)

    A private endpoint connection under a server

    Field Description
    id
    string

    Id: Resource ID.

    properties
    PrivateEndpointConnectionProperties_STATUS

    Properties: Private endpoint connection properties

    ServerProperties_PublicNetworkAccess (string alias)

    (Appears on:Server_Spec)

    Value Description

    "Disabled"

    "Enabled"

    ServerProperties_PublicNetworkAccess_STATUS (string alias)

    (Appears on:Server_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    ServerProperties_RestrictOutboundNetworkAccess (string alias)

    (Appears on:Server_Spec)

    Value Description

    "Disabled"

    "Enabled"

    ServerProperties_RestrictOutboundNetworkAccess_STATUS (string alias)

    (Appears on:Server_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    ServerProperties_WorkspaceFeature_STATUS (string alias)

    (Appears on:Server_STATUS)

    Value Description

    "Connected"

    "Disconnected"

    ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State (string alias)

    (Appears on:ServersSecurityAlertPolicy_Spec)

    Value Description

    "Disabled"

    "Enabled"

    ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS (string alias)

    (Appears on:ServersSecurityAlertPolicy_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    Server_STATUS

    (Appears on:Server)

    An Azure SQL Database server.

    Field Description
    administratorLogin
    string

    AdministratorLogin: Administrator username for the server. Once created it cannot be changed.

    administrators
    ServerExternalAdministrator_STATUS

    Administrators: The Azure Active Directory administrator of the server.

    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    federatedClientId
    string

    FederatedClientId: The Client id used for cross tenant CMK scenario

    fullyQualifiedDomainName
    string

    FullyQualifiedDomainName: The fully qualified domain name of the server.

    id
    string

    Id: Resource ID.

    identity
    ResourceIdentity_STATUS

    Identity: The Azure Active Directory identity of the server.

    keyId
    string

    KeyId: A CMK URI of the key to use for encryption.

    kind
    string

    Kind: Kind of sql server. This is metadata used for the Azure portal experience.

    location
    string

    Location: Resource location.

    minimalTlsVersion
    string

    MinimalTlsVersion: Minimal TLS version. Allowed values: ‘1.0’, ‘1.1’, ‘1.2’

    name
    string

    Name: Resource name.

    primaryUserAssignedIdentityId
    string

    PrimaryUserAssignedIdentityId: The resource id of a user assigned identity to be used by default.

    privateEndpointConnections
    []ServerPrivateEndpointConnection_STATUS

    PrivateEndpointConnections: List of private endpoint connections on a server

    publicNetworkAccess
    ServerProperties_PublicNetworkAccess_STATUS

    PublicNetworkAccess: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’

    restrictOutboundNetworkAccess
    ServerProperties_RestrictOutboundNetworkAccess_STATUS

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

    state
    string

    State: The state of the server.

    tags
    map[string]string

    Tags: Resource tags.

    type
    string

    Type: Resource type.

    version
    string

    Version: The version of the server.

    workspaceFeature
    ServerProperties_WorkspaceFeature_STATUS

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

    Server_Spec

    (Appears on:Server)

    Field Description
    administratorLogin
    string

    AdministratorLogin: Administrator username for the server. Once created it cannot be changed.

    administratorLoginPassword
    genruntime.SecretReference

    AdministratorLoginPassword: The administrator login password (required for server creation).

    administrators
    ServerExternalAdministrator

    Administrators: The Azure Active Directory administrator of the server.

    azureName
    string

    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.

    federatedClientId
    string

    FederatedClientId: The Client id used for cross tenant CMK scenario

    identity
    ResourceIdentity

    Identity: The Azure Active Directory identity of the server.

    keyId
    string

    KeyId: A CMK URI of the key to use for encryption.

    location
    string

    Location: Resource location.

    minimalTlsVersion
    string

    MinimalTlsVersion: Minimal TLS version. Allowed values: ‘1.0’, ‘1.1’, ‘1.2’

    operatorSpec
    ServerOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    primaryUserAssignedIdentityReference
    genruntime.ResourceReference

    PrimaryUserAssignedIdentityReference: The resource id of a user assigned identity to be used by default.

    publicNetworkAccess
    ServerProperties_PublicNetworkAccess

    PublicNetworkAccess: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’

    restrictOutboundNetworkAccess
    ServerProperties_RestrictOutboundNetworkAccess

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

    tags
    map[string]string

    Tags: Resource tags.

    version
    string

    Version: The version of the server.

    ServersAdministrator

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersAdministrator_Spec


    administratorType
    AdministratorProperties_AdministratorType

    AdministratorType: Type of the sever administrator.

    login
    string

    Login: Login name of the server administrator.

    operatorSpec
    ServersAdministratorOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    sid
    string

    Sid: SID (object ID) of the server administrator.

    sidFromConfig
    genruntime.ConfigMapReference

    SidFromConfig: SID (object ID) of the server administrator.

    tenantId
    string

    TenantId: Tenant ID of the administrator.

    tenantIdFromConfig
    genruntime.ConfigMapReference

    TenantIdFromConfig: Tenant ID of the administrator.

    status
    ServersAdministrator_STATUS

    ServersAdministratorOperatorSpec

    (Appears on:ServersAdministrator_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersAdministrator_STATUS

    (Appears on:ServersAdministrator)

    Field Description
    administratorType
    AdministratorProperties_AdministratorType_STATUS

    AdministratorType: Type of the sever administrator.

    azureADOnlyAuthentication
    bool

    AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.

    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    login
    string

    Login: Login name of the server administrator.

    name
    string

    Name: Resource name.

    sid
    string

    Sid: SID (object ID) of the server administrator.

    tenantId
    string

    TenantId: Tenant ID of the administrator.

    type
    string

    Type: Resource type.

    ServersAdministrator_Spec

    (Appears on:ServersAdministrator)

    Field Description
    administratorType
    AdministratorProperties_AdministratorType

    AdministratorType: Type of the sever administrator.

    login
    string

    Login: Login name of the server administrator.

    operatorSpec
    ServersAdministratorOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    sid
    string

    Sid: SID (object ID) of the server administrator.

    sidFromConfig
    genruntime.ConfigMapReference

    SidFromConfig: SID (object ID) of the server administrator.

    tenantId
    string

    TenantId: Tenant ID of the administrator.

    tenantIdFromConfig
    genruntime.ConfigMapReference

    TenantIdFromConfig: Tenant ID of the administrator.

    ServersAdvancedThreatProtectionSetting

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersAdvancedThreatProtectionSetting_Spec


    operatorSpec
    ServersAdvancedThreatProtectionSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    state
    AdvancedThreatProtectionProperties_State

    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.

    status
    ServersAdvancedThreatProtectionSetting_STATUS

    ServersAdvancedThreatProtectionSettingOperatorSpec

    (Appears on:ServersAdvancedThreatProtectionSetting_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersAdvancedThreatProtectionSetting_STATUS

    (Appears on:ServersAdvancedThreatProtectionSetting)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    creationTime
    string

    CreationTime: Specifies the UTC creation time of the policy.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    state
    AdvancedThreatProtectionProperties_State_STATUS

    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.

    systemData
    SystemData_STATUS

    SystemData: SystemData of AdvancedThreatProtectionResource.

    type
    string

    Type: Resource type.

    ServersAdvancedThreatProtectionSetting_Spec

    (Appears on:ServersAdvancedThreatProtectionSetting)

    Field Description
    operatorSpec
    ServersAdvancedThreatProtectionSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    state
    AdvancedThreatProtectionProperties_State

    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.

    ServersAuditingSetting

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersAuditingSetting_Spec


    auditActionsAndGroups
    []string

    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. 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 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

    isAzureMonitorTargetEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isDevopsAuditEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isManagedIdentityInUse
    bool

    IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage

    isStorageSecondaryKeyInUse
    bool

    IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage’s secondary key.

    operatorSpec
    ServersAuditingSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    queueDelayMs
    int

    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.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.

    state
    ServerBlobAuditingPolicyProperties_State

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

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageAccountSubscriptionId
    string

    StorageAccountSubscriptionId: Specifies the blob storage subscription Id.

    storageEndpoint
    string

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

    status
    ServersAuditingSetting_STATUS

    ServersAuditingSettingOperatorSpec

    (Appears on:ServersAuditingSetting_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersAuditingSetting_STATUS

    (Appears on:ServersAuditingSetting)

    Field Description
    auditActionsAndGroups
    []string

    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. 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 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

    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    isAzureMonitorTargetEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isDevopsAuditEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isManagedIdentityInUse
    bool

    IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage

    isStorageSecondaryKeyInUse
    bool

    IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage’s secondary key.

    name
    string

    Name: Resource name.

    queueDelayMs
    int

    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.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.

    state
    ServerBlobAuditingPolicyProperties_State_STATUS

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

    storageAccountSubscriptionId
    string

    StorageAccountSubscriptionId: Specifies the blob storage subscription Id.

    storageEndpoint
    string

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

    type
    string

    Type: Resource type.

    ServersAuditingSetting_Spec

    (Appears on:ServersAuditingSetting)

    Field Description
    auditActionsAndGroups
    []string

    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. 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 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

    isAzureMonitorTargetEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isDevopsAuditEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isManagedIdentityInUse
    bool

    IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage

    isStorageSecondaryKeyInUse
    bool

    IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage’s secondary key.

    operatorSpec
    ServersAuditingSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    queueDelayMs
    int

    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.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.

    state
    ServerBlobAuditingPolicyProperties_State

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

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageAccountSubscriptionId
    string

    StorageAccountSubscriptionId: Specifies the blob storage subscription Id.

    storageEndpoint
    string

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

    ServersAzureADOnlyAuthentication

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersAzureADOnlyAuthentication_Spec


    azureADOnlyAuthentication
    bool

    AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.

    operatorSpec
    ServersAzureADOnlyAuthenticationOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    status
    ServersAzureADOnlyAuthentication_STATUS

    ServersAzureADOnlyAuthenticationOperatorSpec

    (Appears on:ServersAzureADOnlyAuthentication_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersAzureADOnlyAuthentication_STATUS

    (Appears on:ServersAzureADOnlyAuthentication)

    Field Description
    azureADOnlyAuthentication
    bool

    AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.

    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    type
    string

    Type: Resource type.

    ServersAzureADOnlyAuthentication_Spec

    (Appears on:ServersAzureADOnlyAuthentication)

    Field Description
    azureADOnlyAuthentication
    bool

    AzureADOnlyAuthentication: Azure Active Directory only Authentication enabled.

    operatorSpec
    ServersAzureADOnlyAuthenticationOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    ServersConnectionPolicy

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersConnectionPolicy_Spec


    connectionType
    ServerConnectionPolicyProperties_ConnectionType

    ConnectionType: The server connection type.

    operatorSpec
    ServersConnectionPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    status
    ServersConnectionPolicy_STATUS

    ServersConnectionPolicyOperatorSpec

    (Appears on:ServersConnectionPolicy_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersConnectionPolicy_STATUS

    (Appears on:ServersConnectionPolicy)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    connectionType
    ServerConnectionPolicyProperties_ConnectionType_STATUS

    ConnectionType: The server connection type.

    id
    string

    Id: Resource ID.

    kind
    string

    Kind: Metadata used for the Azure portal experience.

    location
    string

    Location: Resource location.

    name
    string

    Name: Resource name.

    type
    string

    Type: Resource type.

    ServersConnectionPolicy_Spec

    (Appears on:ServersConnectionPolicy)

    Field Description
    connectionType
    ServerConnectionPolicyProperties_ConnectionType

    ConnectionType: The server connection type.

    operatorSpec
    ServersConnectionPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    ServersDatabase

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabase_Spec


    autoPauseDelay
    int

    AutoPauseDelay: Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled

    azureName
    string

    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.

    catalogCollation
    DatabaseProperties_CatalogCollation

    CatalogCollation: Collation of the metadata catalog.

    collation
    string

    Collation: The collation of the database.

    createMode
    DatabaseProperties_CreateMode

    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.

    elasticPoolReference
    genruntime.ResourceReference

    ElasticPoolReference: The resource identifier of the elastic pool containing this database.

    federatedClientId
    string

    FederatedClientId: The Client id used for cross tenant per database CMK scenario

    highAvailabilityReplicaCount
    int

    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.

    identity
    DatabaseIdentity

    Identity: The Azure Active Directory identity of the database.

    isLedgerOn
    bool

    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.

    licenseType
    DatabaseProperties_LicenseType

    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.

    location
    string

    Location: Resource location.

    longTermRetentionBackupResourceReference
    genruntime.ResourceReference

    LongTermRetentionBackupResourceReference: The resource identifier of the long term retention backup associated with create operation of this database.

    maintenanceConfigurationId
    string

    MaintenanceConfigurationId: Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.

    maxSizeBytes
    int

    MaxSizeBytes: The max size of the database expressed in bytes.

    minCapacity
    float64

    MinCapacity: Minimal capacity that database will always have allocated, if not paused

    operatorSpec
    ServersDatabaseOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    readScale
    DatabaseProperties_ReadScale

    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.

    recoverableDatabaseReference
    genruntime.ResourceReference

    RecoverableDatabaseReference: The resource identifier of the recoverable database associated with create operation of this database.

    recoveryServicesRecoveryPointReference
    genruntime.ResourceReference

    RecoveryServicesRecoveryPointReference: The resource identifier of the recovery point associated with create operation of this database.

    requestedBackupStorageRedundancy
    DatabaseProperties_RequestedBackupStorageRedundancy

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

    restorableDroppedDatabaseReference
    genruntime.ResourceReference

    RestorableDroppedDatabaseReference: The resource identifier of the restorable dropped database associated with create operation of this database.

    restorePointInTime
    string

    RestorePointInTime: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

    sampleName
    DatabaseProperties_SampleName

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

    secondaryType
    DatabaseProperties_SecondaryType

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

    sku
    Sku

    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 -o table

    ```powershell
    Get-AzSqlServerServiceObjective -Location <location>
    
    sourceDatabaseDeletionDate
    string

    SourceDatabaseDeletionDate: Specifies the time that the database was deleted.

    sourceDatabaseReference
    genruntime.ResourceReference

    SourceDatabaseReference: The resource identifier of the source database associated with create operation of this database.

    sourceResourceReference
    genruntime.ResourceReference

    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

    tags
    map[string]string

    Tags: Resource tags.

    zoneRedundant
    bool

    ZoneRedundant: Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.

    status
    ServersDatabase_STATUS

    ServersDatabaseOperatorSpec

    (Appears on:ServersDatabase_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabase_STATUS

    (Appears on:ServersDatabase)

    Field Description
    autoPauseDelay
    int

    AutoPauseDelay: Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled

    catalogCollation
    DatabaseProperties_CatalogCollation_STATUS

    CatalogCollation: Collation of the metadata catalog.

    collation
    string

    Collation: The collation of the database.

    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    createMode
    DatabaseProperties_CreateMode_STATUS

    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.

    creationDate
    string

    CreationDate: The creation date of the database (ISO8601 format).

    currentBackupStorageRedundancy
    DatabaseProperties_CurrentBackupStorageRedundancy_STATUS

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

    currentServiceObjectiveName
    string

    CurrentServiceObjectiveName: The current service level objective name of the database.

    currentSku
    Sku_STATUS

    CurrentSku: The name and tier of the SKU.

    databaseId
    string

    DatabaseId: The ID of the database.

    defaultSecondaryLocation
    string

    DefaultSecondaryLocation: The default secondary region for this database.

    earliestRestoreDate
    string

    EarliestRestoreDate: This records the earliest start date and time that restore is available for this database (ISO8601 format).

    elasticPoolId
    string

    ElasticPoolId: The resource identifier of the elastic pool containing this database.

    failoverGroupId
    string

    FailoverGroupId: Failover Group resource identifier that this database belongs to.

    federatedClientId
    string

    FederatedClientId: The Client id used for cross tenant per database CMK scenario

    highAvailabilityReplicaCount
    int

    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.

    id
    string

    Id: Resource ID.

    identity
    DatabaseIdentity_STATUS

    Identity: The Azure Active Directory identity of the database.

    isInfraEncryptionEnabled
    bool

    IsInfraEncryptionEnabled: Infra encryption is enabled for this database.

    isLedgerOn
    bool

    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.

    kind
    string

    Kind: Kind of database. This is metadata used for the Azure portal experience.

    licenseType
    DatabaseProperties_LicenseType_STATUS

    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.

    location
    string

    Location: Resource location.

    longTermRetentionBackupResourceId
    string

    LongTermRetentionBackupResourceId: The resource identifier of the long term retention backup associated with create operation of this database.

    maintenanceConfigurationId
    string

    MaintenanceConfigurationId: Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.

    managedBy
    string

    ManagedBy: Resource that manages the database.

    maxLogSizeBytes
    int

    MaxLogSizeBytes: The max log size for this database.

    maxSizeBytes
    int

    MaxSizeBytes: The max size of the database expressed in bytes.

    minCapacity
    float64

    MinCapacity: Minimal capacity that database will always have allocated, if not paused

    name
    string

    Name: Resource name.

    pausedDate
    string

    PausedDate: The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready.

    readScale
    DatabaseProperties_ReadScale_STATUS

    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.

    recoverableDatabaseId
    string

    RecoverableDatabaseId: The resource identifier of the recoverable database associated with create operation of this database.

    recoveryServicesRecoveryPointId
    string

    RecoveryServicesRecoveryPointId: The resource identifier of the recovery point associated with create operation of this database.

    requestedBackupStorageRedundancy
    DatabaseProperties_RequestedBackupStorageRedundancy_STATUS

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

    requestedServiceObjectiveName
    string

    RequestedServiceObjectiveName: The requested service level objective name of the database.

    restorableDroppedDatabaseId
    string

    RestorableDroppedDatabaseId: The resource identifier of the restorable dropped database associated with create operation of this database.

    restorePointInTime
    string

    RestorePointInTime: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

    resumedDate
    string

    ResumedDate: The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused.

    sampleName
    DatabaseProperties_SampleName_STATUS

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

    secondaryType
    DatabaseProperties_SecondaryType_STATUS

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

    sku
    Sku_STATUS

    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 -o table

    ```powershell
    Get-AzSqlServerServiceObjective -Location <location>
    
    sourceDatabaseDeletionDate
    string

    SourceDatabaseDeletionDate: Specifies the time that the database was deleted.

    sourceDatabaseId
    string

    SourceDatabaseId: The resource identifier of the source database associated with create operation of this database.

    sourceResourceId
    string

    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

    status
    DatabaseProperties_Status_STATUS

    Status: The status of the database.

    tags
    map[string]string

    Tags: Resource tags.

    type
    string

    Type: Resource type.

    zoneRedundant
    bool

    ZoneRedundant: Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.

    ServersDatabase_Spec

    (Appears on:ServersDatabase)

    Field Description
    autoPauseDelay
    int

    AutoPauseDelay: Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled

    azureName
    string

    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.

    catalogCollation
    DatabaseProperties_CatalogCollation

    CatalogCollation: Collation of the metadata catalog.

    collation
    string

    Collation: The collation of the database.

    createMode
    DatabaseProperties_CreateMode

    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.

    elasticPoolReference
    genruntime.ResourceReference

    ElasticPoolReference: The resource identifier of the elastic pool containing this database.

    federatedClientId
    string

    FederatedClientId: The Client id used for cross tenant per database CMK scenario

    highAvailabilityReplicaCount
    int

    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.

    identity
    DatabaseIdentity

    Identity: The Azure Active Directory identity of the database.

    isLedgerOn
    bool

    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.

    licenseType
    DatabaseProperties_LicenseType

    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.

    location
    string

    Location: Resource location.

    longTermRetentionBackupResourceReference
    genruntime.ResourceReference

    LongTermRetentionBackupResourceReference: The resource identifier of the long term retention backup associated with create operation of this database.

    maintenanceConfigurationId
    string

    MaintenanceConfigurationId: Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.

    maxSizeBytes
    int

    MaxSizeBytes: The max size of the database expressed in bytes.

    minCapacity
    float64

    MinCapacity: Minimal capacity that database will always have allocated, if not paused

    operatorSpec
    ServersDatabaseOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    readScale
    DatabaseProperties_ReadScale

    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.

    recoverableDatabaseReference
    genruntime.ResourceReference

    RecoverableDatabaseReference: The resource identifier of the recoverable database associated with create operation of this database.

    recoveryServicesRecoveryPointReference
    genruntime.ResourceReference

    RecoveryServicesRecoveryPointReference: The resource identifier of the recovery point associated with create operation of this database.

    requestedBackupStorageRedundancy
    DatabaseProperties_RequestedBackupStorageRedundancy

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

    restorableDroppedDatabaseReference
    genruntime.ResourceReference

    RestorableDroppedDatabaseReference: The resource identifier of the restorable dropped database associated with create operation of this database.

    restorePointInTime
    string

    RestorePointInTime: Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

    sampleName
    DatabaseProperties_SampleName

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

    secondaryType
    DatabaseProperties_SecondaryType

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

    sku
    Sku

    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 -o table

    ```powershell
    Get-AzSqlServerServiceObjective -Location <location>
    
    sourceDatabaseDeletionDate
    string

    SourceDatabaseDeletionDate: Specifies the time that the database was deleted.

    sourceDatabaseReference
    genruntime.ResourceReference

    SourceDatabaseReference: The resource identifier of the source database associated with create operation of this database.

    sourceResourceReference
    genruntime.ResourceReference

    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

    tags
    map[string]string

    Tags: Resource tags.

    zoneRedundant
    bool

    ZoneRedundant: Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.

    ServersDatabasesAdvancedThreatProtectionSetting

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesAdvancedThreatProtectionSetting_Spec


    operatorSpec
    ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    state
    AdvancedThreatProtectionProperties_State

    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.

    status
    ServersDatabasesAdvancedThreatProtectionSetting_STATUS

    ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

    (Appears on:ServersDatabasesAdvancedThreatProtectionSetting_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesAdvancedThreatProtectionSetting_STATUS

    (Appears on:ServersDatabasesAdvancedThreatProtectionSetting)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    creationTime
    string

    CreationTime: Specifies the UTC creation time of the policy.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    state
    AdvancedThreatProtectionProperties_State_STATUS

    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.

    systemData
    SystemData_STATUS

    SystemData: SystemData of AdvancedThreatProtectionResource.

    type
    string

    Type: Resource type.

    ServersDatabasesAdvancedThreatProtectionSetting_Spec

    (Appears on:ServersDatabasesAdvancedThreatProtectionSetting)

    Field Description
    operatorSpec
    ServersDatabasesAdvancedThreatProtectionSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    state
    AdvancedThreatProtectionProperties_State

    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.

    ServersDatabasesAuditingSetting

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesAuditingSetting_Spec


    auditActionsAndGroups
    []string

    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. 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 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

    isAzureMonitorTargetEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isManagedIdentityInUse
    bool

    IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage

    isStorageSecondaryKeyInUse
    bool

    IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage’s secondary key.

    operatorSpec
    ServersDatabasesAuditingSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    queueDelayMs
    int

    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.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.

    state
    DatabaseBlobAuditingPolicyProperties_State

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

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageAccountSubscriptionId
    string

    StorageAccountSubscriptionId: Specifies the blob storage subscription Id.

    storageEndpoint
    string

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

    status
    ServersDatabasesAuditingSetting_STATUS

    ServersDatabasesAuditingSettingOperatorSpec

    (Appears on:ServersDatabasesAuditingSetting_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesAuditingSetting_STATUS

    (Appears on:ServersDatabasesAuditingSetting)

    Field Description
    auditActionsAndGroups
    []string

    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. 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 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

    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    isAzureMonitorTargetEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isManagedIdentityInUse
    bool

    IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage

    isStorageSecondaryKeyInUse
    bool

    IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage’s secondary key.

    kind
    string

    Kind: Resource kind.

    name
    string

    Name: Resource name.

    queueDelayMs
    int

    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.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.

    state
    DatabaseBlobAuditingPolicyProperties_State_STATUS

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

    storageAccountSubscriptionId
    string

    StorageAccountSubscriptionId: Specifies the blob storage subscription Id.

    storageEndpoint
    string

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

    type
    string

    Type: Resource type.

    ServersDatabasesAuditingSetting_Spec

    (Appears on:ServersDatabasesAuditingSetting)

    Field Description
    auditActionsAndGroups
    []string

    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. 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 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

    isAzureMonitorTargetEnabled
    bool

    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 or Diagnostic Settings PowerShell

    isManagedIdentityInUse
    bool

    IsManagedIdentityInUse: Specifies whether Managed Identity is used to access blob storage

    isStorageSecondaryKeyInUse
    bool

    IsStorageSecondaryKeyInUse: Specifies whether storageAccountAccessKey value is the storage’s secondary key.

    operatorSpec
    ServersDatabasesAuditingSettingOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    queueDelayMs
    int

    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.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the audit logs in the storage account.

    state
    DatabaseBlobAuditingPolicyProperties_State

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

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageAccountSubscriptionId
    string

    StorageAccountSubscriptionId: Specifies the blob storage subscription Id.

    storageEndpoint
    string

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

    ServersDatabasesBackupLongTermRetentionPolicy

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesBackupLongTermRetentionPolicy_Spec


    monthlyRetention
    string

    MonthlyRetention: The monthly retention policy for an LTR backup in an ISO 8601 format.

    operatorSpec
    ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    weekOfYear
    int

    WeekOfYear: The week of year to take the yearly backup in an ISO 8601 format.

    weeklyRetention
    string

    WeeklyRetention: The weekly retention policy for an LTR backup in an ISO 8601 format.

    yearlyRetention
    string

    YearlyRetention: The yearly retention policy for an LTR backup in an ISO 8601 format.

    status
    ServersDatabasesBackupLongTermRetentionPolicy_STATUS

    ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

    (Appears on:ServersDatabasesBackupLongTermRetentionPolicy_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesBackupLongTermRetentionPolicy_STATUS

    (Appears on:ServersDatabasesBackupLongTermRetentionPolicy)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    monthlyRetention
    string

    MonthlyRetention: The monthly retention policy for an LTR backup in an ISO 8601 format.

    name
    string

    Name: Resource name.

    type
    string

    Type: Resource type.

    weekOfYear
    int

    WeekOfYear: The week of year to take the yearly backup in an ISO 8601 format.

    weeklyRetention
    string

    WeeklyRetention: The weekly retention policy for an LTR backup in an ISO 8601 format.

    yearlyRetention
    string

    YearlyRetention: The yearly retention policy for an LTR backup in an ISO 8601 format.

    ServersDatabasesBackupLongTermRetentionPolicy_Spec

    (Appears on:ServersDatabasesBackupLongTermRetentionPolicy)

    Field Description
    monthlyRetention
    string

    MonthlyRetention: The monthly retention policy for an LTR backup in an ISO 8601 format.

    operatorSpec
    ServersDatabasesBackupLongTermRetentionPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    weekOfYear
    int

    WeekOfYear: The week of year to take the yearly backup in an ISO 8601 format.

    weeklyRetention
    string

    WeeklyRetention: The weekly retention policy for an LTR backup in an ISO 8601 format.

    yearlyRetention
    string

    YearlyRetention: The yearly retention policy for an LTR backup in an ISO 8601 format.

    ServersDatabasesBackupShortTermRetentionPolicy

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesBackupShortTermRetentionPolicy_Spec


    diffBackupIntervalInHours
    BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours

    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.

    operatorSpec
    ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    retentionDays
    int

    RetentionDays: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

    status
    ServersDatabasesBackupShortTermRetentionPolicy_STATUS

    ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

    (Appears on:ServersDatabasesBackupShortTermRetentionPolicy_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesBackupShortTermRetentionPolicy_STATUS

    (Appears on:ServersDatabasesBackupShortTermRetentionPolicy)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    diffBackupIntervalInHours
    BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours_STATUS

    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.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    retentionDays
    int

    RetentionDays: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

    type
    string

    Type: Resource type.

    ServersDatabasesBackupShortTermRetentionPolicy_Spec

    (Appears on:ServersDatabasesBackupShortTermRetentionPolicy)

    Field Description
    diffBackupIntervalInHours
    BackupShortTermRetentionPolicyProperties_DiffBackupIntervalInHours

    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.

    operatorSpec
    ServersDatabasesBackupShortTermRetentionPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    retentionDays
    int

    RetentionDays: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

    ServersDatabasesSecurityAlertPolicy

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesSecurityAlertPolicy_Spec


    disabledAlerts
    []string

    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

    emailAccountAdmins
    bool

    EmailAccountAdmins: Specifies that the alert is sent to the account administrators.

    emailAddresses
    []string

    EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.

    operatorSpec
    ServersDatabasesSecurityAlertPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.

    state
    DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State

    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.

    storageAccountAccessKey
    genruntime.SecretReference

    StorageAccountAccessKey: Specifies the identifier key of the Threat Detection audit storage account.

    storageEndpoint
    string

    StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

    status
    ServersDatabasesSecurityAlertPolicy_STATUS

    ServersDatabasesSecurityAlertPolicyOperatorSpec

    (Appears on:ServersDatabasesSecurityAlertPolicy_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesSecurityAlertPolicy_STATUS

    (Appears on:ServersDatabasesSecurityAlertPolicy)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    creationTime
    string

    CreationTime: Specifies the UTC creation time of the policy.

    disabledAlerts
    []string

    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

    emailAccountAdmins
    bool

    EmailAccountAdmins: Specifies that the alert is sent to the account administrators.

    emailAddresses
    []string

    EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.

    state
    DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS

    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.

    storageEndpoint
    string

    StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

    systemData
    SystemData_STATUS

    SystemData: SystemData of SecurityAlertPolicyResource.

    type
    string

    Type: Resource type.

    ServersDatabasesSecurityAlertPolicy_Spec

    (Appears on:ServersDatabasesSecurityAlertPolicy)

    Field Description
    disabledAlerts
    []string

    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

    emailAccountAdmins
    bool

    EmailAccountAdmins: Specifies that the alert is sent to the account administrators.

    emailAddresses
    []string

    EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.

    operatorSpec
    ServersDatabasesSecurityAlertPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.

    state
    DatabaseSecurityAlertPoliciesSecurityAlertsPolicyProperties_State

    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.

    storageAccountAccessKey
    genruntime.SecretReference

    StorageAccountAccessKey: Specifies the identifier key of the Threat Detection audit storage account.

    storageEndpoint
    string

    StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

    ServersDatabasesTransparentDataEncryption

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesTransparentDataEncryption_Spec


    operatorSpec
    ServersDatabasesTransparentDataEncryptionOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    state
    TransparentDataEncryptionProperties_State

    State: Specifies the state of the transparent data encryption.

    status
    ServersDatabasesTransparentDataEncryption_STATUS

    ServersDatabasesTransparentDataEncryptionOperatorSpec

    (Appears on:ServersDatabasesTransparentDataEncryption_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesTransparentDataEncryption_STATUS

    (Appears on:ServersDatabasesTransparentDataEncryption)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    state
    TransparentDataEncryptionProperties_State_STATUS

    State: Specifies the state of the transparent data encryption.

    type
    string

    Type: Resource type.

    ServersDatabasesTransparentDataEncryption_Spec

    (Appears on:ServersDatabasesTransparentDataEncryption)

    Field Description
    operatorSpec
    ServersDatabasesTransparentDataEncryptionOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    state
    TransparentDataEncryptionProperties_State

    State: Specifies the state of the transparent data encryption.

    ServersDatabasesVulnerabilityAssessment

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersDatabasesVulnerabilityAssessment_Spec


    operatorSpec
    ServersDatabasesVulnerabilityAssessmentOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    recurringScans
    VulnerabilityAssessmentRecurringScansProperties

    RecurringScans: The recurring scans settings

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageContainerPath
    string

    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

    storageContainerPathFromConfig
    genruntime.ConfigMapReference

    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

    storageContainerSasKey
    genruntime.SecretReference

    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

    status
    ServersDatabasesVulnerabilityAssessment_STATUS

    ServersDatabasesVulnerabilityAssessmentOperatorSpec

    (Appears on:ServersDatabasesVulnerabilityAssessment_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersDatabasesVulnerabilityAssessment_STATUS

    (Appears on:ServersDatabasesVulnerabilityAssessment)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    recurringScans
    VulnerabilityAssessmentRecurringScansProperties_STATUS

    RecurringScans: The recurring scans settings

    storageContainerPath
    string

    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

    type
    string

    Type: Resource type.

    ServersDatabasesVulnerabilityAssessment_Spec

    (Appears on:ServersDatabasesVulnerabilityAssessment)

    Field Description
    operatorSpec
    ServersDatabasesVulnerabilityAssessmentOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    recurringScans
    VulnerabilityAssessmentRecurringScansProperties

    RecurringScans: The recurring scans settings

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageContainerPath
    string

    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

    storageContainerPathFromConfig
    genruntime.ConfigMapReference

    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

    storageContainerSasKey
    genruntime.SecretReference

    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

    ServersElasticPool

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersElasticPool_Spec


    azureName
    string

    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.

    highAvailabilityReplicaCount
    int

    HighAvailabilityReplicaCount: The number of secondary replicas associated with the elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.

    licenseType
    ElasticPoolProperties_LicenseType

    LicenseType: The license type to apply for this elastic pool.

    location
    string

    Location: Resource location.

    maintenanceConfigurationId
    string

    MaintenanceConfigurationId: Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.

    maxSizeBytes
    int

    MaxSizeBytes: The storage limit for the database elastic pool in bytes.

    minCapacity
    float64

    MinCapacity: Minimal capacity that serverless pool will not shrink below, if not paused

    operatorSpec
    ServersElasticPoolOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    perDatabaseSettings
    ElasticPoolPerDatabaseSettings

    PerDatabaseSettings: The per database settings for the elastic pool.

    sku
    Sku

    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 `

    tags
    map[string]string

    Tags: Resource tags.

    zoneRedundant
    bool

    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.

    status
    ServersElasticPool_STATUS

    ServersElasticPoolOperatorSpec

    (Appears on:ServersElasticPool_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersElasticPool_STATUS

    (Appears on:ServersElasticPool)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    creationDate
    string

    CreationDate: The creation date of the elastic pool (ISO8601 format).

    highAvailabilityReplicaCount
    int

    HighAvailabilityReplicaCount: The number of secondary replicas associated with the elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.

    id
    string

    Id: Resource ID.

    kind
    string

    Kind: Kind of elastic pool. This is metadata used for the Azure portal experience.

    licenseType
    ElasticPoolProperties_LicenseType_STATUS

    LicenseType: The license type to apply for this elastic pool.

    location
    string

    Location: Resource location.

    maintenanceConfigurationId
    string

    MaintenanceConfigurationId: Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.

    maxSizeBytes
    int

    MaxSizeBytes: The storage limit for the database elastic pool in bytes.

    minCapacity
    float64

    MinCapacity: Minimal capacity that serverless pool will not shrink below, if not paused

    name
    string

    Name: Resource name.

    perDatabaseSettings
    ElasticPoolPerDatabaseSettings_STATUS

    PerDatabaseSettings: The per database settings for the elastic pool.

    sku
    Sku_STATUS

    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 `

    state
    ElasticPoolProperties_State_STATUS

    State: The state of the elastic pool.

    tags
    map[string]string

    Tags: Resource tags.

    type
    string

    Type: Resource type.

    zoneRedundant
    bool

    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.

    ServersElasticPool_Spec

    (Appears on:ServersElasticPool)

    Field Description
    azureName
    string

    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.

    highAvailabilityReplicaCount
    int

    HighAvailabilityReplicaCount: The number of secondary replicas associated with the elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools.

    licenseType
    ElasticPoolProperties_LicenseType

    LicenseType: The license type to apply for this elastic pool.

    location
    string

    Location: Resource location.

    maintenanceConfigurationId
    string

    MaintenanceConfigurationId: Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur.

    maxSizeBytes
    int

    MaxSizeBytes: The storage limit for the database elastic pool in bytes.

    minCapacity
    float64

    MinCapacity: Minimal capacity that serverless pool will not shrink below, if not paused

    operatorSpec
    ServersElasticPoolOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    perDatabaseSettings
    ElasticPoolPerDatabaseSettings

    PerDatabaseSettings: The per database settings for the elastic pool.

    sku
    Sku

    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 `

    tags
    map[string]string

    Tags: Resource tags.

    zoneRedundant
    bool

    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.

    ServersFailoverGroup

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersFailoverGroup_Spec


    azureName
    string

    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.

    databasesReferences
    []genruntime.ResourceReference

    DatabasesReferences: List of databases in the failover group.

    operatorSpec
    ServersFailoverGroupOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    partnerServers
    []PartnerInfo

    PartnerServers: List of partner server information for the failover group.

    readOnlyEndpoint
    FailoverGroupReadOnlyEndpoint

    ReadOnlyEndpoint: Read-only endpoint of the failover group instance.

    readWriteEndpoint
    FailoverGroupReadWriteEndpoint

    ReadWriteEndpoint: Read-write endpoint of the failover group instance.

    tags
    map[string]string

    Tags: Resource tags.

    status
    ServersFailoverGroup_STATUS

    ServersFailoverGroupOperatorSpec

    (Appears on:ServersFailoverGroup_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersFailoverGroup_STATUS

    (Appears on:ServersFailoverGroup)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    databases
    []string

    Databases: List of databases in the failover group.

    id
    string

    Id: Resource ID.

    location
    string

    Location: Resource location.

    name
    string

    Name: Resource name.

    partnerServers
    []PartnerInfo_STATUS

    PartnerServers: List of partner server information for the failover group.

    readOnlyEndpoint
    FailoverGroupReadOnlyEndpoint_STATUS

    ReadOnlyEndpoint: Read-only endpoint of the failover group instance.

    readWriteEndpoint
    FailoverGroupReadWriteEndpoint_STATUS

    ReadWriteEndpoint: Read-write endpoint of the failover group instance.

    replicationRole
    FailoverGroupProperties_ReplicationRole_STATUS

    ReplicationRole: Local replication role of the failover group instance.

    replicationState
    string

    ReplicationState: Replication state of the failover group instance.

    tags
    map[string]string

    Tags: Resource tags.

    type
    string

    Type: Resource type.

    ServersFailoverGroup_Spec

    (Appears on:ServersFailoverGroup)

    Field Description
    azureName
    string

    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.

    databasesReferences
    []genruntime.ResourceReference

    DatabasesReferences: List of databases in the failover group.

    operatorSpec
    ServersFailoverGroupOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    partnerServers
    []PartnerInfo

    PartnerServers: List of partner server information for the failover group.

    readOnlyEndpoint
    FailoverGroupReadOnlyEndpoint

    ReadOnlyEndpoint: Read-only endpoint of the failover group instance.

    readWriteEndpoint
    FailoverGroupReadWriteEndpoint

    ReadWriteEndpoint: Read-write endpoint of the failover group instance.

    tags
    map[string]string

    Tags: Resource tags.

    ServersFirewallRule

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersFirewallRule_Spec


    azureName
    string

    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.

    endIpAddress
    string

    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.

    operatorSpec
    ServersFirewallRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    startIpAddress
    string

    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.

    status
    ServersFirewallRule_STATUS

    ServersFirewallRuleOperatorSpec

    (Appears on:ServersFirewallRule_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersFirewallRule_STATUS

    (Appears on:ServersFirewallRule)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    endIpAddress
    string

    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.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    startIpAddress
    string

    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.

    type
    string

    Type: Resource type.

    ServersFirewallRule_Spec

    (Appears on:ServersFirewallRule)

    Field Description
    azureName
    string

    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.

    endIpAddress
    string

    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.

    operatorSpec
    ServersFirewallRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    startIpAddress
    string

    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.

    ServersIPV6FirewallRule

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersIPV6FirewallRule_Spec


    azureName
    string

    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.

    endIPv6Address
    string

    EndIPv6Address: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.

    operatorSpec
    ServersIPV6FirewallRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    startIPv6Address
    string

    StartIPv6Address: The start IP address of the firewall rule. Must be IPv6 format.

    status
    ServersIPV6FirewallRule_STATUS

    ServersIPV6FirewallRuleOperatorSpec

    (Appears on:ServersIPV6FirewallRule_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersIPV6FirewallRule_STATUS

    (Appears on:ServersIPV6FirewallRule)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    endIPv6Address
    string

    EndIPv6Address: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    startIPv6Address
    string

    StartIPv6Address: The start IP address of the firewall rule. Must be IPv6 format.

    type
    string

    Type: Resource type.

    ServersIPV6FirewallRule_Spec

    (Appears on:ServersIPV6FirewallRule)

    Field Description
    azureName
    string

    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.

    endIPv6Address
    string

    EndIPv6Address: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.

    operatorSpec
    ServersIPV6FirewallRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    startIPv6Address
    string

    StartIPv6Address: The start IP address of the firewall rule. Must be IPv6 format.

    ServersOutboundFirewallRule

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersOutboundFirewallRule_Spec


    azureName
    string

    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.

    operatorSpec
    ServersOutboundFirewallRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    status
    ServersOutboundFirewallRule_STATUS

    ServersOutboundFirewallRuleOperatorSpec

    (Appears on:ServersOutboundFirewallRule_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersOutboundFirewallRule_STATUS

    (Appears on:ServersOutboundFirewallRule)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    provisioningState
    string

    ProvisioningState: The state of the outbound rule.

    type
    string

    Type: Resource type.

    ServersOutboundFirewallRule_Spec

    (Appears on:ServersOutboundFirewallRule)

    Field Description
    azureName
    string

    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.

    operatorSpec
    ServersOutboundFirewallRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    ServersSecurityAlertPolicy

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersSecurityAlertPolicy_Spec


    disabledAlerts
    []string

    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

    emailAccountAdmins
    bool

    EmailAccountAdmins: Specifies that the alert is sent to the account administrators.

    emailAddresses
    []string

    EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.

    operatorSpec
    ServersSecurityAlertPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.

    state
    ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State

    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.

    storageAccountAccessKey
    genruntime.SecretReference

    StorageAccountAccessKey: Specifies the identifier key of the Threat Detection audit storage account.

    storageEndpoint
    string

    StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

    status
    ServersSecurityAlertPolicy_STATUS

    ServersSecurityAlertPolicyOperatorSpec

    (Appears on:ServersSecurityAlertPolicy_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersSecurityAlertPolicy_STATUS

    (Appears on:ServersSecurityAlertPolicy)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    creationTime
    string

    CreationTime: Specifies the UTC creation time of the policy.

    disabledAlerts
    []string

    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

    emailAccountAdmins
    bool

    EmailAccountAdmins: Specifies that the alert is sent to the account administrators.

    emailAddresses
    []string

    EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.

    state
    ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State_STATUS

    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.

    storageEndpoint
    string

    StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

    systemData
    SystemData_STATUS

    SystemData: SystemData of SecurityAlertPolicyResource.

    type
    string

    Type: Resource type.

    ServersSecurityAlertPolicy_Spec

    (Appears on:ServersSecurityAlertPolicy)

    Field Description
    disabledAlerts
    []string

    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

    emailAccountAdmins
    bool

    EmailAccountAdmins: Specifies that the alert is sent to the account administrators.

    emailAddresses
    []string

    EmailAddresses: Specifies an array of e-mail addresses to which the alert is sent.

    operatorSpec
    ServersSecurityAlertPolicyOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    retentionDays
    int

    RetentionDays: Specifies the number of days to keep in the Threat Detection audit logs.

    state
    ServerSecurityAlertPoliciesSecurityAlertsPolicyProperties_State

    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.

    storageAccountAccessKey
    genruntime.SecretReference

    StorageAccountAccessKey: Specifies the identifier key of the Threat Detection audit storage account.

    storageEndpoint
    string

    StorageEndpoint: Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

    ServersVirtualNetworkRule

    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}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersVirtualNetworkRule_Spec


    azureName
    string

    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.

    ignoreMissingVnetServiceEndpoint
    bool

    IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual network has vnet service endpoint enabled.

    operatorSpec
    ServersVirtualNetworkRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    virtualNetworkSubnetReference
    genruntime.ResourceReference

    VirtualNetworkSubnetReference: The ARM resource id of the virtual network subnet.

    status
    ServersVirtualNetworkRule_STATUS

    ServersVirtualNetworkRuleOperatorSpec

    (Appears on:ServersVirtualNetworkRule_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersVirtualNetworkRule_STATUS

    (Appears on:ServersVirtualNetworkRule)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    ignoreMissingVnetServiceEndpoint
    bool

    IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual network has vnet service endpoint enabled.

    name
    string

    Name: Resource name.

    state
    VirtualNetworkRuleProperties_State_STATUS

    State: Virtual Network Rule State

    type
    string

    Type: Resource type.

    virtualNetworkSubnetId
    string

    VirtualNetworkSubnetId: The ARM resource id of the virtual network subnet.

    ServersVirtualNetworkRule_Spec

    (Appears on:ServersVirtualNetworkRule)

    Field Description
    azureName
    string

    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.

    ignoreMissingVnetServiceEndpoint
    bool

    IgnoreMissingVnetServiceEndpoint: Create firewall rule before the virtual network has vnet service endpoint enabled.

    operatorSpec
    ServersVirtualNetworkRuleOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    virtualNetworkSubnetReference
    genruntime.ResourceReference

    VirtualNetworkSubnetReference: The ARM resource id of the virtual network subnet.

    ServersVulnerabilityAssessment

    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

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    ServersVulnerabilityAssessment_Spec


    operatorSpec
    ServersVulnerabilityAssessmentOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    recurringScans
    VulnerabilityAssessmentRecurringScansProperties

    RecurringScans: The recurring scans settings

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageContainerPath
    string

    StorageContainerPath: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).

    storageContainerPathFromConfig
    genruntime.ConfigMapReference

    StorageContainerPathFromConfig: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).

    storageContainerSasKey
    genruntime.SecretReference

    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

    status
    ServersVulnerabilityAssessment_STATUS

    ServersVulnerabilityAssessmentOperatorSpec

    (Appears on:ServersVulnerabilityAssessment_Spec)

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

    Field Description
    configMapExpressions
    []genruntime/core.DestinationExpression

    ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).

    secretExpressions
    []genruntime/core.DestinationExpression

    SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).

    ServersVulnerabilityAssessment_STATUS

    (Appears on:ServersVulnerabilityAssessment)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    id
    string

    Id: Resource ID.

    name
    string

    Name: Resource name.

    recurringScans
    VulnerabilityAssessmentRecurringScansProperties_STATUS

    RecurringScans: The recurring scans settings

    storageContainerPath
    string

    StorageContainerPath: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).

    type
    string

    Type: Resource type.

    ServersVulnerabilityAssessment_Spec

    (Appears on:ServersVulnerabilityAssessment)

    Field Description
    operatorSpec
    ServersVulnerabilityAssessmentOperatorSpec

    OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not passed directly to Azure

    owner
    genruntime.KnownResourceReference

    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

    recurringScans
    VulnerabilityAssessmentRecurringScansProperties

    RecurringScans: The recurring scans settings

    storageAccountAccessKey
    genruntime.SecretReference

    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

    storageContainerPath
    string

    StorageContainerPath: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).

    storageContainerPathFromConfig
    genruntime.ConfigMapReference

    StorageContainerPathFromConfig: A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).

    storageContainerSasKey
    genruntime.SecretReference

    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

    Sku

    (Appears on:ServersDatabase_Spec, ServersElasticPool_Spec)

    An ARM Resource SKU.

    Field Description
    capacity
    int

    Capacity: Capacity of the particular SKU.

    family
    string

    Family: If the service has different generations of hardware, for the same SKU, then that can be captured here.

    name
    string

    Name: The name of the SKU, typically, a letter + Number code, e.g. P3.

    size
    string

    Size: Size of the particular SKU

    tier
    string

    Tier: The tier or edition of the particular SKU, e.g. Basic, Premium.

    Sku_STATUS

    (Appears on:ServersDatabase_STATUS, ServersElasticPool_STATUS)

    An ARM Resource SKU.

    Field Description
    capacity
    int

    Capacity: Capacity of the particular SKU.

    family
    string

    Family: If the service has different generations of hardware, for the same SKU, then that can be captured here.

    name
    string

    Name: The name of the SKU, typically, a letter + Number code, e.g. P3.

    size
    string

    Size: Size of the particular SKU

    tier
    string

    Tier: The tier or edition of the particular SKU, e.g. Basic, Premium.

    SystemData_CreatedByType_STATUS (string alias)

    (Appears on:SystemData_STATUS)

    Value Description

    "Application"

    "Key"

    "ManagedIdentity"

    "User"

    SystemData_LastModifiedByType_STATUS (string alias)

    (Appears on:SystemData_STATUS)

    Value Description

    "Application"

    "Key"

    "ManagedIdentity"

    "User"

    SystemData_STATUS

    (Appears on:ServersAdvancedThreatProtectionSetting_STATUS, ServersDatabasesAdvancedThreatProtectionSetting_STATUS, ServersDatabasesSecurityAlertPolicy_STATUS, ServersSecurityAlertPolicy_STATUS)

    Metadata pertaining to creation and last modification of the resource.

    Field Description
    createdAt
    string

    CreatedAt: The timestamp of resource creation (UTC).

    createdBy
    string

    CreatedBy: The identity that created the resource.

    createdByType
    SystemData_CreatedByType_STATUS

    CreatedByType: The type of identity that created the resource.

    lastModifiedAt
    string

    LastModifiedAt: The timestamp of resource last modification (UTC)

    lastModifiedBy
    string

    LastModifiedBy: The identity that last modified the resource.

    lastModifiedByType
    SystemData_LastModifiedByType_STATUS

    LastModifiedByType: The type of identity that last modified the resource.

    TransparentDataEncryptionProperties_State (string alias)

    (Appears on:ServersDatabasesTransparentDataEncryption_Spec)

    Value Description

    "Disabled"

    "Enabled"

    TransparentDataEncryptionProperties_State_STATUS (string alias)

    (Appears on:ServersDatabasesTransparentDataEncryption_STATUS)

    Value Description

    "Disabled"

    "Enabled"

    UserAssignedIdentityDetails

    (Appears on:DatabaseIdentity, ResourceIdentity)

    Information about the user assigned identity for the resource

    Field Description
    reference
    genruntime.ResourceReference

    UserIdentity_STATUS

    (Appears on:ResourceIdentity_STATUS)

    Azure Active Directory identity configuration for a resource.

    Field Description
    clientId
    string

    ClientId: The Azure Active Directory client id.

    principalId
    string

    PrincipalId: The Azure Active Directory principal id.

    VirtualNetworkRuleProperties_State_STATUS (string alias)

    (Appears on:ServersVirtualNetworkRule_STATUS)

    Value Description

    "Deleting"

    "Failed"

    "InProgress"

    "Initializing"

    "Ready"

    "Unknown"

    VulnerabilityAssessmentRecurringScansProperties

    (Appears on:ServersDatabasesVulnerabilityAssessment_Spec, ServersVulnerabilityAssessment_Spec)

    Properties of a Vulnerability Assessment recurring scans.

    Field Description
    emailSubscriptionAdmins
    bool

    EmailSubscriptionAdmins: Specifies that the schedule scan notification will be is sent to the subscription administrators.

    emails
    []string

    Emails: Specifies an array of e-mail addresses to which the scan notification is sent.

    isEnabled
    bool

    IsEnabled: Recurring scans state.

    VulnerabilityAssessmentRecurringScansProperties_STATUS

    (Appears on:ServersDatabasesVulnerabilityAssessment_STATUS, ServersVulnerabilityAssessment_STATUS)

    Properties of a Vulnerability Assessment recurring scans.

    Field Description
    emailSubscriptionAdmins
    bool

    EmailSubscriptionAdmins: Specifies that the schedule scan notification will be is sent to the subscription administrators.

    emails
    []string

    Emails: Specifies an array of e-mail addresses to which the scan notification is sent.

    isEnabled
    bool

    IsEnabled: Recurring scans state.