tcr

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Indicate to delete the COS bucket which is auto-created with the instance or not.
	DeleteBucket pulumi.BoolPtrOutput `pulumi:"deleteBucket"`
	// TCR types. Valid values are: `standard`, `basic`, `premium`.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Internal address for access of the TCR instance.
	InternalEndPoint pulumi.StringOutput `pulumi:"internalEndPoint"`
	// Name of the TCR instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// Control public network access.
	OpenPublicOperation pulumi.BoolPtrOutput `pulumi:"openPublicOperation"`
	// Public address for access of the TCR instance.
	PublicDomain pulumi.StringOutput `pulumi:"publicDomain"`
	// Status of the TCR instance public network access.
	PublicStatus pulumi.StringOutput `pulumi:"publicStatus"`
	// Public network access allowlist policies of the TCR instance. Only available when `open_public_operation` is `true`.
	SecurityPolicies InstanceSecurityPolicyArrayOutput `pulumi:"securityPolicies"`
	// Status of the TCR instance.
	Status pulumi.StringOutput `pulumi:"status"`
	// The available tags within this TCR instance.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// Indicate to delete the COS bucket which is auto-created with the instance or not.
	DeleteBucket pulumi.BoolPtrInput
	// TCR types. Valid values are: `standard`, `basic`, `premium`.
	InstanceType pulumi.StringInput
	// Name of the TCR instance.
	Name pulumi.StringPtrInput
	// Control public network access.
	OpenPublicOperation pulumi.BoolPtrInput
	// Public network access allowlist policies of the TCR instance. Only available when `open_public_operation` is `true`.
	SecurityPolicies InstanceSecurityPolicyArrayInput
	// The available tags within this TCR instance.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) DeleteBucket

func (o InstanceOutput) DeleteBucket() pulumi.BoolPtrOutput

Indicate to delete the COS bucket which is auto-created with the instance or not.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) InstanceType

func (o InstanceOutput) InstanceType() pulumi.StringOutput

TCR types. Valid values are: `standard`, `basic`, `premium`.

func (InstanceOutput) InternalEndPoint

func (o InstanceOutput) InternalEndPoint() pulumi.StringOutput

Internal address for access of the TCR instance.

func (InstanceOutput) Name

Name of the TCR instance.

func (InstanceOutput) OpenPublicOperation

func (o InstanceOutput) OpenPublicOperation() pulumi.BoolPtrOutput

Control public network access.

func (InstanceOutput) PublicDomain

func (o InstanceOutput) PublicDomain() pulumi.StringOutput

Public address for access of the TCR instance.

func (InstanceOutput) PublicStatus

func (o InstanceOutput) PublicStatus() pulumi.StringOutput

Status of the TCR instance public network access.

func (InstanceOutput) SecurityPolicies

Public network access allowlist policies of the TCR instance. Only available when `open_public_operation` is `true`.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

Status of the TCR instance.

func (InstanceOutput) Tags

func (o InstanceOutput) Tags() pulumi.MapOutput

The available tags within this TCR instance.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceSecurityPolicy

type InstanceSecurityPolicy struct {
	CidrBlock   *string `pulumi:"cidrBlock"`
	Description *string `pulumi:"description"`
	Index       *int    `pulumi:"index"`
	Version     *string `pulumi:"version"`
}

type InstanceSecurityPolicyArgs

type InstanceSecurityPolicyArgs struct {
	CidrBlock   pulumi.StringPtrInput `pulumi:"cidrBlock"`
	Description pulumi.StringPtrInput `pulumi:"description"`
	Index       pulumi.IntPtrInput    `pulumi:"index"`
	Version     pulumi.StringPtrInput `pulumi:"version"`
}

func (InstanceSecurityPolicyArgs) ElementType

func (InstanceSecurityPolicyArgs) ElementType() reflect.Type

func (InstanceSecurityPolicyArgs) ToInstanceSecurityPolicyOutput

func (i InstanceSecurityPolicyArgs) ToInstanceSecurityPolicyOutput() InstanceSecurityPolicyOutput

func (InstanceSecurityPolicyArgs) ToInstanceSecurityPolicyOutputWithContext

func (i InstanceSecurityPolicyArgs) ToInstanceSecurityPolicyOutputWithContext(ctx context.Context) InstanceSecurityPolicyOutput

type InstanceSecurityPolicyArray

type InstanceSecurityPolicyArray []InstanceSecurityPolicyInput

func (InstanceSecurityPolicyArray) ElementType

func (InstanceSecurityPolicyArray) ToInstanceSecurityPolicyArrayOutput

func (i InstanceSecurityPolicyArray) ToInstanceSecurityPolicyArrayOutput() InstanceSecurityPolicyArrayOutput

func (InstanceSecurityPolicyArray) ToInstanceSecurityPolicyArrayOutputWithContext

func (i InstanceSecurityPolicyArray) ToInstanceSecurityPolicyArrayOutputWithContext(ctx context.Context) InstanceSecurityPolicyArrayOutput

type InstanceSecurityPolicyArrayInput

type InstanceSecurityPolicyArrayInput interface {
	pulumi.Input

	ToInstanceSecurityPolicyArrayOutput() InstanceSecurityPolicyArrayOutput
	ToInstanceSecurityPolicyArrayOutputWithContext(context.Context) InstanceSecurityPolicyArrayOutput
}

InstanceSecurityPolicyArrayInput is an input type that accepts InstanceSecurityPolicyArray and InstanceSecurityPolicyArrayOutput values. You can construct a concrete instance of `InstanceSecurityPolicyArrayInput` via:

InstanceSecurityPolicyArray{ InstanceSecurityPolicyArgs{...} }

type InstanceSecurityPolicyArrayOutput

type InstanceSecurityPolicyArrayOutput struct{ *pulumi.OutputState }

func (InstanceSecurityPolicyArrayOutput) ElementType

func (InstanceSecurityPolicyArrayOutput) Index

func (InstanceSecurityPolicyArrayOutput) ToInstanceSecurityPolicyArrayOutput

func (o InstanceSecurityPolicyArrayOutput) ToInstanceSecurityPolicyArrayOutput() InstanceSecurityPolicyArrayOutput

func (InstanceSecurityPolicyArrayOutput) ToInstanceSecurityPolicyArrayOutputWithContext

func (o InstanceSecurityPolicyArrayOutput) ToInstanceSecurityPolicyArrayOutputWithContext(ctx context.Context) InstanceSecurityPolicyArrayOutput

type InstanceSecurityPolicyInput

type InstanceSecurityPolicyInput interface {
	pulumi.Input

	ToInstanceSecurityPolicyOutput() InstanceSecurityPolicyOutput
	ToInstanceSecurityPolicyOutputWithContext(context.Context) InstanceSecurityPolicyOutput
}

InstanceSecurityPolicyInput is an input type that accepts InstanceSecurityPolicyArgs and InstanceSecurityPolicyOutput values. You can construct a concrete instance of `InstanceSecurityPolicyInput` via:

InstanceSecurityPolicyArgs{...}

type InstanceSecurityPolicyOutput

type InstanceSecurityPolicyOutput struct{ *pulumi.OutputState }

func (InstanceSecurityPolicyOutput) CidrBlock

func (InstanceSecurityPolicyOutput) Description

func (InstanceSecurityPolicyOutput) ElementType

func (InstanceSecurityPolicyOutput) Index

func (InstanceSecurityPolicyOutput) ToInstanceSecurityPolicyOutput

func (o InstanceSecurityPolicyOutput) ToInstanceSecurityPolicyOutput() InstanceSecurityPolicyOutput

func (InstanceSecurityPolicyOutput) ToInstanceSecurityPolicyOutputWithContext

func (o InstanceSecurityPolicyOutput) ToInstanceSecurityPolicyOutputWithContext(ctx context.Context) InstanceSecurityPolicyOutput

func (InstanceSecurityPolicyOutput) Version

type InstanceState

type InstanceState struct {
	// Indicate to delete the COS bucket which is auto-created with the instance or not.
	DeleteBucket pulumi.BoolPtrInput
	// TCR types. Valid values are: `standard`, `basic`, `premium`.
	InstanceType pulumi.StringPtrInput
	// Internal address for access of the TCR instance.
	InternalEndPoint pulumi.StringPtrInput
	// Name of the TCR instance.
	Name pulumi.StringPtrInput
	// Control public network access.
	OpenPublicOperation pulumi.BoolPtrInput
	// Public address for access of the TCR instance.
	PublicDomain pulumi.StringPtrInput
	// Status of the TCR instance public network access.
	PublicStatus pulumi.StringPtrInput
	// Public network access allowlist policies of the TCR instance. Only available when `open_public_operation` is `true`.
	SecurityPolicies InstanceSecurityPolicyArrayInput
	// Status of the TCR instance.
	Status pulumi.StringPtrInput
	// The available tags within this TCR instance.
	Tags pulumi.MapInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// ID of the TCR instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Indicate that the namespace is public or not. Default is `false`.
	IsPublic pulumi.BoolPtrOutput `pulumi:"isPublic"`
	// Name of the TCR namespace. Valid length is [2~30]. It can only contain lowercase letters, numbers and separators (`.`,
	// `_`, `-`), and cannot start, end or continue with separators.
	Name pulumi.StringOutput `pulumi:"name"`
}

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

NewNamespace registers a new resource with the given unique name, arguments, and options.

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceArgs

type NamespaceArgs struct {
	// ID of the TCR instance.
	InstanceId pulumi.StringInput
	// Indicate that the namespace is public or not. Default is `false`.
	IsPublic pulumi.BoolPtrInput
	// Name of the TCR namespace. Valid length is [2~30]. It can only contain lowercase letters, numbers and separators (`.`,
	// `_`, `-`), and cannot start, end or continue with separators.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct{ *pulumi.OutputState }

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) InstanceId

func (o NamespaceOutput) InstanceId() pulumi.StringOutput

ID of the TCR instance.

func (NamespaceOutput) IsPublic

func (o NamespaceOutput) IsPublic() pulumi.BoolPtrOutput

Indicate that the namespace is public or not. Default is `false`.

func (NamespaceOutput) Name

Name of the TCR namespace. Valid length is [2~30]. It can only contain lowercase letters, numbers and separators (`.`, `_`, `-`), and cannot start, end or continue with separators.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceState

type NamespaceState struct {
	// ID of the TCR instance.
	InstanceId pulumi.StringPtrInput
	// Indicate that the namespace is public or not. Default is `false`.
	IsPublic pulumi.BoolPtrInput
	// Name of the TCR namespace. Valid length is [2~30]. It can only contain lowercase letters, numbers and separators (`.`,
	// `_`, `-`), and cannot start, end or continue with separators.
	Name pulumi.StringPtrInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

type Repository

type Repository struct {
	pulumi.CustomResourceState

	// Brief description of the repository. Valid length is [1~100].
	BriefDesc pulumi.StringPtrOutput `pulumi:"briefDesc"`
	// Create time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Description of the repository. Valid length is [1~1000].
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// ID of the TCR instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Indicate the repository is public or not.
	IsPublic pulumi.BoolOutput `pulumi:"isPublic"`
	// Name of the TCR repository. Valid length is [2~200]. It can only contain lowercase letters, numbers and separators (`.`,
	// `_`, `-`, `/`), and cannot start, end or continue with separators. Support the use of multi-level address formats, such
	// as `sub1/sub2/repo`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of the TCR namespace.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// Last updated time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// URL of the repository.
	Url pulumi.StringOutput `pulumi:"url"`
}

func GetRepository

func GetRepository(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryState, opts ...pulumi.ResourceOption) (*Repository, error)

GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRepository

func NewRepository(ctx *pulumi.Context,
	name string, args *RepositoryArgs, opts ...pulumi.ResourceOption) (*Repository, error)

NewRepository registers a new resource with the given unique name, arguments, and options.

func (*Repository) ElementType

func (*Repository) ElementType() reflect.Type

func (*Repository) ToRepositoryOutput

func (i *Repository) ToRepositoryOutput() RepositoryOutput

func (*Repository) ToRepositoryOutputWithContext

func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput

type RepositoryArgs

type RepositoryArgs struct {
	// Brief description of the repository. Valid length is [1~100].
	BriefDesc pulumi.StringPtrInput
	// Description of the repository. Valid length is [1~1000].
	Description pulumi.StringPtrInput
	// ID of the TCR instance.
	InstanceId pulumi.StringInput
	// Name of the TCR repository. Valid length is [2~200]. It can only contain lowercase letters, numbers and separators (`.`,
	// `_`, `-`, `/`), and cannot start, end or continue with separators. Support the use of multi-level address formats, such
	// as `sub1/sub2/repo`.
	Name pulumi.StringPtrInput
	// Name of the TCR namespace.
	NamespaceName pulumi.StringInput
}

The set of arguments for constructing a Repository resource.

func (RepositoryArgs) ElementType

func (RepositoryArgs) ElementType() reflect.Type

type RepositoryArray

type RepositoryArray []RepositoryInput

func (RepositoryArray) ElementType

func (RepositoryArray) ElementType() reflect.Type

func (RepositoryArray) ToRepositoryArrayOutput

func (i RepositoryArray) ToRepositoryArrayOutput() RepositoryArrayOutput

func (RepositoryArray) ToRepositoryArrayOutputWithContext

func (i RepositoryArray) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput

type RepositoryArrayInput

type RepositoryArrayInput interface {
	pulumi.Input

	ToRepositoryArrayOutput() RepositoryArrayOutput
	ToRepositoryArrayOutputWithContext(context.Context) RepositoryArrayOutput
}

RepositoryArrayInput is an input type that accepts RepositoryArray and RepositoryArrayOutput values. You can construct a concrete instance of `RepositoryArrayInput` via:

RepositoryArray{ RepositoryArgs{...} }

type RepositoryArrayOutput

type RepositoryArrayOutput struct{ *pulumi.OutputState }

func (RepositoryArrayOutput) ElementType

func (RepositoryArrayOutput) ElementType() reflect.Type

func (RepositoryArrayOutput) Index

func (RepositoryArrayOutput) ToRepositoryArrayOutput

func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput

func (RepositoryArrayOutput) ToRepositoryArrayOutputWithContext

func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput

type RepositoryInput

type RepositoryInput interface {
	pulumi.Input

	ToRepositoryOutput() RepositoryOutput
	ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
}

type RepositoryMap

type RepositoryMap map[string]RepositoryInput

func (RepositoryMap) ElementType

func (RepositoryMap) ElementType() reflect.Type

func (RepositoryMap) ToRepositoryMapOutput

func (i RepositoryMap) ToRepositoryMapOutput() RepositoryMapOutput

func (RepositoryMap) ToRepositoryMapOutputWithContext

func (i RepositoryMap) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput

type RepositoryMapInput

type RepositoryMapInput interface {
	pulumi.Input

	ToRepositoryMapOutput() RepositoryMapOutput
	ToRepositoryMapOutputWithContext(context.Context) RepositoryMapOutput
}

RepositoryMapInput is an input type that accepts RepositoryMap and RepositoryMapOutput values. You can construct a concrete instance of `RepositoryMapInput` via:

RepositoryMap{ "key": RepositoryArgs{...} }

type RepositoryMapOutput

type RepositoryMapOutput struct{ *pulumi.OutputState }

func (RepositoryMapOutput) ElementType

func (RepositoryMapOutput) ElementType() reflect.Type

func (RepositoryMapOutput) MapIndex

func (RepositoryMapOutput) ToRepositoryMapOutput

func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput

func (RepositoryMapOutput) ToRepositoryMapOutputWithContext

func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput

type RepositoryOutput

type RepositoryOutput struct{ *pulumi.OutputState }

func (RepositoryOutput) BriefDesc

func (o RepositoryOutput) BriefDesc() pulumi.StringPtrOutput

Brief description of the repository. Valid length is [1~100].

func (RepositoryOutput) CreateTime

func (o RepositoryOutput) CreateTime() pulumi.StringOutput

Create time.

func (RepositoryOutput) Description

func (o RepositoryOutput) Description() pulumi.StringPtrOutput

Description of the repository. Valid length is [1~1000].

func (RepositoryOutput) ElementType

func (RepositoryOutput) ElementType() reflect.Type

func (RepositoryOutput) InstanceId

func (o RepositoryOutput) InstanceId() pulumi.StringOutput

ID of the TCR instance.

func (RepositoryOutput) IsPublic

func (o RepositoryOutput) IsPublic() pulumi.BoolOutput

Indicate the repository is public or not.

func (RepositoryOutput) Name

Name of the TCR repository. Valid length is [2~200]. It can only contain lowercase letters, numbers and separators (`.`, `_`, `-`, `/`), and cannot start, end or continue with separators. Support the use of multi-level address formats, such as `sub1/sub2/repo`.

func (RepositoryOutput) NamespaceName

func (o RepositoryOutput) NamespaceName() pulumi.StringOutput

Name of the TCR namespace.

func (RepositoryOutput) ToRepositoryOutput

func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput

func (RepositoryOutput) ToRepositoryOutputWithContext

func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput

func (RepositoryOutput) UpdateTime

func (o RepositoryOutput) UpdateTime() pulumi.StringOutput

Last updated time.

func (RepositoryOutput) Url

URL of the repository.

type RepositoryState

type RepositoryState struct {
	// Brief description of the repository. Valid length is [1~100].
	BriefDesc pulumi.StringPtrInput
	// Create time.
	CreateTime pulumi.StringPtrInput
	// Description of the repository. Valid length is [1~1000].
	Description pulumi.StringPtrInput
	// ID of the TCR instance.
	InstanceId pulumi.StringPtrInput
	// Indicate the repository is public or not.
	IsPublic pulumi.BoolPtrInput
	// Name of the TCR repository. Valid length is [2~200]. It can only contain lowercase letters, numbers and separators (`.`,
	// `_`, `-`, `/`), and cannot start, end or continue with separators. Support the use of multi-level address formats, such
	// as `sub1/sub2/repo`.
	Name pulumi.StringPtrInput
	// Name of the TCR namespace.
	NamespaceName pulumi.StringPtrInput
	// Last updated time.
	UpdateTime pulumi.StringPtrInput
	// URL of the repository.
	Url pulumi.StringPtrInput
}

func (RepositoryState) ElementType

func (RepositoryState) ElementType() reflect.Type

type TcrToken

type TcrToken struct {
	pulumi.CustomResourceState

	// Create time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Description of the token. Valid length is [0~255].
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Indicate to enable this token or not.
	Enable pulumi.BoolPtrOutput `pulumi:"enable"`
	// ID of the TCR instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The content of the token.
	Token pulumi.StringOutput `pulumi:"token"`
	// Sub ID of the TCR token. The full ID of token format like `instance_id#token_id`.
	TokenId pulumi.StringOutput `pulumi:"tokenId"`
	// User name of the token.
	UserName pulumi.StringOutput `pulumi:"userName"`
}

func GetTcrToken

func GetTcrToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TcrTokenState, opts ...pulumi.ResourceOption) (*TcrToken, error)

GetTcrToken gets an existing TcrToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTcrToken

func NewTcrToken(ctx *pulumi.Context,
	name string, args *TcrTokenArgs, opts ...pulumi.ResourceOption) (*TcrToken, error)

NewTcrToken registers a new resource with the given unique name, arguments, and options.

func (*TcrToken) ElementType

func (*TcrToken) ElementType() reflect.Type

func (*TcrToken) ToTcrTokenOutput

func (i *TcrToken) ToTcrTokenOutput() TcrTokenOutput

func (*TcrToken) ToTcrTokenOutputWithContext

func (i *TcrToken) ToTcrTokenOutputWithContext(ctx context.Context) TcrTokenOutput

type TcrTokenArgs

type TcrTokenArgs struct {
	// Description of the token. Valid length is [0~255].
	Description pulumi.StringPtrInput
	// Indicate to enable this token or not.
	Enable pulumi.BoolPtrInput
	// ID of the TCR instance.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a TcrToken resource.

func (TcrTokenArgs) ElementType

func (TcrTokenArgs) ElementType() reflect.Type

type TcrTokenArray

type TcrTokenArray []TcrTokenInput

func (TcrTokenArray) ElementType

func (TcrTokenArray) ElementType() reflect.Type

func (TcrTokenArray) ToTcrTokenArrayOutput

func (i TcrTokenArray) ToTcrTokenArrayOutput() TcrTokenArrayOutput

func (TcrTokenArray) ToTcrTokenArrayOutputWithContext

func (i TcrTokenArray) ToTcrTokenArrayOutputWithContext(ctx context.Context) TcrTokenArrayOutput

type TcrTokenArrayInput

type TcrTokenArrayInput interface {
	pulumi.Input

	ToTcrTokenArrayOutput() TcrTokenArrayOutput
	ToTcrTokenArrayOutputWithContext(context.Context) TcrTokenArrayOutput
}

TcrTokenArrayInput is an input type that accepts TcrTokenArray and TcrTokenArrayOutput values. You can construct a concrete instance of `TcrTokenArrayInput` via:

TcrTokenArray{ TcrTokenArgs{...} }

type TcrTokenArrayOutput

type TcrTokenArrayOutput struct{ *pulumi.OutputState }

func (TcrTokenArrayOutput) ElementType

func (TcrTokenArrayOutput) ElementType() reflect.Type

func (TcrTokenArrayOutput) Index

func (TcrTokenArrayOutput) ToTcrTokenArrayOutput

func (o TcrTokenArrayOutput) ToTcrTokenArrayOutput() TcrTokenArrayOutput

func (TcrTokenArrayOutput) ToTcrTokenArrayOutputWithContext

func (o TcrTokenArrayOutput) ToTcrTokenArrayOutputWithContext(ctx context.Context) TcrTokenArrayOutput

type TcrTokenInput

type TcrTokenInput interface {
	pulumi.Input

	ToTcrTokenOutput() TcrTokenOutput
	ToTcrTokenOutputWithContext(ctx context.Context) TcrTokenOutput
}

type TcrTokenMap

type TcrTokenMap map[string]TcrTokenInput

func (TcrTokenMap) ElementType

func (TcrTokenMap) ElementType() reflect.Type

func (TcrTokenMap) ToTcrTokenMapOutput

func (i TcrTokenMap) ToTcrTokenMapOutput() TcrTokenMapOutput

func (TcrTokenMap) ToTcrTokenMapOutputWithContext

func (i TcrTokenMap) ToTcrTokenMapOutputWithContext(ctx context.Context) TcrTokenMapOutput

type TcrTokenMapInput

type TcrTokenMapInput interface {
	pulumi.Input

	ToTcrTokenMapOutput() TcrTokenMapOutput
	ToTcrTokenMapOutputWithContext(context.Context) TcrTokenMapOutput
}

TcrTokenMapInput is an input type that accepts TcrTokenMap and TcrTokenMapOutput values. You can construct a concrete instance of `TcrTokenMapInput` via:

TcrTokenMap{ "key": TcrTokenArgs{...} }

type TcrTokenMapOutput

type TcrTokenMapOutput struct{ *pulumi.OutputState }

func (TcrTokenMapOutput) ElementType

func (TcrTokenMapOutput) ElementType() reflect.Type

func (TcrTokenMapOutput) MapIndex

func (TcrTokenMapOutput) ToTcrTokenMapOutput

func (o TcrTokenMapOutput) ToTcrTokenMapOutput() TcrTokenMapOutput

func (TcrTokenMapOutput) ToTcrTokenMapOutputWithContext

func (o TcrTokenMapOutput) ToTcrTokenMapOutputWithContext(ctx context.Context) TcrTokenMapOutput

type TcrTokenOutput

type TcrTokenOutput struct{ *pulumi.OutputState }

func (TcrTokenOutput) CreateTime

func (o TcrTokenOutput) CreateTime() pulumi.StringOutput

Create time.

func (TcrTokenOutput) Description

func (o TcrTokenOutput) Description() pulumi.StringPtrOutput

Description of the token. Valid length is [0~255].

func (TcrTokenOutput) ElementType

func (TcrTokenOutput) ElementType() reflect.Type

func (TcrTokenOutput) Enable

func (o TcrTokenOutput) Enable() pulumi.BoolPtrOutput

Indicate to enable this token or not.

func (TcrTokenOutput) InstanceId

func (o TcrTokenOutput) InstanceId() pulumi.StringOutput

ID of the TCR instance.

func (TcrTokenOutput) ToTcrTokenOutput

func (o TcrTokenOutput) ToTcrTokenOutput() TcrTokenOutput

func (TcrTokenOutput) ToTcrTokenOutputWithContext

func (o TcrTokenOutput) ToTcrTokenOutputWithContext(ctx context.Context) TcrTokenOutput

func (TcrTokenOutput) Token

The content of the token.

func (TcrTokenOutput) TokenId

func (o TcrTokenOutput) TokenId() pulumi.StringOutput

Sub ID of the TCR token. The full ID of token format like `instance_id#token_id`.

func (TcrTokenOutput) UserName

func (o TcrTokenOutput) UserName() pulumi.StringOutput

User name of the token.

type TcrTokenState

type TcrTokenState struct {
	// Create time.
	CreateTime pulumi.StringPtrInput
	// Description of the token. Valid length is [0~255].
	Description pulumi.StringPtrInput
	// Indicate to enable this token or not.
	Enable pulumi.BoolPtrInput
	// ID of the TCR instance.
	InstanceId pulumi.StringPtrInput
	// The content of the token.
	Token pulumi.StringPtrInput
	// Sub ID of the TCR token. The full ID of token format like `instance_id#token_id`.
	TokenId pulumi.StringPtrInput
	// User name of the token.
	UserName pulumi.StringPtrInput
}

func (TcrTokenState) ElementType

func (TcrTokenState) ElementType() reflect.Type

type VpcAttachment

type VpcAttachment struct {
	pulumi.CustomResourceState

	// IP address of the internal access.
	AccessIp pulumi.StringOutput `pulumi:"accessIp"`
	// Whether to enable public domain dns. Default value is `false`.
	EnablePublicDomainDns pulumi.BoolPtrOutput `pulumi:"enablePublicDomainDns"`
	// Whether to enable vpc domain dns. Default value is `false`.
	EnableVpcDomainDns pulumi.BoolPtrOutput `pulumi:"enableVpcDomainDns"`
	// ID of the TCR instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// ID of region. Conflict with region_name, can not be set at the same time.
	RegionId pulumi.IntPtrOutput `pulumi:"regionId"`
	// Name of region. Conflict with region_id, can not be set at the same time.
	RegionName pulumi.StringPtrOutput `pulumi:"regionName"`
	// Status of the internal access.
	Status pulumi.StringOutput `pulumi:"status"`
	// ID of subnet.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// ID of VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

func GetVpcAttachment

func GetVpcAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcAttachmentState, opts ...pulumi.ResourceOption) (*VpcAttachment, error)

GetVpcAttachment gets an existing VpcAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcAttachment

func NewVpcAttachment(ctx *pulumi.Context,
	name string, args *VpcAttachmentArgs, opts ...pulumi.ResourceOption) (*VpcAttachment, error)

NewVpcAttachment registers a new resource with the given unique name, arguments, and options.

func (*VpcAttachment) ElementType

func (*VpcAttachment) ElementType() reflect.Type

func (*VpcAttachment) ToVpcAttachmentOutput

func (i *VpcAttachment) ToVpcAttachmentOutput() VpcAttachmentOutput

func (*VpcAttachment) ToVpcAttachmentOutputWithContext

func (i *VpcAttachment) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput

type VpcAttachmentArgs

type VpcAttachmentArgs struct {
	// Whether to enable public domain dns. Default value is `false`.
	EnablePublicDomainDns pulumi.BoolPtrInput
	// Whether to enable vpc domain dns. Default value is `false`.
	EnableVpcDomainDns pulumi.BoolPtrInput
	// ID of the TCR instance.
	InstanceId pulumi.StringInput
	// ID of region. Conflict with region_name, can not be set at the same time.
	RegionId pulumi.IntPtrInput
	// Name of region. Conflict with region_id, can not be set at the same time.
	RegionName pulumi.StringPtrInput
	// ID of subnet.
	SubnetId pulumi.StringInput
	// ID of VPC.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcAttachment resource.

func (VpcAttachmentArgs) ElementType

func (VpcAttachmentArgs) ElementType() reflect.Type

type VpcAttachmentArray

type VpcAttachmentArray []VpcAttachmentInput

func (VpcAttachmentArray) ElementType

func (VpcAttachmentArray) ElementType() reflect.Type

func (VpcAttachmentArray) ToVpcAttachmentArrayOutput

func (i VpcAttachmentArray) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput

func (VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext

func (i VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput

type VpcAttachmentArrayInput

type VpcAttachmentArrayInput interface {
	pulumi.Input

	ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput
	ToVpcAttachmentArrayOutputWithContext(context.Context) VpcAttachmentArrayOutput
}

VpcAttachmentArrayInput is an input type that accepts VpcAttachmentArray and VpcAttachmentArrayOutput values. You can construct a concrete instance of `VpcAttachmentArrayInput` via:

VpcAttachmentArray{ VpcAttachmentArgs{...} }

type VpcAttachmentArrayOutput

type VpcAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentArrayOutput) ElementType

func (VpcAttachmentArrayOutput) ElementType() reflect.Type

func (VpcAttachmentArrayOutput) Index

func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput

func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput

func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext

func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput

type VpcAttachmentInput

type VpcAttachmentInput interface {
	pulumi.Input

	ToVpcAttachmentOutput() VpcAttachmentOutput
	ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
}

type VpcAttachmentMap

type VpcAttachmentMap map[string]VpcAttachmentInput

func (VpcAttachmentMap) ElementType

func (VpcAttachmentMap) ElementType() reflect.Type

func (VpcAttachmentMap) ToVpcAttachmentMapOutput

func (i VpcAttachmentMap) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput

func (VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext

func (i VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput

type VpcAttachmentMapInput

type VpcAttachmentMapInput interface {
	pulumi.Input

	ToVpcAttachmentMapOutput() VpcAttachmentMapOutput
	ToVpcAttachmentMapOutputWithContext(context.Context) VpcAttachmentMapOutput
}

VpcAttachmentMapInput is an input type that accepts VpcAttachmentMap and VpcAttachmentMapOutput values. You can construct a concrete instance of `VpcAttachmentMapInput` via:

VpcAttachmentMap{ "key": VpcAttachmentArgs{...} }

type VpcAttachmentMapOutput

type VpcAttachmentMapOutput struct{ *pulumi.OutputState }

func (VpcAttachmentMapOutput) ElementType

func (VpcAttachmentMapOutput) ElementType() reflect.Type

func (VpcAttachmentMapOutput) MapIndex

func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutput

func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput

func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext

func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput

type VpcAttachmentOutput

type VpcAttachmentOutput struct{ *pulumi.OutputState }

func (VpcAttachmentOutput) AccessIp

IP address of the internal access.

func (VpcAttachmentOutput) ElementType

func (VpcAttachmentOutput) ElementType() reflect.Type

func (VpcAttachmentOutput) EnablePublicDomainDns

func (o VpcAttachmentOutput) EnablePublicDomainDns() pulumi.BoolPtrOutput

Whether to enable public domain dns. Default value is `false`.

func (VpcAttachmentOutput) EnableVpcDomainDns

func (o VpcAttachmentOutput) EnableVpcDomainDns() pulumi.BoolPtrOutput

Whether to enable vpc domain dns. Default value is `false`.

func (VpcAttachmentOutput) InstanceId

func (o VpcAttachmentOutput) InstanceId() pulumi.StringOutput

ID of the TCR instance.

func (VpcAttachmentOutput) RegionId

ID of region. Conflict with region_name, can not be set at the same time.

func (VpcAttachmentOutput) RegionName

Name of region. Conflict with region_id, can not be set at the same time.

func (VpcAttachmentOutput) Status

Status of the internal access.

func (VpcAttachmentOutput) SubnetId

ID of subnet.

func (VpcAttachmentOutput) ToVpcAttachmentOutput

func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput

func (VpcAttachmentOutput) ToVpcAttachmentOutputWithContext

func (o VpcAttachmentOutput) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput

func (VpcAttachmentOutput) VpcId

ID of VPC.

type VpcAttachmentState

type VpcAttachmentState struct {
	// IP address of the internal access.
	AccessIp pulumi.StringPtrInput
	// Whether to enable public domain dns. Default value is `false`.
	EnablePublicDomainDns pulumi.BoolPtrInput
	// Whether to enable vpc domain dns. Default value is `false`.
	EnableVpcDomainDns pulumi.BoolPtrInput
	// ID of the TCR instance.
	InstanceId pulumi.StringPtrInput
	// ID of region. Conflict with region_name, can not be set at the same time.
	RegionId pulumi.IntPtrInput
	// Name of region. Conflict with region_id, can not be set at the same time.
	RegionName pulumi.StringPtrInput
	// Status of the internal access.
	Status pulumi.StringPtrInput
	// ID of subnet.
	SubnetId pulumi.StringPtrInput
	// ID of VPC.
	VpcId pulumi.StringPtrInput
}

func (VpcAttachmentState) ElementType

func (VpcAttachmentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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