Skip to content

Commit

Permalink
Merge pull request #79 from NaverCloudPlatform/fix/param_type
Browse files Browse the repository at this point in the history
fix: vhadoop and vserver modify type
  • Loading branch information
youngmn authored Oct 14, 2024
2 parents d781090 + 531259a commit 6472b5f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 30 deletions.
3 changes: 3 additions & 0 deletions services/vhadoop/create_cloud_hadoop_instance_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,7 @@ type CreateCloudHadoopInstanceRequest struct {

// Cloud Hadoop Data Catalog 사용 여부
UseDataCatalog *bool `json:"useDataCatalog,omitempty"`

// engineVersionCode
EngineVersionCode *string `json:"engineVersionCode,omitempty"`
}
33 changes: 18 additions & 15 deletions services/vhadoop/product.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,50 @@ package vhadoop
type Product struct {

// 상품코드
ProductCode *string `json:"productCode,omitempty"`
ProductCode *string `json:"productCode,omitempty"`

// 상품이름
ProductName *string `json:"productName,omitempty"`
ProductName *string `json:"productName,omitempty"`

// 상품유형
ProductType *CommonCode `json:"productType,omitempty"`
ProductType *CommonCode `json:"productType,omitempty"`

// 상품설명
ProductDescription *string `json:"productDescription,omitempty"`
ProductDescription *string `json:"productDescription,omitempty"`

// 인프라자원유형
InfraResourceType *CommonCode `json:"infraResourceType,omitempty"`
InfraResourceType *CommonCode `json:"infraResourceType,omitempty"`

// 인프라자원상세유형
InfraResourceDetailType *CommonCode `json:"infraResourceDetailType,omitempty"`
InfraResourceDetailType *CommonCode `json:"infraResourceDetailType,omitempty"`

// CPU개수
CpuCount *int32 `json:"cpuCount,omitempty"`
CpuCount *int32 `json:"cpuCount,omitempty"`

// 메모리사이즈
MemorySize *int64 `json:"memorySize,omitempty"`
MemorySize *int64 `json:"memorySize,omitempty"`

// 기본블록스토리지사이즈
BaseBlockStorageSize *int64 `json:"baseBlockStorageSize,omitempty"`
BaseBlockStorageSize *int64 `json:"baseBlockStorageSize,omitempty"`

// 플랫폼유형
PlatformType *CommonCode `json:"platformType,omitempty"`
PlatformType *CommonCode `json:"platformType,omitempty"`

// OS정보
OsInformation *string `json:"osInformation,omitempty"`
OsInformation *string `json:"osInformation,omitempty"`

// 디스크유형
DiskType *CommonCode `json:"diskType,omitempty"`
DiskType *CommonCode `json:"diskType,omitempty"`

// DB유형코드
DbKindCode *string `json:"dbKindCode,omitempty"`
DbKindCode *string `json:"dbKindCode,omitempty"`

// 추가블록스토리지사이즈
AddBlockStorageSize *int64 `json:"addBlockStorageSize,omitempty"`
AddBlockStorageSize *int64 `json:"addBlockStorageSize,omitempty"`

// 세대코드
GenerationCode *string `json:"generationCode,omitempty"`
GenerationCode *string `json:"generationCode,omitempty"`

// engineVersionCode
EngineVersionCode *string `json:"engineVersionCode,omitempty"`
}
30 changes: 15 additions & 15 deletions services/vserver/block_storage_snapshot_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,47 @@ package vserver
type BlockStorageSnapshotInstance struct {

// 블록스토리지스냅샷인스턴스번호
BlockStorageSnapshotInstanceNo *string `json:"blockStorageSnapshotInstanceNo,omitempty"`
BlockStorageSnapshotInstanceNo *string `json:"blockStorageSnapshotInstanceNo,omitempty"`

// 블록스토리지스냅샷이름
BlockStorageSnapshotName *string `json:"blockStorageSnapshotName,omitempty"`
BlockStorageSnapshotName *string `json:"blockStorageSnapshotName,omitempty"`

// 블록스토리지스냅샷볼륨사이즈
BlockStorageSnapshotVolumeSize *int64 `json:"blockStorageSnapshotVolumeSize,omitempty"`
BlockStorageSnapshotVolumeSize *int64 `json:"blockStorageSnapshotVolumeSize,omitempty"`

// 원본블록스토리지인스턴스번호
OriginalBlockStorageInstanceNo *string `json:"originalBlockStorageInstanceNo,omitempty"`
OriginalBlockStorageInstanceNo *string `json:"originalBlockStorageInstanceNo,omitempty"`

// 블록스토리지스냅샷인스턴스상태
BlockStorageSnapshotInstanceStatus *CommonCode `json:"blockStorageSnapshotInstanceStatus,omitempty"`
BlockStorageSnapshotInstanceStatus *CommonCode `json:"blockStorageSnapshotInstanceStatus,omitempty"`

// 블록스토리지스냅샷인스턴스OP
BlockStorageSnapshotInstanceOperation *CommonCode `json:"blockStorageSnapshotInstanceOperation,omitempty"`
BlockStorageSnapshotInstanceOperation *CommonCode `json:"blockStorageSnapshotInstanceOperation,omitempty"`

// 블록스토리지스냅샷인스턴스상태이름
BlockStorageSnapshotInstanceStatusName *string `json:"blockStorageSnapshotInstanceStatusName,omitempty"`
BlockStorageSnapshotInstanceStatusName *string `json:"blockStorageSnapshotInstanceStatusName,omitempty"`

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

// 원본블록스토리지볼륨암호화여부
IsEncryptedOriginalBlockStorageVolume *bool `json:"isEncryptedOriginalBlockStorageVolume,omitempty"`
IsEncryptedOriginalBlockStorageVolume *bool `json:"isEncryptedOriginalBlockStorageVolume,omitempty"`

// 블록스토리지스냅샷설명
BlockStorageSnapshotDescription *string `json:"blockStorageSnapshotDescription,omitempty"`
BlockStorageSnapshotDescription *string `json:"blockStorageSnapshotDescription,omitempty"`

// 스냅샷유형
SnapshotType *CommonCode `json:"snapshotType,omitempty"`
SnapshotType *CommonCode `json:"snapshotType,omitempty"`

// 베이스스냅샷인스턴스번호
BaseSnapshotInstanceNo *string `json:"baseSnapshotInstanceNo,omitempty"`
BaseSnapshotInstanceNo *string `json:"baseSnapshotInstanceNo,omitempty"`

// 스냅샷일련Depth
SnapshotChainDepth *int32 `json:"snapshotChainDepth,omitempty"`
SnapshotChainDepth *int32 `json:"snapshotChainDepth,omitempty"`

// 하이퍼바이저타입
HypervisorType *string `json:"hypervisorType,omitempty"`
HypervisorType *CommonCode `json:"hypervisorType,omitempty"`

// 부팅가능 여부
IsBootable *bool `json:"isBootable,omitempty"`
IsBootable *bool `json:"isBootable,omitempty"`
}

0 comments on commit 6472b5f

Please sign in to comment.