@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 15.9 kB
TypeScript
export declare const ActiveDirectoryAuth: {
readonly Enabled: "enabled";
readonly Disabled: "disabled";
};
export type ActiveDirectoryAuth = (typeof ActiveDirectoryAuth)[keyof typeof ActiveDirectoryAuth];
export declare const ActiveDirectoryAuthEnum: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Indicates if the server supports Microsoft Entra authentication.
*/
export type ActiveDirectoryAuthEnum = (typeof ActiveDirectoryAuthEnum)[keyof typeof ActiveDirectoryAuthEnum];
export declare const AdministratorType: {
readonly ActiveDirectory: "ActiveDirectory";
};
/**
* The type of administrator.
*/
export type AdministratorType = (typeof AdministratorType)[keyof typeof AdministratorType];
export declare const ArmServerKeyType: {
readonly SystemManaged: "SystemManaged";
readonly AzureKeyVault: "AzureKeyVault";
};
/**
* Data encryption type used by a flexible server.
*/
export type ArmServerKeyType = (typeof ArmServerKeyType)[keyof typeof ArmServerKeyType];
export declare const AzureManagedDiskPerformanceTiers: {
readonly P1: "P1";
readonly P2: "P2";
readonly P3: "P3";
readonly P4: "P4";
readonly P6: "P6";
readonly P10: "P10";
readonly P15: "P15";
readonly P20: "P20";
readonly P30: "P30";
readonly P40: "P40";
readonly P50: "P50";
readonly P60: "P60";
readonly P70: "P70";
readonly P80: "P80";
};
/**
* Storage tier of a flexible server.
*/
export type AzureManagedDiskPerformanceTiers = (typeof AzureManagedDiskPerformanceTiers)[keyof typeof AzureManagedDiskPerformanceTiers];
export declare const CancelEnum: {
readonly True: "True";
readonly False: "False";
};
/**
* Indicates if cancel must be triggered for the entire migration.
*/
export type CancelEnum = (typeof CancelEnum)[keyof typeof CancelEnum];
export declare const CreateMode: {
readonly Default: "Default";
readonly Create: "Create";
readonly Update: "Update";
readonly PointInTimeRestore: "PointInTimeRestore";
readonly GeoRestore: "GeoRestore";
readonly Replica: "Replica";
readonly ReviveDropped: "ReviveDropped";
};
/**
* Creation mode of a new flexible server.
*/
export type CreateMode = (typeof CreateMode)[keyof typeof CreateMode];
export declare const DataEncryptionType: {
readonly AzureKeyVault: "AzureKeyVault";
readonly SystemAssigned: "SystemAssigned";
};
export type DataEncryptionType = (typeof DataEncryptionType)[keyof typeof DataEncryptionType];
export declare const GeoRedundantBackup: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Enable Geo-redundant or not for server backup.
*/
export type GeoRedundantBackup = (typeof GeoRedundantBackup)[keyof typeof GeoRedundantBackup];
export declare const GeoRedundantBackupEnum: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Indicates if the server is configured to create geographically redundant backups.
*/
export type GeoRedundantBackupEnum = (typeof GeoRedundantBackupEnum)[keyof typeof GeoRedundantBackupEnum];
export declare const HighAvailabilityMode: {
readonly Disabled: "Disabled";
readonly ZoneRedundant: "ZoneRedundant";
readonly SameZone: "SameZone";
};
/**
* High availability mode for a flexible server.
*/
export type HighAvailabilityMode = (typeof HighAvailabilityMode)[keyof typeof HighAvailabilityMode];
export declare const IdentityType: {
readonly UserAssigned: "UserAssigned";
readonly SystemAssigned: "SystemAssigned";
};
export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
export declare const InfrastructureEncryption: {
/**
* Default value for single layer of encryption for data at rest.
*/
readonly Enabled: "Enabled";
/**
* Additional (2nd) layer of encryption for data at rest
*/
readonly Disabled: "Disabled";
};
/**
* Status showing whether the server enabled infrastructure encryption.
*/
export type InfrastructureEncryption = (typeof InfrastructureEncryption)[keyof typeof InfrastructureEncryption];
export declare const KeyStatusEnum: {
readonly Valid: "Valid";
readonly Invalid: "Invalid";
};
/**
* Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
*/
export type KeyStatusEnum = (typeof KeyStatusEnum)[keyof typeof KeyStatusEnum];
export declare const LogicalReplicationOnSourceDbEnum: {
readonly True: "True";
readonly False: "False";
};
/**
* Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
*/
export type LogicalReplicationOnSourceDbEnum = (typeof LogicalReplicationOnSourceDbEnum)[keyof typeof LogicalReplicationOnSourceDbEnum];
export declare const MigrateRolesEnum: {
readonly True: "True";
readonly False: "False";
};
/**
* Indicates if roles and permissions must be migrated.
*/
export type MigrateRolesEnum = (typeof MigrateRolesEnum)[keyof typeof MigrateRolesEnum];
export declare const MigrationMode: {
readonly Offline: "Offline";
readonly Online: "Online";
};
/**
* Mode used to perform the migration: Online or Offline.
*/
export type MigrationMode = (typeof MigrationMode)[keyof typeof MigrationMode];
export declare const MigrationOption: {
readonly Validate: "Validate";
readonly Migrate: "Migrate";
readonly ValidateAndMigrate: "ValidateAndMigrate";
};
/**
* Supported option for a migration.
*/
export type MigrationOption = (typeof MigrationOption)[keyof typeof MigrationOption];
export declare const MinimalTlsVersionEnum: {
readonly TLS1_0: "TLS1_0";
readonly TLS1_1: "TLS1_1";
readonly TLS1_2: "TLS1_2";
readonly TLSEnforcementDisabled: "TLSEnforcementDisabled";
};
/**
* Enforce a minimal Tls version for the server.
*/
export type MinimalTlsVersionEnum = (typeof MinimalTlsVersionEnum)[keyof typeof MinimalTlsVersionEnum];
export declare const OverwriteDbsInTargetEnum: {
readonly True: "True";
readonly False: "False";
};
/**
* Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
*/
export type OverwriteDbsInTargetEnum = (typeof OverwriteDbsInTargetEnum)[keyof typeof OverwriteDbsInTargetEnum];
export declare const PasswordAuth: {
readonly Enabled: "enabled";
readonly Disabled: "disabled";
};
export type PasswordAuth = (typeof PasswordAuth)[keyof typeof PasswordAuth];
export declare const PasswordAuthEnum: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Indicates if the server supports password based authentication.
*/
export type PasswordAuthEnum = (typeof PasswordAuthEnum)[keyof typeof PasswordAuthEnum];
export declare const PrincipalType: {
readonly User: "user";
readonly ServicePrincipal: "servicePrincipal";
readonly Group: "group";
};
export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
export declare const PrivateEndpointServiceConnectionStatus: {
readonly Pending: "Pending";
readonly Approved: "Approved";
readonly Rejected: "Rejected";
};
/**
* Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
*/
export type PrivateEndpointServiceConnectionStatus = (typeof PrivateEndpointServiceConnectionStatus)[keyof typeof PrivateEndpointServiceConnectionStatus];
export declare const PublicNetworkAccessEnum: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
*/
export type PublicNetworkAccessEnum = (typeof PublicNetworkAccessEnum)[keyof typeof PublicNetworkAccessEnum];
export declare const ReadReplicaPromoteMode: {
readonly Standalone: "standalone";
readonly Switchover: "switchover";
};
/**
* Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server.
*/
export type ReadReplicaPromoteMode = (typeof ReadReplicaPromoteMode)[keyof typeof ReadReplicaPromoteMode];
export declare const ReplicationPromoteOption: {
readonly Planned: "planned";
readonly Forced: "forced";
};
/**
* Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
*/
export type ReplicationPromoteOption = (typeof ReplicationPromoteOption)[keyof typeof ReplicationPromoteOption];
export declare const ReplicationRole: {
readonly None: "None";
readonly Primary: "Primary";
readonly AsyncReplica: "AsyncReplica";
readonly GeoAsyncReplica: "GeoAsyncReplica";
};
/**
* Role of the server in a replication set.
*/
export type ReplicationRole = (typeof ReplicationRole)[keyof typeof ReplicationRole];
export declare const RoleType: {
readonly User: "user";
readonly Admin: "admin";
};
export type RoleType = (typeof RoleType)[keyof typeof RoleType];
export declare const ServerPublicNetworkAccessState: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Indicates if public network access is enabled or not.
*/
export type ServerPublicNetworkAccessState = (typeof ServerPublicNetworkAccessState)[keyof typeof ServerPublicNetworkAccessState];
export declare const ServerSecurityAlertPolicyState: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Specifies the state of the policy, whether it is enabled or disabled.
*/
export type ServerSecurityAlertPolicyState = (typeof ServerSecurityAlertPolicyState)[keyof typeof ServerSecurityAlertPolicyState];
export declare const ServerVersion: {
readonly ServerVersion_16: "16";
readonly ServerVersion_15: "15";
readonly ServerVersion_14: "14";
readonly ServerVersion_13: "13";
readonly ServerVersion_12: "12";
readonly ServerVersion_11: "11";
};
/**
* Major version of PostgreSQL database engine.
*/
export type ServerVersion = (typeof ServerVersion)[keyof typeof ServerVersion];
export declare const SingleServerCreateMode: {
readonly Default: "Default";
readonly PointInTimeRestore: "PointInTimeRestore";
readonly GeoRestore: "GeoRestore";
readonly Replica: "Replica";
};
/**
* The mode to create a new server.
*/
export type SingleServerCreateMode = (typeof SingleServerCreateMode)[keyof typeof SingleServerCreateMode];
export declare const SingleServerIdentityProperties: {
readonly SystemAssigned: "SystemAssigned";
};
/**
* The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
*/
export type SingleServerIdentityProperties = (typeof SingleServerIdentityProperties)[keyof typeof SingleServerIdentityProperties];
export declare const SingleServerSkuTier: {
readonly Basic: "Basic";
readonly GeneralPurpose: "GeneralPurpose";
readonly MemoryOptimized: "MemoryOptimized";
};
/**
* The tier of the particular SKU, e.g. Basic.
*/
export type SingleServerSkuTier = (typeof SingleServerSkuTier)[keyof typeof SingleServerSkuTier];
export declare const SingleServerVersion: {
readonly SingleServerVersion_9_5: "9.5";
readonly SingleServerVersion_9_6: "9.6";
readonly SingleServerVersion_10: "10";
readonly SingleServerVersion_10_0: "10.0";
readonly SingleServerVersion_10_2: "10.2";
readonly SingleServerVersion_11: "11";
};
/**
* Server version.
*/
export type SingleServerVersion = (typeof SingleServerVersion)[keyof typeof SingleServerVersion];
export declare const SkuTier: {
readonly Burstable: "Burstable";
readonly GeneralPurpose: "GeneralPurpose";
readonly MemoryOptimized: "MemoryOptimized";
};
/**
* Tier of the compute assigned to a flexible server.
*/
export type SkuTier = (typeof SkuTier)[keyof typeof SkuTier];
export declare const SourceType: {
readonly OnPremises: "OnPremises";
readonly AWS: "AWS";
readonly GCP: "GCP";
readonly AzureVM: "AzureVM";
readonly PostgreSQLSingleServer: "PostgreSQLSingleServer";
readonly AWS_RDS: "AWS_RDS";
readonly AWS_AURORA: "AWS_AURORA";
readonly AWS_EC2: "AWS_EC2";
readonly GCP_CloudSQL: "GCP_CloudSQL";
readonly GCP_AlloyDB: "GCP_AlloyDB";
readonly GCP_Compute: "GCP_Compute";
readonly EDB: "EDB";
};
/**
* Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
*/
export type SourceType = (typeof SourceType)[keyof typeof SourceType];
export declare const SslEnforcementEnum: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Enable ssl enforcement or not when connect to server.
*/
export type SslEnforcementEnum = (typeof SslEnforcementEnum)[keyof typeof SslEnforcementEnum];
export declare const SslMode: {
readonly Prefer: "Prefer";
readonly Require: "Require";
readonly VerifyCA: "VerifyCA";
readonly VerifyFull: "VerifyFull";
};
/**
* SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
*/
export type SslMode = (typeof SslMode)[keyof typeof SslMode];
export declare const StartDataMigrationEnum: {
readonly True: "True";
readonly False: "False";
};
/**
* Indicates if data migration must start right away.
*/
export type StartDataMigrationEnum = (typeof StartDataMigrationEnum)[keyof typeof StartDataMigrationEnum];
export declare const StorageAutoGrow: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
*/
export type StorageAutoGrow = (typeof StorageAutoGrow)[keyof typeof StorageAutoGrow];
export declare const StorageAutogrow: {
readonly Enabled: "Enabled";
readonly Disabled: "Disabled";
};
/**
* Enable Storage Auto Grow.
*/
export type StorageAutogrow = (typeof StorageAutogrow)[keyof typeof StorageAutogrow];
export declare const StorageType: {
readonly Premium_LRS: "Premium_LRS";
readonly PremiumV2_LRS: "PremiumV2_LRS";
};
/**
* Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
*/
export type StorageType = (typeof StorageType)[keyof typeof StorageType];
export declare const TriggerCutoverEnum: {
readonly True: "True";
readonly False: "False";
};
/**
* Indicates if cutover must be triggered for the entire migration.
*/
export type TriggerCutoverEnum = (typeof TriggerCutoverEnum)[keyof typeof TriggerCutoverEnum];
export declare const VirtualEndpointType: {
readonly ReadWrite: "ReadWrite";
};
/**
* Type of endpoint for the virtual endpoints.
*/
export type VirtualEndpointType = (typeof VirtualEndpointType)[keyof typeof VirtualEndpointType];