1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

小ネタ: IBM Cloud(Classic Infrastructure)のEndurance Storageのhourly/monthlyの見分け方

Last updated at Posted at 2020-12-18

#はじめに
IBM Cloud(Classic Infrastructure)利用しているEndurance Storageがhourly(時間課金)なのかmonthly(月額課金)なのかを見分ける方法が難しい。Customer Portalを見ても一目でわからない。

#GUIでの確認方法
ようやく見つけた方法の1つは、ストレージサイズの変更画面(modify volume)で、以下の項目をチェックすること。1つ1つチェックするのは大変・・・
image.png

#slcliコマンドを使った確認方法

hourlyFlag: Falseのものが月額課金
hourlyFlag: Trueのものが時間課金

BlockStorage(iSCSI)のケース
$ slcli call-api Account getIscsiNetworkStorage --mask="id,username,nasType,createDate,capacityGb,billingItem[hoursUsed,hourlyFlag]" --limit 3
:........................:............:...........................:..........:.........:...................:
:      billingItem       : capacityGb :         createDate        :    id    : nasType :      username     :
:........................:............:...........................:..........:.........:...................:
: :............:.......: :    200     : 2019-01-29T01:16:40-06:00 : 62904135 :  ISCSI  : IBM02SEL1756623-1 :
: :       name : value : :            :                           :          :         :                   :
: :............:.......: :            :                           :          :         :                   :
: : hourlyFlag : False : :            :                           :          :         :                   :
: :............:.......: :            :                           :          :         :                   :
: :............:.......: :     20     : 2019-04-22T07:09:27-07:00 : 72910577 :  ISCSI  : IBM02SEL1756623-4 :
: :       name : value : :            :                           :          :         :                   :
: :............:.......: :            :                           :          :         :                   :
: : hourlyFlag : False : :            :                           :          :         :                   :
: :............:.......: :            :                           :          :         :                   :
: :............:.......: :     20     : 2019-05-22T17:09:59-07:00 : 76747697 :  ISCSI  : IBM02SEL1756623-6 :
: :       name : value : :            :                           :          :         :                   :
: :............:.......: :            :                           :          :         :                   :
: :  hoursUsed : 408   : :            :                           :          :         :                   :
: : hourlyFlag : True  : :            :                           :          :         :                   :
: :............:.......: :            :                           :          :         :                   :
:........................:............:...........................:..........:.........:...................:
FileStorage(NFS)のケース
$ slcli call-api Account getNasNetworkStorage --mask="id,username,nasType,createDate,capacityGb,billingItem[hoursUsed,hourlyFlag]" --limit 5
:........................:............:...........................:..........:.........:....................:
:      billingItem       : capacityGb :         createDate        :    id    : nasType :      username      :
:........................:............:...........................:..........:.........:....................:
: :............:.......: :     23     : 2019-01-11T01:02:04-06:00 : 61058813 :   NAS   : IBM02SEV1756623_2  :
: :       name : value : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :  hoursUsed : 408   : :            :                           :          :         :                    :
: : hourlyFlag : True  : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :............:.......: :     20     : 2019-05-22T00:26:25-07:00 : 76653367 :   NAS   : IBM02SEV1756623_6  :
: :       name : value : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :  hoursUsed : 408   : :            :                           :          :         :                    :
: : hourlyFlag : True  : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :............:.......: :     20     : 2019-06-18T00:26:18-07:00 : 80538711 :   NAS   : IBM02SEV1756623_14 :
: :       name : value : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :  hoursUsed : 408   : :            :                           :          :         :                    :
: : hourlyFlag : True  : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :............:.......: :     20     : 2019-06-18T00:49:30-07:00 : 80541965 :   NAS   : IBM02SEV1756623_16 :
: :       name : value : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :  hoursUsed : 408   : :            :                           :          :         :                    :
: : hourlyFlag : True  : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: :............:.......: :    1000    : 2019-07-08T07:25:16-07:00 : 83594681 :   NAS   : IBM02SEV1756623_17 :
: :       name : value : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
: : hourlyFlag : False : :            :                           :          :         :                    :
: :............:.......: :            :                           :          :         :                    :
:........................:............:...........................:..........:.........:....................:
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?