config

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAzureAuth

func GetAzureAuth(ctx *pulumi.Context) string

When provided, Azure AD authentication will be used when connecting.

func GetHostname

func GetHostname(ctx *pulumi.Context) string

FQDN or IP address of the SQL endpoint. Can be also set using `MSSQL_HOSTNAME` environment variable.

func GetPort

func GetPort(ctx *pulumi.Context) int

TCP port of SQL endpoint. Defaults to `1433`. Can be also set using `MSSQL_PORT` environment variable.

func GetSqlAuth

func GetSqlAuth(ctx *pulumi.Context) string

When provided, SQL authentication will be used when connecting.

Types

type AzureAuth

type AzureAuth struct {
	ClientId     *string `pulumi:"clientId"`
	ClientSecret *string `pulumi:"clientSecret"`
	TenantId     *string `pulumi:"tenantId"`
}

type AzureAuthArgs

type AzureAuthArgs struct {
	ClientId     pulumi.StringPtrInput `pulumi:"clientId"`
	ClientSecret pulumi.StringPtrInput `pulumi:"clientSecret"`
	TenantId     pulumi.StringPtrInput `pulumi:"tenantId"`
}

func (AzureAuthArgs) ElementType

func (AzureAuthArgs) ElementType() reflect.Type

func (AzureAuthArgs) ToAzureAuthOutput

func (i AzureAuthArgs) ToAzureAuthOutput() AzureAuthOutput

func (AzureAuthArgs) ToAzureAuthOutputWithContext

func (i AzureAuthArgs) ToAzureAuthOutputWithContext(ctx context.Context) AzureAuthOutput

func (AzureAuthArgs) ToOutput added in v0.0.8

type AzureAuthInput

type AzureAuthInput interface {
	pulumi.Input

	ToAzureAuthOutput() AzureAuthOutput
	ToAzureAuthOutputWithContext(context.Context) AzureAuthOutput
}

AzureAuthInput is an input type that accepts AzureAuthArgs and AzureAuthOutput values. You can construct a concrete instance of `AzureAuthInput` via:

AzureAuthArgs{...}

type AzureAuthOutput

type AzureAuthOutput struct{ *pulumi.OutputState }

func (AzureAuthOutput) ClientId

func (o AzureAuthOutput) ClientId() pulumi.StringPtrOutput

func (AzureAuthOutput) ClientSecret

func (o AzureAuthOutput) ClientSecret() pulumi.StringPtrOutput

func (AzureAuthOutput) ElementType

func (AzureAuthOutput) ElementType() reflect.Type

func (AzureAuthOutput) TenantId

func (o AzureAuthOutput) TenantId() pulumi.StringPtrOutput

func (AzureAuthOutput) ToAzureAuthOutput

func (o AzureAuthOutput) ToAzureAuthOutput() AzureAuthOutput

func (AzureAuthOutput) ToAzureAuthOutputWithContext

func (o AzureAuthOutput) ToAzureAuthOutputWithContext(ctx context.Context) AzureAuthOutput

func (AzureAuthOutput) ToOutput added in v0.0.8

type SqlAuth

type SqlAuth struct {
	Password string `pulumi:"password"`
	Username string `pulumi:"username"`
}

type SqlAuthArgs

type SqlAuthArgs struct {
	Password pulumi.StringInput `pulumi:"password"`
	Username pulumi.StringInput `pulumi:"username"`
}

func (SqlAuthArgs) ElementType

func (SqlAuthArgs) ElementType() reflect.Type

func (SqlAuthArgs) ToOutput added in v0.0.8

func (i SqlAuthArgs) ToOutput(ctx context.Context) pulumix.Output[SqlAuth]

func (SqlAuthArgs) ToSqlAuthOutput

func (i SqlAuthArgs) ToSqlAuthOutput() SqlAuthOutput

func (SqlAuthArgs) ToSqlAuthOutputWithContext

func (i SqlAuthArgs) ToSqlAuthOutputWithContext(ctx context.Context) SqlAuthOutput

type SqlAuthInput

type SqlAuthInput interface {
	pulumi.Input

	ToSqlAuthOutput() SqlAuthOutput
	ToSqlAuthOutputWithContext(context.Context) SqlAuthOutput
}

SqlAuthInput is an input type that accepts SqlAuthArgs and SqlAuthOutput values. You can construct a concrete instance of `SqlAuthInput` via:

SqlAuthArgs{...}

type SqlAuthOutput

type SqlAuthOutput struct{ *pulumi.OutputState }

func (SqlAuthOutput) ElementType

func (SqlAuthOutput) ElementType() reflect.Type

func (SqlAuthOutput) Password

func (o SqlAuthOutput) Password() pulumi.StringOutput

func (SqlAuthOutput) ToOutput added in v0.0.8

func (SqlAuthOutput) ToSqlAuthOutput

func (o SqlAuthOutput) ToSqlAuthOutput() SqlAuthOutput

func (SqlAuthOutput) ToSqlAuthOutputWithContext

func (o SqlAuthOutput) ToSqlAuthOutputWithContext(ctx context.Context) SqlAuthOutput

func (SqlAuthOutput) Username

func (o SqlAuthOutput) Username() pulumi.StringOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL