createCloudMssqlSlaveInstance
    • PDF

    createCloudMssqlSlaveInstance

    • PDF

    기사 요약

    Cloud DB for MSSQL 인스턴스에 Slave 서버 인스턴스를 추가합니다.

    요청

    요청 파라미터

    파라미터타입필수 여부설명제약 사항
    regionCodeStringN리전 코드
    - regionCode는 getRegionList 액션을 통해서 획득
    - default: getRegionList 조회 결과의 첫 번째 리전 선택
    -
    cloudMssqlInstanceNoStringYSlave 서버를 추가할 Cloud DB for MSSQL 인스턴스 번호
    - cloudMssqlInstanceNo는 getCloudMssqlInstanceList 액션을 통해서 획득
    -
    privateDomainPostfixStringYprivate domain postfix
    - 추가하는 Slave 서버에 부여할 private domain의 이름에 붙일 postfix
    - 001 ~ 999 범위의 세 자리 숫자 형태만 입력 가능
    subnetNoStringNSubnet 번호
    - subnetNo는 getCloudMssqlTargetSubnetList 액션을 통해서 획득
    - Cloud DB for MSSQL 인스턴스의 isMultiZone이 true이면 subnetNo은 반드시 입력
    - Cloud DB for MSSQL 인스턴스의 isMultiZone이 false이면 subnetNo의 입력은 받지 않으며 기존 subnetNo에 생성
    - Public 도메인은 Public Subnet에 생성된 DB 서버에서만 이용 신청 가능
    - Cloud DB for MSSQL 인스턴스 생성 이후에 Subnet 이전은 불가
    -
    responseFormatTypeStringN응답 결과의 포맷 타입
    - options: xml | json
    - default: xml
    -

    응답

    응답 바디

    응답 바디는 CloudMssqlInstanceList를 참고해 주십시오.

    예시

    요청 예시

    요청 구문 예시는 다음과 같습니다.

    GET {API_URL}/createCloudMssqlSlaveInstance
    ?regionCode=FKR
    &cloudMssqlInstanceNo=****890
    &privateDomainPostfix=777
    &subnetNo=****92
    

    응답 예시

    응답 구문 예시는 다음과 같습니다.

    응답 결과 포맷 타입(responseFormatType)이 json 일 때

    {
      "createCloudMssqlSlaveInstanceResponse": {
        "requestId": "858c2941-2402-4686-9f4d-36a7a906a39d",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "cloudMssqlInstanceList": [
          {
            "cloudMssqlInstanceNo": "****890",
            "cloudMssqlServiceName": "test-****",
            "cloudMssqlInstanceStatusName": "running",
            "cloudMssqlInstanceStatus": {
              "code": "CREAT",
              "codeName": "CLOUD DATABASE(VPC) Created State"
            },
            "cloudMssqlInstanceOperation": {
              "code": "NULL",
              "codeName": "CLOUD DATABASE(VPC) Null OP"
            },
            "cloudMssqlImageProductCode": "SW.VMSSL.OS.WND64.WINNT.SVR2016.MSSQL.15020005.SE.B100",
            "isHa": true,
            "isMultiZone": true,
            "license": {
              "code": "SPLA",
              "codeName": "Service Provider License Agreement"
            },
            "cloudMssqlPort": 1433,
            "backupFileRetentionPeriod": 3,
            "backupTime": "17:00",
            "configGroupNo": 0,
            "configGroupName": "test-****-config",
            "engineVersion": "MSSQL 15.0.2000.5 Standard Edition",
            "createDate": "2021-04-30T14:03:20+0900",
            "dbCollation": "Korean_Wansung_CI_AS",
            "cloudMssqlServerInstanceList": [
              {
                "cloudMssqlServerInstanceNo": "****891",
                "cloudMssqlServerName": "m-****890-001",
                "cloudMssqlServerRole": {
                  "code": "M",
                  "codeName": "Principal"
                },
                "cloudMssqlServerInstanceStatusName": "running",
                "cloudMssqlServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudMssqlServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Restart OP"
                },
                "regionCode": "FKR",
                "zoneCode": "FKR-1",
                "vpcNo": "****83",
                "subnetNo": "****91",
                "dataStorageSize": 107374182400,
                "cpuCount": 2,
                "memorySize": 8589934592,
                "isPublicSubnet": true,
                "cloudMssqlProductCode": "SVR.VMSSL.STAND.C002.M008.NET.HDD.B100.G002",
                "privateDomain": "mssql-***.beta-vpc-cdb.ntruss.com",
                "createDate": "2021-04-30T14:03:20+0900",
                "uptime": "2021-04-30T14:14:39+0900",
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "usedDataStorageSize": 1073741824
              },
              {
                "cloudMssqlServerInstanceNo": "****897",
                "cloudMssqlServerName": "m-****890-002",
                "cloudMssqlServerRole": {
                  "code": "H",
                  "codeName": "Mirror"
                },
                "cloudMssqlServerInstanceStatusName": "running",
                "cloudMssqlServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudMssqlServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "regionCode": "FKR",
                "zoneCode": "FKR-1",
                "vpcNo": "****83",
                "subnetNo": "****91",
                "dataStorageSize": 107374182400,
                "cpuCount": 2,
                "memorySize": 8589934592,
                "isPublicSubnet": true,
                "cloudMssqlProductCode": "SVR.VMSSL.STAND.C002.M008.NET.HDD.B100.G002",
                "privateDomain": "mssql-***.beta-vpc-cdb.ntruss.com",
                "createDate": "2021-05-27T19:00:00+0900",
                "uptime": "2021-05-27T19:01:00+0900",
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "usedDataStorageSize": 1073741824
              },
              {
                "cloudMssqlServerInstanceNo": "****123",
                "cloudMssqlServerName": "m-****890-003",
                "cloudMssqlServerRole": {
                  "code": "S",
                  "codeName": "Slave"
                },
                "cloudMssqlServerInstanceStatusName": "PEND",
                "cloudMssqlServerInstanceStatus": {
                  "code": "PEND",
                  "codeName": "CLOUD DATABASE(VPC) Server Pending State"
                },
                "cloudMssqlServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "regionCode": "FKR",
                "zoneCode": "FKR-2",
                "vpcNo": "****83",
                "subnetNo": "****92",
                "dataStorageSize": 107374182400,
                "cpuCount": 2,
                "memorySize": 8589934592,
                "isPublicSubnet": true,
                "cloudMssqlProductCode": "SVR.VMSSL.STAND.C002.M008.NET.HDD.B100.G002",
                "privateDomain": "mssql-***.beta-vpc-cdb.ntruss.com",
                "createDate": "2021-05-27T19:00:00+0900",
                "uptime": "2021-05-27T19:01:00+0900",
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "usedDataStorageSize": 1073741824
              }
            ],
            "accessControlGroupNoList": [
              "****58"
            ]
          }
        ]
      }
    }
    

    응답 결과 포맷 타입(responseFormatType)이 xml 일 때

    <createCloudMssqlSlaveInstanceResponse>
        <requestId>858c2941-2402-4686-9f4d-36a7a906a39d</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudMssqlInstanceList>
            <CloudMssqlInstance>
                <cloudMssqlInstanceNo>****890</cloudMssqlInstanceNo>
                <cloudMssqlServiceName>test-****</cloudMssqlServiceName>
                <cloudMssqlInstanceStatusName>running</cloudMssqlInstanceStatusName>
                <cloudMssqlInstanceStatus>
                    <code>CREAT</code>
                    <codeName>CLOUD DATABASE(VPC) Created State</codeName>
                </cloudMssqlInstanceStatus>
                <cloudMssqlInstanceOperation>
                    <code>NULL</code>
                    <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
                </cloudMssqlInstanceOperation>
                <cloudMssqlImageProductCode>SW.VMSSL.OS.WND64.WINNT.SVR2016.MSSQL.15020005.SE.B100</cloudMssqlImageProductCode>
                <isHa>true</isHa>
                <isMultiZone>true</isMultiZone>
                <license>
                    <code>SPLA</code>
                    <codeName>Service Provider License Agreement</codeName>
                </license>
                <cloudMssqlPort>1433</cloudMssqlPort>
                <backupFileRetentionPeriod>3</backupFileRetentionPeriod>
                <backupTime>17:00</backupTime>
                <configGroupNo>0</configGroupNo>
                <configGroupName>test-****-config</configGroupName>
                <engineVersion>MSSQL 15.0.2000.5 Standard Edition</engineVersion>
                <createDate>2021-04-30T14:03:20+0900</createDate>
                <dbCollation>Korean_Wansung_CI_AS</dbCollation>
                <cloudMssqlServerInstanceList>
                    <cloudMssqlServerInstanceList>
                        <cloudMssqlServerInstanceNo>****891</cloudMssqlServerInstanceNo>
                        <cloudMssqlServerName>m-****890-001</cloudMssqlServerName>
                        <cloudMssqlServerRole>
                            <code>M</code>
                            <codeName>Principal</codeName>
                        </cloudMssqlServerRole>
                        <cloudMssqlServerInstanceStatusName>running</cloudMssqlServerInstanceStatusName>
                        <cloudMssqlServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudMssqlServerInstanceStatus>
                        <cloudMssqlServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Restart OP</codeName>
                        </cloudMssqlServerInstanceOperation>
                        <regionCode>FKR</regionCode>
                        <zoneCode>FKR-1</zoneCode>
                        <vpcNo>****83</vpcNo>
                        <subnetNo>****91</subnetNo>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>2</cpuCount>
                        <memorySize>8589934592</memorySize>
                        <isPublicSubnet>true</isPublicSubnet>
                        <cloudMssqlProductCode>SVR.VMSSL.STAND.C002.M008.NET.HDD.B100.G002</cloudMssqlProductCode>
                        <privateDomain>mssql-***.beta-vpc-cdb.ntruss.com</privateDomain>
                        <createDate>2021-04-30T14:03:20+0900</createDate>
                        <uptime>2021-04-30T14:14:39+0900</uptime>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <usedDataStorageSize>1073741824</usedDataStorageSize>
                    </cloudMssqlServerInstanceList>
                    <cloudMssqlServerInstanceList>
                        <cloudMssqlServerInstanceNo>****897</cloudMssqlServerInstanceNo>
                        <cloudMssqlServerName>m-****890-002</cloudMssqlServerName>
                        <cloudMssqlServerRole>
                            <code>H</code>
                            <codeName>Mirror</codeName>
                        </cloudMssqlServerRole>
                        <cloudMssqlServerInstanceStatusName>running</cloudMssqlServerInstanceStatusName>
                        <cloudMssqlServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudMssqlServerInstanceStatus>
                        <cloudMssqlServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudMssqlServerInstanceOperation>
                        <regionCode>FKR</regionCode>
                        <zoneCode>FKR-1</zoneCode>
                        <vpcNo>****83</vpcNo>
                        <subnetNo>****91</subnetNo>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>2</cpuCount>
                        <memorySize>8589934592</memorySize>
                        <isPublicSubnet>true</isPublicSubnet>
                        <cloudMssqlProductCode>SVR.VMSSL.STAND.C002.M008.NET.HDD.B100.G002</cloudMssqlProductCode>
                        <privateDomain>mssql-***.beta-vpc-cdb.ntruss.com</privateDomain>
                        <createDate>2021-05-27T19:00:00+0900</createDate>
                        <uptime>2021-05-27T19:01:00+0900</uptime>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <usedDataStorageSize>1073741824</usedDataStorageSize>
                    </cloudMssqlServerInstanceList>
                    <cloudMssqlServerInstanceList>
                        <cloudMssqlServerInstanceNo>****123</cloudMssqlServerInstanceNo>
                        <cloudMssqlServerName>m-****890-003</cloudMssqlServerName>
                        <cloudMssqlServerRole>
                            <code>S</code>
                            <codeName>Slave</codeName>
                        </cloudMssqlServerRole>
                        <cloudMssqlServerInstanceStatusName>PEND</cloudMssqlServerInstanceStatusName>
                        <cloudMssqlServerInstanceStatus>
                            <code>PEND</code>
                            <codeName>CLOUD DATABASE(VPC) Server Pending State</codeName>
                        </cloudMssqlServerInstanceStatus>
                        <cloudMssqlServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudMssqlServerInstanceOperation>
                        <regionCode>FKR</regionCode>
                        <zoneCode>FKR-2</zoneCode>
                        <vpcNo>****83</vpcNo>
                        <subnetNo>****92</subnetNo>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>2</cpuCount>
                        <memorySize>8589934592</memorySize>
                        <isPublicSubnet>true</isPublicSubnet>
                        <cloudMssqlProductCode>SVR.VMSSL.STAND.C002.M008.NET.HDD.B100.G002</cloudMssqlProductCode>
                        <privateDomain>mssql-***.beta-vpc-cdb.ntruss.com</privateDomain>
                        <createDate>2021-05-27T19:00:00+0900</createDate>
                        <uptime>2021-05-27T19:01:00+0900</uptime>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <usedDataStorageSize>1073741824</usedDataStorageSize>
                    </cloudMssqlServerInstanceList>
                </cloudMssqlServerInstanceList>
                <accessControlGroupNoList>
                    <accessControlGroupNo>****58</accessControlGroupNo>
                </accessControlGroupNoList>
            </CloudMssqlInstance>
        </cloudMssqlInstanceList>
    </createCloudMssqlSlaveInstanceResponse>
    

    이 문서가 도움이 되었습니까?

    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.