AzurePostgresFlexibleServerResource
type AzurePostgresFlexibleServerResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithEndpoints}Methods
AddDatabase( name string, options ...*AddDatabaseOptions,) AzurePostgresFlexibleServerDatabaseResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.options...*AddDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddDatabaseOptions argument.
DatabaseName *stringThe name of the database. If not provided, this defaults to the same value as name.Returns
AzurePostgresFlexibleServerDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().
RunAsContainer(options ...*RunAsContainerOptions) AzurePostgresFlexibleServerResourceParameters
options...*RunAsContainerOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*RunAsContainerOptions argument.
ConfigureContainer func(obj PostgresServerResource) callbackCallback that exposes underlying container to allow for customization.Returns
AzurePostgresFlexibleServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithPasswordAuthentication(options ...*WithPasswordAuthenticationOptions) AzurePostgresFlexibleServerResourceParameters
options...*WithPasswordAuthenticationOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPasswordAuthenticationOptions argument.
KeyVaultBuilder *AzureKeyVaultResource UserName *ParameterResource Password*ParameterResource Returns
AzurePostgresFlexibleServerResource Returns a handle; failures surface later via Err().