alibabacloud

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CreateRAMUsersOpts captures the options that affect creation/updating
	// of the RAM Uers/Policies.
	CreateRAMUsersOpts = options{
		Region:         "",
		TargetDir:      "",
		Name:           "",
		CredRequestDir: "",
	}
)
View Source
var (
	// DeleteRAMUsersOpts captures the options that affect detaching of ram roles.
	DeleteRAMUsersOpts = options{
		Region: "",
		Name:   "",
	}
)

Functions

func NewAliababaCloudCmd

func NewAliababaCloudCmd() *cobra.Command

NewAliababaCloudCmd implements the "alibabacloud" subcommand for the credentials provisioning

func NewCreateRAMUsersCmd

func NewCreateRAMUsersCmd() *cobra.Command

NewCreateRAMUsersCmd provides the "create-ram-users" subcommand

func NewDeleteRAMUsersCmd

func NewDeleteRAMUsersCmd() *cobra.Command

NewDeleteRAMUsersCmd provides the "delete-ram-users" subcommand

Types

type ARN

type ARN struct {
	// The partition that the resource is in.
	Partition string

	// The service namespace that identifies the product (for example, RAM).
	Service string

	// The region the resource resides in. Note that the ARNs for some resources do not require a region, so this
	// component might be omitted.
	Region string

	// The ID of the RAM account that owns the resource, without the hyphens. For example, 123456789012. Note that the
	// ARNs for some resources don't require an account number, so this component might be omitted.
	AccountID string

	// The content of this part of the ARN varies by service.
	Resource string
}

ARN captures the individual fields of an RAM Resource Name.

type PolicyDocument

type PolicyDocument struct {
	Version   string
	Statement []StatementEntry
}

PolicyDocument is a simple type used to serialize to Alibaba Cloud' PolicyDocument format.

type StatementEntry

type StatementEntry struct {
	Effect   string
	Action   []string
	Resource string
}

StatementEntry is a simple type used to serialize to Alibaba Cloud' PolicyDocument format.

Jump to

Keyboard shortcuts

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