config

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessKey

func GetAccessKey(ctx *pulumi.Context) string

The access key of the HuaweiCloud to use.

func GetAgencyDomainName

func GetAgencyDomainName(ctx *pulumi.Context) string

The name of domain who created the agency (Identity v3).

func GetAgencyName

func GetAgencyName(ctx *pulumi.Context) string

The name of agency

func GetAssumeRole

func GetAssumeRole(ctx *pulumi.Context) string

func GetAuthUrl

func GetAuthUrl(ctx *pulumi.Context) string

The Identity authentication URL.

func GetCacertFile

func GetCacertFile(ctx *pulumi.Context) string

A Custom CA certificate.

func GetCert

func GetCert(ctx *pulumi.Context) string

A client certificate to authenticate with.

func GetCloud

func GetCloud(ctx *pulumi.Context) string

The endpoint of cloud provider, defaults to myhuaweicloud.com

func GetDelegatedProject

func GetDelegatedProject(ctx *pulumi.Context) string

The name of delegated project (Identity v3).

func GetDomainId

func GetDomainId(ctx *pulumi.Context) string

The ID of the Domain to scope to.

func GetDomainName

func GetDomainName(ctx *pulumi.Context) string

The name of the Domain to scope to.

func GetEndpoints

func GetEndpoints(ctx *pulumi.Context) string

The custom endpoints used to override the default endpoint URL.

func GetEnterpriseProjectId

func GetEnterpriseProjectId(ctx *pulumi.Context) string

enterprise project id

func GetInsecure

func GetInsecure(ctx *pulumi.Context) bool

Trust self-signed certificates.

func GetKey

func GetKey(ctx *pulumi.Context) string

A client private key to authenticate with.

func GetMaxRetries

func GetMaxRetries(ctx *pulumi.Context) int

How many times HTTP connection should be retried until giving up.

func GetPassword

func GetPassword(ctx *pulumi.Context) string

Password to login with.

func GetProfile

func GetProfile(ctx *pulumi.Context) string

The profile name as set in the shared config file.

func GetProjectId

func GetProjectId(ctx *pulumi.Context) string

The ID of the project to login with.

func GetProjectName

func GetProjectName(ctx *pulumi.Context) string

The name of the project to login with.

func GetRegion

func GetRegion(ctx *pulumi.Context) string

The HuaweiCloud region to connect to.

func GetRegional added in v0.0.8

func GetRegional(ctx *pulumi.Context) bool

Whether the service endpoints are regional

func GetSecretKey

func GetSecretKey(ctx *pulumi.Context) string

The secret key of the HuaweiCloud to use.

func GetSecurityToken

func GetSecurityToken(ctx *pulumi.Context) string

The security token to authenticate with a temporary security credential.

func GetSharedConfigFile

func GetSharedConfigFile(ctx *pulumi.Context) string

The path to the shared config file. If not set, the default is ~/.hcloud/config.json.

func GetTenantId

func GetTenantId(ctx *pulumi.Context) string

The ID of the Tenant (Identity v2) to login with.

func GetTenantName

func GetTenantName(ctx *pulumi.Context) string

The name of the Tenant (Identity v2) to login with.

func GetToken

func GetToken(ctx *pulumi.Context) string

Authentication token to use as an alternative to username/password.

func GetUserId

func GetUserId(ctx *pulumi.Context) string

User ID to login with.

func GetUserName

func GetUserName(ctx *pulumi.Context) string

Username to login with.

Types

type AssumeRole

type AssumeRole struct {
	AgencyName string `pulumi:"agencyName"`
	DomainName string `pulumi:"domainName"`
}

type AssumeRoleArgs

type AssumeRoleArgs struct {
	AgencyName pulumi.StringInput `pulumi:"agencyName"`
	DomainName pulumi.StringInput `pulumi:"domainName"`
}

func (AssumeRoleArgs) ElementType

func (AssumeRoleArgs) ElementType() reflect.Type

func (AssumeRoleArgs) ToAssumeRoleOutput

func (i AssumeRoleArgs) ToAssumeRoleOutput() AssumeRoleOutput

func (AssumeRoleArgs) ToAssumeRoleOutputWithContext

func (i AssumeRoleArgs) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput

type AssumeRoleInput

type AssumeRoleInput interface {
	pulumi.Input

	ToAssumeRoleOutput() AssumeRoleOutput
	ToAssumeRoleOutputWithContext(context.Context) AssumeRoleOutput
}

AssumeRoleInput is an input type that accepts AssumeRoleArgs and AssumeRoleOutput values. You can construct a concrete instance of `AssumeRoleInput` via:

AssumeRoleArgs{...}

type AssumeRoleOutput

type AssumeRoleOutput struct{ *pulumi.OutputState }

func (AssumeRoleOutput) AgencyName

func (o AssumeRoleOutput) AgencyName() pulumi.StringOutput

func (AssumeRoleOutput) DomainName

func (o AssumeRoleOutput) DomainName() pulumi.StringOutput

func (AssumeRoleOutput) ElementType

func (AssumeRoleOutput) ElementType() reflect.Type

func (AssumeRoleOutput) ToAssumeRoleOutput

func (o AssumeRoleOutput) ToAssumeRoleOutput() AssumeRoleOutput

func (AssumeRoleOutput) ToAssumeRoleOutputWithContext

func (o AssumeRoleOutput) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput

Jump to

Keyboard shortcuts

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