Versions in this module Expand all Collapse all v1 v1.2.0 Sep 26, 2025 v1.1.0 Sep 25, 2025 Changes in this version + const EndpointNameCtecs + const UrlProdCtecs + const UrlTestCtecs + var EndpointCtecsProd = ctyunsdk.Endpoint + var EndpointCtecsTest = ctyunsdk.Endpoint + type Apis struct + EcsBatchUpdateInstancesApi *EcsBatchUpdateInstancesApi + EcsChangeToCycleApi *EcsChangeToCycleApi + EcsCreateInstanceApi *EcsCreateInstanceApi + EcsDescribeInstancesApi *EcsDescribeInstancesApi + EcsDestroyInstanceApi *EcsDestroyInstanceApi + EcsFlavorListApi *EcsFlavorListApi + EcsGetUserdataMonitorApi *EcsGetUserdataMonitorApi + EcsInstanceDetailsApi *EcsInstanceDetailsApi + EcsInstanceStatusListApi *EcsInstanceStatusListApi + EcsJoinSecurityGroupApi *EcsJoinSecurityGroupApi + EcsLeaveSecurityGroupApi *EcsLeaveSecurityGroupApi + EcsOrderQueryUuidApi *EcsOrderQueryUuidApi + EcsQueryAsyncResultApi *EcsQueryAsyncResultApi + EcsResetPasswordApi *EcsResetPasswordApi + EcsShelveInstanceApi *EcsShelveInstanceApi + EcsStartInstanceApi *EcsStartInstanceApi + EcsStopInstanceApi *EcsStopInstanceApi + EcsTagOnDemandApi *EcsTagOnDemandApi + EcsTerminateCycleApi *EcsTerminateCycleApi + EcsUnsubscribeInstanceApi *EcsUnsubscribeInstanceApi + EcsUpdateFlavorSpecApi *EcsUpdateFlavorSpecApi + EcsUserdataDetailsApi *EcsUserdataDetailsApi + EcsVolumeListApi *EcsVolumeListApi + JobShowApi *JobShowApi + KeypairAttachApi *KeypairAttachApi + KeypairCreateApi *KeypairCreateApi + KeypairDeleteApi *KeypairDeleteApi + KeypairDetachApi *KeypairDetachApi + KeypairDetailApi *KeypairDetailApi + KeypairImportApi *KeypairImportApi + RegionListApi *RegionListApi + SecurityGroupRuleEgressCreateApi *SecurityGroupRuleEgressCreateApi + SecurityGroupRuleIngressCreateApi *SecurityGroupRuleIngressCreateApi + func NewApis(client *ctyunsdk.CtyunClient) *Apis + type EcsBatchUpdateInstancesApi struct + func NewEcsBatchUpdateInstancesApi(client *ctyunsdk.CtyunClient) *EcsBatchUpdateInstancesApi + func (this *EcsBatchUpdateInstancesApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsBatchUpdateInstancesResponse, ctyunsdk.CtyunRequestError) + type EcsBatchUpdateInstancesOrderInfoResponse struct + DisplayName string + Id string + type EcsBatchUpdateInstancesRequest struct + RegionId string + UpdateInfo []EcsBatchUpdateInstancesUpdateInfoRequest + type EcsBatchUpdateInstancesResponse struct + UpdateInfo []EcsBatchUpdateInstancesOrderInfoResponse + type EcsBatchUpdateInstancesUpdateInfoRequest struct + DisplayName string + InstanceId string + type EcsChangeToCycleApi struct + func NewEcsChangeToCycleApi(client *ctyunsdk.CtyunClient) *EcsChangeToCycleApi + func (this *EcsChangeToCycleApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsChangeToCycleResponse, ctyunsdk.CtyunRequestError) + type EcsChangeToCycleOrderInfoResponse struct + OrderId string + OrderNo string + type EcsChangeToCycleRequest struct + ClientToken string + CycleCount int + CycleType string + InstanceIds []string + RegionId string + type EcsChangeToCycleResponse struct + OrderInfo []EcsChangeToCycleOrderInfoResponse + type EcsCreateInstanceApi struct + func NewEcsCreateInstanceApi(client *ctyunsdk.CtyunClient) *EcsCreateInstanceApi + func (this *EcsCreateInstanceApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsCreateInstanceResponse, ctyunsdk.CtyunRequestError) + type EcsCreateInstanceNetworkCardListRequest struct + FixedIp string + IsMaster *bool + NicName string + SubnetId string + type EcsCreateInstanceRequest struct + AutoRenewStatus *int + AzName string + BootDiskSize *int + BootDiskType string + ClientToken string + CycleCount *int + CycleType string + DisplayName string + ExtIp string + FlavorId string + ImageId string + ImageType *int + InstanceName string + KeyPairID string + MonitorService *bool + NetworkCardList []EcsCreateInstanceNetworkCardListRequest + OnDemand *bool + PayVoucherPrice *float64 + ProjectId string + RegionId string + SecGroupList []string + UserData string + UserPassword string + VpcId string + type EcsCreateInstanceResponse struct + MasterOrderId string + MasterOrderNo string + MasterResourceId string + RegionId string + type EcsDescribeInstancesApi struct + func NewEcsDescribeInstancesApi(client *ctyunsdk.CtyunClient) *EcsDescribeInstancesApi + func (this *EcsDescribeInstancesApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsDescribeInstancesResponse, ctyunsdk.CtyunRequestError) + type EcsDescribeInstancesRequest struct + AzName string + InstanceIdList string + InstanceName string + Keyword string + PageNo int + PageSize int + ProjectId string + RegionId string + SecurityGroupId string + State string + type EcsDescribeInstancesResponse struct + CurrentCount int + Results []EcsDescribeInstancesResultsResponse + TotalCount int + TotalPage int + type EcsDescribeInstancesResultsFlavorResponse struct + FlavorCpu int + FlavorId string + FlavorName string + FlavorRam int + GpuCount int + GpuType string + GpuVendor string + VideoMemSize int + type EcsDescribeInstancesResultsImageResponse struct + ImageId string + ImageName string + type EcsDescribeInstancesResultsNetworkInfoResponse struct + IpAddress string + SubnetId string + type EcsDescribeInstancesResultsResponse struct + AttachedVolume []string + AzDisplayName string + AzName string + CreatedTime string + DisplayName string + ExpiredTime string + Flavor EcsDescribeInstancesResultsFlavorResponse + Image EcsDescribeInstancesResultsImageResponse + InstanceId string + InstanceName string + InstanceStatus string + KeypairName string + NetworkInfo []EcsDescribeInstancesResultsNetworkInfoResponse + OnDemand bool + OsType int + ProjectId string + SecGroupList []EcsDescribeInstancesResultsSecGroupListResponse + type EcsDescribeInstancesResultsSecGroupListResponse struct + SecurityGroupId string + SecurityGroupName string + type EcsDestroyInstanceApi struct + func NewEcsDestroyInstanceApi(client *ctyunsdk.CtyunClient) *EcsDestroyInstanceApi + func (this *EcsDestroyInstanceApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsDestroyInstanceResponse, ctyunsdk.CtyunRequestError) + type EcsDestroyInstanceRealRequest struct + ClientToken string + InstanceID string + RegionID string + type EcsDestroyInstanceRealResponse struct + MasterOrderID string + MasterOrderNO string + RegionID string + type EcsDestroyInstanceRequest struct + ClientToken string + InstanceID string + RegionID string + type EcsDestroyInstanceResponse struct + MasterOrderID string + MasterOrderNO string + RegionID string + type EcsFlavorListApi struct + func NewEcsFlavorListApi(client *ctyunsdk.CtyunClient) *EcsFlavorListApi + func (this *EcsFlavorListApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *EcsFlavorListRequest) (*EcsFlavorListResponse, ctyunsdk.CtyunRequestError) + type EcsFlavorListFlavorListResponse struct + Available bool + AzList []string + Bandwidth float64 + BaseBandwidth float64 + CpuInfo string + FlavorCpu int + FlavorId string + FlavorName string + FlavorRam int + FlavorSeries string + FlavorSeriesName string + FlavorType string + GpuCount int + GpuType string + GpuVendor string + NicMultiQueue int + Pps int + VideoMemSize int + type EcsFlavorListRequest struct + AzName string + FlavorArch string + FlavorCpu int + FlavorId string + FlavorName string + FlavorRam int + FlavorSeries string + FlavorType string + RegionId string + type EcsFlavorListResponse struct + FlavorList []EcsFlavorListFlavorListResponse + type EcsGetUserdataMonitorApi struct + func NewEcsGetUserdataMonitorApi(client *ctyunsdk.CtyunClient) *EcsGetUserdataMonitorApi + func (this *EcsGetUserdataMonitorApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsGetUserdataMonitorResponse, ctyunsdk.CtyunRequestError) + type EcsGetUserdataMonitorRealRequest struct + InstanceIDs string + RegionID string + type EcsGetUserdataMonitorRealResponse struct + Results []EcsGetUserdataMonitorResultsRealResponse + type EcsGetUserdataMonitorRequest struct + InstanceIDs string + RegionID string + type EcsGetUserdataMonitorResponse struct + Results []EcsGetUserdataMonitorResultsResponse + type EcsGetUserdataMonitorResultsRealResponse struct + InstanceID string + MonitorService bool + UserData string + type EcsGetUserdataMonitorResultsResponse struct + InstanceID string + MonitorService bool + UserData string + type EcsInstanceDetailsApi struct + func NewEcsInstanceDetailsApi(client *ctyunsdk.CtyunClient) *EcsInstanceDetailsApi + func (this *EcsInstanceDetailsApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsInstanceDetailsResponse, ctyunsdk.CtyunRequestError) + type EcsInstanceDetailsRequest struct + InstanceId string + RegionId string + type EcsInstanceDetailsResponse struct + AttachedVolume []string + AvailableDay int + AzName string + CreatedTime string + DisplayName string + ExpiredTime string + FixedIpList []string + Flavor EcsInstanceDetailsResultsFlavorResponse + FloatingIp string + Image EcsInstanceDetailsResultsImageResponse + InstanceId string + InstanceName string + InstanceStatus string + KeypairName string + NetworkCardList []EcsInstanceDetailsResultsNetworkCardListResponse + OnDemand bool + OsType int + PrivateIPv6 string + PrivateIp string + ProjectId string + ResourceId string + SecGroupList []EcsInstanceDetailsResultsSecGroupListResponse + SubnetIdList []string + UpdatedTime string + VipCount int + VpcId string + VpcName string + type EcsInstanceDetailsResultsFlavorResponse struct + FlavorCpu int + FlavorId string + FlavorName string + FlavorRam int + GpuCount int + GpuType string + GpuVendor string + VideoMemSize int + type EcsInstanceDetailsResultsImageResponse struct + ImageId string + ImageName string + type EcsInstanceDetailsResultsNetworkCardListResponse struct + Gateway string + Ipv4Address string + Ipv6Address []string + IsMaster bool + NetworkCardId string + SecurityGroup []string + SubnetCidr string + SubnetId string + type EcsInstanceDetailsResultsSecGroupListResponse struct + SecurityGroupId string + SecurityGroupName string + type EcsInstanceStatusListApi struct + func NewEcsInstanceStatusListApi(client *ctyunsdk.CtyunClient) *EcsInstanceStatusListApi + func (this *EcsInstanceStatusListApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsInstanceStatusListResponse, ctyunsdk.CtyunRequestError) + type EcsInstanceStatusListRequest struct + AzName string + InstanceIdList string + PageNo int + PageSize int + RegionId string + type EcsInstanceStatusListResponse struct + CurrentCount int + StatusList []EcsInstanceStatusListStatusListResponse + TotalCount int + TotalPage int + type EcsInstanceStatusListStatusListResponse struct + InstanceId string + InstanceStatus string + type EcsJoinSecurityGroupApi struct + func NewEcsJoinSecurityGroupApi(client *ctyunsdk.CtyunClient) *EcsJoinSecurityGroupApi + func (this *EcsJoinSecurityGroupApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsJoinSecurityGroupResponse, ctyunsdk.CtyunRequestError) + type EcsJoinSecurityGroupRequest struct + Action string + InstanceId string + NetworkInterfaceId string + RegionId string + SecurityGroupId string + type EcsJoinSecurityGroupResponse struct + type EcsLeaveSecurityGroupApi struct + func NewEcsLeaveSecurityGroupApi(client *ctyunsdk.CtyunClient) *EcsLeaveSecurityGroupApi + func (this *EcsLeaveSecurityGroupApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsLeaveSecurityGroupResponse, ctyunsdk.CtyunRequestError) + type EcsLeaveSecurityGroupRequest struct + InstanceId string + RegionId string + SecurityGroupId string + type EcsLeaveSecurityGroupResponse struct + type EcsOrderQueryUuidApi struct + func NewEcsOrderQueryUuid(client *ctyunsdk.CtyunClient) *EcsOrderQueryUuidApi + func (this *EcsOrderQueryUuidApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsOrderQueryUuidResponse, ctyunsdk.CtyunRequestError) + type EcsOrderQueryUuidRealResponse struct + InstanceIDList []string + OrderStatus string + type EcsOrderQueryUuidRequest struct + MasterOrderId string + type EcsOrderQueryUuidResponse struct + InstanceIDList []string + OrderStatus string + type EcsQueryAsyncResultApi struct + func NewEcsQueryAsyncResultApi(client *ctyunsdk.CtyunClient) *EcsQueryAsyncResultApi + func (this *EcsQueryAsyncResultApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsQueryAsyncResultResponse, ctyunsdk.CtyunRequestError) + type EcsQueryAsyncResultRealResponse struct + JobStatus int + type EcsQueryAsyncResultRequest struct + JobId string + RegionId string + type EcsQueryAsyncResultResponse struct + JobStatus int + type EcsResetPasswordApi struct + func NewEcsResetPasswordApi(client *ctyunsdk.CtyunClient) *EcsResetPasswordApi + func (this *EcsResetPasswordApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsResetPasswordResponse, ctyunsdk.CtyunRequestError) + type EcsResetPasswordRealResponse struct + InstanceID string + type EcsResetPasswordRequest struct + InstanceId string + NewPassword string + RegionId string + type EcsResetPasswordResponse struct + InstanceId string + type EcsShelveInstanceApi struct + func NewEcsShelveInstanceApi(client *ctyunsdk.CtyunClient) *EcsShelveInstanceApi + func (this *EcsShelveInstanceApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsShelveInstanceResponse, ctyunsdk.CtyunRequestError) + type EcsShelveInstanceRealRequest struct + InstanceID string + RegionID string + type EcsShelveInstanceRealResponse struct + JobID string + type EcsShelveInstanceRequest struct + InstanceID string + RegionID string + type EcsShelveInstanceResponse struct + JobID string + type EcsStartInstanceApi struct + func NewEcsStartInstanceApi(client *ctyunsdk.CtyunClient) *EcsStartInstanceApi + func (this *EcsStartInstanceApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsStartInstanceResponse, ctyunsdk.CtyunRequestError) + type EcsStartInstanceRealResponse struct + JobID string + type EcsStartInstanceRequest struct + Force bool + InstanceId string + RegionId string + type EcsStartInstanceResponse struct + JobId string + type EcsStopInstanceApi struct + func NewEcsStopInstanceApi(client *ctyunsdk.CtyunClient) *EcsStopInstanceApi + func (this *EcsStopInstanceApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsStopInstanceResponse, ctyunsdk.CtyunRequestError) + type EcsStopInstanceRequest struct + Force bool + InstanceId string + RegionId string + type EcsStopInstanceResponse struct + JobId string + type EcsTagOnDemandApi struct + func NewEcsTagOnDemandApi(client *ctyunsdk.CtyunClient) *EcsTagOnDemandApi + func (this *EcsTagOnDemandApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsTagOnDemandResponse, ctyunsdk.CtyunRequestError) + type EcsTagOnDemandOrderInfoResponse struct + OrderId string + OrderNo string + type EcsTagOnDemandRequest struct + ClientToken string + InstanceIds []string + RegionId string + type EcsTagOnDemandResponse struct + OrderInfo []EcsTagOnDemandOrderInfoResponse + type EcsTerminateCycleApi struct + func NewEcsTerminateCycleApi(client *ctyunsdk.CtyunClient) *EcsTerminateCycleApi + func (this *EcsTerminateCycleApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsTerminateCycleResponse, ctyunsdk.CtyunRequestError) + type EcsTerminateCycleOrderInfoResponse struct + OrderId string + OrderNo string + type EcsTerminateCycleRequest struct + ClientToken string + InstanceIds []string + RegionId string + type EcsTerminateCycleResponse struct + OrderInfo []EcsTerminateCycleOrderInfoResponse + type EcsUnsubscribeInstanceApi struct + func NewEcsUnsubscribeInstanceApi(client *ctyunsdk.CtyunClient) *EcsUnsubscribeInstanceApi + func (this *EcsUnsubscribeInstanceApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsUnsubscribeInstanceResponse, ctyunsdk.CtyunRequestError) + type EcsUnsubscribeInstanceRequest struct + ClientToken string + InstanceId string + RegionId string + type EcsUnsubscribeInstanceResponse struct + MasterOrderId string + MasterOrderNo string + RegionId string + type EcsUpdateFlavorSpecApi struct + func NewEcsUpdateFlavorSpecApi(client *ctyunsdk.CtyunClient) *EcsUpdateFlavorSpecApi + func (this *EcsUpdateFlavorSpecApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsUpdateFlavorSpecResponse, ctyunsdk.CtyunRequestError) + type EcsUpdateFlavorSpecRequest struct + ClientToken string + FlavorId string + InstanceId string + RegionId string + type EcsUpdateFlavorSpecResponse struct + MasterOrderId string + MasterOrderNo string + RegionId string + type EcsUserdataDetailsApi struct + func NewEcsUserdataDetailsApi(client *ctyunsdk.CtyunClient) *EcsUserdataDetailsApi + func (this *EcsUserdataDetailsApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*EcsUserdataDetailsResponse, ctyunsdk.CtyunRequestError) + type EcsUserdataDetailsRealRequest struct + InstanceID string + RegionID string + type EcsUserdataDetailsRealResponse struct + Userdata string + type EcsUserdataDetailsRequest struct + InstanceID string + RegionID string + type EcsUserdataDetailsResponse struct + Userdata string + type EcsVolumeListApi struct + func NewEcsVolumeListApi(client *ctyunsdk.CtyunClient) *EcsVolumeListApi + func (this *EcsVolumeListApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *EcsVolumeListRequest) (*EcsVolumeListResponse, ctyunsdk.CtyunRequestError) + type EcsVolumeListRequest struct + InstanceId string + PageNo int + PageSize int + RegionId string + type EcsVolumeListResponse struct + CurrentCount int + Results []EcsVolumeListResultsResponse + TotalCount int + TotalPage int + type EcsVolumeListResultsResponse struct + DiskDataType string + DiskId string + DiskMode string + DiskSize int + DiskType string + IsEncrypt bool + type JobShowApi struct + func NewJobShowApi(client *ctyunsdk.CtyunClient) *JobShowApi + func (this *JobShowApi) Do(ctx context.Context, credential ctyunsdk.Credential, t *JobShowRequest) (*JobShowResponse, ctyunsdk.CtyunRequestError) + type JobShowRequest struct + JobId string + RegionId string + type JobShowResponse struct + Fields map[string]string + ID string + JobId string + JobStatus string + ResourceId string + Status int + type KeypairAttachApi struct + func NewKeypairAttachApi(client *ctyunsdk.CtyunClient) *KeypairAttachApi + func (this *KeypairAttachApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *KeypairAttachRequest) (*KeypairAttachResponse, ctyunsdk.CtyunRequestError) + type KeypairAttachRequest struct + InstanceId string + KeyPairName string + RegionId string + type KeypairAttachResponse struct + type KeypairCreateApi struct + func NewKeypairCreateApi(client *ctyunsdk.CtyunClient) *KeypairCreateApi + func (this *KeypairCreateApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *KeypairCreateRequest) (*KeypairCreateResponse, ctyunsdk.CtyunRequestError) + type KeypairCreateRealResponse struct + FingerPrint string + KeyPairID string + KeyPairName string + PrivateKey string + PublicKey string + type KeypairCreateRequest struct + KeyPairName string + ProjectId string + RegionId string + type KeypairCreateResponse struct + FingerPrint string + KeyPairId string + KeyPairName string + PrivateKey string + PublicKey string + type KeypairDeleteApi struct + func NewKeypairDeleteApi(client *ctyunsdk.CtyunClient) *KeypairDeleteApi + func (this *KeypairDeleteApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *KeypairDeleteRequest) (*KeypairDeleteResponse, ctyunsdk.CtyunRequestError) + type KeypairDeleteRealResponse struct + KeyPairName string + type KeypairDeleteRequest struct + KeyPairName string + RegionId string + type KeypairDeleteResponse struct + KeyPairName string + type KeypairDetachApi struct + func NewKeypairDetachApi(client *ctyunsdk.CtyunClient) *KeypairDetachApi + func (this *KeypairDetachApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *KeypairDetachRequest) (*KeypairDetachResponse, ctyunsdk.CtyunRequestError) + type KeypairDetachRequest struct + InstanceId string + KeyPairName string + RegionId string + type KeypairDetachResponse struct + type KeypairDetailApi struct + func NewKeypairDetailApi(client *ctyunsdk.CtyunClient) *KeypairDetailApi + func (this *KeypairDetailApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *KeypairDetailRequest) (*KeypairDetailResponse, ctyunsdk.CtyunRequestError) + type KeypairDetailRequest struct + KeyPairName string + PageNo int + PageSize int + ProjectId string + QueryContent string + RegionId string + type KeypairDetailResponse struct + CurrentCount int + Results []KeypairDetailResults + TotalCount int + type KeypairDetailResults struct + FingerPrint string + KeyPairId string + KeyPairName string + ProjectId string + PublicKey string + type KeypairImportApi struct + func NewKeypairImportApi(client *ctyunsdk.CtyunClient) *KeypairImportApi + func (this *KeypairImportApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *KeypairImportRequest) (*KeypairImportResponse, ctyunsdk.CtyunRequestError) + type KeypairImportRequest struct + KeyPairName string + ProjectId string + PublicKey string + RegionId string + type KeypairImportResponse struct + FingerPrint string + KeyPairId string + KeyPairName string + PublicKey string + type RegionListApi struct + func NewRegionListApi(client *ctyunsdk.CtyunClient) *RegionListApi + func (this *RegionListApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *RegionListRequest) (*RegionListResponse, ctyunsdk.CtyunRequestError) + type RegionListRegionListResponse struct + IsMultiZones bool + RegionId string + RegionName string + RegionParent string + RegionType string + ZoneList []string + type RegionListRequest struct + RegionName string + type RegionListResponse struct + RegionList []RegionListRegionListResponse + type SecurityGroupRuleEgressCreateApi struct + func NewSecurityGroupRuleEgressCreateApi(client *ctyunsdk.CtyunClient) *SecurityGroupRuleEgressCreateApi + func (this *SecurityGroupRuleEgressCreateApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*SecurityGroupRuleEgressCreateResponse, ctyunsdk.CtyunRequestError) + type SecurityGroupRuleEgressCreateRequest struct + ClientToken string + RegionId string + SecurityGroupId string + SecurityGroupRules []SecurityGroupRuleEgressCreateSecurityGroupRulesRequest + type SecurityGroupRuleEgressCreateResponse struct + SgRuleIds []string + type SecurityGroupRuleEgressCreateSecurityGroupRulesRequest struct + Action string + Description string + DestCidrIp string + Direction string + Ethertype string + Priority int + Protocol string + Range string + type SecurityGroupRuleIngressCreateApi struct + func NewSecurityGroupRuleIngressCreateApi(client *ctyunsdk.CtyunClient) *SecurityGroupRuleIngressCreateApi + func (this *SecurityGroupRuleIngressCreateApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*SecurityGroupRuleIngressCreateResponse, ctyunsdk.CtyunRequestError) + type SecurityGroupRuleIngressCreateRequest struct + ClientToken string + RegionId string + SecurityGroupId string + SecurityGroupRules []SecurityGroupRuleIngressCreateSecurityGroupRulesRequest + type SecurityGroupRuleIngressCreateResponse struct + SgRuleIds []string + type SecurityGroupRuleIngressCreateSecurityGroupRulesRequest struct + Action string + Description string + DestCidrIp string + Direction string + Ethertype string + Priority int + Protocol string + Range string v0 v0.0.2-test Sep 26, 2025 v0.0.1-test Sep 25, 2025