model

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionProgress

type ActionProgress struct {
	Creating *string `json:"CREATING,omitempty"`
}

func (ActionProgress) String

func (o ActionProgress) String() string

type BatchAddSharedTagsRequest

type BatchAddSharedTagsRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`

	Body *BatchAddSharedTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchAddSharedTagsRequest) String

func (o BatchAddSharedTagsRequest) String() string

type BatchAddSharedTagsRequestBody

type BatchAddSharedTagsRequestBody struct {
	Action BatchAddSharedTagsRequestBodyAction `json:"action"`

	Tags *[]ResourceTag `json:"tags,omitempty"`

	SysTags *[]ResourceTag `json:"sys_tags,omitempty"`
}

func (BatchAddSharedTagsRequestBody) String

type BatchAddSharedTagsRequestBodyAction

type BatchAddSharedTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchAddSharedTagsRequestBodyAction) MarshalJSON

func (c BatchAddSharedTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchAddSharedTagsRequestBodyAction) UnmarshalJSON

func (c *BatchAddSharedTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchAddSharedTagsRequestBodyActionEnum

type BatchAddSharedTagsRequestBodyActionEnum struct {
	CREATE BatchAddSharedTagsRequestBodyAction
}

func GetBatchAddSharedTagsRequestBodyActionEnum

func GetBatchAddSharedTagsRequestBodyActionEnum() BatchAddSharedTagsRequestBodyActionEnum

type BatchAddSharedTagsResponse

type BatchAddSharedTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchAddSharedTagsResponse) String

type ChangeSecurityGroup

type ChangeSecurityGroup struct {
	SecurityGroupId string `json:"security_group_id"`
}

需要修改的目标安全组ID

func (ChangeSecurityGroup) String

func (o ChangeSecurityGroup) String() string

type ChangeSecurityGroupRequest

type ChangeSecurityGroupRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`

	Body *ChangeSecurityGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (ChangeSecurityGroupRequest) String

type ChangeSecurityGroupRequestBody

type ChangeSecurityGroupRequestBody struct {
	ChangeSecurityGroup *ChangeSecurityGroup `json:"change_security_group"`
}

change_security_group对象

func (ChangeSecurityGroupRequestBody) String

type ChangeSecurityGroupResponse

type ChangeSecurityGroupResponse struct {
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ChangeSecurityGroupResponse) String

type CreateShareRequest

type CreateShareRequest struct {
	ContentType string `json:"Content-Type"`

	Body *CreateShareRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateShareRequest) String

func (o CreateShareRequest) String() string

type CreateShareRequestBody

type CreateShareRequestBody struct {
	Share *Share `json:"share"`
}

创建文件系统参数body

func (CreateShareRequestBody) String

func (o CreateShareRequestBody) String() string

type CreateShareResponse

type CreateShareResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateShareResponse) String

func (o CreateShareResponse) String() string

type CreateSharedTagRequest

type CreateSharedTagRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`

	Body *CreateSharedTagRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateSharedTagRequest) String

func (o CreateSharedTagRequest) String() string

type CreateSharedTagRequestBody

type CreateSharedTagRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

标签

func (CreateSharedTagRequestBody) String

type CreateSharedTagResponse

type CreateSharedTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateSharedTagResponse) String

func (o CreateSharedTagResponse) String() string

type DeleteShareRequest

type DeleteShareRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`
}

Request Object

func (DeleteShareRequest) String

func (o DeleteShareRequest) String() string

type DeleteShareResponse

type DeleteShareResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteShareResponse) String

func (o DeleteShareResponse) String() string

type DeleteSharedTagRequest

type DeleteSharedTagRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteSharedTagRequest) String

func (o DeleteSharedTagRequest) String() string

type DeleteSharedTagResponse

type DeleteSharedTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteSharedTagResponse) String

func (o DeleteSharedTagResponse) String() string

type ExpandShareRequest

type ExpandShareRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`

	Body *ExpandShareRequestBody `json:"body,omitempty"`
}

Request Object

func (ExpandShareRequest) String

func (o ExpandShareRequest) String() string

type ExpandShareRequestBody

type ExpandShareRequestBody struct {
	Extend *Extend `json:"extend"`
}

func (ExpandShareRequestBody) String

func (o ExpandShareRequestBody) String() string

type ExpandShareResponse

type ExpandShareResponse struct {
	Id *string `json:"id,omitempty"`

	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExpandShareResponse) String

func (o ExpandShareResponse) String() string

type Extend

type Extend struct {
	NewSize int32 `json:"new_size"`
}

extend对象

func (Extend) String

func (o Extend) String() string

type ListSharedTagsRequest

type ListSharedTagsRequest struct {
	ContentType string `json:"Content-Type"`
}

Request Object

func (ListSharedTagsRequest) String

func (o ListSharedTagsRequest) String() string

type ListSharedTagsResponse

type ListSharedTagsResponse struct {
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSharedTagsResponse) String

func (o ListSharedTagsResponse) String() string

type ListSharesRequest

type ListSharesRequest struct {
	ContentType string `json:"Content-Type"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListSharesRequest) String

func (o ListSharesRequest) String() string

type ListSharesResponse

type ListSharesResponse struct {
	Shares *[]Shares `json:"shares,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSharesResponse) String

func (o ListSharesResponse) String() string

type Metadata

type Metadata struct {
	CryptKeyId *string `json:"crypt_key_id,omitempty"`

	DedicatedFlavor *string `json:"dedicated_flavor,omitempty"`

	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	ExpandType *string `json:"expand_type,omitempty"`
}

metadata参数详情

func (Metadata) String

func (o Metadata) String() string

type ResourceTag

type ResourceTag struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

resource_tag字段说明

func (ResourceTag) String

func (o ResourceTag) String() string

type Share

type Share struct {
	AvailabilityZone string `json:"availability_zone"`

	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Metadata *Metadata `json:"metadata,omitempty"`

	Name string `json:"name"`

	SecurityGroupId string `json:"security_group_id"`

	ShareProto string `json:"share_proto"`

	ShareType string `json:"share_type"`

	Size int32 `json:"size"`

	SubnetId string `json:"subnet_id"`

	VpcId string `json:"vpc_id"`

	BackupId *string `json:"backup_id,omitempty"`
}

创建文件系统参数body

func (Share) String

func (o Share) String() string

type Shares

type Shares struct {
	ActionProgress *ActionProgress `json:"action_progress,omitempty"`

	Version *string `json:"version,omitempty"`

	AvailCapacity *string `json:"avail_capacity,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`

	AzName *string `json:"az_name,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	CryptKeyId *string `json:"crypt_key_id,omitempty"`

	ExpandType *string `json:"expand_type,omitempty"`

	ExportLocation *string `json:"export_location,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	PayModel *SharesPayModel `json:"pay_model,omitempty"`

	Region *string `json:"region,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	ShareProto *string `json:"share_proto,omitempty"`

	ShareType *string `json:"share_type,omitempty"`

	Size *string `json:"size,omitempty"`

	Status *string `json:"status,omitempty"`

	SubStatus *string `json:"sub_status,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`
}

func (Shares) String

func (o Shares) String() string

type SharesPayModel

type SharesPayModel struct {
	// contains filtered or unexported fields
}

func (SharesPayModel) MarshalJSON

func (c SharesPayModel) MarshalJSON() ([]byte, error)

func (*SharesPayModel) UnmarshalJSON

func (c *SharesPayModel) UnmarshalJSON(b []byte) error

type SharesPayModelEnum

type SharesPayModelEnum struct {
	E_0 SharesPayModel
	E_1 SharesPayModel
}

func GetSharesPayModelEnum

func GetSharesPayModelEnum() SharesPayModelEnum

type ShowShareRequest

type ShowShareRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`
}

Request Object

func (ShowShareRequest) String

func (o ShowShareRequest) String() string

type ShowShareResponse

type ShowShareResponse struct {
	ActionProgress *ActionProgress `json:"action_progress,omitempty"`

	Version *string `json:"version,omitempty"`

	AvailCapacity *string `json:"avail_capacity,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`

	AzName *string `json:"az_name,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	CryptKeyId *string `json:"crypt_key_id,omitempty"`

	ExpandType *string `json:"expand_type,omitempty"`

	ExportLocation *string `json:"export_location,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	PayModel *ShowShareResponsePayModel `json:"pay_model,omitempty"`

	Region *string `json:"region,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	ShareProto *string `json:"share_proto,omitempty"`

	ShareType *string `json:"share_type,omitempty"`

	Size *string `json:"size,omitempty"`

	Status *string `json:"status,omitempty"`

	SubStatus *string `json:"sub_status,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	VpcId          *string `json:"vpc_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowShareResponse) String

func (o ShowShareResponse) String() string

type ShowShareResponsePayModel

type ShowShareResponsePayModel struct {
	// contains filtered or unexported fields
}

func (ShowShareResponsePayModel) MarshalJSON

func (c ShowShareResponsePayModel) MarshalJSON() ([]byte, error)

func (*ShowShareResponsePayModel) UnmarshalJSON

func (c *ShowShareResponsePayModel) UnmarshalJSON(b []byte) error

type ShowShareResponsePayModelEnum

type ShowShareResponsePayModelEnum struct {
	E_0 ShowShareResponsePayModel
	E_1 ShowShareResponsePayModel
}

func GetShowShareResponsePayModelEnum

func GetShowShareResponsePayModelEnum() ShowShareResponsePayModelEnum

type ShowSharedTagsRequest

type ShowSharedTagsRequest struct {
	ContentType string `json:"Content-Type"`

	ShareId string `json:"share_id"`
}

Request Object

func (ShowSharedTagsRequest) String

func (o ShowSharedTagsRequest) String() string

type ShowSharedTagsResponse

type ShowSharedTagsResponse struct {
	Tags *[]ResourceTag `json:"tags,omitempty"`

	SysTags        *[]ResourceTag `json:"sys_tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowSharedTagsResponse) String

func (o ShowSharedTagsResponse) String() string

type Tag

type Tag struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

tag字段说明

func (Tag) String

func (o Tag) String() string

Jump to

Keyboard shortcuts

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