Show / Hide Table of Contents

Class ServerState

Inheritance
System.Object
InputArgs
ResourceArgs
ServerState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.PostgreSql
Assembly: Pulumi.Azure.dll
Syntax
public sealed class ServerState : ResourceArgs

Constructors

View Source

ServerState()

Declaration
public ServerState()

Properties

View Source

AdministratorLogin

The Administrator Login for the PostgreSQL Server. Required when create_mode is Default. Changing this forces a new resource to be created.

Declaration
public Input<string> AdministratorLogin { get; set; }
Property Value
Type Description
Input<System.String>
View Source

AdministratorLoginPassword

The Password associated with the administrator_login for the PostgreSQL Server. Required when create_mode is Default.

Declaration
public Input<string> AdministratorLoginPassword { get; set; }
Property Value
Type Description
Input<System.String>
View Source

AutoGrowEnabled

Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. The default value if not explicitly specified is true.

Declaration
public Input<bool> AutoGrowEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

BackupRetentionDays

Backup retention days for the server, supported values are between 7 and 35 days.

Declaration
public Input<int> BackupRetentionDays { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

CreateMode

The creation mode. Can be used to restore or replicate existing servers. Possible values are Default, Replica, GeoRestore, and PointInTimeRestore. Defaults to Default.

Declaration
public Input<string> CreateMode { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CreationSourceServerId

For creation modes other then default the source server ID to use.

Declaration
public Input<string> CreationSourceServerId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Fqdn

The FQDN of the PostgreSQL Server.

Declaration
public Input<string> Fqdn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

GeoRedundantBackupEnabled

Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not support for the Basic tier.

Declaration
public Input<bool> GeoRedundantBackupEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

InfrastructureEncryptionEnabled

Whether or not infrastructure is encrypted for this server. Defaults to false. Changing this forces a new resource to be created.

Declaration
public Input<bool> InfrastructureEncryptionEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Declaration
public Input<string> Location { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

Specifies the name of the PostgreSQL Server. Changing this forces a new resource to be created.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PublicNetworkAccessEnabled

Whether or not public network access is allowed for this server. Defaults to true.

Declaration
public Input<bool> PublicNetworkAccessEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

ResourceGroupName

The name of the resource group in which to create the PostgreSQL Server. Changing this forces a new resource to be created.

Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RestorePointInTime

When create_mode is PointInTimeRestore the point in time to restore from creation_source_server_id.

Declaration
public Input<string> RestorePointInTime { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SkuName

Specifies the SKU Name for this PostgreSQL Server. The name of the SKU, follows the tier + family + cores pattern (e.g. B_Gen4_1, GP_Gen5_8). For more information see the product documentation.

Declaration
public Input<string> SkuName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SslEnforcement

Declaration
public Input<string> SslEnforcement { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SslEnforcementEnabled

Specifies if SSL should be enforced on connections. Possible values are true and false.

Declaration
public Input<bool> SslEnforcementEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

SslMinimalTlsVersionEnforced

The mimimun TLS version to support on the sever. Possible values are TLSEnforcementDisabled, TLS1_0, TLS1_1, and TLS1_2. Defaults to TLSEnforcementDisabled.

Declaration
public Input<string> SslMinimalTlsVersionEnforced { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StorageMb

Max storage allowed for a server. Possible values are between 5120 MB(5GB) and 1048576 MB(1TB) for the Basic SKU and between 5120 MB(5GB) and 4194304 MB(4TB) for General Purpose/Memory Optimized SKUs. For more information see the product documentation.

Declaration
public Input<int> StorageMb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

StorageProfile

Declaration
public Input<ServerStorageProfileGetArgs> StorageProfile { get; set; }
Property Value
Type Description
Input<ServerStorageProfileGetArgs>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

ThreatDetectionPolicy

Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.

Declaration
public Input<ServerThreatDetectionPolicyGetArgs> ThreatDetectionPolicy { get; set; }
Property Value
Type Description
Input<ServerThreatDetectionPolicyGetArgs>
View Source

Version

Specifies the version of PostgreSQL to use. Valid values are 9.5, 9.6, 10, 10.0, and 11. Changing this forces a new resource to be created.

Declaration
public Input<string> Version { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.