vnas

package
v1.6.22 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT, MIT Imports: 23 Imported by: 0

README

Go API client for vnas

VPC NAS 관련 API<br/>https://ncloud.apigw.ntruss.com/vnas/v2

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 2022-02-17T10:34:16Z
  • Package version: 1.0.3
  • Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen

Installation

Put the package under your project folder and add the following in import:

"./vnas"

Documentation for API Endpoints

All URIs are relative to https://ncloud.apigw.ntruss.com/vnas/v2

Class Method HTTP request Description
V2Api AddNasVolumeAccessControl Post /addNasVolumeAccessControl
V2Api ChangeNasVolumeSize Post /changeNasVolumeSize
V2Api ChangeNasVolumeSnapshotConfiguration Post /changeNasVolumeSnapshotConfiguration
V2Api CreateNasVolumeInstance Post /createNasVolumeInstance
V2Api CreateNasVolumeSnapshot Post /createNasVolumeSnapshot
V2Api DeleteNasVolumeInstances Post /deleteNasVolumeInstances
V2Api DeleteNasVolumeSnapshot Post /deleteNasVolumeSnapshot
V2Api GetNasVolumeAccessControlRuleList Post /getNasVolumeAccessControlRuleList
V2Api GetNasVolumeInstanceDetail Post /getNasVolumeInstanceDetail
V2Api GetNasVolumeInstanceList Post /getNasVolumeInstanceList
V2Api GetNasVolumeInstanceRatingList Post /getNasVolumeInstanceRatingList
V2Api GetNasVolumeSnapshotConfigurationHistoryList Post /getNasVolumeSnapshotConfigurationHistoryList
V2Api GetNasVolumeSnapshotList Post /getNasVolumeSnapshotList
V2Api RemoveNasVolumeAccessControl Post /removeNasVolumeAccessControl
V2Api RestoreNasVolumeWithSnapshot Post /restoreNasVolumeWithSnapshot
V2Api SetNasVolumeAccessControl Post /setNasVolumeAccessControl
V2Api SetNasVolumeReturnProtection Post /setNasVolumeReturnProtection

Documentation For Models

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func NewConfiguration

func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration

Types

type APIClient

type APIClient struct {

	// API Services
	V2Api *V2ApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the vnas API v2022-02-17T10:34:16Z In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *ncloud.Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AccessControlRuleParameter added in v1.6.0

type AccessControlRuleParameter struct {

	// 서버인스턴스번호
	ServerInstanceNo *string `json:"serverInstanceNo,omitempty"`

	// WriteAccess여부
	WriteAccess *string `json:"writeAccess,omitempty"`
}

type AddNasVolumeAccessControlRequest

type AddNasVolumeAccessControlRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 서버인스턴스번호리스트
	ServerInstanceNoList []*string `json:"serverInstanceNoList,omitempty"`

	// 접근제어Rule리스트
	AccessControlRuleList []*AccessControlRuleParameter `json:"accessControlRuleList,omitempty"`
}

type AddNasVolumeAccessControlResponse

type AddNasVolumeAccessControlResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type ChangeNasVolumeSizeRequest

type ChangeNasVolumeSizeRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 볼륨사이즈
	VolumeSize *int32 `json:"volumeSize"`

	// Async여부
	IsAsync *bool `json:"isAsync,omitempty"`
}

type ChangeNasVolumeSizeResponse

type ChangeNasVolumeSizeResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type ChangeNasVolumeSnapshotConfigurationRequest added in v1.4.0

type ChangeNasVolumeSnapshotConfigurationRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 스냅샷볼륨설정비율
	SnapshotVolumeConfigurationRatio *int32 `json:"snapshotVolumeConfigurationRatio"`

	// 스냅샷자동생성주기요일
	SnapshotVolumeConfigDayOfWeekTypeCode *string `json:"snapshotVolumeConfigDayOfWeekTypeCode,omitempty"`

	// 스냅샷자동생성주기시각
	SnapshotVolumeConfigTime *int32 `json:"snapshotVolumeConfigTime,omitempty"`
}

type ChangeNasVolumeSnapshotConfigurationResponse added in v1.4.0

type ChangeNasVolumeSnapshotConfigurationResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type CommonCode

type CommonCode struct {

	// 코드
	Code *string `json:"code,omitempty"`

	// 코드명
	CodeName *string `json:"codeName,omitempty"`
}

type CreateNasVolumeInstanceRequest

type CreateNasVolumeInstanceRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// 볼륨이름
	VolumeName *string `json:"volumeName,omitempty"`

	// 볼륨사이즈
	VolumeSize *int32 `json:"volumeSize"`

	// 볼륨할당프로토콜유형코드
	VolumeAllotmentProtocolTypeCode *string `json:"volumeAllotmentProtocolTypeCode"`

	// 서버인스턴스번호리스트
	ServerInstanceNoList []*string `json:"serverInstanceNoList,omitempty"`

	// CIFS유저이름
	CifsUserName *string `json:"cifsUserName,omitempty"`

	// CIFS유저비밀번호
	CifsUserPassword *string `json:"cifsUserPassword,omitempty"`

	// 볼륨암호화여부
	IsEncryptedVolume *bool `json:"isEncryptedVolume,omitempty"`

	// 반납보호여부
	IsReturnProtection *bool `json:"isReturnProtection,omitempty"`

	// NAS볼륨설명
	NasVolumeDescription *string `json:"nasVolumeDescription,omitempty"`

	// 접근제어Rule리스트
	AccessControlRuleList []*AccessControlRuleParameter `json:"accessControlRuleList,omitempty"`

	// Async여부
	IsAsync *bool `json:"isAsync,omitempty"`
}

type CreateNasVolumeInstanceResponse

type CreateNasVolumeInstanceResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type CreateNasVolumeSnapshotRequest added in v1.4.0

type CreateNasVolumeSnapshotRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`
}

type CreateNasVolumeSnapshotResponse added in v1.4.0

type CreateNasVolumeSnapshotResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeSnapshotList []*NasVolumeSnapshot `json:"nasVolumeSnapshotList,omitempty"`
}

type DeleteNasVolumeInstancesRequest

type DeleteNasVolumeInstancesRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호리스트
	NasVolumeInstanceNoList []*string `json:"nasVolumeInstanceNoList"`

	// Async여부
	IsAsync *bool `json:"isAsync,omitempty"`
}

type DeleteNasVolumeInstancesResponse

type DeleteNasVolumeInstancesResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type DeleteNasVolumeSnapshotRequest added in v1.4.0

type DeleteNasVolumeSnapshotRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// NAS볼륨스냅샷이름
	NasVolumeSnapshotName *string `json:"nasVolumeSnapshotName"`
}

type DeleteNasVolumeSnapshotResponse added in v1.4.0

type DeleteNasVolumeSnapshotResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeSnapshotList []*NasVolumeSnapshot `json:"nasVolumeSnapshotList,omitempty"`
}

type GetNasVolumeAccessControlRuleListRequest added in v1.6.0

type GetNasVolumeAccessControlRuleListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`
}

type GetNasVolumeAccessControlRuleListResponse added in v1.6.0

type GetNasVolumeAccessControlRuleListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeAccessControlRuleList []*NasVolumeAccessControlRule `json:"nasVolumeAccessControlRuleList,omitempty"`
}

type GetNasVolumeInstanceDetailRequest

type GetNasVolumeInstanceDetailRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`
}

type GetNasVolumeInstanceDetailResponse

type GetNasVolumeInstanceDetailResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type GetNasVolumeInstanceListRequest

type GetNasVolumeInstanceListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// 볼륨할당프로토콜유형코드
	VolumeAllotmentProtocolTypeCode *string `json:"volumeAllotmentProtocolTypeCode,omitempty"`

	// 이벤트설정여부
	IsEventConfiguration *bool `json:"isEventConfiguration,omitempty"`

	// 스냅샷설정여부
	IsSnapshotConfiguration *bool `json:"isSnapshotConfiguration,omitempty"`

	// NAS볼륨인스턴스번호리스트
	NasVolumeInstanceNoList []*string `json:"nasVolumeInstanceNoList,omitempty"`

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// 페이지번호
	PageNo *int32 `json:"pageNo,omitempty"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize,omitempty"`

	// 볼륨이름
	VolumeName *string `json:"volumeName,omitempty"`

	// 정렬대상
	SortedBy *string `json:"sortedBy,omitempty"`

	// 정렬순서
	SortingOrder *string `json:"sortingOrder,omitempty"`
}

type GetNasVolumeInstanceListResponse

type GetNasVolumeInstanceListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type GetNasVolumeInstanceRatingListRequest added in v1.4.0

type GetNasVolumeInstanceRatingListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 측정시작시간
	StartTime *string `json:"startTime"`

	// 측정종료시간
	EndTime *string `json:"endTime"`

	// 측정간격
	Interval *string `json:"interval"`
}

type GetNasVolumeInstanceRatingListResponse added in v1.4.0

type GetNasVolumeInstanceRatingListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceRatingList []*NasVolumeInstanceRating `json:"nasVolumeInstanceRatingList,omitempty"`
}

type GetNasVolumeSnapshotConfigurationHistoryListRequest added in v1.4.0

type GetNasVolumeSnapshotConfigurationHistoryListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`
}

type GetNasVolumeSnapshotConfigurationHistoryListResponse added in v1.4.0

type GetNasVolumeSnapshotConfigurationHistoryListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeSnapshotConfigurationHistoryList []*NasVolumeSnapshotConfigurationHistory `json:"nasVolumeSnapshotConfigurationHistoryList,omitempty"`
}

type GetNasVolumeSnapshotListRequest added in v1.4.0

type GetNasVolumeSnapshotListRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`
}

type GetNasVolumeSnapshotListResponse added in v1.4.0

type GetNasVolumeSnapshotListResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeSnapshotList []*NasVolumeSnapshot `json:"nasVolumeSnapshotList,omitempty"`
}

type NasVolumeAccessControlRule added in v1.6.0

type NasVolumeAccessControlRule struct {

	// 서버인스턴스번호
	ServerInstanceNo *string `json:"serverInstanceNo,omitempty"`

	// ReadAccess여부
	ReadAccess *bool `json:"readAccess,omitempty"`

	// WriteAccess여부
	WriteAccess *bool `json:"writeAccess,omitempty"`
}

type NasVolumeInstance

type NasVolumeInstance struct {

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo,omitempty"`

	// NAS볼륨인스턴스상태
	NasVolumeInstanceStatus *CommonCode `json:"nasVolumeInstanceStatus,omitempty"`

	// 서버설명
	NasVolumeInstanceOperation *CommonCode `json:"nasVolumeInstanceOperation,omitempty"`

	// NAS볼륨인스턴스상태이름
	NasVolumeInstanceStatusName *string `json:"nasVolumeInstanceStatusName,omitempty"`

	// 생성일시
	CreateDate *string `json:"createDate,omitempty"`

	// NAS볼륨설명
	NasVolumeDescription *string `json:"nasVolumeDescription,omitempty"`

	// 마운트정보
	MountInformation *string `json:"mountInformation,omitempty"`

	// 볼륨할당프로토콜유형
	VolumeAllotmentProtocolType *CommonCode `json:"volumeAllotmentProtocolType,omitempty"`

	// 볼륨이름
	VolumeName *string `json:"volumeName,omitempty"`

	// 볼륨총사이즈
	VolumeTotalSize *int64 `json:"volumeTotalSize,omitempty"`

	// 볼륨사이즈
	VolumeSize *int64 `json:"volumeSize,omitempty"`

	// 스냅샷볼륨설정비율
	SnapshotVolumeConfigurationRatio *float32 `json:"snapshotVolumeConfigurationRatio,omitempty"`

	// 스냅샷볼륨설정기간유형
	SnapshotVolumeConfigPeriodType *CommonCode `json:"snapshotVolumeConfigPeriodType,omitempty"`

	// 스냅샷자동생성주기요일유형
	SnapshotVolumeConfigDayOfWeekType *CommonCode `json:"snapshotVolumeConfigDayOfWeekType,omitempty"`

	// 스냅샷볼륨설정시간
	SnapshotVolumeConfigTime *int32 `json:"snapshotVolumeConfigTime,omitempty"`

	// 스냅샷볼륨사이즈
	SnapshotVolumeSize *int64 `json:"snapshotVolumeSize,omitempty"`

	// 스냅샷설정여부
	IsSnapshotConfiguration *bool `json:"isSnapshotConfiguration,omitempty"`

	// 이벤트설정여부
	IsEventConfiguration *bool `json:"isEventConfiguration,omitempty"`

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// 초기화스크립트번호
	InitScriptNo *string `json:"initScriptNo,omitempty"`

	// NAS볼륨서버인스턴스번호리스트
	NasVolumeServerInstanceNoList []*string `json:"nasVolumeServerInstanceNoList,omitempty"`

	// 볼륨암호화여부
	IsEncryptedVolume *bool `json:"isEncryptedVolume,omitempty"`

	NasVolumeInstanceCustomIpList []*NasVolumeInstanceCustomIp `json:"nasVolumeInstanceCustomIpList,omitempty"`

	// 반납보호여부
	IsReturnProtection *bool `json:"isReturnProtection,omitempty"`
}

type NasVolumeInstanceCustomIp added in v1.4.0

type NasVolumeInstanceCustomIp struct {

	// 커스텀IP
	CustomIp *string `json:"customIp,omitempty"`
}

type NasVolumeInstanceRating added in v1.4.0

type NasVolumeInstanceRating struct {

	// 측정시간
	RatingTime *string `json:"ratingTime;,omitempty"`

	// 볼륨사이즈
	VolumeSize *int64 `json:"volumeSize;,omitempty"`

	// 볼륨사용사이즈
	VolumeUseSize *int64 `json:"volumeUseSize;,omitempty"`

	// 볼륨사용비율
	VolumeUseRatio *float32 `json:"volumeUseRatio;,omitempty"`

	// 평균볼륨사이즈
	AverageVolumeSize *int64 `json:"averageVolumeSize;,omitempty"`

	// 평균볼륨사용사이즈
	AverageVolumeUseSize *int64 `json:"averageVolumeUseSize;,omitempty"`

	// 평균볼륨사용비율
	AverageVolumeUseRatio *float32 `json:"averageVolumeUseRatio;,omitempty"`

	// 최대볼륨사용사이즈
	MaxVolumeUseSize *int64 `json:"maxVolumeUseSize;,omitempty"`

	// 최대볼륨사용비율
	MaxVolumeUseRatio *float32 `json:"maxVolumeUseRatio;,omitempty"`

	// 최소볼륨사용사이즈
	MinVolumeUseSize *int64 `json:"minVolumeUseSize;,omitempty"`

	// 최소볼륨사용비율
	MinVolumeUseRatio *float32 `json:"minVolumeUseRatio;,omitempty"`

	// 스냅샷볼륨사이즈
	SnapshotVolumeSize *int64 `json:"snapshotVolumeSize;,omitempty"`

	// 스냅샷볼륨사용사이즈
	SnapshotVolumeUseSize *int64 `json:"snapshotVolumeUseSize;,omitempty"`

	// 스냅샷볼륨사용비율
	SnapshotVolumeUseRatio *float32 `json:"snapshotVolumeUseRatio;,omitempty"`

	// 평균스냅샷볼륨사이즈
	SnapshotAverageVolumeSize *int64 `json:"snapshotAverageVolumeSize;,omitempty"`

	// 평균스냅샷볼륨사용사이즈
	SnapshotAverageVolumeUseSize *int64 `json:"snapshotAverageVolumeUseSize;,omitempty"`

	// 평균스냅샷볼륨사용비율
	SnapshotAverageVolumeUseRatio *float32 `json:"snapshotAverageVolumeUseRatio;,omitempty"`

	// 최대스냅샷볼륨사용사이즈
	SnapshotMaxVolumeUseSize *int64 `json:"snapshotMaxVolumeUseSize;,omitempty"`

	// 최대스냅샷볼륨사용비율
	SnapshotMaxVolumeUseRatio *float32 `json:"snapshotMaxVolumeUseRatio;,omitempty"`

	// 최소스냅샷볼륨사용사이즈
	SnapshotMinVolumeUseSize *int64 `json:"snapshotMinVolumeUseSize;,omitempty"`

	// 최소스냅샷볼륨사용비율
	SnapshotMinVolumeUseRatio *float32 `json:"snapshotMinVolumeUseRatio;,omitempty"`
}

type NasVolumeSnapshot added in v1.4.0

type NasVolumeSnapshot struct {

	// NAS볼륨스냅샷이름
	NasVolumeSnapshotName *string `json:"nasVolumeSnapshotName;,omitempty"`

	// 생성일시
	CreateDate *string `json:"createDate;,omitempty"`

	// 스냡샷사이즈
	SnapshotSize *int64 `json:"snapshotSize;,omitempty"`

	// busy여부
	IsBusy *bool `json:"isBusy;,omitempty"`
}

type NasVolumeSnapshotConfigurationHistory added in v1.4.0

type NasVolumeSnapshotConfigurationHistory struct {

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo;,omitempty"`

	// 이력일련번호
	HistorySequenceNo *string `json:"historySequenceNo;,omitempty"`

	// 이력유형
	HistoryType *CommonCode `json:"historyType;,omitempty"`

	// IP
	Ip *string `json:"ip;,omitempty"`

	// 등록일시
	RegisterDate *string `json:"registerDate;,omitempty"`

	// 스냅샷볼륨설정비율
	SnapshotVolumeConfigurationRatio *float32 `json:"snapshotVolumeConfigurationRatio;,omitempty"`

	// 스냅샷볼륨설정기간유형
	SnapshotVolumeConfigPeriodType *CommonCode `json:"snapshotVolumeConfigPeriodType;,omitempty"`

	// 스냅샷자동생성주기요일유형
	SnapshotVolumeConfigDayOfWeekType *CommonCode `json:"snapshotVolumeConfigDayOfWeekType;,omitempty"`

	// 스냅샷자동생성주기시각
	SnapshotVolumeConfigTime *int32 `json:"snapshotVolumeConfigTime;,omitempty"`
}

type RemoveNasVolumeAccessControlRequest

type RemoveNasVolumeAccessControlRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 서버인스턴스번호리스트
	ServerInstanceNoList []*string `json:"serverInstanceNoList,omitempty"`
}

type RemoveNasVolumeAccessControlResponse

type RemoveNasVolumeAccessControlResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type RestoreNasVolumeWithSnapshotRequest added in v1.4.0

type RestoreNasVolumeWithSnapshotRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// NAS볼륨스냅샷이름
	NasVolumeSnapshotName *string `json:"nasVolumeSnapshotName"`
}

type RestoreNasVolumeWithSnapshotResponse added in v1.4.0

type RestoreNasVolumeWithSnapshotResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeSnapshotList []*NasVolumeSnapshot `json:"nasVolumeSnapshotList,omitempty"`
}

type SetNasVolumeAccessControlRequest

type SetNasVolumeAccessControlRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 서버인스턴스번호리스트
	ServerInstanceNoList []*string `json:"serverInstanceNoList,omitempty"`

	// 접근제어Rule리스트
	AccessControlRuleList []*AccessControlRuleParameter `json:"accessControlRuleList,omitempty"`
}

type SetNasVolumeAccessControlResponse

type SetNasVolumeAccessControlResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type SetNasVolumeReturnProtectionRequest added in v1.4.0

type SetNasVolumeReturnProtectionRequest struct {

	// REGION코드
	RegionCode *string `json:"regionCode,omitempty"`

	// NAS볼륨인스턴스번호
	NasVolumeInstanceNo *string `json:"nasVolumeInstanceNo"`

	// 반납보호여부
	IsReturnProtection *bool `json:"isReturnProtection"`
}

type SetNasVolumeReturnProtectionResponse added in v1.4.0

type SetNasVolumeReturnProtectionResponse struct {
	RequestId *string `json:"requestId,omitempty"`

	ReturnCode *string `json:"returnCode,omitempty"`

	ReturnMessage *string `json:"returnMessage,omitempty"`

	TotalRows *int32 `json:"totalRows,omitempty"`

	NasVolumeInstanceList []*NasVolumeInstance `json:"nasVolumeInstanceList,omitempty"`
}

type V2ApiService

type V2ApiService service

func (*V2ApiService) AddNasVolumeAccessControl

func (a *V2ApiService) AddNasVolumeAccessControl(addNasVolumeAccessControlRequest *AddNasVolumeAccessControlRequest) (*AddNasVolumeAccessControlResponse, error)

V2ApiService @param addNasVolumeAccessControlRequest addNasVolumeAccessControlRequest @return *AddNasVolumeAccessControlResponse

func (*V2ApiService) ChangeNasVolumeSize

func (a *V2ApiService) ChangeNasVolumeSize(changeNasVolumeSizeRequest *ChangeNasVolumeSizeRequest) (*ChangeNasVolumeSizeResponse, error)

V2ApiService @param changeNasVolumeSizeRequest changeNasVolumeSizeRequest @return *ChangeNasVolumeSizeResponse

func (*V2ApiService) ChangeNasVolumeSnapshotConfiguration added in v1.4.0

func (a *V2ApiService) ChangeNasVolumeSnapshotConfiguration(changeNasVolumeSnapshotConfigurationRequest *ChangeNasVolumeSnapshotConfigurationRequest) (*ChangeNasVolumeSnapshotConfigurationResponse, error)

V2ApiService @param changeNasVolumeSnapshotConfigurationRequest changeNasVolumeSnapshotConfigurationRequest @return *ChangeNasVolumeSnapshotConfigurationResponse

func (*V2ApiService) CreateNasVolumeInstance

func (a *V2ApiService) CreateNasVolumeInstance(createNasVolumeInstanceRequest *CreateNasVolumeInstanceRequest) (*CreateNasVolumeInstanceResponse, error)

V2ApiService @param createNasVolumeInstanceRequest createNasVolumeInstanceRequest @return *CreateNasVolumeInstanceResponse

func (*V2ApiService) CreateNasVolumeSnapshot added in v1.4.0

func (a *V2ApiService) CreateNasVolumeSnapshot(createNasVolumeSnapshotRequest *CreateNasVolumeSnapshotRequest) (*CreateNasVolumeSnapshotResponse, error)

V2ApiService @param createNasVolumeSnapshotRequest createNasVolumeSnapshotRequest @return *CreateNasVolumeSnapshotResponse

func (*V2ApiService) DeleteNasVolumeInstances

func (a *V2ApiService) DeleteNasVolumeInstances(deleteNasVolumeInstancesRequest *DeleteNasVolumeInstancesRequest) (*DeleteNasVolumeInstancesResponse, error)

V2ApiService @param deleteNasVolumeInstancesRequest deleteNasVolumeInstancesRequest @return *DeleteNasVolumeInstancesResponse

func (*V2ApiService) DeleteNasVolumeSnapshot added in v1.4.0

func (a *V2ApiService) DeleteNasVolumeSnapshot(deleteNasVolumeSnapshotRequest *DeleteNasVolumeSnapshotRequest) (*DeleteNasVolumeSnapshotResponse, error)

V2ApiService @param deleteNasVolumeSnapshotRequest deleteNasVolumeSnapshotRequest @return *DeleteNasVolumeSnapshotResponse

func (*V2ApiService) GetNasVolumeAccessControlRuleList added in v1.6.0

func (a *V2ApiService) GetNasVolumeAccessControlRuleList(getNasVolumeAccessControlRuleListRequest *GetNasVolumeAccessControlRuleListRequest) (*GetNasVolumeAccessControlRuleListResponse, error)

V2ApiService @param getNasVolumeAccessControlRuleListRequest getNasVolumeAccessControlRuleListRequest @return *GetNasVolumeAccessControlRuleListResponse

func (*V2ApiService) GetNasVolumeInstanceDetail

func (a *V2ApiService) GetNasVolumeInstanceDetail(getNasVolumeInstanceDetailRequest *GetNasVolumeInstanceDetailRequest) (*GetNasVolumeInstanceDetailResponse, error)

V2ApiService @param getNasVolumeInstanceDetailRequest getNasVolumeInstanceDetailRequest @return *GetNasVolumeInstanceDetailResponse

func (*V2ApiService) GetNasVolumeInstanceList

func (a *V2ApiService) GetNasVolumeInstanceList(getNasVolumeInstanceListRequest *GetNasVolumeInstanceListRequest) (*GetNasVolumeInstanceListResponse, error)

V2ApiService @param getNasVolumeInstanceListRequest getNasVolumeInstanceListRequest @return *GetNasVolumeInstanceListResponse

func (*V2ApiService) GetNasVolumeInstanceRatingList added in v1.4.0

func (a *V2ApiService) GetNasVolumeInstanceRatingList(getNasVolumeInstanceRatingListRequest *GetNasVolumeInstanceRatingListRequest) (*GetNasVolumeInstanceRatingListResponse, error)

V2ApiService @param getNasVolumeInstanceRatingListRequest getNasVolumeInstanceRatingListRequest @return *GetNasVolumeInstanceRatingListResponse

func (*V2ApiService) GetNasVolumeSnapshotConfigurationHistoryList added in v1.4.0

func (a *V2ApiService) GetNasVolumeSnapshotConfigurationHistoryList(getNasVolumeSnapshotConfigurationHistoryListRequest *GetNasVolumeSnapshotConfigurationHistoryListRequest) (*GetNasVolumeSnapshotConfigurationHistoryListResponse, error)

V2ApiService @param getNasVolumeSnapshotConfigurationHistoryListRequest getNasVolumeSnapshotConfigurationHistoryListRequest @return *GetNasVolumeSnapshotConfigurationHistoryListResponse

func (*V2ApiService) GetNasVolumeSnapshotList added in v1.4.0

func (a *V2ApiService) GetNasVolumeSnapshotList(getNasVolumeSnapshotListRequest *GetNasVolumeSnapshotListRequest) (*GetNasVolumeSnapshotListResponse, error)

V2ApiService @param getNasVolumeSnapshotListRequest getNasVolumeSnapshotListRequest @return *GetNasVolumeSnapshotListResponse

func (*V2ApiService) RemoveNasVolumeAccessControl

func (a *V2ApiService) RemoveNasVolumeAccessControl(removeNasVolumeAccessControlRequest *RemoveNasVolumeAccessControlRequest) (*RemoveNasVolumeAccessControlResponse, error)

V2ApiService @param removeNasVolumeAccessControlRequest removeNasVolumeAccessControlRequest @return *RemoveNasVolumeAccessControlResponse

func (*V2ApiService) RestoreNasVolumeWithSnapshot added in v1.4.0

func (a *V2ApiService) RestoreNasVolumeWithSnapshot(restoreNasVolumeWithSnapshotRequest *RestoreNasVolumeWithSnapshotRequest) (*RestoreNasVolumeWithSnapshotResponse, error)

V2ApiService @param restoreNasVolumeWithSnapshotRequest restoreNasVolumeWithSnapshotRequest @return *RestoreNasVolumeWithSnapshotResponse

func (*V2ApiService) SetNasVolumeAccessControl

func (a *V2ApiService) SetNasVolumeAccessControl(setNasVolumeAccessControlRequest *SetNasVolumeAccessControlRequest) (*SetNasVolumeAccessControlResponse, error)

V2ApiService @param setNasVolumeAccessControlRequest setNasVolumeAccessControlRequest @return *SetNasVolumeAccessControlResponse

func (*V2ApiService) SetNasVolumeReturnProtection added in v1.4.0

func (a *V2ApiService) SetNasVolumeReturnProtection(setNasVolumeReturnProtectionRequest *SetNasVolumeReturnProtectionRequest) (*SetNasVolumeReturnProtectionResponse, error)

V2ApiService @param setNasVolumeReturnProtectionRequest setNasVolumeReturnProtectionRequest @return *SetNasVolumeReturnProtectionResponse

Source Files

Jump to

Keyboard shortcuts

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