Documentation ¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration
- type APIClient
- type APIResponse
- type AccessControlRuleParameter
- type AddNasVolumeAccessControlRequest
- type AddNasVolumeAccessControlResponse
- type ChangeNasVolumeSizeRequest
- type ChangeNasVolumeSizeResponse
- type ChangeNasVolumeSnapshotConfigurationRequest
- type ChangeNasVolumeSnapshotConfigurationResponse
- type CommonCode
- type CreateNasVolumeInstanceRequest
- type CreateNasVolumeInstanceResponse
- type CreateNasVolumeSnapshotRequest
- type CreateNasVolumeSnapshotResponse
- type DeleteNasVolumeInstancesRequest
- type DeleteNasVolumeInstancesResponse
- type DeleteNasVolumeSnapshotRequest
- type DeleteNasVolumeSnapshotResponse
- type GetNasVolumeAccessControlRuleListRequest
- type GetNasVolumeAccessControlRuleListResponse
- type GetNasVolumeInstanceDetailRequest
- type GetNasVolumeInstanceDetailResponse
- type GetNasVolumeInstanceListRequest
- type GetNasVolumeInstanceListResponse
- type GetNasVolumeInstanceRatingListRequest
- type GetNasVolumeInstanceRatingListResponse
- type GetNasVolumeSnapshotConfigurationHistoryListRequest
- type GetNasVolumeSnapshotConfigurationHistoryListResponse
- type GetNasVolumeSnapshotListRequest
- type GetNasVolumeSnapshotListResponse
- type NasVolumeAccessControlRule
- type NasVolumeInstance
- type NasVolumeInstanceCustomIp
- type NasVolumeInstanceRating
- type NasVolumeSnapshot
- type NasVolumeSnapshotConfigurationHistory
- type RemoveNasVolumeAccessControlRequest
- type RemoveNasVolumeAccessControlResponse
- type RestoreNasVolumeWithSnapshotRequest
- type RestoreNasVolumeWithSnapshotResponse
- type SetNasVolumeAccessControlRequest
- type SetNasVolumeAccessControlResponse
- type SetNasVolumeReturnProtectionRequest
- type SetNasVolumeReturnProtectionResponse
- type V2ApiService
- func (a *V2ApiService) AddNasVolumeAccessControl(addNasVolumeAccessControlRequest *AddNasVolumeAccessControlRequest) (*AddNasVolumeAccessControlResponse, error)
- func (a *V2ApiService) ChangeNasVolumeSize(changeNasVolumeSizeRequest *ChangeNasVolumeSizeRequest) (*ChangeNasVolumeSizeResponse, error)
- func (a *V2ApiService) ChangeNasVolumeSnapshotConfiguration(...) (*ChangeNasVolumeSnapshotConfigurationResponse, error)
- func (a *V2ApiService) CreateNasVolumeInstance(createNasVolumeInstanceRequest *CreateNasVolumeInstanceRequest) (*CreateNasVolumeInstanceResponse, error)
- func (a *V2ApiService) CreateNasVolumeSnapshot(createNasVolumeSnapshotRequest *CreateNasVolumeSnapshotRequest) (*CreateNasVolumeSnapshotResponse, error)
- func (a *V2ApiService) DeleteNasVolumeInstances(deleteNasVolumeInstancesRequest *DeleteNasVolumeInstancesRequest) (*DeleteNasVolumeInstancesResponse, error)
- func (a *V2ApiService) DeleteNasVolumeSnapshot(deleteNasVolumeSnapshotRequest *DeleteNasVolumeSnapshotRequest) (*DeleteNasVolumeSnapshotResponse, error)
- func (a *V2ApiService) GetNasVolumeAccessControlRuleList(...) (*GetNasVolumeAccessControlRuleListResponse, error)
- func (a *V2ApiService) GetNasVolumeInstanceDetail(getNasVolumeInstanceDetailRequest *GetNasVolumeInstanceDetailRequest) (*GetNasVolumeInstanceDetailResponse, error)
- func (a *V2ApiService) GetNasVolumeInstanceList(getNasVolumeInstanceListRequest *GetNasVolumeInstanceListRequest) (*GetNasVolumeInstanceListResponse, error)
- func (a *V2ApiService) GetNasVolumeInstanceRatingList(getNasVolumeInstanceRatingListRequest *GetNasVolumeInstanceRatingListRequest) (*GetNasVolumeInstanceRatingListResponse, error)
- func (a *V2ApiService) GetNasVolumeSnapshotConfigurationHistoryList(...) (*GetNasVolumeSnapshotConfigurationHistoryListResponse, error)
- func (a *V2ApiService) GetNasVolumeSnapshotList(getNasVolumeSnapshotListRequest *GetNasVolumeSnapshotListRequest) (*GetNasVolumeSnapshotListResponse, error)
- func (a *V2ApiService) RemoveNasVolumeAccessControl(removeNasVolumeAccessControlRequest *RemoveNasVolumeAccessControlRequest) (*RemoveNasVolumeAccessControlResponse, error)
- func (a *V2ApiService) RestoreNasVolumeWithSnapshot(restoreNasVolumeWithSnapshotRequest *RestoreNasVolumeWithSnapshotRequest) (*RestoreNasVolumeWithSnapshotResponse, error)
- func (a *V2ApiService) SetNasVolumeAccessControl(setNasVolumeAccessControlRequest *SetNasVolumeAccessControlRequest) (*SetNasVolumeAccessControlResponse, error)
- func (a *V2ApiService) SetNasVolumeReturnProtection(setNasVolumeReturnProtectionRequest *SetNasVolumeReturnProtectionRequest) (*SetNasVolumeReturnProtectionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
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 ¶
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 ¶
- access_control_rule_parameter.go
- add_nas_volume_access_control_request.go
- add_nas_volume_access_control_response.go
- api_client.go
- api_response.go
- change_nas_volume_size_request.go
- change_nas_volume_size_response.go
- change_nas_volume_snapshot_configuration_request.go
- change_nas_volume_snapshot_configuration_response.go
- common_code.go
- configuration.go
- create_nas_volume_instance_request.go
- create_nas_volume_instance_response.go
- create_nas_volume_snapshot_request.go
- create_nas_volume_snapshot_response.go
- delete_nas_volume_instances_request.go
- delete_nas_volume_instances_response.go
- delete_nas_volume_snapshot_request.go
- delete_nas_volume_snapshot_response.go
- get_nas_volume_access_control_rule_list_request.go
- get_nas_volume_access_control_rule_list_response.go
- get_nas_volume_instance_detail_request.go
- get_nas_volume_instance_detail_response.go
- get_nas_volume_instance_list_request.go
- get_nas_volume_instance_list_response.go
- get_nas_volume_instance_rating_list_request.go
- get_nas_volume_instance_rating_list_response.go
- get_nas_volume_snapshot_configuration_history_list_request.go
- get_nas_volume_snapshot_configuration_history_list_response.go
- get_nas_volume_snapshot_list_request.go
- get_nas_volume_snapshot_list_response.go
- nas_volume_access_control_rule.go
- nas_volume_instance.go
- nas_volume_instance_custom_ip.go
- nas_volume_instance_rating.go
- nas_volume_snapshot.go
- nas_volume_snapshot_configuration_history.go
- remove_nas_volume_access_control_request.go
- remove_nas_volume_access_control_response.go
- restore_nas_volume_with_snapshot_request.go
- restore_nas_volume_with_snapshot_response.go
- set_nas_volume_access_control_request.go
- set_nas_volume_access_control_response.go
- set_nas_volume_return_protection_request.go
- set_nas_volume_return_protection_response.go
- v2_api.go