sql.v1beta1.mssqlDatabase
"MSSQLDatabase is the Schema for the MSSQLDatabases API. Manages a MS SQL Database."
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withDeletionPolicy(deletionPolicy)
obj spec.forProvider
fn withAutoPauseDelayInMinutes(autoPauseDelayInMinutes)
fn withCollation(collation)
fn withCreateMode(createMode)
fn withCreationSourceDatabaseId(creationSourceDatabaseId)
fn withElasticPoolId(elasticPoolId)
fn withGeoBackupEnabled(geoBackupEnabled)
fn withImport(Import)
fn withImportMixin(Import)
fn withLedgerEnabled(ledgerEnabled)
fn withLicenseType(licenseType)
fn withLongTermRetentionPolicy(longTermRetentionPolicy)
fn withLongTermRetentionPolicyMixin(longTermRetentionPolicy)
fn withMaintenanceConfigurationName(maintenanceConfigurationName)
fn withMaxSizeGb(maxSizeGb)
fn withMinCapacity(minCapacity)
fn withReadReplicaCount(readReplicaCount)
fn withReadScale(readScale)
fn withRecoverDatabaseId(recoverDatabaseId)
fn withRestoreDroppedDatabaseId(restoreDroppedDatabaseId)
fn withRestorePointInTime(restorePointInTime)
fn withSampleName(sampleName)
fn withServerId(serverId)
fn withShortTermRetentionPolicy(shortTermRetentionPolicy)
fn withShortTermRetentionPolicyMixin(shortTermRetentionPolicy)
fn withSkuName(skuName)
fn withStorageAccountType(storageAccountType)
fn withTags(tags)
fn withTagsMixin(tags)
fn withThreatDetectionPolicy(threatDetectionPolicy)
fn withThreatDetectionPolicyMixin(threatDetectionPolicy)
fn withTransparentDataEncryptionEnabled(transparentDataEncryptionEnabled)
fn withZoneRedundant(zoneRedundant)
obj spec.forProvider.import
fn withAdministratorLogin(administratorLogin)
fn withAuthenticationType(authenticationType)
fn withStorageAccountId(storageAccountId)
fn withStorageKeyType(storageKeyType)
fn withStorageUri(storageUri)
obj spec.forProvider.import.administratorLoginPasswordSecretRef
obj spec.forProvider.import.storageKeySecretRef
obj spec.forProvider.longTermRetentionPolicy
obj spec.forProvider.serverIdRef
obj spec.forProvider.serverIdSelector
obj spec.forProvider.shortTermRetentionPolicy
obj spec.forProvider.threatDetectionPolicy
fn withDisabledAlerts(disabledAlerts)
fn withDisabledAlertsMixin(disabledAlerts)
fn withEmailAccountAdmins(emailAccountAdmins)
fn withEmailAddresses(emailAddresses)
fn withEmailAddressesMixin(emailAddresses)
fn withRetentionDays(retentionDays)
fn withState(state)
fn withStorageEndpoint(storageEndpoint)
obj spec.forProvider.threatDetectionPolicy.storageAccountAccessKeySecretRef
obj spec.providerConfigRef
obj spec.providerRef
obj spec.publishConnectionDetailsTo
obj spec.writeConnectionSecretToRef
Fields
fn new
new(name)
new returns an instance of MSSQLDatabase
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
"MSSQLDatabaseSpec defines the desired state of MSSQLDatabase"
fn spec.withDeletionPolicy
withDeletionPolicy(deletionPolicy)
"DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either \"Delete\" or \"Orphan\" the external resource."
obj spec.forProvider
fn spec.forProvider.withAutoPauseDelayInMinutes
withAutoPauseDelayInMinutes(autoPauseDelayInMinutes)
"Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled. This property is only settable for General Purpose Serverless databases."
fn spec.forProvider.withCollation
withCollation(collation)
"Specifies the collation of the database. Changing this forces a new resource to be created."
fn spec.forProvider.withCreateMode
withCreateMode(createMode)
"The create mode of the database. Possible values are Copy, Default, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreExternalBackup, RestoreExternalBackupSecondary, RestoreLongTermRetentionBackup and Secondary. Mutually exclusive with import. Changing this forces a new resource to be created."
fn spec.forProvider.withCreationSourceDatabaseId
withCreationSourceDatabaseId(creationSourceDatabaseId)
"The ID of the source database from which to create the new database. This should only be used for databases with create_mode values that use another database as reference. Changing this forces a new resource to be created."
fn spec.forProvider.withElasticPoolId
withElasticPoolId(elasticPoolId)
"Specifies the ID of the elastic pool containing this database."
fn spec.forProvider.withGeoBackupEnabled
withGeoBackupEnabled(geoBackupEnabled)
"A boolean that specifies if the Geo Backup Policy is enabled. Defaults to true."
fn spec.forProvider.withImport
withImport(Import)
"A Database Import block as documented below. Mutually exclusive with create_mode."
fn spec.forProvider.withImportMixin
withImportMixin(Import)
"A Database Import block as documented below. Mutually exclusive with create_mode."
Note: This function appends passed data to existing values
fn spec.forProvider.withLedgerEnabled
withLedgerEnabled(ledgerEnabled)
"A boolean that specifies if this is a ledger database. Defaults to false. Changing this forces a new resource to be created."
fn spec.forProvider.withLicenseType
withLicenseType(licenseType)
"Specifies the license type applied to this database. Possible values are LicenseIncluded and BasePrice."
fn spec.forProvider.withLongTermRetentionPolicy
withLongTermRetentionPolicy(longTermRetentionPolicy)
"A long_term_retention_policy block as defined below."
fn spec.forProvider.withLongTermRetentionPolicyMixin
withLongTermRetentionPolicyMixin(longTermRetentionPolicy)
"A long_term_retention_policy block as defined below."
Note: This function appends passed data to existing values
fn spec.forProvider.withMaintenanceConfigurationName
withMaintenanceConfigurationName(maintenanceConfigurationName)
"The name of the Public Maintenance Configuration window to apply to the database. Valid values include SQL_Default, SQL_EastUS_DB_1, SQL_EastUS2_DB_1, SQL_SoutheastAsia_DB_1, SQL_AustraliaEast_DB_1, SQL_NorthEurope_DB_1, SQL_SouthCentralUS_DB_1, SQL_WestUS2_DB_1, SQL_UKSouth_DB_1, SQL_WestEurope_DB_1, SQL_EastUS_DB_2, SQL_EastUS2_DB_2, SQL_WestUS2_DB_2, SQL_SoutheastAsia_DB_2, SQL_AustraliaEast_DB_2, SQL_NorthEurope_DB_2, SQL_SouthCentralUS_DB_2, SQL_UKSouth_DB_2, SQL_WestEurope_DB_2, SQL_AustraliaSoutheast_DB_1, SQL_BrazilSouth_DB_1, SQL_CanadaCentral_DB_1, SQL_CanadaEast_DB_1, SQL_CentralUS_DB_1, SQL_EastAsia_DB_1, SQL_FranceCentral_DB_1, SQL_GermanyWestCentral_DB_1, SQL_CentralIndia_DB_1, SQL_SouthIndia_DB_1, SQL_JapanEast_DB_1, SQL_JapanWest_DB_1, SQL_NorthCentralUS_DB_1, SQL_UKWest_DB_1, SQL_WestUS_DB_1, SQL_AustraliaSoutheast_DB_2, SQL_BrazilSouth_DB_2, SQL_CanadaCentral_DB_2, SQL_CanadaEast_DB_2, SQL_CentralUS_DB_2, SQL_EastAsia_DB_2, SQL_FranceCentral_DB_2, SQL_GermanyWestCentral_DB_2, SQL_CentralIndia_DB_2, SQL_SouthIndia_DB_2, SQL_JapanEast_DB_2, SQL_JapanWest_DB_2, SQL_NorthCentralUS_DB_2, SQL_UKWest_DB_2, SQL_WestUS_DB_2, SQL_WestCentralUS_DB_1, SQL_FranceSouth_DB_1, SQL_WestCentralUS_DB_2, SQL_FranceSouth_DB_2, SQL_SwitzerlandNorth_DB_1, SQL_SwitzerlandNorth_DB_2, SQL_BrazilSoutheast_DB_1, SQL_UAENorth_DB_1, SQL_BrazilSoutheast_DB_2, SQL_UAENorth_DB_2. Defaults to SQL_Default."
fn spec.forProvider.withMaxSizeGb
withMaxSizeGb(maxSizeGb)
"The max size of the database in gigabytes."
fn spec.forProvider.withMinCapacity
withMinCapacity(minCapacity)
"Minimal capacity that database will always have allocated, if not paused. This property is only settable for General Purpose Serverless databases."
fn spec.forProvider.withReadReplicaCount
withReadReplicaCount(readReplicaCount)
"The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases."
fn spec.forProvider.withReadScale
withReadScale(readScale)
"If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases."
fn spec.forProvider.withRecoverDatabaseId
withRecoverDatabaseId(recoverDatabaseId)
"The ID of the database to be recovered. This property is only applicable when the create_mode is Recovery."
fn spec.forProvider.withRestoreDroppedDatabaseId
withRestoreDroppedDatabaseId(restoreDroppedDatabaseId)
"The ID of the database to be restored. This property is only applicable when the create_mode is Restore."
fn spec.forProvider.withRestorePointInTime
withRestorePointInTime(restorePointInTime)
"Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for create_mode= PointInTimeRestore databases."
fn spec.forProvider.withSampleName
withSampleName(sampleName)
"Specifies the name of the sample schema to apply when creating this database. Possible value is AdventureWorksLT."
fn spec.forProvider.withServerId
withServerId(serverId)
"The id of the MS SQL Server on which to create the database. Changing this forces a new resource to be created."
fn spec.forProvider.withShortTermRetentionPolicy
withShortTermRetentionPolicy(shortTermRetentionPolicy)
"A short_term_retention_policy block as defined below."
fn spec.forProvider.withShortTermRetentionPolicyMixin
withShortTermRetentionPolicyMixin(shortTermRetentionPolicy)
"A short_term_retention_policy block as defined below."
Note: This function appends passed data to existing values
fn spec.forProvider.withSkuName
withSkuName(skuName)
"Specifies the name of the SKU used by the database. For example, GP_S_Gen5_2,HS_Gen4_1,BC_Gen5_2, ElasticPool, Basic,S0, P2 ,DW100c, DS100. Changing this from the HyperScale service tier to another service tier will create a new resource."
fn spec.forProvider.withStorageAccountType
withStorageAccountType(storageAccountType)
"Specifies the storage account type used to store backups for this database. Possible values are Geo, Local and Zone. The default value is Geo."
fn spec.forProvider.withTags
withTags(tags)
"A mapping of tags to assign to the resource."
fn spec.forProvider.withTagsMixin
withTagsMixin(tags)
"A mapping of tags to assign to the resource."
Note: This function appends passed data to existing values
fn spec.forProvider.withThreatDetectionPolicy
withThreatDetectionPolicy(threatDetectionPolicy)
"Threat detection policy configuration. The threat_detection_policy block supports fields documented below."
fn spec.forProvider.withThreatDetectionPolicyMixin
withThreatDetectionPolicyMixin(threatDetectionPolicy)
"Threat detection policy configuration. The threat_detection_policy block supports fields documented below."
Note: This function appends passed data to existing values
fn spec.forProvider.withTransparentDataEncryptionEnabled
withTransparentDataEncryptionEnabled(transparentDataEncryptionEnabled)
"If set to true, Transparent Data Encryption will be enabled on the database. Defaults to true."
fn spec.forProvider.withZoneRedundant
withZoneRedundant(zoneRedundant)
"Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases."
obj spec.forProvider.import
"A Database Import block as documented below. Mutually exclusive with create_mode."
fn spec.forProvider.import.withAdministratorLogin
withAdministratorLogin(administratorLogin)
"Specifies the name of the SQL administrator."
fn spec.forProvider.import.withAuthenticationType
withAuthenticationType(authenticationType)
"Specifies the type of authentication used to access the server. Valid values are SQL or ADPassword."
fn spec.forProvider.import.withStorageAccountId
withStorageAccountId(storageAccountId)
"The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for storage_uri parameter."
fn spec.forProvider.import.withStorageKeyType
withStorageKeyType(storageKeyType)
"Specifies the type of access key for the storage account. Valid values are StorageAccessKey or SharedAccessKey."
fn spec.forProvider.import.withStorageUri
withStorageUri(storageUri)
"Specifies the blob URI of the .bacpac file."
obj spec.forProvider.import.administratorLoginPasswordSecretRef
"Specifies the password of the SQL administrator."
fn spec.forProvider.import.administratorLoginPasswordSecretRef.withKey
withKey(key)
"The key to select."
fn spec.forProvider.import.administratorLoginPasswordSecretRef.withName
withName(name)
"Name of the secret."
fn spec.forProvider.import.administratorLoginPasswordSecretRef.withNamespace
withNamespace(namespace)
"Namespace of the secret."
obj spec.forProvider.import.storageKeySecretRef
"Specifies the access key for the storage account."
fn spec.forProvider.import.storageKeySecretRef.withKey
withKey(key)
"The key to select."
fn spec.forProvider.import.storageKeySecretRef.withName
withName(name)
"Name of the secret."
fn spec.forProvider.import.storageKeySecretRef.withNamespace
withNamespace(namespace)
"Namespace of the secret."
obj spec.forProvider.longTermRetentionPolicy
"A long_term_retention_policy block as defined below."
fn spec.forProvider.longTermRetentionPolicy.withMonthlyRetention
withMonthlyRetention(monthlyRetention)
"The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. P1Y, P1M, P4W or P30D."
fn spec.forProvider.longTermRetentionPolicy.withWeekOfYear
withWeekOfYear(weekOfYear)
"The week of year to take the yearly backup. Value has to be between 1 and 52."
fn spec.forProvider.longTermRetentionPolicy.withWeeklyRetention
withWeeklyRetention(weeklyRetention)
"The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. P1Y, P1M, P1W or P7D."
fn spec.forProvider.longTermRetentionPolicy.withYearlyRetention
withYearlyRetention(yearlyRetention)
"The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. P1Y, P12M, P52W or P365D."
obj spec.forProvider.serverIdRef
"Reference to a MSSQLServer to populate serverId."
fn spec.forProvider.serverIdRef.withName
withName(name)
"Name of the referenced object."
obj spec.forProvider.serverIdRef.policy
"Policies for referencing."
fn spec.forProvider.serverIdRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.serverIdRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.serverIdSelector
"Selector for a MSSQLServer to populate serverId."
fn spec.forProvider.serverIdSelector.withMatchControllerRef
withMatchControllerRef(matchControllerRef)
"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."
fn spec.forProvider.serverIdSelector.withMatchLabels
withMatchLabels(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
fn spec.forProvider.serverIdSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
Note: This function appends passed data to existing values
obj spec.forProvider.serverIdSelector.policy
"Policies for selection."
fn spec.forProvider.serverIdSelector.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.serverIdSelector.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.shortTermRetentionPolicy
"A short_term_retention_policy block as defined below."
fn spec.forProvider.shortTermRetentionPolicy.withBackupIntervalInHours
withBackupIntervalInHours(backupIntervalInHours)
"The hours between each differential backup. This is only applicable to live databases but not dropped databases. Value has to be 12 or 24. Defaults to 12 hours."
fn spec.forProvider.shortTermRetentionPolicy.withRetentionDays
withRetentionDays(retentionDays)
"Point In Time Restore configuration. Value has to be between 7 and 35."
obj spec.forProvider.threatDetectionPolicy
"Threat detection policy configuration. The threat_detection_policy block supports fields documented below."
fn spec.forProvider.threatDetectionPolicy.withDisabledAlerts
withDisabledAlerts(disabledAlerts)
"Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability."
fn spec.forProvider.threatDetectionPolicy.withDisabledAlertsMixin
withDisabledAlertsMixin(disabledAlerts)
"Specifies a list of alerts which should be disabled. Possible values include Access_Anomaly, Sql_Injection and Sql_Injection_Vulnerability."
Note: This function appends passed data to existing values
fn spec.forProvider.threatDetectionPolicy.withEmailAccountAdmins
withEmailAccountAdmins(emailAccountAdmins)
"Should the account administrators be emailed when this alert is triggered? Possible values are Disabled and Enabled."
fn spec.forProvider.threatDetectionPolicy.withEmailAddresses
withEmailAddresses(emailAddresses)
"A list of email addresses which alerts should be sent to."
fn spec.forProvider.threatDetectionPolicy.withEmailAddressesMixin
withEmailAddressesMixin(emailAddresses)
"A list of email addresses which alerts should be sent to."
Note: This function appends passed data to existing values
fn spec.forProvider.threatDetectionPolicy.withRetentionDays
withRetentionDays(retentionDays)
"Specifies the number of days to keep in the Threat Detection audit logs."
fn spec.forProvider.threatDetectionPolicy.withState
withState(state)
"The State of the Policy. Possible values are Enabled, Disabled or New."
fn spec.forProvider.threatDetectionPolicy.withStorageEndpoint
withStorageEndpoint(storageEndpoint)
"Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if state is Enabled."
obj spec.forProvider.threatDetectionPolicy.storageAccountAccessKeySecretRef
"Specifies the identifier key of the Threat Detection audit storage account. Required if state is Enabled."
fn spec.forProvider.threatDetectionPolicy.storageAccountAccessKeySecretRef.withKey
withKey(key)
"The key to select."
fn spec.forProvider.threatDetectionPolicy.storageAccountAccessKeySecretRef.withName
withName(name)
"Name of the secret."
fn spec.forProvider.threatDetectionPolicy.storageAccountAccessKeySecretRef.withNamespace
withNamespace(namespace)
"Namespace of the secret."
obj spec.providerConfigRef
"ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured."
fn spec.providerConfigRef.withName
withName(name)
"Name of the referenced object."
obj spec.providerConfigRef.policy
"Policies for referencing."
fn spec.providerConfigRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.providerConfigRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.providerRef
"ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
"
fn spec.providerRef.withName
withName(name)
"Name of the referenced object."
obj spec.providerRef.policy
"Policies for referencing."
fn spec.providerRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.providerRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.publishConnectionDetailsTo
"PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource."
fn spec.publishConnectionDetailsTo.withName
withName(name)
"Name is the name of the connection secret."
obj spec.publishConnectionDetailsTo.configRef
"SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret."
fn spec.publishConnectionDetailsTo.configRef.withName
withName(name)
"Name of the referenced object."
obj spec.publishConnectionDetailsTo.configRef.policy
"Policies for referencing."
fn spec.publishConnectionDetailsTo.configRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.publishConnectionDetailsTo.configRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.publishConnectionDetailsTo.metadata
"Metadata is the metadata for connection secret."
fn spec.publishConnectionDetailsTo.metadata.withAnnotations
withAnnotations(annotations)
"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."
fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."
Note: This function appends passed data to existing values
fn spec.publishConnectionDetailsTo.metadata.withLabels
withLabels(labels)
"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."
fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."
Note: This function appends passed data to existing values
fn spec.publishConnectionDetailsTo.metadata.withType
withType(type)
"Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores."
obj spec.writeConnectionSecretToRef
"WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other."
fn spec.writeConnectionSecretToRef.withName
withName(name)
"Name of the secret."
fn spec.writeConnectionSecretToRef.withNamespace
withNamespace(namespace)
"Namespace of the secret."