flushAllCloudRedisServerInstance
    • PDF

    flushAllCloudRedisServerInstance

    • PDF

    記事の要約

    VPC環境で利用できます。

    概要

    Cloud DB for Redis FlushAllコマンドを利用し、選択したRedis Serverのすべてのデータを削除します。
    バックアップデータがある場合は新しいRedis Serverに復旧できますが、これは削除する時点のデータを意味するわけではありませんので、慎重に行ってください。
    HA商品であればMasterでのみ削除できます。この場合、Slave/Standby-Masterも一緒に削除されますのでご注意ください。

    リクエスト

    レスポンスデータタイプ

    パラメータ名必須の有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    regionCodeはgetRegionListアクションを通じて取得できます。
    デフォルト:getRegionList照会結果の最初のリージョンを選択
    cloudRedisServerInstanceNoYesStringFlushAllコマンドを実行するCloud DB for Redisサーバインスタンス番号
    cloudRedisServerInstanceNoはgetCloudRedisInstanceListアクションを通じて取得できます。
    outputNoStringレスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : json

    レスポンス

    レスポンスデータタイプ

    • CloudRedisInstanceListタイプ
    CloudRedisInstanceList extends CommonResponse
    private Integer totalRows;
    private List<CloudRedisInstance> cloudRedisInstanceList = new ArrayList<>();
    CloudRedisInstance
    private String cloudRedisInstanceNo;
    private String cloudRedisServiceName;
    private String cloudRedisInstanceStatusName;
    private CommonCode cloudRedisInstanceStatus;
    private CommonCode cloudRedisInstanceOperation;
    private String cloudRedisImageProductCode;
    private String engineVersion;
    private CommonCode licence;
    private Integer cloudRedisPort;
    private Boolean isHa;
    private String cloudRedisServerPrefix;
    private Boolean isBackup;
    private Integer backupFileRetentionPeriod;
    private String backupTime;
    private String backupSchedule;
    private Date createDate;
    private Integer shardCount;
    private Integer shardCopyCount;
    private AccessControlGroupNoList accessControlGroupNoList;
    private String configGroupNo;
    private String configGroupName;
    private CommonCode role;
    private List<CloudRedisInstance> cloudRedisServerInstanceList;
    AccessControlGroupNoList
    private List<String> accessControlGroupNoList = new ArrayList<>();
    CloudRedisServerInstance
    private String cloudRedisServerInstanceNo;
    private String cloudRedisServerName;
    private CommonCode cloudRedisServerRole;
    private String cloudRedisServerInstanceStatusName;
    private CommonCode cloudRedisServerInstanceStatus;
    private CommonCode cloudRedisServerInstanceOperation;
    private String cloudRedisProductCode;
    private String regionCode;
    private String zoneCode;
    private String vpcNo;
    private String subnetNo;
    private String privateDomain;
    private Integer cpuCount;
    private Long memorySize;
    private Long osMemorySize;
    private Date uptime;
    private Date createDate;
    private String slotName;

    リクエスト例

    ncloud vredis flushAllCloudRedisServerInstance --regionCode KR --cloudRedisServerInstanceNo ***821
    

    レスポンス例

    <flushAllCloudRedisServerInstanceResponse>
        <requestId>1efe1130-13c6-4e45-8aed-9252ead588a4</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudRedisInstanceList>
            <cloudRedisInstance>
                <cloudRedisInstanceNo>2192***</cloudRedisInstanceNo>
                <cloudRedisServiceName>dsdc***</cloudRedisServiceName>
                <cloudRedisInstanceStatusName>settingUp</cloudRedisInstanceStatusName>
                <cloudRedisInstanceStatus>
                    <code>CREAT</code>
                    <codeName>CLOUD DATABASE(VPC) Created State</codeName>
                </cloudRedisInstanceStatus>
                <cloudRedisInstanceOperation>
                    <code>NULL</code>
                    <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
                </cloudRedisInstanceOperation>
                <cloudRedisImageProductCode>SW.VDBAS.VRDS.LNX64.CNTOS.0703.REDIS.4014.B050</cloudRedisImageProductCode>
                <engineVersion>REDIS 4.0.14</engineVersion>
                <licence>
                    <code>BSD</code>
                    <codeName>Berkeley Software Distribution</codeName>
                </licence>
                <cloudRedisPort>6379</cloudRedisPort>
                <isHa>false</isHa>
                <isBackup>false</isBackup>
                <backupTime>01:00</backupTime>
                <backupFileRetentionPeriod>1</backupFileRetentionPeriod>
                <backupSchedule>AUTO</backupSchedule>
                <cloudRedisServerPrefix>dsajc***</cloudRedisServerPrefix>
                <role>
                    <code>CLUSTER</code>
                    <codeName>CLOUD REDIS(VPC) Cluster Role</codeName>
                </role>
                <createDate>2022-02-21T14:58:44+0900</createDate>
                <accessControlGroupNoList>
                    <accessControlGroupNo>14704</accessControlGroupNo>
                </accessControlGroupNoList>
                <masterNodeCount>3</masterNodeCount>
                <slaveNodeCount>0</slaveNodeCount>
                <configGroupNo>4**</configGroupNo>
                <configGroupName>ffsds***</configGroupName>
                <cloudRedisServerInstanceList>
                    <cloudRedisServerInstance>
                        <cloudRedisServerInstanceNo>2192***</cloudRedisServerInstanceNo>
                        <cloudRedisServerName>dsajc***-001-001-rm1</cloudRedisServerName>
                        <cloudRedisServerRole>
                            <code>M</code>
                            <codeName>Master</codeName>
                        </cloudRedisServerRole>
                        <cloudRedisServerInstanceStatusName>settingUp</cloudRedisServerInstanceStatusName>
                        <cloudRedisServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudRedisServerInstanceStatus>
                        <cloudRedisServerInstanceOperation>
                            <code>SETUP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                        </cloudRedisServerInstanceOperation>
                        <cloudRedisProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudRedisProductCode>
                        <regionCode>KR</regionCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>55**</subnetNo>
                        <privateDomain>redisc-*****.vpc-cdb.ntruss.com</privateDomain>
                        <cpuCount>4</cpuCount>
                        <memorySize>1610612736</memorySize>
                        <osMemorySize>2147483648</osMemorySize>
                        <uptime>2022-03-10T16:57:52+0900</uptime>
                        <createDate>2022-02-21T14:58:44+0900</createDate>
                        <slotName>0-5460</slotName>
                    </cloudRedisServerInstance>
                    <cloudRedisServerInstance>
                        <cloudRedisServerInstanceNo>2192***</cloudRedisServerInstanceNo>
                        <cloudRedisServerName>dsajc***-002-001-rm2</cloudRedisServerName>
                        <cloudRedisServerRole>
                            <code>M</code>
                            <codeName>Master</codeName>
                        </cloudRedisServerRole>
                        <cloudRedisServerInstanceStatusName>running</cloudRedisServerInstanceStatusName>
                        <cloudRedisServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudRedisServerInstanceStatus>
                        <cloudRedisServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudRedisServerInstanceOperation>
                        <cloudRedisProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudRedisProductCode>
                        <regionCode>KR</regionCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>55**</subnetNo>
                        <privateDomain>redisc-****d.vpc-cdb.ntruss.com</privateDomain>
                        <cpuCount>4</cpuCount>
                        <memorySize>1610612736</memorySize>
                        <osMemorySize>2147483648</osMemorySize>
                        <uptime>2022-02-21T15:11:52+0900</uptime>
                        <createDate>2022-02-21T14:58:44+0900</createDate>
                        <slotName>5461-10922</slotName>
                    </cloudRedisServerInstance>
                    <cloudRedisServerInstance>
                        <cloudRedisServerInstanceNo>2192***</cloudRedisServerInstanceNo>
                        <cloudRedisServerName>dsajc***-003-001-rm3</cloudRedisServerName>
                        <cloudRedisServerRole>
                            <code>M</code>
                            <codeName>Master</codeName>
                        </cloudRedisServerRole>
                        <cloudRedisServerInstanceStatusName>running</cloudRedisServerInstanceStatusName>
                        <cloudRedisServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudRedisServerInstanceStatus>
                        <cloudRedisServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudRedisServerInstanceOperation>
                        <cloudRedisProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudRedisProductCode>
                        <regionCode>KR</regionCode>
                        <vpcNo>16**</vpcNo>
                        <subnetNo>55**</subnetNo>
                        <privateDomain>redisc-22***.vpc-cdb.ntruss.com</privateDomain>
                        <cpuCount>4</cpuCount>
                        <memorySize>1610612736</memorySize>
                        <osMemorySize>2147483648</osMemorySize>
                        <uptime>2022-02-21T15:11:52+0900</uptime>
                        <createDate>2022-02-21T14:58:44+0900</createDate>
                        <slotName>10923-16383</slotName>
                    </cloudRedisServerInstance>
                </cloudRedisServerInstanceList>
            </cloudRedisInstance>
        </cloudRedisInstanceList>
    </flushAllCloudRedisServerInstanceResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.