云桌面 WORKSPACE-开通云办公服务:请求示例

时间:2023-11-06 22:26:44

请求示例

  • POST /v2/fb2e5ec048384c8f9469d22db0037908/workspaces
    
    {
      "ad_domains" : {
        "domain_type" : "LITE_AS"
      },
      "vpc_id" : "e8f985fa-5161-4cb8-bf5a-155058ea58c9",
      "subnet_ids" : [ {
        "subnet_id" : "067b30a9-1b73-4804-a808-699c5f6c4e09"
      } ],
      "access_mode" : "INTERNET",
      "is_send_email" : true
    }
  • {
      "ad_domains" : {
        "domain_type" : "LOCAL_AD",
        "domain_admin_account" : "vdsadmin",
        "active_domain_ip" : "192.161.43.66",
        "standby_domain_ip" : "192.161.43.67",
        "domain_name" : "xxxx.xxxx.com",
        "domain_password" : "xxxxxxxxxx@",
        "active_domain_name" : "AD-xxx-0001.vdesktop.huawei.com",
        "active_dns_ip" : "192.161.43.66",
        "standby_domain_name" : "AD-xxx-0002.vdesktop.huawei.com",
        "standby_dns_ip" : "192.161.43.67"
      },
      "vpc_id" : "27823fc4-5808-4f3b-a5bc-24c7a80742b8",
      "subnet_ids" : [ {
        "subnet_id" : "598d4599-059f-40ca-9cce-841b784d13e6"
      } ],
      "access_mode" : "INTERNET",
      "is_send_email" : true
    }
  • {
      "ad_domains" : {
        "domain_type" : "LOCAL_AD",
        "domain_admin_account" : "vdsadmin",
        "active_domain_ip" : "192.161.43.66",
        "standby_domain_ip" : "192.161.43.67",
        "domain_name" : "xxxx.xxxx.com",
        "domain_password" : "xxxxxxxxxx@",
        "active_domain_name" : "AD-xxx-0001.vdesktop.huawei.com",
        "active_dns_ip" : "192.161.43.66",
        "standby_domain_name" : "AD-xxx-0002.vdesktop.huawei.com",
        "standby_dns_ip" : "192.161.43.67"
      },
      "vpc_id" : "27823fc4-5808-4f3b-a5bc-24c7a80742b8",
      "subnet_ids" : [ {
        "subnet_id" : "598d4599-059f-40ca-9cce-841b784d13e6"
      } ],
      "access_mode" : "DEDICATED",
      "is_send_email" : true,
      "dedicated_subnets" : "192.168.0.0/24;10.0.0.0/16"
    }
support.huaweicloud.com/api-workspace/ApplyWorkspace.html