Documentation ¶
Index ¶
- Constants
- type AcceptAttachCcnInstancesRequest
- type AcceptAttachCcnInstancesResponse
- type AccountAttribute
- type AddBandwidthPackageResourcesRequest
- type AddBandwidthPackageResourcesResponse
- type AddIp6RulesRequest
- type AddIp6RulesResponse
- type Address
- type AddressTemplate
- type AddressTemplateGroup
- type AddressTemplateSpecification
- type AllocateAddressesRequest
- type AllocateAddressesResponse
- type AssignIpv6AddressesRequest
- type AssignIpv6AddressesResponse
- type AssignIpv6CidrBlockRequest
- type AssignIpv6CidrBlockResponse
- type AssignIpv6SubnetCidrBlockRequest
- type AssignIpv6SubnetCidrBlockResponse
- type AssignPrivateIpAddressesRequest
- type AssignPrivateIpAddressesResponse
- type AssistantCidr
- type AssociateAddressRequest
- type AssociateAddressResponse
- type AssociateNatGatewayAddressRequest
- type AssociateNatGatewayAddressResponse
- type AttachCcnInstancesRequest
- type AttachCcnInstancesResponse
- type AttachClassicLinkVpcRequest
- type AttachClassicLinkVpcResponse
- type AttachNetworkInterfaceRequest
- type AttachNetworkInterfaceResponse
- type BandwidthPackage
- type CCN
- type CcnAttachedInstance
- type CcnInstance
- type CcnRegionBandwidthLimit
- type CcnRoute
- type CheckNetDetectStateRequest
- type CheckNetDetectStateResponse
- type ClassicLinkInstance
- type Client
- func (c *Client) AcceptAttachCcnInstances(request *AcceptAttachCcnInstancesRequest) (response *AcceptAttachCcnInstancesResponse, err error)
- func (c *Client) AddBandwidthPackageResources(request *AddBandwidthPackageResourcesRequest) (response *AddBandwidthPackageResourcesResponse, err error)
- func (c *Client) AddIp6Rules(request *AddIp6RulesRequest) (response *AddIp6RulesResponse, err error)
- func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
- func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
- func (c *Client) AssignIpv6CidrBlock(request *AssignIpv6CidrBlockRequest) (response *AssignIpv6CidrBlockResponse, err error)
- func (c *Client) AssignIpv6SubnetCidrBlock(request *AssignIpv6SubnetCidrBlockRequest) (response *AssignIpv6SubnetCidrBlockResponse, err error)
- func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
- func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
- func (c *Client) AssociateNatGatewayAddress(request *AssociateNatGatewayAddressRequest) (response *AssociateNatGatewayAddressResponse, err error)
- func (c *Client) AttachCcnInstances(request *AttachCcnInstancesRequest) (response *AttachCcnInstancesResponse, err error)
- func (c *Client) AttachClassicLinkVpc(request *AttachClassicLinkVpcRequest) (response *AttachClassicLinkVpcResponse, err error)
- func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
- func (c *Client) CheckNetDetectState(request *CheckNetDetectStateRequest) (response *CheckNetDetectStateResponse, err error)
- func (c *Client) CreateAddressTemplate(request *CreateAddressTemplateRequest) (response *CreateAddressTemplateResponse, err error)
- func (c *Client) CreateAddressTemplateGroup(request *CreateAddressTemplateGroupRequest) (response *CreateAddressTemplateGroupResponse, err error)
- func (c *Client) CreateBandwidthPackage(request *CreateBandwidthPackageRequest) (response *CreateBandwidthPackageResponse, err error)
- func (c *Client) CreateCcn(request *CreateCcnRequest) (response *CreateCcnResponse, err error)
- func (c *Client) CreateCustomerGateway(request *CreateCustomerGatewayRequest) (response *CreateCustomerGatewayResponse, err error)
- func (c *Client) CreateDefaultVpc(request *CreateDefaultVpcRequest) (response *CreateDefaultVpcResponse, err error)
- func (c *Client) CreateDirectConnectGateway(request *CreateDirectConnectGatewayRequest) (response *CreateDirectConnectGatewayResponse, err error)
- func (c *Client) CreateDirectConnectGatewayCcnRoutes(request *CreateDirectConnectGatewayCcnRoutesRequest) (response *CreateDirectConnectGatewayCcnRoutesResponse, err error)
- func (c *Client) CreateFlowLog(request *CreateFlowLogRequest) (response *CreateFlowLogResponse, err error)
- func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
- func (c *Client) CreateIp6Translators(request *CreateIp6TranslatorsRequest) (response *CreateIp6TranslatorsResponse, err error)
- func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)
- func (c *Client) CreateNatGatewayDestinationIpPortTranslationNatRule(request *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse, ...)
- func (c *Client) CreateNetDetect(request *CreateNetDetectRequest) (response *CreateNetDetectResponse, err error)
- func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
- func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
- func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
- func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
- func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
- func (c *Client) CreateServiceTemplate(request *CreateServiceTemplateRequest) (response *CreateServiceTemplateResponse, err error)
- func (c *Client) CreateServiceTemplateGroup(request *CreateServiceTemplateGroupRequest) (response *CreateServiceTemplateGroupResponse, err error)
- func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
- func (c *Client) CreateSubnets(request *CreateSubnetsRequest) (response *CreateSubnetsResponse, err error)
- func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
- func (c *Client) CreateVpnConnection(request *CreateVpnConnectionRequest) (response *CreateVpnConnectionResponse, err error)
- func (c *Client) CreateVpnGateway(request *CreateVpnGatewayRequest) (response *CreateVpnGatewayResponse, err error)
- func (c *Client) DeleteAddressTemplate(request *DeleteAddressTemplateRequest) (response *DeleteAddressTemplateResponse, err error)
- func (c *Client) DeleteAddressTemplateGroup(request *DeleteAddressTemplateGroupRequest) (response *DeleteAddressTemplateGroupResponse, err error)
- func (c *Client) DeleteBandwidthPackage(request *DeleteBandwidthPackageRequest) (response *DeleteBandwidthPackageResponse, err error)
- func (c *Client) DeleteCcn(request *DeleteCcnRequest) (response *DeleteCcnResponse, err error)
- func (c *Client) DeleteCustomerGateway(request *DeleteCustomerGatewayRequest) (response *DeleteCustomerGatewayResponse, err error)
- func (c *Client) DeleteDirectConnectGateway(request *DeleteDirectConnectGatewayRequest) (response *DeleteDirectConnectGatewayResponse, err error)
- func (c *Client) DeleteDirectConnectGatewayCcnRoutes(request *DeleteDirectConnectGatewayCcnRoutesRequest) (response *DeleteDirectConnectGatewayCcnRoutesResponse, err error)
- func (c *Client) DeleteFlowLog(request *DeleteFlowLogRequest) (response *DeleteFlowLogResponse, err error)
- func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
- func (c *Client) DeleteIp6Translators(request *DeleteIp6TranslatorsRequest) (response *DeleteIp6TranslatorsResponse, err error)
- func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)
- func (c *Client) DeleteNatGatewayDestinationIpPortTranslationNatRule(request *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse, ...)
- func (c *Client) DeleteNetDetect(request *DeleteNetDetectRequest) (response *DeleteNetDetectResponse, err error)
- func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
- func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
- func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
- func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
- func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
- func (c *Client) DeleteServiceTemplate(request *DeleteServiceTemplateRequest) (response *DeleteServiceTemplateResponse, err error)
- func (c *Client) DeleteServiceTemplateGroup(request *DeleteServiceTemplateGroupRequest) (response *DeleteServiceTemplateGroupResponse, err error)
- func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
- func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
- func (c *Client) DeleteVpnConnection(request *DeleteVpnConnectionRequest) (response *DeleteVpnConnectionResponse, err error)
- func (c *Client) DeleteVpnGateway(request *DeleteVpnGatewayRequest) (response *DeleteVpnGatewayResponse, err error)
- func (c *Client) DescribeAccountAttributes(request *DescribeAccountAttributesRequest) (response *DescribeAccountAttributesResponse, err error)
- func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
- func (c *Client) DescribeAddressTemplateGroups(request *DescribeAddressTemplateGroupsRequest) (response *DescribeAddressTemplateGroupsResponse, err error)
- func (c *Client) DescribeAddressTemplates(request *DescribeAddressTemplatesRequest) (response *DescribeAddressTemplatesResponse, err error)
- func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
- func (c *Client) DescribeBandwidthPackageQuota(request *DescribeBandwidthPackageQuotaRequest) (response *DescribeBandwidthPackageQuotaResponse, err error)
- func (c *Client) DescribeBandwidthPackages(request *DescribeBandwidthPackagesRequest) (response *DescribeBandwidthPackagesResponse, err error)
- func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)
- func (c *Client) DescribeCcnRegionBandwidthLimits(request *DescribeCcnRegionBandwidthLimitsRequest) (response *DescribeCcnRegionBandwidthLimitsResponse, err error)
- func (c *Client) DescribeCcnRoutes(request *DescribeCcnRoutesRequest) (response *DescribeCcnRoutesResponse, err error)
- func (c *Client) DescribeCcns(request *DescribeCcnsRequest) (response *DescribeCcnsResponse, err error)
- func (c *Client) DescribeClassicLinkInstances(request *DescribeClassicLinkInstancesRequest) (response *DescribeClassicLinkInstancesResponse, err error)
- func (c *Client) DescribeCustomerGatewayVendors(request *DescribeCustomerGatewayVendorsRequest) (response *DescribeCustomerGatewayVendorsResponse, err error)
- func (c *Client) DescribeCustomerGateways(request *DescribeCustomerGatewaysRequest) (response *DescribeCustomerGatewaysResponse, err error)
- func (c *Client) DescribeDirectConnectGatewayCcnRoutes(request *DescribeDirectConnectGatewayCcnRoutesRequest) (response *DescribeDirectConnectGatewayCcnRoutesResponse, err error)
- func (c *Client) DescribeDirectConnectGateways(request *DescribeDirectConnectGatewaysRequest) (response *DescribeDirectConnectGatewaysResponse, err error)
- func (c *Client) DescribeFlowLog(request *DescribeFlowLogRequest) (response *DescribeFlowLogResponse, err error)
- func (c *Client) DescribeFlowLogs(request *DescribeFlowLogsRequest) (response *DescribeFlowLogsResponse, err error)
- func (c *Client) DescribeGatewayFlowMonitorDetail(request *DescribeGatewayFlowMonitorDetailRequest) (response *DescribeGatewayFlowMonitorDetailResponse, err error)
- func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
- func (c *Client) DescribeIp6TranslatorQuota(request *DescribeIp6TranslatorQuotaRequest) (response *DescribeIp6TranslatorQuotaResponse, err error)
- func (c *Client) DescribeIp6Translators(request *DescribeIp6TranslatorsRequest) (response *DescribeIp6TranslatorsResponse, err error)
- func (c *Client) DescribeNatGatewayDestinationIpPortTranslationNatRules(request *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) (response *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse, ...)
- func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error)
- func (c *Client) DescribeNetDetectStates(request *DescribeNetDetectStatesRequest) (response *DescribeNetDetectStatesResponse, err error)
- func (c *Client) DescribeNetDetects(request *DescribeNetDetectsRequest) (response *DescribeNetDetectsResponse, err error)
- func (c *Client) DescribeNetworkInterfaceLimit(request *DescribeNetworkInterfaceLimitRequest) (response *DescribeNetworkInterfaceLimitResponse, err error)
- func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
- func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
- func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
- func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
- func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
- func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
- func (c *Client) DescribeServiceTemplateGroups(request *DescribeServiceTemplateGroupsRequest) (response *DescribeServiceTemplateGroupsResponse, err error)
- func (c *Client) DescribeServiceTemplates(request *DescribeServiceTemplatesRequest) (response *DescribeServiceTemplatesResponse, err error)
- func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
- func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
- func (c *Client) DescribeVpcIpv6Addresses(request *DescribeVpcIpv6AddressesRequest) (response *DescribeVpcIpv6AddressesResponse, err error)
- func (c *Client) DescribeVpcPrivateIpAddresses(request *DescribeVpcPrivateIpAddressesRequest) (response *DescribeVpcPrivateIpAddressesResponse, err error)
- func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
- func (c *Client) DescribeVpnConnections(request *DescribeVpnConnectionsRequest) (response *DescribeVpnConnectionsResponse, err error)
- func (c *Client) DescribeVpnGateways(request *DescribeVpnGatewaysRequest) (response *DescribeVpnGatewaysResponse, err error)
- func (c *Client) DetachCcnInstances(request *DetachCcnInstancesRequest) (response *DetachCcnInstancesResponse, err error)
- func (c *Client) DetachClassicLinkVpc(request *DetachClassicLinkVpcRequest) (response *DetachClassicLinkVpcResponse, err error)
- func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
- func (c *Client) DisableCcnRoutes(request *DisableCcnRoutesRequest) (response *DisableCcnRoutesResponse, err error)
- func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
- func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
- func (c *Client) DisassociateNatGatewayAddress(request *DisassociateNatGatewayAddressRequest) (response *DisassociateNatGatewayAddressResponse, err error)
- func (c *Client) DownloadCustomerGatewayConfiguration(request *DownloadCustomerGatewayConfigurationRequest) (response *DownloadCustomerGatewayConfigurationResponse, err error)
- func (c *Client) EnableCcnRoutes(request *EnableCcnRoutesRequest) (response *EnableCcnRoutesResponse, err error)
- func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
- func (c *Client) HaVipAssociateAddressIp(request *HaVipAssociateAddressIpRequest) (response *HaVipAssociateAddressIpResponse, err error)
- func (c *Client) HaVipDisassociateAddressIp(request *HaVipDisassociateAddressIpRequest) (response *HaVipDisassociateAddressIpResponse, err error)
- func (c *Client) InquiryPriceCreateVpnGateway(request *InquiryPriceCreateVpnGatewayRequest) (response *InquiryPriceCreateVpnGatewayResponse, err error)
- func (c *Client) InquiryPriceRenewVpnGateway(request *InquiryPriceRenewVpnGatewayRequest) (response *InquiryPriceRenewVpnGatewayResponse, err error)
- func (c *Client) InquiryPriceResetVpnGatewayInternetMaxBandwidth(request *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) (response *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse, err error)
- func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
- func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
- func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
- func (c *Client) ModifyAddressTemplateAttribute(request *ModifyAddressTemplateAttributeRequest) (response *ModifyAddressTemplateAttributeResponse, err error)
- func (c *Client) ModifyAddressTemplateGroupAttribute(request *ModifyAddressTemplateGroupAttributeRequest) (response *ModifyAddressTemplateGroupAttributeResponse, err error)
- func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
- func (c *Client) ModifyBandwidthPackageAttribute(request *ModifyBandwidthPackageAttributeRequest) (response *ModifyBandwidthPackageAttributeResponse, err error)
- func (c *Client) ModifyCcnAttribute(request *ModifyCcnAttributeRequest) (response *ModifyCcnAttributeResponse, err error)
- func (c *Client) ModifyCustomerGatewayAttribute(request *ModifyCustomerGatewayAttributeRequest) (response *ModifyCustomerGatewayAttributeResponse, err error)
- func (c *Client) ModifyDirectConnectGatewayAttribute(request *ModifyDirectConnectGatewayAttributeRequest) (response *ModifyDirectConnectGatewayAttributeResponse, err error)
- func (c *Client) ModifyFlowLogAttribute(request *ModifyFlowLogAttributeRequest) (response *ModifyFlowLogAttributeResponse, err error)
- func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
- func (c *Client) ModifyIp6Rule(request *ModifyIp6RuleRequest) (response *ModifyIp6RuleResponse, err error)
- func (c *Client) ModifyIp6Translator(request *ModifyIp6TranslatorRequest) (response *ModifyIp6TranslatorResponse, err error)
- func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
- func (c *Client) ModifyNatGatewayAttribute(request *ModifyNatGatewayAttributeRequest) (response *ModifyNatGatewayAttributeResponse, err error)
- func (c *Client) ModifyNatGatewayDestinationIpPortTranslationNatRule(request *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse, ...)
- func (c *Client) ModifyNetDetect(request *ModifyNetDetectRequest) (response *ModifyNetDetectResponse, err error)
- func (c *Client) ModifyNetworkInterfaceAttribute(request *ModifyNetworkInterfaceAttributeRequest) (response *ModifyNetworkInterfaceAttributeResponse, err error)
- func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
- func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
- func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
- func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
- func (c *Client) ModifyServiceTemplateAttribute(request *ModifyServiceTemplateAttributeRequest) (response *ModifyServiceTemplateAttributeResponse, err error)
- func (c *Client) ModifyServiceTemplateGroupAttribute(request *ModifyServiceTemplateGroupAttributeRequest) (response *ModifyServiceTemplateGroupAttributeResponse, err error)
- func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
- func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
- func (c *Client) ModifyVpnConnectionAttribute(request *ModifyVpnConnectionAttributeRequest) (response *ModifyVpnConnectionAttributeResponse, err error)
- func (c *Client) ModifyVpnGatewayAttribute(request *ModifyVpnGatewayAttributeRequest) (response *ModifyVpnGatewayAttributeResponse, err error)
- func (c *Client) RejectAttachCcnInstances(request *RejectAttachCcnInstancesRequest) (response *RejectAttachCcnInstancesResponse, err error)
- func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
- func (c *Client) RemoveBandwidthPackageResources(request *RemoveBandwidthPackageResourcesRequest) (response *RemoveBandwidthPackageResourcesResponse, err error)
- func (c *Client) RemoveIp6Rules(request *RemoveIp6RulesRequest) (response *RemoveIp6RulesResponse, err error)
- func (c *Client) RenewVpnGateway(request *RenewVpnGatewayRequest) (response *RenewVpnGatewayResponse, err error)
- func (c *Client) ReplaceDirectConnectGatewayCcnRoutes(request *ReplaceDirectConnectGatewayCcnRoutesRequest) (response *ReplaceDirectConnectGatewayCcnRoutesResponse, err error)
- func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
- func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
- func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
- func (c *Client) ResetAttachCcnInstances(request *ResetAttachCcnInstancesRequest) (response *ResetAttachCcnInstancesResponse, err error)
- func (c *Client) ResetNatGatewayConnection(request *ResetNatGatewayConnectionRequest) (response *ResetNatGatewayConnectionResponse, err error)
- func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
- func (c *Client) ResetVpnConnection(request *ResetVpnConnectionRequest) (response *ResetVpnConnectionResponse, err error)
- func (c *Client) ResetVpnGatewayInternetMaxBandwidth(request *ResetVpnGatewayInternetMaxBandwidthRequest) (response *ResetVpnGatewayInternetMaxBandwidthResponse, err error)
- func (c *Client) SetCcnRegionBandwidthLimits(request *SetCcnRegionBandwidthLimitsRequest) (response *SetCcnRegionBandwidthLimitsResponse, err error)
- func (c *Client) TransformAddress(request *TransformAddressRequest) (response *TransformAddressResponse, err error)
- func (c *Client) UnassignIpv6Addresses(request *UnassignIpv6AddressesRequest) (response *UnassignIpv6AddressesResponse, err error)
- func (c *Client) UnassignIpv6CidrBlock(request *UnassignIpv6CidrBlockRequest) (response *UnassignIpv6CidrBlockResponse, err error)
- func (c *Client) UnassignIpv6SubnetCidrBlock(request *UnassignIpv6SubnetCidrBlockRequest) (response *UnassignIpv6SubnetCidrBlockResponse, err error)
- func (c *Client) UnassignPrivateIpAddresses(request *UnassignPrivateIpAddressesRequest) (response *UnassignPrivateIpAddressesResponse, err error)
- type CreateAddressTemplateGroupRequest
- type CreateAddressTemplateGroupResponse
- type CreateAddressTemplateRequest
- type CreateAddressTemplateResponse
- type CreateBandwidthPackageRequest
- type CreateBandwidthPackageResponse
- type CreateCcnRequest
- type CreateCcnResponse
- type CreateCustomerGatewayRequest
- type CreateCustomerGatewayResponse
- type CreateDefaultVpcRequest
- type CreateDefaultVpcResponse
- type CreateDirectConnectGatewayCcnRoutesRequest
- type CreateDirectConnectGatewayCcnRoutesResponse
- type CreateDirectConnectGatewayRequest
- type CreateDirectConnectGatewayResponse
- type CreateFlowLogRequest
- type CreateFlowLogResponse
- type CreateHaVipRequest
- type CreateHaVipResponse
- type CreateIp6TranslatorsRequest
- type CreateIp6TranslatorsResponse
- type CreateNatGatewayDestinationIpPortTranslationNatRuleRequest
- type CreateNatGatewayDestinationIpPortTranslationNatRuleResponse
- type CreateNatGatewayRequest
- type CreateNatGatewayResponse
- type CreateNetDetectRequest
- type CreateNetDetectResponse
- type CreateNetworkInterfaceRequest
- type CreateNetworkInterfaceResponse
- type CreateRouteTableRequest
- type CreateRouteTableResponse
- type CreateRoutesRequest
- type CreateRoutesResponse
- type CreateSecurityGroupPoliciesRequest
- type CreateSecurityGroupPoliciesResponse
- type CreateSecurityGroupRequest
- type CreateSecurityGroupResponse
- type CreateServiceTemplateGroupRequest
- type CreateServiceTemplateGroupResponse
- type CreateServiceTemplateRequest
- type CreateServiceTemplateResponse
- type CreateSubnetRequest
- type CreateSubnetResponse
- type CreateSubnetsRequest
- type CreateSubnetsResponse
- type CreateVpcRequest
- type CreateVpcResponse
- type CreateVpnConnectionRequest
- type CreateVpnConnectionResponse
- type CreateVpnGatewayRequest
- type CreateVpnGatewayResponse
- type CustomerGateway
- type CustomerGatewayVendor
- type DefaultVpcSubnet
- type DeleteAddressTemplateGroupRequest
- type DeleteAddressTemplateGroupResponse
- type DeleteAddressTemplateRequest
- type DeleteAddressTemplateResponse
- type DeleteBandwidthPackageRequest
- type DeleteBandwidthPackageResponse
- type DeleteCcnRequest
- type DeleteCcnResponse
- type DeleteCustomerGatewayRequest
- type DeleteCustomerGatewayResponse
- type DeleteDirectConnectGatewayCcnRoutesRequest
- type DeleteDirectConnectGatewayCcnRoutesResponse
- type DeleteDirectConnectGatewayRequest
- type DeleteDirectConnectGatewayResponse
- type DeleteFlowLogRequest
- type DeleteFlowLogResponse
- type DeleteHaVipRequest
- type DeleteHaVipResponse
- type DeleteIp6TranslatorsRequest
- type DeleteIp6TranslatorsResponse
- type DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest
- type DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse
- type DeleteNatGatewayRequest
- type DeleteNatGatewayResponse
- type DeleteNetDetectRequest
- type DeleteNetDetectResponse
- type DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceResponse
- type DeleteRouteTableRequest
- type DeleteRouteTableResponse
- type DeleteRoutesRequest
- type DeleteRoutesResponse
- type DeleteSecurityGroupPoliciesRequest
- type DeleteSecurityGroupPoliciesResponse
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupResponse
- type DeleteServiceTemplateGroupRequest
- type DeleteServiceTemplateGroupResponse
- type DeleteServiceTemplateRequest
- type DeleteServiceTemplateResponse
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DeleteVpnConnectionRequest
- type DeleteVpnConnectionResponse
- type DeleteVpnGatewayRequest
- type DeleteVpnGatewayResponse
- type DescribeAccountAttributesRequest
- type DescribeAccountAttributesResponse
- type DescribeAddressQuotaRequest
- type DescribeAddressQuotaResponse
- type DescribeAddressTemplateGroupsRequest
- type DescribeAddressTemplateGroupsResponse
- type DescribeAddressTemplatesRequest
- type DescribeAddressTemplatesResponse
- type DescribeAddressesRequest
- type DescribeAddressesResponse
- type DescribeBandwidthPackageQuotaRequest
- type DescribeBandwidthPackageQuotaResponse
- type DescribeBandwidthPackagesRequest
- type DescribeBandwidthPackagesResponse
- type DescribeCcnAttachedInstancesRequest
- type DescribeCcnAttachedInstancesResponse
- type DescribeCcnRegionBandwidthLimitsRequest
- type DescribeCcnRegionBandwidthLimitsResponse
- type DescribeCcnRoutesRequest
- type DescribeCcnRoutesResponse
- type DescribeCcnsRequest
- type DescribeCcnsResponse
- type DescribeClassicLinkInstancesRequest
- type DescribeClassicLinkInstancesResponse
- type DescribeCustomerGatewayVendorsRequest
- type DescribeCustomerGatewayVendorsResponse
- type DescribeCustomerGatewaysRequest
- type DescribeCustomerGatewaysResponse
- type DescribeDirectConnectGatewayCcnRoutesRequest
- type DescribeDirectConnectGatewayCcnRoutesResponse
- type DescribeDirectConnectGatewaysRequest
- type DescribeDirectConnectGatewaysResponse
- type DescribeFlowLogRequest
- type DescribeFlowLogResponse
- type DescribeFlowLogsRequest
- type DescribeFlowLogsResponse
- type DescribeGatewayFlowMonitorDetailRequest
- type DescribeGatewayFlowMonitorDetailResponse
- type DescribeHaVipsRequest
- type DescribeHaVipsResponse
- type DescribeIp6TranslatorQuotaRequest
- type DescribeIp6TranslatorQuotaResponse
- type DescribeIp6TranslatorsRequest
- type DescribeIp6TranslatorsResponse
- type DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest
- type DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse
- type DescribeNatGatewaysRequest
- type DescribeNatGatewaysResponse
- type DescribeNetDetectStatesRequest
- type DescribeNetDetectStatesResponse
- type DescribeNetDetectsRequest
- type DescribeNetDetectsResponse
- type DescribeNetworkInterfaceLimitRequest
- type DescribeNetworkInterfaceLimitResponse
- type DescribeNetworkInterfacesRequest
- type DescribeNetworkInterfacesResponse
- type DescribeRouteConflictsRequest
- type DescribeRouteConflictsResponse
- type DescribeRouteTablesRequest
- type DescribeRouteTablesResponse
- type DescribeSecurityGroupAssociationStatisticsRequest
- type DescribeSecurityGroupAssociationStatisticsResponse
- type DescribeSecurityGroupPoliciesRequest
- type DescribeSecurityGroupPoliciesResponse
- type DescribeSecurityGroupsRequest
- type DescribeSecurityGroupsResponse
- type DescribeServiceTemplateGroupsRequest
- type DescribeServiceTemplateGroupsResponse
- type DescribeServiceTemplatesRequest
- type DescribeServiceTemplatesResponse
- type DescribeSubnetsRequest
- type DescribeSubnetsResponse
- type DescribeTaskResultRequest
- type DescribeTaskResultResponse
- type DescribeVpcIpv6AddressesRequest
- type DescribeVpcIpv6AddressesResponse
- type DescribeVpcPrivateIpAddressesRequest
- type DescribeVpcPrivateIpAddressesResponse
- type DescribeVpcsRequest
- type DescribeVpcsResponse
- type DescribeVpnConnectionsRequest
- type DescribeVpnConnectionsResponse
- type DescribeVpnGatewaysRequest
- type DescribeVpnGatewaysResponse
- type DestinationIpPortTranslationNatRule
- type DetachCcnInstancesRequest
- type DetachCcnInstancesResponse
- type DetachClassicLinkVpcRequest
- type DetachClassicLinkVpcResponse
- type DetachNetworkInterfaceRequest
- type DetachNetworkInterfaceResponse
- type DirectConnectGateway
- type DirectConnectGatewayCcnRoute
- type DisableCcnRoutesRequest
- type DisableCcnRoutesResponse
- type DisableRoutesRequest
- type DisableRoutesResponse
- type DisassociateAddressRequest
- type DisassociateAddressResponse
- type DisassociateNatGatewayAddressRequest
- type DisassociateNatGatewayAddressResponse
- type DownloadCustomerGatewayConfigurationRequest
- type DownloadCustomerGatewayConfigurationResponse
- type EnableCcnRoutesRequest
- type EnableCcnRoutesResponse
- type EnableRoutesRequest
- type EnableRoutesResponse
- type Filter
- type FilterObject
- type FlowLog
- type GatewayFlowMonitorDetail
- type HaVip
- type HaVipAssociateAddressIpRequest
- type HaVipAssociateAddressIpResponse
- type HaVipDisassociateAddressIpRequest
- type HaVipDisassociateAddressIpResponse
- type IKEOptionsSpecification
- type IPSECOptionsSpecification
- type InquiryPriceCreateVpnGatewayRequest
- type InquiryPriceCreateVpnGatewayResponse
- type InquiryPriceRenewVpnGatewayRequest
- type InquiryPriceRenewVpnGatewayResponse
- type InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest
- type InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse
- type InstanceChargePrepaid
- type InstanceStatistic
- type Ip6Rule
- type Ip6RuleInfo
- type Ip6Translator
- type Ipv6Address
- type Ipv6SubnetCidrBlock
- type ItemPrice
- type MigrateNetworkInterfaceRequest
- type MigrateNetworkInterfaceResponse
- type MigratePrivateIpAddressRequest
- type MigratePrivateIpAddressResponse
- type ModifyAddressAttributeRequest
- type ModifyAddressAttributeResponse
- type ModifyAddressTemplateAttributeRequest
- type ModifyAddressTemplateAttributeResponse
- type ModifyAddressTemplateGroupAttributeRequest
- type ModifyAddressTemplateGroupAttributeResponse
- type ModifyAddressesBandwidthRequest
- type ModifyAddressesBandwidthResponse
- type ModifyBandwidthPackageAttributeRequest
- type ModifyBandwidthPackageAttributeResponse
- type ModifyCcnAttributeRequest
- type ModifyCcnAttributeResponse
- type ModifyCustomerGatewayAttributeRequest
- type ModifyCustomerGatewayAttributeResponse
- type ModifyDirectConnectGatewayAttributeRequest
- type ModifyDirectConnectGatewayAttributeResponse
- type ModifyFlowLogAttributeRequest
- type ModifyFlowLogAttributeResponse
- type ModifyHaVipAttributeRequest
- type ModifyHaVipAttributeResponse
- type ModifyIp6RuleRequest
- type ModifyIp6RuleResponse
- type ModifyIp6TranslatorRequest
- type ModifyIp6TranslatorResponse
- type ModifyIpv6AddressesAttributeRequest
- type ModifyIpv6AddressesAttributeResponse
- type ModifyNatGatewayAttributeRequest
- type ModifyNatGatewayAttributeResponse
- type ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest
- type ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse
- type ModifyNetDetectRequest
- type ModifyNetDetectResponse
- type ModifyNetworkInterfaceAttributeRequest
- type ModifyNetworkInterfaceAttributeResponse
- type ModifyPrivateIpAddressesAttributeRequest
- type ModifyPrivateIpAddressesAttributeResponse
- type ModifyRouteTableAttributeRequest
- type ModifyRouteTableAttributeResponse
- type ModifySecurityGroupAttributeRequest
- type ModifySecurityGroupAttributeResponse
- type ModifySecurityGroupPoliciesRequest
- type ModifySecurityGroupPoliciesResponse
- type ModifyServiceTemplateAttributeRequest
- type ModifyServiceTemplateAttributeResponse
- type ModifyServiceTemplateGroupAttributeRequest
- type ModifyServiceTemplateGroupAttributeResponse
- type ModifySubnetAttributeRequest
- type ModifySubnetAttributeResponse
- type ModifyVpcAttributeRequest
- type ModifyVpcAttributeResponse
- type ModifyVpnConnectionAttributeRequest
- type ModifyVpnConnectionAttributeResponse
- type ModifyVpnGatewayAttributeRequest
- type ModifyVpnGatewayAttributeResponse
- type NatGateway
- type NatGatewayAddress
- type NatGatewayDestinationIpPortTranslationNatRule
- type NetDetect
- type NetDetectIpState
- type NetDetectState
- type NetworkInterface
- type NetworkInterfaceAttachment
- type Price
- type PrivateIpAddressSpecification
- type Quota
- type RejectAttachCcnInstancesRequest
- type RejectAttachCcnInstancesResponse
- type ReleaseAddressesRequest
- type ReleaseAddressesResponse
- type RemoveBandwidthPackageResourcesRequest
- type RemoveBandwidthPackageResourcesResponse
- type RemoveIp6RulesRequest
- type RemoveIp6RulesResponse
- type RenewVpnGatewayRequest
- type RenewVpnGatewayResponse
- type ReplaceDirectConnectGatewayCcnRoutesRequest
- type ReplaceDirectConnectGatewayCcnRoutesResponse
- type ReplaceRouteTableAssociationRequest
- type ReplaceRouteTableAssociationResponse
- type ReplaceRoutesRequest
- type ReplaceRoutesResponse
- type ReplaceSecurityGroupPolicyRequest
- type ReplaceSecurityGroupPolicyResponse
- type ResetAttachCcnInstancesRequest
- type ResetAttachCcnInstancesResponse
- type ResetNatGatewayConnectionRequest
- type ResetNatGatewayConnectionResponse
- type ResetRoutesRequest
- type ResetRoutesResponse
- type ResetVpnConnectionRequest
- type ResetVpnConnectionResponse
- type ResetVpnGatewayInternetMaxBandwidthRequest
- type ResetVpnGatewayInternetMaxBandwidthResponse
- type Resource
- type Route
- type RouteConflict
- type RouteTable
- type RouteTableAssociation
- type SecurityGroup
- type SecurityGroupAssociationStatistics
- type SecurityGroupPolicy
- type SecurityGroupPolicySet
- type SecurityPolicyDatabase
- type ServiceTemplate
- type ServiceTemplateGroup
- type ServiceTemplateSpecification
- type SetCcnRegionBandwidthLimitsRequest
- type SetCcnRegionBandwidthLimitsResponse
- type Subnet
- type SubnetInput
- type Tag
- type TransformAddressRequest
- type TransformAddressResponse
- type UnassignIpv6AddressesRequest
- type UnassignIpv6AddressesResponse
- type UnassignIpv6CidrBlockRequest
- type UnassignIpv6CidrBlockResponse
- type UnassignIpv6SubnetCidrBlockRequest
- type UnassignIpv6SubnetCidrBlockResponse
- type UnassignPrivateIpAddressesRequest
- type UnassignPrivateIpAddressesResponse
- type Vpc
- type VpcIpv6Address
- type VpcPrivateIpAddress
- type VpnConnection
- type VpnGateway
Constants ¶
const APIVersion = "2017-03-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptAttachCcnInstancesRequest ¶
type AcceptAttachCcnInstancesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 接受关联实例列表。 Instances []*CcnInstance `json:"Instances,omitempty" name:"Instances" list` }
func NewAcceptAttachCcnInstancesRequest ¶
func NewAcceptAttachCcnInstancesRequest() (request *AcceptAttachCcnInstancesRequest)
func (*AcceptAttachCcnInstancesRequest) FromJsonString ¶
func (r *AcceptAttachCcnInstancesRequest) FromJsonString(s string) error
func (*AcceptAttachCcnInstancesRequest) ToJsonString ¶
func (r *AcceptAttachCcnInstancesRequest) ToJsonString() string
type AcceptAttachCcnInstancesResponse ¶
type AcceptAttachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAcceptAttachCcnInstancesResponse ¶
func NewAcceptAttachCcnInstancesResponse() (response *AcceptAttachCcnInstancesResponse)
func (*AcceptAttachCcnInstancesResponse) FromJsonString ¶
func (r *AcceptAttachCcnInstancesResponse) FromJsonString(s string) error
func (*AcceptAttachCcnInstancesResponse) ToJsonString ¶
func (r *AcceptAttachCcnInstancesResponse) ToJsonString() string
type AccountAttribute ¶
type AddBandwidthPackageResourcesRequest ¶
type AddBandwidthPackageResourcesRequest struct { *tchttp.BaseRequest // 资源Id,形如'eip-xxxx', 'lb-xxxx' ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` // 带宽包唯一标识ID,形如'bwp-xxxx' BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" name:"BandwidthPackageId"` // 带宽包类型,包括'BGP', 'SINGLEISP', 'ANYCAST' NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // 资源类型,包括'Address', 'LoadBalance' ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` }
func NewAddBandwidthPackageResourcesRequest ¶
func NewAddBandwidthPackageResourcesRequest() (request *AddBandwidthPackageResourcesRequest)
func (*AddBandwidthPackageResourcesRequest) FromJsonString ¶
func (r *AddBandwidthPackageResourcesRequest) FromJsonString(s string) error
func (*AddBandwidthPackageResourcesRequest) ToJsonString ¶
func (r *AddBandwidthPackageResourcesRequest) ToJsonString() string
type AddBandwidthPackageResourcesResponse ¶
type AddBandwidthPackageResourcesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAddBandwidthPackageResourcesResponse ¶
func NewAddBandwidthPackageResourcesResponse() (response *AddBandwidthPackageResourcesResponse)
func (*AddBandwidthPackageResourcesResponse) FromJsonString ¶
func (r *AddBandwidthPackageResourcesResponse) FromJsonString(s string) error
func (*AddBandwidthPackageResourcesResponse) ToJsonString ¶
func (r *AddBandwidthPackageResourcesResponse) ToJsonString() string
type AddIp6RulesRequest ¶
type AddIp6RulesRequest struct { *tchttp.BaseRequest // IPV6转换实例唯一ID,形如ip6-xxxxxxxx Ip6TranslatorId *string `json:"Ip6TranslatorId,omitempty" name:"Ip6TranslatorId"` // IPV6转换规则信息 Ip6RuleInfos []*Ip6RuleInfo `json:"Ip6RuleInfos,omitempty" name:"Ip6RuleInfos" list` // IPV6转换规则名称 Ip6RuleName *string `json:"Ip6RuleName,omitempty" name:"Ip6RuleName"` }
func NewAddIp6RulesRequest ¶
func NewAddIp6RulesRequest() (request *AddIp6RulesRequest)
func (*AddIp6RulesRequest) FromJsonString ¶
func (r *AddIp6RulesRequest) FromJsonString(s string) error
func (*AddIp6RulesRequest) ToJsonString ¶
func (r *AddIp6RulesRequest) ToJsonString() string
type AddIp6RulesResponse ¶
type AddIp6RulesResponse struct { *tchttp.BaseResponse Response *struct { // IPV6转换规则唯一ID数组,形如rule6-xxxxxxxx Ip6RuleSet []*string `json:"Ip6RuleSet,omitempty" name:"Ip6RuleSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAddIp6RulesResponse ¶
func NewAddIp6RulesResponse() (response *AddIp6RulesResponse)
func (*AddIp6RulesResponse) FromJsonString ¶
func (r *AddIp6RulesResponse) FromJsonString(s string) error
func (*AddIp6RulesResponse) ToJsonString ¶
func (r *AddIp6RulesResponse) ToJsonString() string
type Address ¶
type Address struct { // `EIP`的`ID`,是`EIP`的唯一标识。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // `EIP`名称。 AddressName *string `json:"AddressName,omitempty" name:"AddressName"` // `EIP`状态,包含'CREATING'(创建中),'BINDING'(绑定中),'BIND'(已绑定),'UNBINDING'(解绑中),'UNBIND'(已解绑),'OFFLINING'(释放中),'BIND_ENI'(绑定悬空弹性网卡) AddressStatus *string `json:"AddressStatus,omitempty" name:"AddressStatus"` // 外网IP地址 AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"` // 绑定的资源实例`ID`。可能是一个`CVM`,`NAT`。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 绑定的弹性网卡ID NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 绑定的资源内网ip PrivateAddressIp *string `json:"PrivateAddressIp,omitempty" name:"PrivateAddressIp"` // 资源隔离状态。true表示eip处于隔离状态,false表示资源处于未隔离状态 IsArrears *bool `json:"IsArrears,omitempty" name:"IsArrears"` // 资源封堵状态。true表示eip处于封堵状态,false表示eip处于未封堵状态 IsBlocked *bool `json:"IsBlocked,omitempty" name:"IsBlocked"` // eip是否支持直通模式。true表示eip支持直通模式,false表示资源不支持直通模式 IsEipDirectConnection *bool `json:"IsEipDirectConnection,omitempty" name:"IsEipDirectConnection"` // eip资源类型,包括"CalcIP","WanIP","EIP","AnycastEIP"。其中"CalcIP"表示设备ip,“WanIP”表示普通公网ip,“EIP”表示弹性公网ip,“AnycastEip”表示加速EIP AddressType *string `json:"AddressType,omitempty" name:"AddressType"` // eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip在解绑后不会自动释放 CascadeRelease *bool `json:"CascadeRelease,omitempty" name:"CascadeRelease"` }
type AddressTemplate ¶
type AddressTemplate struct { // IP地址模板名称。 AddressTemplateName *string `json:"AddressTemplateName,omitempty" name:"AddressTemplateName"` // IP地址模板实例唯一ID。 AddressTemplateId *string `json:"AddressTemplateId,omitempty" name:"AddressTemplateId"` // IP地址信息。 AddressSet []*string `json:"AddressSet,omitempty" name:"AddressSet" list` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type AddressTemplateGroup ¶
type AddressTemplateGroup struct { // IP地址模板集合名称。 AddressTemplateGroupName *string `json:"AddressTemplateGroupName,omitempty" name:"AddressTemplateGroupName"` // IP地址模板集合实例ID,例如:ipmg-dih8xdbq。 AddressTemplateGroupId *string `json:"AddressTemplateGroupId,omitempty" name:"AddressTemplateGroupId"` // IP地址模板ID。 AddressTemplateIdSet []*string `json:"AddressTemplateIdSet,omitempty" name:"AddressTemplateIdSet" list` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type AllocateAddressesRequest ¶
type AllocateAddressesRequest struct { *tchttp.BaseRequest // EIP数量。默认值:1。 AddressCount *int64 `json:"AddressCount,omitempty" name:"AddressCount"` // EIP线路类型。默认值:BGP。 // <ul style="margin:0"><li>已开通静态单线IP白名单的用户,可选值:<ul><li>CMCC:中国移动</li> // <li>CTCC:中国电信</li> // <li>CUCC:中国联通</li></ul>注意:仅部分地域支持静态单线IP。</li></ul> InternetServiceProvider *string `json:"InternetServiceProvider,omitempty" name:"InternetServiceProvider"` // EIP计费方式。 // <ul style="margin:0"><li>已开通带宽上移白名单的用户,可选值:<ul><li>BANDWIDTH_PACKAGE:[共享带宽包](https://cloud.tencent.com/document/product/684/15255)付费(需额外开通共享带宽包白名单)</li> // <li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li> // <li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li></ul>默认值:TRAFFIC_POSTPAID_BY_HOUR。</li> // <li>未开通带宽上移白名单的用户,EIP计费方式与其绑定的实例的计费方式一致,无需传递此参数。</li></ul> InternetChargeType *string `json:"InternetChargeType,omitempty" name:"InternetChargeType"` // EIP出带宽上限,单位:Mbps。 // <ul style="margin:0"><li>已开通带宽上移白名单的用户,可选值范围取决于EIP计费方式:<ul><li>BANDWIDTH_PACKAGE:1 Mbps 至 1000 Mbps</li> // <li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li> // <li>TRAFFIC_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li></ul>默认值:1 Mbps。</li> // <li>未开通带宽上移白名单的用户,EIP出带宽上限取决于与其绑定的实例的公网出带宽上限,无需传递此参数。</li></ul> InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // EIP类型。默认值:EIP。 // <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>AnycastEIP:加速IP,可参见 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)</li></ul>注意:仅部分地域支持加速IP。</li></ul> AddressType *string `json:"AddressType,omitempty" name:"AddressType"` // Anycast发布域。 // <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul> AnycastZone *string `json:"AnycastZone,omitempty" name:"AnycastZone"` // AnycastEIP是否用于绑定负载均衡。 // <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>TRUE:AnycastEIP可绑定对象为负载均衡</li> // <li>FALSE:AnycastEIP可绑定对象为云服务器、NAT网关、高可用虚拟IP等</li></ul>默认值:FALSE。</li></ul> ApplicableForCLB *bool `json:"ApplicableForCLB,omitempty" name:"ApplicableForCLB"` }
func NewAllocateAddressesRequest ¶
func NewAllocateAddressesRequest() (request *AllocateAddressesRequest)
func (*AllocateAddressesRequest) FromJsonString ¶
func (r *AllocateAddressesRequest) FromJsonString(s string) error
func (*AllocateAddressesRequest) ToJsonString ¶
func (r *AllocateAddressesRequest) ToJsonString() string
type AllocateAddressesResponse ¶
type AllocateAddressesResponse struct { *tchttp.BaseResponse Response *struct { // 申请到的 EIP 的唯一 ID 列表。 AddressSet []*string `json:"AddressSet,omitempty" name:"AddressSet" list` // 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAllocateAddressesResponse ¶
func NewAllocateAddressesResponse() (response *AllocateAddressesResponse)
func (*AllocateAddressesResponse) FromJsonString ¶
func (r *AllocateAddressesResponse) FromJsonString(s string) error
func (*AllocateAddressesResponse) ToJsonString ¶
func (r *AllocateAddressesResponse) ToJsonString() string
type AssignIpv6AddressesRequest ¶
type AssignIpv6AddressesRequest struct { *tchttp.BaseRequest // 弹性网卡实例`ID`,形如:`eni-m6dyj72l`。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的`IPv6`地址列表,单次最多指定10个。与入参`Ipv6AddressCount`合并计算配额。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses" list` // 自动分配`IPv6`地址个数,内网IP地址个数总和不能超过配数。与入参`Ipv6Addresses`合并计算配额。 Ipv6AddressCount *uint64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"` }
func NewAssignIpv6AddressesRequest ¶
func NewAssignIpv6AddressesRequest() (request *AssignIpv6AddressesRequest)
func (*AssignIpv6AddressesRequest) FromJsonString ¶
func (r *AssignIpv6AddressesRequest) FromJsonString(s string) error
func (*AssignIpv6AddressesRequest) ToJsonString ¶
func (r *AssignIpv6AddressesRequest) ToJsonString() string
type AssignIpv6AddressesResponse ¶
type AssignIpv6AddressesResponse struct { *tchttp.BaseResponse Response *struct { // 分配给弹性网卡的`IPv6`地址列表。 Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssignIpv6AddressesResponse ¶
func NewAssignIpv6AddressesResponse() (response *AssignIpv6AddressesResponse)
func (*AssignIpv6AddressesResponse) FromJsonString ¶
func (r *AssignIpv6AddressesResponse) FromJsonString(s string) error
func (*AssignIpv6AddressesResponse) ToJsonString ¶
func (r *AssignIpv6AddressesResponse) ToJsonString() string
type AssignIpv6CidrBlockRequest ¶
type AssignIpv6CidrBlockRequest struct { *tchttp.BaseRequest // `VPC`实例`ID`,形如:`vpc-f49l6u0z`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` }
func NewAssignIpv6CidrBlockRequest ¶
func NewAssignIpv6CidrBlockRequest() (request *AssignIpv6CidrBlockRequest)
func (*AssignIpv6CidrBlockRequest) FromJsonString ¶
func (r *AssignIpv6CidrBlockRequest) FromJsonString(s string) error
func (*AssignIpv6CidrBlockRequest) ToJsonString ¶
func (r *AssignIpv6CidrBlockRequest) ToJsonString() string
type AssignIpv6CidrBlockResponse ¶
type AssignIpv6CidrBlockResponse struct { *tchttp.BaseResponse Response *struct { // 分配的 `IPv6` 网段。形如:`3402:4e00:20:1000::/56` Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssignIpv6CidrBlockResponse ¶
func NewAssignIpv6CidrBlockResponse() (response *AssignIpv6CidrBlockResponse)
func (*AssignIpv6CidrBlockResponse) FromJsonString ¶
func (r *AssignIpv6CidrBlockResponse) FromJsonString(s string) error
func (*AssignIpv6CidrBlockResponse) ToJsonString ¶
func (r *AssignIpv6CidrBlockResponse) ToJsonString() string
type AssignIpv6SubnetCidrBlockRequest ¶
type AssignIpv6SubnetCidrBlockRequest struct { *tchttp.BaseRequest // 子网所在私有网络`ID`。形如:`vpc-f49l6u0z`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 分配 `IPv6` 子网段列表。 Ipv6SubnetCidrBlocks []*Ipv6SubnetCidrBlock `json:"Ipv6SubnetCidrBlocks,omitempty" name:"Ipv6SubnetCidrBlocks" list` }
func NewAssignIpv6SubnetCidrBlockRequest ¶
func NewAssignIpv6SubnetCidrBlockRequest() (request *AssignIpv6SubnetCidrBlockRequest)
func (*AssignIpv6SubnetCidrBlockRequest) FromJsonString ¶
func (r *AssignIpv6SubnetCidrBlockRequest) FromJsonString(s string) error
func (*AssignIpv6SubnetCidrBlockRequest) ToJsonString ¶
func (r *AssignIpv6SubnetCidrBlockRequest) ToJsonString() string
type AssignIpv6SubnetCidrBlockResponse ¶
type AssignIpv6SubnetCidrBlockResponse struct { *tchttp.BaseResponse Response *struct { // 分配 `IPv6` 子网段列表。 Ipv6SubnetCidrBlockSet []*Ipv6SubnetCidrBlock `json:"Ipv6SubnetCidrBlockSet,omitempty" name:"Ipv6SubnetCidrBlockSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssignIpv6SubnetCidrBlockResponse ¶
func NewAssignIpv6SubnetCidrBlockResponse() (response *AssignIpv6SubnetCidrBlockResponse)
func (*AssignIpv6SubnetCidrBlockResponse) FromJsonString ¶
func (r *AssignIpv6SubnetCidrBlockResponse) FromJsonString(s string) error
func (*AssignIpv6SubnetCidrBlockResponse) ToJsonString ¶
func (r *AssignIpv6SubnetCidrBlockResponse) ToJsonString() string
type AssignPrivateIpAddressesRequest ¶
type AssignPrivateIpAddressesRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` // 新申请的内网IP地址个数,内网IP地址个数总和不能超过配额数,详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。 SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"` }
func NewAssignPrivateIpAddressesRequest ¶
func NewAssignPrivateIpAddressesRequest() (request *AssignPrivateIpAddressesRequest)
func (*AssignPrivateIpAddressesRequest) FromJsonString ¶
func (r *AssignPrivateIpAddressesRequest) FromJsonString(s string) error
func (*AssignPrivateIpAddressesRequest) ToJsonString ¶
func (r *AssignPrivateIpAddressesRequest) ToJsonString() string
type AssignPrivateIpAddressesResponse ¶
type AssignPrivateIpAddressesResponse struct { *tchttp.BaseResponse Response *struct { // 内网IP详细信息。 PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitempty" name:"PrivateIpAddressSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssignPrivateIpAddressesResponse ¶
func NewAssignPrivateIpAddressesResponse() (response *AssignPrivateIpAddressesResponse)
func (*AssignPrivateIpAddressesResponse) FromJsonString ¶
func (r *AssignPrivateIpAddressesResponse) FromJsonString(s string) error
func (*AssignPrivateIpAddressesResponse) ToJsonString ¶
func (r *AssignPrivateIpAddressesResponse) ToJsonString() string
type AssistantCidr ¶
type AssistantCidr struct { // `VPC`实例`ID`。形如:`vpc-6v2ht8q5` VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 辅助CIDR。形如:`172.16.0.0/16` CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 辅助CIDR类型(0:普通辅助CIDR,1:容器辅助CIDR),默认都是0。 AssistantType *int64 `json:"AssistantType,omitempty" name:"AssistantType"` // 辅助CIDR拆分的子网。 // 注意:此字段可能返回 null,表示取不到有效值。 SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet" list` }
type AssociateAddressRequest ¶
type AssociateAddressRequest struct { *tchttp.BaseRequest // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 要绑定的实例 ID。实例 ID 形如:`ins-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:`eni-11112222`。`NetworkInterfaceId` 与 `InstanceId` 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的`networkInterfaceId`获取。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 要绑定的内网 IP。如果指定了 `NetworkInterfaceId` 则也必须指定 `PrivateIpAddress` ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 `PrivateIpAddress` 是指定的 `NetworkInterfaceId` 上的一个内网 IP。指定弹性网卡的内网 IP 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的`privateIpAddress`获取。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
func NewAssociateAddressRequest ¶
func NewAssociateAddressRequest() (request *AssociateAddressRequest)
func (*AssociateAddressRequest) FromJsonString ¶
func (r *AssociateAddressRequest) FromJsonString(s string) error
func (*AssociateAddressRequest) ToJsonString ¶
func (r *AssociateAddressRequest) ToJsonString() string
type AssociateAddressResponse ¶
type AssociateAddressResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssociateAddressResponse ¶
func NewAssociateAddressResponse() (response *AssociateAddressResponse)
func (*AssociateAddressResponse) FromJsonString ¶
func (r *AssociateAddressResponse) FromJsonString(s string) error
func (*AssociateAddressResponse) ToJsonString ¶
func (r *AssociateAddressResponse) ToJsonString() string
type AssociateNatGatewayAddressRequest ¶
type AssociateNatGatewayAddressRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // 需要申请的弹性IP个数,系统会按您的要求生产N个弹性IP, 其中AddressCount和PublicAddresses至少传递一个。 AddressCount *uint64 `json:"AddressCount,omitempty" name:"AddressCount"` // 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。。 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` // 弹性IP可以区,自动分配弹性IP时传递。 Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewAssociateNatGatewayAddressRequest ¶
func NewAssociateNatGatewayAddressRequest() (request *AssociateNatGatewayAddressRequest)
func (*AssociateNatGatewayAddressRequest) FromJsonString ¶
func (r *AssociateNatGatewayAddressRequest) FromJsonString(s string) error
func (*AssociateNatGatewayAddressRequest) ToJsonString ¶
func (r *AssociateNatGatewayAddressRequest) ToJsonString() string
type AssociateNatGatewayAddressResponse ¶
type AssociateNatGatewayAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssociateNatGatewayAddressResponse ¶
func NewAssociateNatGatewayAddressResponse() (response *AssociateNatGatewayAddressResponse)
func (*AssociateNatGatewayAddressResponse) FromJsonString ¶
func (r *AssociateNatGatewayAddressResponse) FromJsonString(s string) error
func (*AssociateNatGatewayAddressResponse) ToJsonString ¶
func (r *AssociateNatGatewayAddressResponse) ToJsonString() string
type AttachCcnInstancesRequest ¶
type AttachCcnInstancesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 关联网络实例列表 Instances []*CcnInstance `json:"Instances,omitempty" name:"Instances" list` // CCN所属UIN(根账号),默认当前账号所属UIN CcnUin *string `json:"CcnUin,omitempty" name:"CcnUin"` }
func NewAttachCcnInstancesRequest ¶
func NewAttachCcnInstancesRequest() (request *AttachCcnInstancesRequest)
func (*AttachCcnInstancesRequest) FromJsonString ¶
func (r *AttachCcnInstancesRequest) FromJsonString(s string) error
func (*AttachCcnInstancesRequest) ToJsonString ¶
func (r *AttachCcnInstancesRequest) ToJsonString() string
type AttachCcnInstancesResponse ¶
type AttachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAttachCcnInstancesResponse ¶
func NewAttachCcnInstancesResponse() (response *AttachCcnInstancesResponse)
func (*AttachCcnInstancesResponse) FromJsonString ¶
func (r *AttachCcnInstancesResponse) FromJsonString(s string) error
func (*AttachCcnInstancesResponse) ToJsonString ¶
func (r *AttachCcnInstancesResponse) ToJsonString() string
type AttachClassicLinkVpcRequest ¶
type AttachClassicLinkVpcRequest struct { *tchttp.BaseRequest // VPC实例ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // CVM实例ID InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` }
func NewAttachClassicLinkVpcRequest ¶
func NewAttachClassicLinkVpcRequest() (request *AttachClassicLinkVpcRequest)
func (*AttachClassicLinkVpcRequest) FromJsonString ¶
func (r *AttachClassicLinkVpcRequest) FromJsonString(s string) error
func (*AttachClassicLinkVpcRequest) ToJsonString ¶
func (r *AttachClassicLinkVpcRequest) ToJsonString() string
type AttachClassicLinkVpcResponse ¶
type AttachClassicLinkVpcResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAttachClassicLinkVpcResponse ¶
func NewAttachClassicLinkVpcResponse() (response *AttachClassicLinkVpcResponse)
func (*AttachClassicLinkVpcResponse) FromJsonString ¶
func (r *AttachClassicLinkVpcResponse) FromJsonString(s string) error
func (*AttachClassicLinkVpcResponse) ToJsonString ¶
func (r *AttachClassicLinkVpcResponse) ToJsonString() string
type AttachNetworkInterfaceRequest ¶
type AttachNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // CVM实例ID。形如:ins-r8hr2upy。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewAttachNetworkInterfaceRequest ¶
func NewAttachNetworkInterfaceRequest() (request *AttachNetworkInterfaceRequest)
func (*AttachNetworkInterfaceRequest) FromJsonString ¶
func (r *AttachNetworkInterfaceRequest) FromJsonString(s string) error
func (*AttachNetworkInterfaceRequest) ToJsonString ¶
func (r *AttachNetworkInterfaceRequest) ToJsonString() string
type AttachNetworkInterfaceResponse ¶
type AttachNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAttachNetworkInterfaceResponse ¶
func NewAttachNetworkInterfaceResponse() (response *AttachNetworkInterfaceResponse)
func (*AttachNetworkInterfaceResponse) FromJsonString ¶
func (r *AttachNetworkInterfaceResponse) FromJsonString(s string) error
func (*AttachNetworkInterfaceResponse) ToJsonString ¶
func (r *AttachNetworkInterfaceResponse) ToJsonString() string
type BandwidthPackage ¶
type BandwidthPackage struct { // 带宽包唯一标识Id BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" name:"BandwidthPackageId"` // 带宽包类型,包括'BGP','SINGLEISP','ANYCAST' NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // 带宽包计费类型,包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH' ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // 带宽包名称 BandwidthPackageName *string `json:"BandwidthPackageName,omitempty" name:"BandwidthPackageName"` // 带宽包创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 带宽包状态,包括'CREATING','CREATED','DELETING','DELETED' Status *string `json:"Status,omitempty" name:"Status"` // 带宽包资源信息 ResourceSet []*Resource `json:"ResourceSet,omitempty" name:"ResourceSet" list` // 带宽包限速大小。单位:Mbps,-1表示不限速。 Bandwidth *int64 `json:"Bandwidth,omitempty" name:"Bandwidth"` }
type CCN ¶
type CCN struct { // 云联网唯一ID CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 云联网名称 CcnName *string `json:"CcnName,omitempty" name:"CcnName"` // 云联网描述信息 CcnDescription *string `json:"CcnDescription,omitempty" name:"CcnDescription"` // 关联实例数量 InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 实例状态, 'ISOLATED': 隔离中(欠费停服),'AVAILABLE':运行中。 State *string `json:"State,omitempty" name:"State"` // 实例服务质量,’PT’:白金,'AU':金,'AG':银。 QosLevel *string `json:"QosLevel,omitempty" name:"QosLevel"` // 付费类型,PREPAID为预付费,POSTPAID为后付费。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 限速类型,INTER_REGION_LIMIT为地域间限速;OUTER_REGION_LIMIT为地域出口限速。 // 注意:此字段可能返回 null,表示取不到有效值。 BandwidthLimitType *string `json:"BandwidthLimitType,omitempty" name:"BandwidthLimitType"` }
type CcnAttachedInstance ¶
type CcnAttachedInstance struct { // 云联网实例ID。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 关联实例类型: // <li>`VPC`:私有网络</li> // <li>`DIRECTCONNECT`:专线网关</li> // <li>`BMVPC`:黑石私有网络</li> InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 关联实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 关联实例名称。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 关联实例所属大区,例如:ap-guangzhou。 InstanceRegion *string `json:"InstanceRegion,omitempty" name:"InstanceRegion"` // 关联实例所属UIN(根账号)。 InstanceUin *string `json:"InstanceUin,omitempty" name:"InstanceUin"` // 关联实例CIDR。 CidrBlock []*string `json:"CidrBlock,omitempty" name:"CidrBlock" list` // 关联实例状态: // <li>`PENDING`:申请中</li> // <li>`ACTIVE`:已连接</li> // <li>`EXPIRED`:已过期</li> // <li>`REJECTED`:已拒绝</li> // <li>`DELETED`:已删除</li> // <li>`FAILED`:失败的(2小时后将异步强制解关联)</li> // <li>`ATTACHING`:关联中</li> // <li>`DETACHING`:解关联中</li> // <li>`DETACHFAILED`:解关联失败(2小时后将异步强制解关联)</li> State *string `json:"State,omitempty" name:"State"` // 关联时间。 AttachedTime *string `json:"AttachedTime,omitempty" name:"AttachedTime"` // 云联网所属UIN(根账号)。 CcnUin *string `json:"CcnUin,omitempty" name:"CcnUin"` }
type CcnInstance ¶
type CcnInstance struct { // 关联实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 关联实例ID所属大区,例如:ap-guangzhou。 InstanceRegion *string `json:"InstanceRegion,omitempty" name:"InstanceRegion"` // 关联实例类型,可选值: // <li>`VPC`:私有网络</li> // <li>`DIRECTCONNECT`:专线网关</li> // <li>`BMVPC`:黑石私有网络</li> InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` }
type CcnRegionBandwidthLimit ¶
type CcnRegionBandwidthLimit struct { // 地域,例如:ap-guangzhou Region *string `json:"Region,omitempty" name:"Region"` // 出带宽上限,单位:Mbps BandwidthLimit *uint64 `json:"BandwidthLimit,omitempty" name:"BandwidthLimit"` // 是否黑石地域,默认`false`。 IsBm *bool `json:"IsBm,omitempty" name:"IsBm"` // 目的地域,例如:ap-shanghai // 注意:此字段可能返回 null,表示取不到有效值。 DstRegion *string `json:"DstRegion,omitempty" name:"DstRegion"` // 目的地域是否为黑石地域,默认`false`。 DstIsBm *bool `json:"DstIsBm,omitempty" name:"DstIsBm"` }
type CcnRoute ¶
type CcnRoute struct { // 路由策略ID RouteId *string `json:"RouteId,omitempty" name:"RouteId"` // 目的端 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // 下一跳类型(关联实例类型),所有类型:VPC、DIRECTCONNECT InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 下一跳(关联实例) InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 下一跳名称(关联实例名称) InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 下一跳所属地域(关联实例所属地域) InstanceRegion *string `json:"InstanceRegion,omitempty" name:"InstanceRegion"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 路由是否启用 Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` // 关联实例所属UIN(根账号) InstanceUin *string `json:"InstanceUin,omitempty" name:"InstanceUin"` }
type CheckNetDetectStateRequest ¶
type CheckNetDetectStateRequest struct { *tchttp.BaseRequest // 探测目的IPv4地址数组,最多两个。 DetectDestinationIp []*string `json:"DetectDestinationIp,omitempty" name:"DetectDestinationIp" list` // 下一跳类型,目前我们支持的类型有: // VPN:VPN网关; // DIRECTCONNECT:专线网关; // PEERCONNECTION:对等连接; // NAT:NAT网关; // NORMAL_CVM:普通云主机; NextHopType *string `json:"NextHopType,omitempty" name:"NextHopType"` // 下一跳目的网关,取值与“下一跳类型”相关: // 下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678; // 下一跳类型为DIRECTCONNECT,取值专线网关ID,形如:dcg-12345678; // 下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678; // 下一跳类型为NAT,取值Nat网关,形如:nat-12345678; // 下一跳类型为NORMAL_CVM,取值云主机IPv4地址,形如:10.0.0.12; NextHopDestination *string `json:"NextHopDestination,omitempty" name:"NextHopDestination"` // 网络探测实例ID。形如:netd-12345678。 NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` // `VPC`实例`ID`。形如:`vpc-12345678` VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网实例ID。形如:subnet-12345678。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 网络探测名称,最大长度不能超过60个字节。 NetDetectName *string `json:"NetDetectName,omitempty" name:"NetDetectName"` }
func NewCheckNetDetectStateRequest ¶
func NewCheckNetDetectStateRequest() (request *CheckNetDetectStateRequest)
func (*CheckNetDetectStateRequest) FromJsonString ¶
func (r *CheckNetDetectStateRequest) FromJsonString(s string) error
func (*CheckNetDetectStateRequest) ToJsonString ¶
func (r *CheckNetDetectStateRequest) ToJsonString() string
type CheckNetDetectStateResponse ¶
type CheckNetDetectStateResponse struct { *tchttp.BaseResponse Response *struct { // 网络探测验证结果对象数组。 NetDetectIpStateSet []*NetDetectIpState `json:"NetDetectIpStateSet,omitempty" name:"NetDetectIpStateSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCheckNetDetectStateResponse ¶
func NewCheckNetDetectStateResponse() (response *CheckNetDetectStateResponse)
func (*CheckNetDetectStateResponse) FromJsonString ¶
func (r *CheckNetDetectStateResponse) FromJsonString(s string) error
func (*CheckNetDetectStateResponse) ToJsonString ¶
func (r *CheckNetDetectStateResponse) ToJsonString() string
type ClassicLinkInstance ¶
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AcceptAttachCcnInstances ¶
func (c *Client) AcceptAttachCcnInstances(request *AcceptAttachCcnInstancesRequest) (response *AcceptAttachCcnInstancesResponse, err error)
本接口(AcceptAttachCcnInstances)用于跨账号关联实例时,云联网所有者接受并同意关联操作。
func (*Client) AddBandwidthPackageResources ¶
func (c *Client) AddBandwidthPackageResources(request *AddBandwidthPackageResourcesRequest) (response *AddBandwidthPackageResourcesResponse, err error)
接口用于添加带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等
func (*Client) AddIp6Rules ¶
func (c *Client) AddIp6Rules(request *AddIp6RulesRequest) (response *AddIp6RulesResponse, err error)
1. 该接口用于在转换实例下添加IPV6转换规则。 2. 支持在同一个转换实例下批量添加转换规则,一个账户在一个地域最多50个。 3. 一个完整的转换规则包括vip6:vport6:protocol:vip:vport,其中vip6:vport6:protocol必须是唯一。
func (*Client) AllocateAddresses ¶
func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)
本接口 (AllocateAddresses) 用于申请一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。 * EIP 是专为动态云计算设计的静态 IP 地址。借助 EIP,您可以快速将 EIP 重新映射到您的另一个实例上,从而屏蔽实例故障。 * 您的 EIP 与腾讯云账户相关联,而不是与某个实例相关联。在您选择显式释放该地址,或欠费超过24小时之前,它会一直与您的腾讯云账户保持关联。 * 一个腾讯云账户在每个地域能申请的 EIP 最大配额有所限制,可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733),上述配额可通过 DescribeAddressQuota 接口获取。
func (*Client) AssignIpv6Addresses ¶
func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)
本接口(AssignIpv6Addresses)用于弹性网卡申请`IPv6`地址。<br /> 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口。 * 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。 * 可以指定`IPv6`地址申请,地址类型不能为主`IP`,`IPv6`地址暂时只支持作为辅助`IP`。 * 地址必须要在弹性网卡所在子网内,而且不能被占用。 * 在弹性网卡上申请一个到多个辅助`IPv6`地址,接口会在弹性网卡所在子网段内返回指定数量的辅助`IPv6`地址。
func (*Client) AssignIpv6CidrBlock ¶
func (c *Client) AssignIpv6CidrBlock(request *AssignIpv6CidrBlockRequest) (response *AssignIpv6CidrBlockResponse, err error)
本接口(AssignIpv6CidrBlock)用于分配IPv6网段。 * 使用本接口前,你需要已有VPC实例,如果没有可通过接口<a href="https://cloud.tencent.com/document/api/215/15774" title="CreateVpc" target="_blank">CreateVpc</a>创建。 * 每个VPC只能申请一个IPv6网段
func (*Client) AssignIpv6SubnetCidrBlock ¶
func (c *Client) AssignIpv6SubnetCidrBlock(request *AssignIpv6SubnetCidrBlockRequest) (response *AssignIpv6SubnetCidrBlockResponse, err error)
本接口(AssignIpv6SubnetCidrBlock)用于分配IPv6子网段。 * 给子网分配 `IPv6` 网段,要求子网所属 `VPC` 已获得 `IPv6` 网段。如果尚未分配,请先通过接口 `AssignIpv6CidrBlock` 给子网所属 `VPC` 分配一个 `IPv6` 网段。否则无法分配 `IPv6` 子网段。 * 每个子网只能分配一个IPv6网段。
func (*Client) AssignPrivateIpAddresses ¶
func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)
本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。 * 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。 * 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要弹性网卡所在子网内,而且不能被占用。 * 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。
func (*Client) AssociateAddress ¶
func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)
本接口 (AssociateAddress) 用于将[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。 * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。 * 将 EIP 绑定到主网卡的主内网IP上,绑定过程会把其上绑定的普通公网 IP 自动解绑并释放。 * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。 * 将 EIP 绑定到NAT网关,请使用接口[EipBindNatGateway](https://cloud.tencent.com/document/product/215/4093) * EIP 如果欠费或被封堵,则不能被绑定。 * 只有状态为 UNBIND 的 EIP 才能够被绑定。
func (*Client) AssociateNatGatewayAddress ¶
func (c *Client) AssociateNatGatewayAddress(request *AssociateNatGatewayAddressRequest) (response *AssociateNatGatewayAddressResponse, err error)
本接口(AssociateNatGatewayAddress)用于NAT网关绑定弹性IP(EIP)。
func (*Client) AttachCcnInstances ¶
func (c *Client) AttachCcnInstances(request *AttachCcnInstancesRequest) (response *AttachCcnInstancesResponse, err error)
本接口(AttachCcnInstances)用于将网络实例加载到云联网实例中,网络实例包括VPC和专线网关。<br /> 每个云联网能够关联的网络实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。
func (*Client) AttachClassicLinkVpc ¶
func (c *Client) AttachClassicLinkVpc(request *AttachClassicLinkVpcRequest) (response *AttachClassicLinkVpcResponse, err error)
本接口(AttachClassicLinkVpc)用于创建私有网络和基础网络设备互通。 * 私有网络和基础网络设备必须在同一个地域。 * 私有网络和基础网络的区别详见vpc产品文档-<a href="https://cloud.tencent.com/document/product/215/535#2.-.E7.A7.81.E6.9C.89.E7.BD.91.E7.BB.9C.E4.B8.8E.E5.9F.BA.E7.A1.80.E7.BD.91.E7.BB.9C">私有网络与基础网络</a>。
func (*Client) AttachNetworkInterface ¶
func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)
本接口(AttachNetworkInterface)用于弹性网卡绑定云主机。 * 一个云主机可以绑定多个弹性网卡,但只能绑定一个主网卡。更多限制信息详见<a href="https://cloud.tencent.com/document/product/215/6513">弹性网卡使用限制</a>。 * 一个弹性网卡只能同时绑定一个云主机。 * 只有运行中或者已关机状态的云主机才能绑定弹性网卡,查看云主机状态详见<a href="https://cloud.tencent.com/document/api/213/9452#instance_state">腾讯云主机信息</a>。 * 弹性网卡绑定的云主机必须是私有网络的,而且云主机所在可用区必须和弹性网卡子网的可用区相同。
func (*Client) CheckNetDetectState ¶
func (c *Client) CheckNetDetectState(request *CheckNetDetectStateRequest) (response *CheckNetDetectStateResponse, err error)
本接口(CheckNetDetectState)用于验证网络探测。
func (*Client) CreateAddressTemplate ¶
func (c *Client) CreateAddressTemplate(request *CreateAddressTemplateRequest) (response *CreateAddressTemplateResponse, err error)
本接口(CreateAddressTemplate)用于创建IP地址模版
func (*Client) CreateAddressTemplateGroup ¶
func (c *Client) CreateAddressTemplateGroup(request *CreateAddressTemplateGroupRequest) (response *CreateAddressTemplateGroupResponse, err error)
本接口(CreateAddressTemplateGroup)用于创建IP地址模版集合
func (*Client) CreateBandwidthPackage ¶
func (c *Client) CreateBandwidthPackage(request *CreateBandwidthPackageRequest) (response *CreateBandwidthPackageResponse, err error)
接口支持创建[设备带宽包](https://cloud.tencent.com/document/product/684/15246#.E8.AE.BE.E5.A4.87.E5.B8.A6.E5.AE.BD.E5.8C.85)和[ip带宽包](https://cloud.tencent.com/document/product/684/15246#ip-.E5.B8.A6.E5.AE.BD.E5.8C.85)
func (*Client) CreateCcn ¶
func (c *Client) CreateCcn(request *CreateCcnRequest) (response *CreateCcnResponse, err error)
本接口(CreateCcn)用于创建云联网(CCN)。<br /> 每个账号能创建的云联网实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。
func (*Client) CreateCustomerGateway ¶
func (c *Client) CreateCustomerGateway(request *CreateCustomerGatewayRequest) (response *CreateCustomerGatewayResponse, err error)
本接口(CreateCustomerGateway)用于创建对端网关。
func (*Client) CreateDefaultVpc ¶
func (c *Client) CreateDefaultVpc(request *CreateDefaultVpcRequest) (response *CreateDefaultVpcResponse, err error)
本接口(CreateDefaultVpc)用于创建默认私有网络(VPC)。
默认VPC适用于快速入门和启动公共实例,您可以像使用任何其他VPC一样使用默认VPC。如果你想创建标准VPC,即指定VPC名称、VPC网段、子网网段、子网可用区,请使用常规创建VPC接口(CreateVpc)
正常情况,本接口并不一定生产默认VPC,而是根据用户账号的网络属性(DescribeAccountAttributes)来决定的 * 支持基础网络、VPC,返回VpcId为0 * 只支持VPC,返回默认VPC信息
你也可以通过 Force 参数,强制返回默认VPC
func (*Client) CreateDirectConnectGateway ¶
func (c *Client) CreateDirectConnectGateway(request *CreateDirectConnectGatewayRequest) (response *CreateDirectConnectGatewayResponse, err error)
本接口(CreateDirectConnectGateway)用于创建专线网关。
func (*Client) CreateDirectConnectGatewayCcnRoutes ¶
func (c *Client) CreateDirectConnectGatewayCcnRoutes(request *CreateDirectConnectGatewayCcnRoutesRequest) (response *CreateDirectConnectGatewayCcnRoutesResponse, err error)
本接口(CreateDirectConnectGatewayCcnRoutes)用于创建专线网关的云联网路由(IDC网段)
func (*Client) CreateFlowLog ¶
func (c *Client) CreateFlowLog(request *CreateFlowLogRequest) (response *CreateFlowLogResponse, err error)
本接口(CreateFlowLog)用于创建流日志
func (*Client) CreateHaVip ¶
func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)
本接口(CreateHaVip)用于创建高可用虚拟IP(HAVIP)
func (*Client) CreateIp6Translators ¶
func (c *Client) CreateIp6Translators(request *CreateIp6TranslatorsRequest) (response *CreateIp6TranslatorsResponse, err error)
1. 该接口用于创建IPV6转换IPV4实例,支持批量 2. 同一个账户在在一个地域最多允许创建10个转换实例
func (*Client) CreateNatGateway ¶
func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error)
本接口(CreateNatGateway)用于创建NAT网关。
func (*Client) CreateNatGatewayDestinationIpPortTranslationNatRule ¶
func (c *Client) CreateNatGatewayDestinationIpPortTranslationNatRule(request *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse, err error)
本接口(CreateNatGatewayDestinationIpPortTranslationNatRule)用于创建NAT网关端口转发规则。
func (*Client) CreateNetDetect ¶
func (c *Client) CreateNetDetect(request *CreateNetDetectRequest) (response *CreateNetDetectResponse, err error)
本接口(CreateNetDetect)用于创建网络探测。
func (*Client) CreateNetworkInterface ¶
func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)
本接口(CreateNetworkInterface)用于创建弹性网卡。 * 创建弹性网卡时可以指定内网IP,并且可以指定一个主IP,指定的内网IP必须在弹性网卡所在子网内,而且不能被占用。 * 创建弹性网卡时可以指定需要申请的内网IP数量,系统会随机生成内网IP地址。 * 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。 * 创建弹性网卡同时可以绑定已有安全组。
func (*Client) CreateRouteTable ¶
func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)
本接口(CreateRouteTable)用于创建路由表。 * 创建了VPC后,系统会创建一个默认路由表,所有新建的子网都会关联到默认路由表。默认情况下您可以直接使用默认路由表来管理您的路由策略。当您的路由策略较多时,您可以调用创建路由表接口创建更多路由表管理您的路由策略。
func (*Client) CreateRoutes ¶
func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)
本接口(CreateRoutes)用于创建路由策略。 * 向指定路由表批量新增路由策略。
func (*Client) CreateSecurityGroup ¶
func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)
本接口(CreateSecurityGroup)用于创建新的安全组(SecurityGroup)。 * 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/500#2.-.E5.AE.89.E5.85.A8.E7.BB.84.E7.9A.84.E9.99.90.E5.88.B6">安全组数量限制</a>。 * 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。
func (*Client) CreateSecurityGroupPolicies ¶
func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)
本接口(CreateSecurityGroupPolicies)用于创建安全组规则(SecurityGroupPolicy)。
* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止你更新的路由规则已过期,不填不考虑冲突。 * Protocol字段支持输入TCP, UDP, ICMP, GRE, ALL。 * CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。 * SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。 * Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port排他关系,不允许同时输入,否则会接口报错。 * Action字段只允许输入ACCEPT或DROP。 * CidrBlock, SecurityGroupId, AddressTemplate三者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。 * 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
func (*Client) CreateServiceTemplate ¶
func (c *Client) CreateServiceTemplate(request *CreateServiceTemplateRequest) (response *CreateServiceTemplateResponse, err error)
本接口(CreateServiceTemplate)用于创建协议端口模板
func (*Client) CreateServiceTemplateGroup ¶
func (c *Client) CreateServiceTemplateGroup(request *CreateServiceTemplateGroupRequest) (response *CreateServiceTemplateGroupResponse, err error)
本接口(CreateServiceTemplateGroup)用于创建协议端口模板集合
func (*Client) CreateSubnet ¶
func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
本接口(CreateSubnet)用于创建子网。 * 创建子网前必须创建好 VPC。 * 子网创建成功后,子网网段不能修改。子网网段必须在VPC网段内,可以和VPC网段相同(VPC有且只有一个子网时),建议子网网段在VPC网段内,预留网段给其他子网使用。 * 你可以创建的最小网段子网掩码为28(有16个IP地址),最大网段子网掩码为16(65,536个IP地址)。 * 同一个VPC内,多个子网的网段不能重叠。 * 子网创建后会自动关联到默认路由表。
func (*Client) CreateSubnets ¶
func (c *Client) CreateSubnets(request *CreateSubnetsRequest) (response *CreateSubnetsResponse, err error)
本接口(CreateSubnets)用于批量创建子网。 * 创建子网前必须创建好 VPC。 * 子网创建成功后,子网网段不能修改。子网网段必须在VPC网段内,可以和VPC网段相同(VPC有且只有一个子网时),建议子网网段在VPC网段内,预留网段给其他子网使用。 * 你可以创建的最小网段子网掩码为28(有16个IP地址),最大网段子网掩码为16(65,536个IP地址)。 * 同一个VPC内,多个子网的网段不能重叠。 * 子网创建后会自动关联到默认路由表。
func (*Client) CreateVpc ¶
func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
本接口(CreateVpc)用于创建私有网络(VPC)。 * 用户可以创建的最小网段子网掩码为28(有16个IP地址),最大网段子网掩码为16(65,536个IP地址),如果规划VPC网段请参见VPC网段规划说明。 * 同一个地域能创建的VPC资源个数也是有限制的,详见 <a href="https://cloud.tencent.com/doc/product/215/537" title="VPC使用限制">VPC使用限制</a>,如果需要扩充请联系在线客服。
func (*Client) CreateVpnConnection ¶
func (c *Client) CreateVpnConnection(request *CreateVpnConnectionRequest) (response *CreateVpnConnectionResponse, err error)
本接口(CreateVpnConnection)用于创建VPN通道。
func (*Client) CreateVpnGateway ¶
func (c *Client) CreateVpnGateway(request *CreateVpnGatewayRequest) (response *CreateVpnGatewayResponse, err error)
本接口(CreateVpnGateway)用于创建VPN网关。
func (*Client) DeleteAddressTemplate ¶
func (c *Client) DeleteAddressTemplate(request *DeleteAddressTemplateRequest) (response *DeleteAddressTemplateResponse, err error)
本接口(DeleteAddressTemplate)用于删除IP地址模板
func (*Client) DeleteAddressTemplateGroup ¶
func (c *Client) DeleteAddressTemplateGroup(request *DeleteAddressTemplateGroupRequest) (response *DeleteAddressTemplateGroupResponse, err error)
本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合
func (*Client) DeleteBandwidthPackage ¶
func (c *Client) DeleteBandwidthPackage(request *DeleteBandwidthPackageRequest) (response *DeleteBandwidthPackageResponse, err error)
接口支持删除共享带宽包,包括[设备带宽包](https://cloud.tencent.com/document/product/684/15246#.E8.AE.BE.E5.A4.87.E5.B8.A6.E5.AE.BD.E5.8C.85)和[ip带宽包](https://cloud.tencent.com/document/product/684/15246#ip-.E5.B8.A6.E5.AE.BD.E5.8C.85)
func (*Client) DeleteCcn ¶
func (c *Client) DeleteCcn(request *DeleteCcnRequest) (response *DeleteCcnResponse, err error)
本接口(DeleteCcn)用于删除云联网。 * 删除后,云联网关联的所有实例间路由将被删除,网络将会中断,请务必确认 * 删除云联网是不可逆的操作,请谨慎处理。
func (*Client) DeleteCustomerGateway ¶
func (c *Client) DeleteCustomerGateway(request *DeleteCustomerGatewayRequest) (response *DeleteCustomerGatewayResponse, err error)
本接口(DeleteCustomerGateway)用于删除对端网关。
func (*Client) DeleteDirectConnectGateway ¶
func (c *Client) DeleteDirectConnectGateway(request *DeleteDirectConnectGatewayRequest) (response *DeleteDirectConnectGatewayResponse, err error)
本接口(DeleteDirectConnectGateway)用于删除专线网关。 <li>如果是 NAT 网关,删除专线网关后,NAT 规则以及 ACL 策略都被清理了。</li> <li>删除专线网关后,系统会删除路由表中跟该专线网关相关的路由策略。</li> 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口
func (*Client) DeleteDirectConnectGatewayCcnRoutes ¶
func (c *Client) DeleteDirectConnectGatewayCcnRoutes(request *DeleteDirectConnectGatewayCcnRoutesRequest) (response *DeleteDirectConnectGatewayCcnRoutesResponse, err error)
本接口(DeleteDirectConnectGatewayCcnRoutes)用于删除专线网关的云联网路由(IDC网段)
func (*Client) DeleteFlowLog ¶
func (c *Client) DeleteFlowLog(request *DeleteFlowLogRequest) (response *DeleteFlowLogResponse, err error)
本接口(DeleteFlowLog)用于删除流日志
func (*Client) DeleteHaVip ¶
func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)
本接口(DeleteHaVip)用于删除高可用虚拟IP(HAVIP)<br /> 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口
func (*Client) DeleteIp6Translators ¶
func (c *Client) DeleteIp6Translators(request *DeleteIp6TranslatorsRequest) (response *DeleteIp6TranslatorsResponse, err error)
1. 该接口用于释放IPV6转换实例,支持批量。 2. 如果IPV6转换实例建立有转换规则,会一并删除。
func (*Client) DeleteNatGateway ¶
func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error)
本接口(DeleteNatGateway)用于删除NAT网关。 删除 NAT 网关后,系统会自动删除路由表中包含此 NAT 网关的路由项,同时也会解绑弹性公网IP(EIP)。
func (*Client) DeleteNatGatewayDestinationIpPortTranslationNatRule ¶
func (c *Client) DeleteNatGatewayDestinationIpPortTranslationNatRule(request *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse, err error)
本接口(DeleteNatGatewayDestinationIpPortTranslationNatRule)用于删除NAT网关端口转发规则。
func (*Client) DeleteNetDetect ¶
func (c *Client) DeleteNetDetect(request *DeleteNetDetectRequest) (response *DeleteNetDetectResponse, err error)
本接口(DeleteNetDetect)用于删除网络探测实例。
func (*Client) DeleteNetworkInterface ¶
func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)
本接口(DeleteNetworkInterface)用于删除弹性网卡。 * 弹性网卡上绑定了云主机时,不能被删除。 * 删除指定弹性网卡,弹性网卡必须先和子机解绑才能删除。删除之后弹性网卡上所有内网IP都将被退还。
func (*Client) DeleteRouteTable ¶
func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)
删除路由表
func (*Client) DeleteRoutes ¶
func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)
本接口(DeleteRoutes)用于对某个路由表批量删除路由策略(Route)。
func (*Client) DeleteSecurityGroup ¶
func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)
本接口(DeleteSecurityGroup)用于删除安全组(SecurityGroup)。 * 只有当前账号下的安全组允许被删除。 * 安全组实例ID如果在其他安全组的规则中被引用,则无法直接删除。这种情况下,需要先进行规则修改,再删除安全组。 * 删除的安全组无法再找回,请谨慎调用。
func (*Client) DeleteSecurityGroupPolicies ¶
func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)
本接口(DeleteSecurityGroupPolicies)用于用于删除安全组规则(SecurityGroupPolicy)。 * SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。
func (*Client) DeleteServiceTemplate ¶
func (c *Client) DeleteServiceTemplate(request *DeleteServiceTemplateRequest) (response *DeleteServiceTemplateResponse, err error)
本接口(DeleteServiceTemplate)用于删除协议端口模板
func (*Client) DeleteServiceTemplateGroup ¶
func (c *Client) DeleteServiceTemplateGroup(request *DeleteServiceTemplateGroupRequest) (response *DeleteServiceTemplateGroupResponse, err error)
本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合
func (*Client) DeleteSubnet ¶
func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
本接口(DeleteSubnet)用于用于删除子网(Subnet)。 * 删除子网前,请清理该子网下所有资源,包括云主机、负载均衡、云数据、noSql、弹性网卡等资源。
func (*Client) DeleteVpc ¶
func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
本接口(DeleteVpc)用于删除私有网络。 * 删除前请确保 VPC 内已经没有相关资源,例如云主机、云数据库、NoSQL、VPN网关、专线网关、负载均衡、对等连接、与之互通的基础网络设备等。 * 删除私有网络是不可逆的操作,请谨慎处理。
func (*Client) DeleteVpnConnection ¶
func (c *Client) DeleteVpnConnection(request *DeleteVpnConnectionRequest) (response *DeleteVpnConnectionResponse, err error)
本接口(DeleteVpnConnection)用于删除VPN通道。
func (*Client) DeleteVpnGateway ¶
func (c *Client) DeleteVpnGateway(request *DeleteVpnGatewayRequest) (response *DeleteVpnGatewayResponse, err error)
本接口(DeleteVpnGateway)用于删除VPN网关。目前只支持删除运行中的按量计费的IPSEC网关实例。
func (*Client) DescribeAccountAttributes ¶
func (c *Client) DescribeAccountAttributes(request *DescribeAccountAttributesRequest) (response *DescribeAccountAttributesResponse, err error)
本接口(DescribeAccountAttributes)用于查询用户账号私有属性。
func (*Client) DescribeAddressQuota ¶
func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)
本接口 (DescribeAddressQuota) 用于查询您账户的[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)在当前地域的配额信息。配额详情可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733)。
func (*Client) DescribeAddressTemplateGroups ¶
func (c *Client) DescribeAddressTemplateGroups(request *DescribeAddressTemplateGroupsRequest) (response *DescribeAddressTemplateGroupsResponse, err error)
本接口(DescribeAddressTemplateGroups)用于查询IP地址模板集合
func (*Client) DescribeAddressTemplates ¶
func (c *Client) DescribeAddressTemplates(request *DescribeAddressTemplatesRequest) (response *DescribeAddressTemplatesResponse, err error)
本接口(DescribeAddressTemplates)用于查询IP地址模板
func (*Client) DescribeAddresses ¶
func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)
本接口 (DescribeAddresses) 用于查询一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)的详细信息。 * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的 EIP。
func (*Client) DescribeBandwidthPackageQuota ¶
func (c *Client) DescribeBandwidthPackageQuota(request *DescribeBandwidthPackageQuotaRequest) (response *DescribeBandwidthPackageQuotaResponse, err error)
接口用于查询账户在当前地域的带宽包上限数量以及使用数量
func (*Client) DescribeBandwidthPackages ¶
func (c *Client) DescribeBandwidthPackages(request *DescribeBandwidthPackagesRequest) (response *DescribeBandwidthPackagesResponse, err error)
接口用于查询带宽包详细信息,包括带宽包唯一标识ID,类型,计费模式,名称,资源信息等
func (*Client) DescribeCcnAttachedInstances ¶
func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)
本接口(DescribeCcnAttachedInstances)用于查询云联网实例下已关联的网络实例。
func (*Client) DescribeCcnRegionBandwidthLimits ¶
func (c *Client) DescribeCcnRegionBandwidthLimits(request *DescribeCcnRegionBandwidthLimitsRequest) (response *DescribeCcnRegionBandwidthLimitsResponse, err error)
本接口(DescribeCcnRegionBandwidthLimits)用于查询云联网各地域出带宽上限,该接口只返回已关联网络实例包含的地域
func (*Client) DescribeCcnRoutes ¶
func (c *Client) DescribeCcnRoutes(request *DescribeCcnRoutesRequest) (response *DescribeCcnRoutesResponse, err error)
本接口(DescribeCcnRoutes)用于查询已加入云联网(CCN)的路由
func (*Client) DescribeCcns ¶
func (c *Client) DescribeCcns(request *DescribeCcnsRequest) (response *DescribeCcnsResponse, err error)
本接口(DescribeCcns)用于查询云联网(CCN)列表。
func (*Client) DescribeClassicLinkInstances ¶
func (c *Client) DescribeClassicLinkInstances(request *DescribeClassicLinkInstancesRequest) (response *DescribeClassicLinkInstancesResponse, err error)
本接口(DescribeClassicLinkInstances)用于查询私有网络和基础网络设备互通列表。
func (*Client) DescribeCustomerGatewayVendors ¶
func (c *Client) DescribeCustomerGatewayVendors(request *DescribeCustomerGatewayVendorsRequest) (response *DescribeCustomerGatewayVendorsResponse, err error)
本接口(DescribeCustomerGatewayVendors)用于查询可支持的对端网关厂商信息。
func (*Client) DescribeCustomerGateways ¶
func (c *Client) DescribeCustomerGateways(request *DescribeCustomerGatewaysRequest) (response *DescribeCustomerGatewaysResponse, err error)
本接口(DescribeCustomerGateways)用于查询对端网关列表。
func (*Client) DescribeDirectConnectGatewayCcnRoutes ¶
func (c *Client) DescribeDirectConnectGatewayCcnRoutes(request *DescribeDirectConnectGatewayCcnRoutesRequest) (response *DescribeDirectConnectGatewayCcnRoutesResponse, err error)
本接口(DescribeDirectConnectGatewayCcnRoutes)用于查询专线网关的云联网路由(IDC网段)
func (*Client) DescribeDirectConnectGateways ¶
func (c *Client) DescribeDirectConnectGateways(request *DescribeDirectConnectGatewaysRequest) (response *DescribeDirectConnectGatewaysResponse, err error)
本接口(DescribeDirectConnectGateways)用于查询专线网关。
func (*Client) DescribeFlowLog ¶
func (c *Client) DescribeFlowLog(request *DescribeFlowLogRequest) (response *DescribeFlowLogResponse, err error)
本接口(DescribeFlowLog)用于查询流日志实例信息
func (*Client) DescribeFlowLogs ¶
func (c *Client) DescribeFlowLogs(request *DescribeFlowLogsRequest) (response *DescribeFlowLogsResponse, err error)
本接口(DescribeFlowLogs)用于查询获取流日志集合
func (*Client) DescribeGatewayFlowMonitorDetail ¶
func (c *Client) DescribeGatewayFlowMonitorDetail(request *DescribeGatewayFlowMonitorDetailRequest) (response *DescribeGatewayFlowMonitorDetailResponse, err error)
本接口(DescribeGatewayFlowMonitorDetail)用于查询网关流量监控明细。 * 只支持单个网关实例查询。即入参 `VpnId` `DirectConnectGatewayId` `PeeringConnectionId` `NatId` 最多只支持传一个,且必须传一个。 * 如果网关有流量,但调用本接口没有返回数据,请在控制台对应网关详情页确认是否开启网关流量监控。
func (*Client) DescribeHaVips ¶
func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)
本接口(DescribeHaVips)用于查询高可用虚拟IP(HAVIP)列表。
func (*Client) DescribeIp6TranslatorQuota ¶
func (c *Client) DescribeIp6TranslatorQuota(request *DescribeIp6TranslatorQuotaRequest) (response *DescribeIp6TranslatorQuotaResponse, err error)
查询账户在指定地域IPV6转换实例和规则的配额
func (*Client) DescribeIp6Translators ¶
func (c *Client) DescribeIp6Translators(request *DescribeIp6TranslatorsRequest) (response *DescribeIp6TranslatorsResponse, err error)
1. 该接口用于查询账户下的IPV6转换实例及其绑定的转换规则信息 2. 支持过滤查询
func (*Client) DescribeNatGatewayDestinationIpPortTranslationNatRules ¶
func (c *Client) DescribeNatGatewayDestinationIpPortTranslationNatRules(request *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) (response *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse, err error)
本接口(DescribeNatGatewayDestinationIpPortTranslationNatRules)用于查询NAT网关端口转发规则对象数组。
func (*Client) DescribeNatGateways ¶
func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error)
本接口(DescribeNatGateways)用于查询 NAT 网关。
func (*Client) DescribeNetDetectStates ¶
func (c *Client) DescribeNetDetectStates(request *DescribeNetDetectStatesRequest) (response *DescribeNetDetectStatesResponse, err error)
本接口(DescribeNetDetectStates)用于查询网络探测验证结果列表。
func (*Client) DescribeNetDetects ¶
func (c *Client) DescribeNetDetects(request *DescribeNetDetectsRequest) (response *DescribeNetDetectsResponse, err error)
本接口(DescribeNetDetects)用于查询网络探测列表。
func (*Client) DescribeNetworkInterfaceLimit ¶
func (c *Client) DescribeNetworkInterfaceLimit(request *DescribeNetworkInterfaceLimitRequest) (response *DescribeNetworkInterfaceLimitResponse, err error)
本接口(DescribeNetworkInterfaceLimit)根据CVM实例ID查询弹性网卡配额,返回该CVM实例能绑定的弹性网卡配额,以及每个弹性网卡可以分配的ip配额
func (*Client) DescribeNetworkInterfaces ¶
func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)
本接口(DescribeNetworkInterfaces)用于查询弹性网卡列表。
func (*Client) DescribeRouteConflicts ¶
func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)
本接口(DescribeRouteConflicts)用于查询自定义路由策略与云联网路由策略冲突列表
func (*Client) DescribeRouteTables ¶
func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)
本接口(DescribeRouteTables)用于查询路由表。
func (*Client) DescribeSecurityGroupAssociationStatistics ¶
func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)
本接口(DescribeSecurityGroupAssociationStatistics)用于查询安全组关联的实例统计。
func (*Client) DescribeSecurityGroupPolicies ¶
func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)
本接口(DescribeSecurityGroupPolicies)用于查询安全组规则。
func (*Client) DescribeSecurityGroups ¶
func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)
本接口(DescribeSecurityGroups)用于查询安全组。
func (*Client) DescribeServiceTemplateGroups ¶
func (c *Client) DescribeServiceTemplateGroups(request *DescribeServiceTemplateGroupsRequest) (response *DescribeServiceTemplateGroupsResponse, err error)
本接口(DescribeServiceTemplateGroups)用于查询协议端口模板集合
func (*Client) DescribeServiceTemplates ¶
func (c *Client) DescribeServiceTemplates(request *DescribeServiceTemplatesRequest) (response *DescribeServiceTemplatesResponse, err error)
本接口(DescribeServiceTemplates)用于查询协议端口模板
func (*Client) DescribeSubnets ¶
func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
本接口(DescribeSubnets)用于查询子网列表。
func (*Client) DescribeTaskResult ¶
func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
查询EIP异步任务执行结果
func (*Client) DescribeVpcIpv6Addresses ¶
func (c *Client) DescribeVpcIpv6Addresses(request *DescribeVpcIpv6AddressesRequest) (response *DescribeVpcIpv6AddressesResponse, err error)
本接口(DescribeVpcIpv6Addresses)用于查询 `VPC` `IPv6` 信息。 只能查询已使用的`IPv6`信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。
func (*Client) DescribeVpcPrivateIpAddresses ¶
func (c *Client) DescribeVpcPrivateIpAddresses(request *DescribeVpcPrivateIpAddressesRequest) (response *DescribeVpcPrivateIpAddressesResponse, err error)
本接口(DescribeVpcPrivateIpAddresses)用于查询VPC内网IP信息。<br /> 只能查询已使用的IP信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。
func (*Client) DescribeVpcs ¶
func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
本接口(DescribeVpcs)用于查询私有网络列表。
func (*Client) DescribeVpnConnections ¶
func (c *Client) DescribeVpnConnections(request *DescribeVpnConnectionsRequest) (response *DescribeVpnConnectionsResponse, err error)
本接口(DescribeVpnConnections)查询VPN通道列表。
func (*Client) DescribeVpnGateways ¶
func (c *Client) DescribeVpnGateways(request *DescribeVpnGatewaysRequest) (response *DescribeVpnGatewaysResponse, err error)
本接口(DescribeVpnGateways)用于查询VPN网关列表。
func (*Client) DetachCcnInstances ¶
func (c *Client) DetachCcnInstances(request *DetachCcnInstancesRequest) (response *DetachCcnInstancesResponse, err error)
本接口(DetachCcnInstances)用于从云联网实例中解关联指定的网络实例。<br /> 解关联网络实例后,相应的路由策略会一并删除。
func (*Client) DetachClassicLinkVpc ¶
func (c *Client) DetachClassicLinkVpc(request *DetachClassicLinkVpcRequest) (response *DetachClassicLinkVpcResponse, err error)
本接口(DetachClassicLinkVpc)用于删除私有网络和基础网络设备互通。
func (*Client) DetachNetworkInterface ¶
func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)
本接口(DetachNetworkInterface)用于弹性网卡解绑云主机。
func (*Client) DisableCcnRoutes ¶
func (c *Client) DisableCcnRoutes(request *DisableCcnRoutesRequest) (response *DisableCcnRoutesResponse, err error)
本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN)路由
func (*Client) DisableRoutes ¶
func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)
本接口(DisableRoutes)用于禁用已启用的子网路由
func (*Client) DisassociateAddress ¶
func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)
本接口 (DisassociateAddress) 用于解绑[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。 * 支持CVM实例,弹性网卡上的EIP解绑 * 不支持NAT上的EIP解绑。NAT上的EIP解绑请参考[EipUnBindNatGateway](https://cloud.tencent.com/document/product/215/4092) * 只有状态为 BIND 和 BIND_ENI 的 EIP 才能进行解绑定操作。 * EIP 如果被封堵,则不能进行解绑定操作。
func (*Client) DisassociateNatGatewayAddress ¶
func (c *Client) DisassociateNatGatewayAddress(request *DisassociateNatGatewayAddressRequest) (response *DisassociateNatGatewayAddressResponse, err error)
本接口(DisassociateNatGatewayAddress)用于NAT网关解绑弹性IP。
func (*Client) DownloadCustomerGatewayConfiguration ¶
func (c *Client) DownloadCustomerGatewayConfiguration(request *DownloadCustomerGatewayConfigurationRequest) (response *DownloadCustomerGatewayConfigurationResponse, err error)
本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。
func (*Client) EnableCcnRoutes ¶
func (c *Client) EnableCcnRoutes(request *EnableCcnRoutesRequest) (response *EnableCcnRoutesResponse, err error)
本接口(EnableCcnRoutes)用于启用已经加入云联网(CCN)的路由。<br /> 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
func (*Client) EnableRoutes ¶
func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)
本接口(EnableRoutes)用于启用已禁用的子网路由。<br /> 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
func (*Client) HaVipAssociateAddressIp ¶
func (c *Client) HaVipAssociateAddressIp(request *HaVipAssociateAddressIpRequest) (response *HaVipAssociateAddressIpResponse, err error)
本接口(HaVipAssociateAddressIp)用于高可用虚拟IP(HAVIP)绑定弹性公网IP(EIP)<br /> 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口
func (*Client) HaVipDisassociateAddressIp ¶
func (c *Client) HaVipDisassociateAddressIp(request *HaVipDisassociateAddressIpRequest) (response *HaVipDisassociateAddressIpResponse, err error)
本接口(HaVipDisassociateAddressIp)用于将高可用虚拟IP(HAVIP)已绑定的弹性公网IP(EIP)解除绑定<br /> 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口
func (*Client) InquiryPriceCreateVpnGateway ¶
func (c *Client) InquiryPriceCreateVpnGateway(request *InquiryPriceCreateVpnGatewayRequest) (response *InquiryPriceCreateVpnGatewayResponse, err error)
本接口(InquiryPriceCreateVpnGateway)用于创建VPN网关询价。
func (*Client) InquiryPriceRenewVpnGateway ¶
func (c *Client) InquiryPriceRenewVpnGateway(request *InquiryPriceRenewVpnGatewayRequest) (response *InquiryPriceRenewVpnGatewayResponse, err error)
本接口(InquiryPriceRenewVpnGateway)用于续费VPN网关询价。目前仅支持IPSEC类型网关的询价。
func (*Client) InquiryPriceResetVpnGatewayInternetMaxBandwidth ¶
func (c *Client) InquiryPriceResetVpnGatewayInternetMaxBandwidth(request *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) (response *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse, err error)
本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth)调整VPN网关带宽上限询价。
func (*Client) MigrateNetworkInterface ¶
func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)
本接口(MigrateNetworkInterface)用于弹性网卡迁移。
func (*Client) MigratePrivateIpAddress ¶
func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)
本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。
* 该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。 * 迁移前后的弹性网卡必须在同一个子网内。
func (*Client) ModifyAddressAttribute ¶
func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)
本接口 (ModifyAddressAttribute) 用于修改[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)的名称。
func (*Client) ModifyAddressTemplateAttribute ¶
func (c *Client) ModifyAddressTemplateAttribute(request *ModifyAddressTemplateAttributeRequest) (response *ModifyAddressTemplateAttributeResponse, err error)
本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板
func (*Client) ModifyAddressTemplateGroupAttribute ¶
func (c *Client) ModifyAddressTemplateGroupAttribute(request *ModifyAddressTemplateGroupAttributeRequest) (response *ModifyAddressTemplateGroupAttributeResponse, err error)
本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合
func (*Client) ModifyAddressesBandwidth ¶
func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)
本接口(ModifyAddressesBandwidth)用于调整[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称EIP)带宽,包括后付费EIP, 预付费EIP和带宽包EIP
func (*Client) ModifyBandwidthPackageAttribute ¶
func (c *Client) ModifyBandwidthPackageAttribute(request *ModifyBandwidthPackageAttributeRequest) (response *ModifyBandwidthPackageAttributeResponse, err error)
接口用于修改带宽包属性,包括带宽包名字等
func (*Client) ModifyCcnAttribute ¶
func (c *Client) ModifyCcnAttribute(request *ModifyCcnAttributeRequest) (response *ModifyCcnAttributeResponse, err error)
本接口(ModifyCcnAttribute)用于修改云联网(CCN)的相关属性。
func (*Client) ModifyCustomerGatewayAttribute ¶
func (c *Client) ModifyCustomerGatewayAttribute(request *ModifyCustomerGatewayAttributeRequest) (response *ModifyCustomerGatewayAttributeResponse, err error)
本接口(ModifyCustomerGatewayAttribute)用于修改对端网关信息。
func (*Client) ModifyDirectConnectGatewayAttribute ¶
func (c *Client) ModifyDirectConnectGatewayAttribute(request *ModifyDirectConnectGatewayAttributeRequest) (response *ModifyDirectConnectGatewayAttributeResponse, err error)
本接口(ModifyDirectConnectGatewayAttribute)用于修改专线网关属性
func (*Client) ModifyFlowLogAttribute ¶
func (c *Client) ModifyFlowLogAttribute(request *ModifyFlowLogAttributeRequest) (response *ModifyFlowLogAttributeResponse, err error)
本接口(ModifyFlowLogAttribute)用于修改流日志属性
func (*Client) ModifyHaVipAttribute ¶
func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)
本接口(ModifyHaVipAttribute)用于修改高可用虚拟IP(HAVIP)属性
func (*Client) ModifyIp6Rule ¶
func (c *Client) ModifyIp6Rule(request *ModifyIp6RuleRequest) (response *ModifyIp6RuleResponse, err error)
该接口用于修改IPV6转换规则,当前仅支持修改转换规则名称,IPV4地址和IPV4端口号
func (*Client) ModifyIp6Translator ¶
func (c *Client) ModifyIp6Translator(request *ModifyIp6TranslatorRequest) (response *ModifyIp6TranslatorResponse, err error)
该接口用于修改IP6转换实例属性,当前仅支持修改实例名称。
func (*Client) ModifyIpv6AddressesAttribute ¶
func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)
本接口(ModifyIpv6AddressesAttribute)用于修改弹性网卡内网IPv6地址属性。
func (*Client) ModifyNatGatewayAttribute ¶
func (c *Client) ModifyNatGatewayAttribute(request *ModifyNatGatewayAttributeRequest) (response *ModifyNatGatewayAttributeResponse, err error)
本接口(ModifyNatGatewayAttribute)用于修改NAT网关的属性。
func (*Client) ModifyNatGatewayDestinationIpPortTranslationNatRule ¶
func (c *Client) ModifyNatGatewayDestinationIpPortTranslationNatRule(request *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse, err error)
本接口(ModifyNatGatewayDestinationIpPortTranslationNatRule)用于修改NAT网关端口转发规则。
func (*Client) ModifyNetDetect ¶
func (c *Client) ModifyNetDetect(request *ModifyNetDetectRequest) (response *ModifyNetDetectResponse, err error)
本接口(ModifyNetDetect)用于修改网络探测参数。
func (*Client) ModifyNetworkInterfaceAttribute ¶
func (c *Client) ModifyNetworkInterfaceAttribute(request *ModifyNetworkInterfaceAttributeRequest) (response *ModifyNetworkInterfaceAttributeResponse, err error)
本接口(ModifyNetworkInterfaceAttribute)用于修改弹性网卡属性。
func (*Client) ModifyPrivateIpAddressesAttribute ¶
func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)
本接口(ModifyPrivateIpAddressesAttribute)用于修改弹性网卡内网IP属性。
func (*Client) ModifyRouteTableAttribute ¶
func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)
本接口(ModifyRouteTableAttribute)用于修改路由表(RouteTable)属性。
func (*Client) ModifySecurityGroupAttribute ¶
func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)
本接口(ModifySecurityGroupAttribute)用于修改安全组(SecurityGroupPolicy)属性。
func (*Client) ModifySecurityGroupPolicies ¶
func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)
本接口(ModifySecurityGroupPolicies)用于重置安全组出站和入站规则(SecurityGroupPolicy)。
* 接口是先删除当前所有的出入站规则,然后再添加 Egress 和 Ingress 规则,不支持自定义索引 PolicyIndex 。 * 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略Egress和Ingress。 * Protocol字段支持输入TCP, UDP, ICMP, GRE, ALL。 * CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。 * SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。 * Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受。 * Action字段只允许输入ACCEPT或DROP。 * CidrBlock, SecurityGroupId, AddressTemplate三者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
func (*Client) ModifyServiceTemplateAttribute ¶
func (c *Client) ModifyServiceTemplateAttribute(request *ModifyServiceTemplateAttributeRequest) (response *ModifyServiceTemplateAttributeResponse, err error)
本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板
func (*Client) ModifyServiceTemplateGroupAttribute ¶
func (c *Client) ModifyServiceTemplateGroupAttribute(request *ModifyServiceTemplateGroupAttributeRequest) (response *ModifyServiceTemplateGroupAttributeResponse, err error)
本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
func (*Client) ModifySubnetAttribute ¶
func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)
本接口(ModifySubnetAttribute)用于修改子网属性。
func (*Client) ModifyVpcAttribute ¶
func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)
本接口(ModifyVpcAttribute)用于修改私有网络(VPC)的相关属性。
func (*Client) ModifyVpnConnectionAttribute ¶
func (c *Client) ModifyVpnConnectionAttribute(request *ModifyVpnConnectionAttributeRequest) (response *ModifyVpnConnectionAttributeResponse, err error)
本接口(ModifyVpnConnectionAttribute)用于修改VPN通道。
func (*Client) ModifyVpnGatewayAttribute ¶
func (c *Client) ModifyVpnGatewayAttribute(request *ModifyVpnGatewayAttributeRequest) (response *ModifyVpnGatewayAttributeResponse, err error)
本接口(ModifyVpnGatewayAttribute)用于修改VPN网关属性。
func (*Client) RejectAttachCcnInstances ¶
func (c *Client) RejectAttachCcnInstances(request *RejectAttachCcnInstancesRequest) (response *RejectAttachCcnInstancesResponse, err error)
本接口(RejectAttachCcnInstances)用于跨账号关联实例时,云联网所有者拒绝关联操作。
func (*Client) ReleaseAddresses ¶
func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)
本接口 (ReleaseAddresses) 用于释放一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。 * 该操作不可逆,释放后 EIP 关联的 IP 地址将不再属于您的名下。 * 只有状态为 UNBIND 的 EIP 才能进行释放操作。
func (*Client) RemoveBandwidthPackageResources ¶
func (c *Client) RemoveBandwidthPackageResources(request *RemoveBandwidthPackageResourcesRequest) (response *RemoveBandwidthPackageResourcesResponse, err error)
接口用于删除带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等
func (*Client) RemoveIp6Rules ¶
func (c *Client) RemoveIp6Rules(request *RemoveIp6RulesRequest) (response *RemoveIp6RulesResponse, err error)
1. 该接口用于删除IPV6转换规则 2. 支持批量删除同一个转换实例下的多个转换规则
func (*Client) RenewVpnGateway ¶
func (c *Client) RenewVpnGateway(request *RenewVpnGatewayRequest) (response *RenewVpnGatewayResponse, err error)
本接口(RenewVpnGateway)用于预付费(包年包月)VPN网关续费。目前只支持IPSEC网关。
func (*Client) ReplaceDirectConnectGatewayCcnRoutes ¶
func (c *Client) ReplaceDirectConnectGatewayCcnRoutes(request *ReplaceDirectConnectGatewayCcnRoutesRequest) (response *ReplaceDirectConnectGatewayCcnRoutesResponse, err error)
本接口(ReplaceDirectConnectGatewayCcnRoutes)根据路由ID(RouteId)修改指定的路由(Route),支持批量修改。
func (*Client) ReplaceRouteTableAssociation ¶
func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)
本接口(ReplaceRouteTableAssociation)用于修改子网(Subnet)关联的路由表(RouteTable)。 * 一个子网只能关联一个路由表。
func (*Client) ReplaceRoutes ¶
func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)
本接口(ReplaceRoutes)根据路由策略ID(RouteId)修改指定的路由策略(Route),支持批量修改。
func (*Client) ReplaceSecurityGroupPolicy ¶
func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)
本接口(ReplaceSecurityGroupPolicy)用于替换单条安全组规则(SecurityGroupPolicy)。 单个请求中只能替换单个方向的一条规则, 必须要指定索引(PolicyIndex)。
func (*Client) ResetAttachCcnInstances ¶
func (c *Client) ResetAttachCcnInstances(request *ResetAttachCcnInstancesRequest) (response *ResetAttachCcnInstancesResponse, err error)
本接口(ResetAttachCcnInstances)用于跨账号关联实例申请过期时,重新申请关联操作。
func (*Client) ResetNatGatewayConnection ¶
func (c *Client) ResetNatGatewayConnection(request *ResetNatGatewayConnectionRequest) (response *ResetNatGatewayConnectionResponse, err error)
本接口(ResetNatGatewayConnection)用来NAT网关并发连接上限。
func (*Client) ResetRoutes ¶
func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)
本接口(ResetRoutes)用于对某个路由表名称和所有路由策略(Route)进行重新设置。<br /> 注意: 调用本接口是先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。
func (*Client) ResetVpnConnection ¶
func (c *Client) ResetVpnConnection(request *ResetVpnConnectionRequest) (response *ResetVpnConnectionResponse, err error)
本接口(ResetVpnConnection)用于重置VPN通道。
func (*Client) ResetVpnGatewayInternetMaxBandwidth ¶
func (c *Client) ResetVpnGatewayInternetMaxBandwidth(request *ResetVpnGatewayInternetMaxBandwidthRequest) (response *ResetVpnGatewayInternetMaxBandwidthResponse, err error)
本接口(ResetVpnGatewayInternetMaxBandwidth)调整VPN网关带宽上限。目前支持升级配置,如果是包年包月VPN网关需要在有效期内。
func (*Client) SetCcnRegionBandwidthLimits ¶
func (c *Client) SetCcnRegionBandwidthLimits(request *SetCcnRegionBandwidthLimitsRequest) (response *SetCcnRegionBandwidthLimitsResponse, err error)
本接口(SetCcnRegionBandwidthLimits)用于设置云联网(CCN)各地域出带宽上限,该接口只能设置已关联网络实例包含的地域的出带宽上限
func (*Client) TransformAddress ¶
func (c *Client) TransformAddress(request *TransformAddressRequest) (response *TransformAddressResponse, err error)
本接口 (TransformAddress) 用于将实例的普通公网 IP 转换为[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。 * 平台对用户每地域每日解绑 EIP 重新分配普通公网 IP 次数有所限制(可参见 [EIP 产品简介](/document/product/213/1941))。上述配额可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
func (*Client) UnassignIpv6Addresses ¶
func (c *Client) UnassignIpv6Addresses(request *UnassignIpv6AddressesRequest) (response *UnassignIpv6AddressesResponse, err error)
本接口(UnassignIpv6Addresses)用于释放弹性网卡`IPv6`地址。<br /> 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口。
func (*Client) UnassignIpv6CidrBlock ¶
func (c *Client) UnassignIpv6CidrBlock(request *UnassignIpv6CidrBlockRequest) (response *UnassignIpv6CidrBlockResponse, err error)
本接口(UnassignIpv6CidrBlock)用于释放IPv6网段。<br /> 网段如果还有IP占用且未回收,则网段无法释放。
func (*Client) UnassignIpv6SubnetCidrBlock ¶
func (c *Client) UnassignIpv6SubnetCidrBlock(request *UnassignIpv6SubnetCidrBlockRequest) (response *UnassignIpv6SubnetCidrBlockResponse, err error)
本接口(UnassignIpv6SubnetCidrBlock)用于释放IPv6子网段。<br /> 子网段如果还有IP占用且未回收,则子网段无法释放。
func (*Client) UnassignPrivateIpAddresses ¶
func (c *Client) UnassignPrivateIpAddresses(request *UnassignPrivateIpAddressesRequest) (response *UnassignPrivateIpAddressesResponse, err error)
本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。 * 退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。
type CreateAddressTemplateGroupRequest ¶
type CreateAddressTemplateGroupRequest struct { *tchttp.BaseRequest // IP地址模版集合名称。 AddressTemplateGroupName *string `json:"AddressTemplateGroupName,omitempty" name:"AddressTemplateGroupName"` // IP地址模版实例ID,例如:ipm-mdunqeb6。 AddressTemplateIds []*string `json:"AddressTemplateIds,omitempty" name:"AddressTemplateIds" list` }
func NewCreateAddressTemplateGroupRequest ¶
func NewCreateAddressTemplateGroupRequest() (request *CreateAddressTemplateGroupRequest)
func (*CreateAddressTemplateGroupRequest) FromJsonString ¶
func (r *CreateAddressTemplateGroupRequest) FromJsonString(s string) error
func (*CreateAddressTemplateGroupRequest) ToJsonString ¶
func (r *CreateAddressTemplateGroupRequest) ToJsonString() string
type CreateAddressTemplateGroupResponse ¶
type CreateAddressTemplateGroupResponse struct { *tchttp.BaseResponse Response *struct { // IP地址模板集合对象。 AddressTemplateGroup *AddressTemplateGroup `json:"AddressTemplateGroup,omitempty" name:"AddressTemplateGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAddressTemplateGroupResponse ¶
func NewCreateAddressTemplateGroupResponse() (response *CreateAddressTemplateGroupResponse)
func (*CreateAddressTemplateGroupResponse) FromJsonString ¶
func (r *CreateAddressTemplateGroupResponse) FromJsonString(s string) error
func (*CreateAddressTemplateGroupResponse) ToJsonString ¶
func (r *CreateAddressTemplateGroupResponse) ToJsonString() string
type CreateAddressTemplateRequest ¶
type CreateAddressTemplateRequest struct { *tchttp.BaseRequest // IP地址模版名称 AddressTemplateName *string `json:"AddressTemplateName,omitempty" name:"AddressTemplateName"` // 地址信息,支持 IP、CIDR、IP 范围。 Addresses []*string `json:"Addresses,omitempty" name:"Addresses" list` }
func NewCreateAddressTemplateRequest ¶
func NewCreateAddressTemplateRequest() (request *CreateAddressTemplateRequest)
func (*CreateAddressTemplateRequest) FromJsonString ¶
func (r *CreateAddressTemplateRequest) FromJsonString(s string) error
func (*CreateAddressTemplateRequest) ToJsonString ¶
func (r *CreateAddressTemplateRequest) ToJsonString() string
type CreateAddressTemplateResponse ¶
type CreateAddressTemplateResponse struct { *tchttp.BaseResponse Response *struct { // IP地址模板对象。 AddressTemplate *AddressTemplate `json:"AddressTemplate,omitempty" name:"AddressTemplate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAddressTemplateResponse ¶
func NewCreateAddressTemplateResponse() (response *CreateAddressTemplateResponse)
func (*CreateAddressTemplateResponse) FromJsonString ¶
func (r *CreateAddressTemplateResponse) FromJsonString(s string) error
func (*CreateAddressTemplateResponse) ToJsonString ¶
func (r *CreateAddressTemplateResponse) ToJsonString() string
type CreateBandwidthPackageRequest ¶
type CreateBandwidthPackageRequest struct { *tchttp.BaseRequest // 带宽包类型,包括'BGP','SINGLEISP','ANYCAST' NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // 带宽包计费类型,包括‘TOP5_POSTPAID_BY_MONTH’,‘PERCENT95_POSTPAID_BY_MONTH’ ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // 带宽包名字 BandwidthPackageName *string `json:"BandwidthPackageName,omitempty" name:"BandwidthPackageName"` // 带宽包数量(非上移账户只能填1) BandwidthPackageCount *uint64 `json:"BandwidthPackageCount,omitempty" name:"BandwidthPackageCount"` // 带宽包限速大小。单位:Mbps,-1表示不限速。 InternetMaxBandwidth *int64 `json:"InternetMaxBandwidth,omitempty" name:"InternetMaxBandwidth"` }
func NewCreateBandwidthPackageRequest ¶
func NewCreateBandwidthPackageRequest() (request *CreateBandwidthPackageRequest)
func (*CreateBandwidthPackageRequest) FromJsonString ¶
func (r *CreateBandwidthPackageRequest) FromJsonString(s string) error
func (*CreateBandwidthPackageRequest) ToJsonString ¶
func (r *CreateBandwidthPackageRequest) ToJsonString() string
type CreateBandwidthPackageResponse ¶
type CreateBandwidthPackageResponse struct { *tchttp.BaseResponse Response *struct { // 带宽包Id BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" name:"BandwidthPackageId"` // 带宽包Ids(申请数量大于1时有效) BandwidthPackageIds []*string `json:"BandwidthPackageIds,omitempty" name:"BandwidthPackageIds" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateBandwidthPackageResponse ¶
func NewCreateBandwidthPackageResponse() (response *CreateBandwidthPackageResponse)
func (*CreateBandwidthPackageResponse) FromJsonString ¶
func (r *CreateBandwidthPackageResponse) FromJsonString(s string) error
func (*CreateBandwidthPackageResponse) ToJsonString ¶
func (r *CreateBandwidthPackageResponse) ToJsonString() string
type CreateCcnRequest ¶
type CreateCcnRequest struct { *tchttp.BaseRequest // CCN名称,最大长度不能超过60个字节。 CcnName *string `json:"CcnName,omitempty" name:"CcnName"` // CCN描述信息,最大长度不能超过100个字节。 CcnDescription *string `json:"CcnDescription,omitempty" name:"CcnDescription"` // CCN服务质量,'PT':白金,'AU':金,'AG':银,默认为‘AU’。 QosLevel *string `json:"QosLevel,omitempty" name:"QosLevel"` // 计费模式,PREPAID:表示预付费,即包年包月,POSTPAID:表示后付费,即按量计费。默认:POSTPAID。 InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 限速类型,OUTER_REGION_LIMIT表示地域出口限速,INTER_REGION_LIMIT为地域间限速,默认为OUTER_REGION_LIMIT BandwidthLimitType *string `json:"BandwidthLimitType,omitempty" name:"BandwidthLimitType"` }
func NewCreateCcnRequest ¶
func NewCreateCcnRequest() (request *CreateCcnRequest)
func (*CreateCcnRequest) FromJsonString ¶
func (r *CreateCcnRequest) FromJsonString(s string) error
func (*CreateCcnRequest) ToJsonString ¶
func (r *CreateCcnRequest) ToJsonString() string
type CreateCcnResponse ¶
type CreateCcnResponse struct { *tchttp.BaseResponse Response *struct { // 云联网(CCN)对象。 Ccn *CCN `json:"Ccn,omitempty" name:"Ccn"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateCcnResponse ¶
func NewCreateCcnResponse() (response *CreateCcnResponse)
func (*CreateCcnResponse) FromJsonString ¶
func (r *CreateCcnResponse) FromJsonString(s string) error
func (*CreateCcnResponse) ToJsonString ¶
func (r *CreateCcnResponse) ToJsonString() string
type CreateCustomerGatewayRequest ¶
type CreateCustomerGatewayRequest struct { *tchttp.BaseRequest // 对端网关名称,可任意命名,但不得超过60个字符。 CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"` // 对端网关公网IP。 IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` }
func NewCreateCustomerGatewayRequest ¶
func NewCreateCustomerGatewayRequest() (request *CreateCustomerGatewayRequest)
func (*CreateCustomerGatewayRequest) FromJsonString ¶
func (r *CreateCustomerGatewayRequest) FromJsonString(s string) error
func (*CreateCustomerGatewayRequest) ToJsonString ¶
func (r *CreateCustomerGatewayRequest) ToJsonString() string
type CreateCustomerGatewayResponse ¶
type CreateCustomerGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 对端网关对象 CustomerGateway *CustomerGateway `json:"CustomerGateway,omitempty" name:"CustomerGateway"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateCustomerGatewayResponse ¶
func NewCreateCustomerGatewayResponse() (response *CreateCustomerGatewayResponse)
func (*CreateCustomerGatewayResponse) FromJsonString ¶
func (r *CreateCustomerGatewayResponse) FromJsonString(s string) error
func (*CreateCustomerGatewayResponse) ToJsonString ¶
func (r *CreateCustomerGatewayResponse) ToJsonString() string
type CreateDefaultVpcRequest ¶
type CreateDefaultVpcRequest struct { *tchttp.BaseRequest // 子网所在的可用区ID,不指定将随机选择可用区 Zone *string `json:"Zone,omitempty" name:"Zone"` // 是否强制返回默认VPC Force *bool `json:"Force,omitempty" name:"Force"` }
func NewCreateDefaultVpcRequest ¶
func NewCreateDefaultVpcRequest() (request *CreateDefaultVpcRequest)
func (*CreateDefaultVpcRequest) FromJsonString ¶
func (r *CreateDefaultVpcRequest) FromJsonString(s string) error
func (*CreateDefaultVpcRequest) ToJsonString ¶
func (r *CreateDefaultVpcRequest) ToJsonString() string
type CreateDefaultVpcResponse ¶
type CreateDefaultVpcResponse struct { *tchttp.BaseResponse Response *struct { // 默认VPC和子网ID Vpc *DefaultVpcSubnet `json:"Vpc,omitempty" name:"Vpc"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDefaultVpcResponse ¶
func NewCreateDefaultVpcResponse() (response *CreateDefaultVpcResponse)
func (*CreateDefaultVpcResponse) FromJsonString ¶
func (r *CreateDefaultVpcResponse) FromJsonString(s string) error
func (*CreateDefaultVpcResponse) ToJsonString ¶
func (r *CreateDefaultVpcResponse) ToJsonString() string
type CreateDirectConnectGatewayCcnRoutesRequest ¶
type CreateDirectConnectGatewayCcnRoutesRequest struct { *tchttp.BaseRequest // 专线网关ID,形如:dcg-prpqlmg1 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 需要连通的IDC网段列表 Routes []*DirectConnectGatewayCcnRoute `json:"Routes,omitempty" name:"Routes" list` }
func NewCreateDirectConnectGatewayCcnRoutesRequest ¶
func NewCreateDirectConnectGatewayCcnRoutesRequest() (request *CreateDirectConnectGatewayCcnRoutesRequest)
func (*CreateDirectConnectGatewayCcnRoutesRequest) FromJsonString ¶
func (r *CreateDirectConnectGatewayCcnRoutesRequest) FromJsonString(s string) error
func (*CreateDirectConnectGatewayCcnRoutesRequest) ToJsonString ¶
func (r *CreateDirectConnectGatewayCcnRoutesRequest) ToJsonString() string
type CreateDirectConnectGatewayCcnRoutesResponse ¶
type CreateDirectConnectGatewayCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDirectConnectGatewayCcnRoutesResponse ¶
func NewCreateDirectConnectGatewayCcnRoutesResponse() (response *CreateDirectConnectGatewayCcnRoutesResponse)
func (*CreateDirectConnectGatewayCcnRoutesResponse) FromJsonString ¶
func (r *CreateDirectConnectGatewayCcnRoutesResponse) FromJsonString(s string) error
func (*CreateDirectConnectGatewayCcnRoutesResponse) ToJsonString ¶
func (r *CreateDirectConnectGatewayCcnRoutesResponse) ToJsonString() string
type CreateDirectConnectGatewayRequest ¶
type CreateDirectConnectGatewayRequest struct { *tchttp.BaseRequest // 专线网关名称 DirectConnectGatewayName *string `json:"DirectConnectGatewayName,omitempty" name:"DirectConnectGatewayName"` // 关联网络类型,可选值: // <li>VPC - 私有网络</li> // <li>CCN - 云联网</li> NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // <li>NetworkType 为 VPC 时,这里传值为私有网络实例ID</li> // <li>NetworkType 为 CCN 时,这里传值为云联网实例ID</li> NetworkInstanceId *string `json:"NetworkInstanceId,omitempty" name:"NetworkInstanceId"` // 网关类型,可选值: // <li>NORMAL - (默认)标准型,注:云联网只支持标准型</li> // <li>NAT - NAT型</li>NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 GatewayType *string `json:"GatewayType,omitempty" name:"GatewayType"` }
func NewCreateDirectConnectGatewayRequest ¶
func NewCreateDirectConnectGatewayRequest() (request *CreateDirectConnectGatewayRequest)
func (*CreateDirectConnectGatewayRequest) FromJsonString ¶
func (r *CreateDirectConnectGatewayRequest) FromJsonString(s string) error
func (*CreateDirectConnectGatewayRequest) ToJsonString ¶
func (r *CreateDirectConnectGatewayRequest) ToJsonString() string
type CreateDirectConnectGatewayResponse ¶
type CreateDirectConnectGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 专线网关对象。 DirectConnectGateway *DirectConnectGateway `json:"DirectConnectGateway,omitempty" name:"DirectConnectGateway"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDirectConnectGatewayResponse ¶
func NewCreateDirectConnectGatewayResponse() (response *CreateDirectConnectGatewayResponse)
func (*CreateDirectConnectGatewayResponse) FromJsonString ¶
func (r *CreateDirectConnectGatewayResponse) FromJsonString(s string) error
func (*CreateDirectConnectGatewayResponse) ToJsonString ¶
func (r *CreateDirectConnectGatewayResponse) ToJsonString() string
type CreateFlowLogRequest ¶
type CreateFlowLogRequest struct { *tchttp.BaseRequest // 私用网络ID或者统一ID,建议使用统一ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 流日志实例名字 FlowLogName *string `json:"FlowLogName,omitempty" name:"FlowLogName"` // 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // 资源唯一ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 流日志采集类型,ACCEPT|REJECT|ALL TrafficType *string `json:"TrafficType,omitempty" name:"TrafficType"` // 流日志存储ID CloudLogId *string `json:"CloudLogId,omitempty" name:"CloudLogId"` // 流日志实例描述 FlowLogDescription *string `json:"FlowLogDescription,omitempty" name:"FlowLogDescription"` }
func NewCreateFlowLogRequest ¶
func NewCreateFlowLogRequest() (request *CreateFlowLogRequest)
func (*CreateFlowLogRequest) FromJsonString ¶
func (r *CreateFlowLogRequest) FromJsonString(s string) error
func (*CreateFlowLogRequest) ToJsonString ¶
func (r *CreateFlowLogRequest) ToJsonString() string
type CreateFlowLogResponse ¶
type CreateFlowLogResponse struct { *tchttp.BaseResponse Response *struct { // 创建的流日志信息 FlowLog []*FlowLog `json:"FlowLog,omitempty" name:"FlowLog" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateFlowLogResponse ¶
func NewCreateFlowLogResponse() (response *CreateFlowLogResponse)
func (*CreateFlowLogResponse) FromJsonString ¶
func (r *CreateFlowLogResponse) FromJsonString(s string) error
func (*CreateFlowLogResponse) ToJsonString ¶
func (r *CreateFlowLogResponse) ToJsonString() string
type CreateHaVipRequest ¶
type CreateHaVipRequest struct { *tchttp.BaseRequest // `HAVIP`所在私有网络`ID`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `HAVIP`所在子网`ID`。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // `HAVIP`名称。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` // 指定虚拟IP地址,必须在`VPC`网段内且未被占用。不指定则自动分配。 Vip *string `json:"Vip,omitempty" name:"Vip"` }
func NewCreateHaVipRequest ¶
func NewCreateHaVipRequest() (request *CreateHaVipRequest)
func (*CreateHaVipRequest) FromJsonString ¶
func (r *CreateHaVipRequest) FromJsonString(s string) error
func (*CreateHaVipRequest) ToJsonString ¶
func (r *CreateHaVipRequest) ToJsonString() string
type CreateHaVipResponse ¶
type CreateHaVipResponse struct { *tchttp.BaseResponse Response *struct { // `HAVIP`对象。 HaVip *HaVip `json:"HaVip,omitempty" name:"HaVip"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateHaVipResponse ¶
func NewCreateHaVipResponse() (response *CreateHaVipResponse)
func (*CreateHaVipResponse) FromJsonString ¶
func (r *CreateHaVipResponse) FromJsonString(s string) error
func (*CreateHaVipResponse) ToJsonString ¶
func (r *CreateHaVipResponse) ToJsonString() string
type CreateIp6TranslatorsRequest ¶
type CreateIp6TranslatorsRequest struct { *tchttp.BaseRequest // 转换实例名称 Ip6TranslatorName *string `json:"Ip6TranslatorName,omitempty" name:"Ip6TranslatorName"` // 创建转换实例数量,默认是1个 Ip6TranslatorCount *int64 `json:"Ip6TranslatorCount,omitempty" name:"Ip6TranslatorCount"` // 转换实例运营商属性,可取"CMCC","CTCC","CUCC","BGP" Ip6InternetServiceProvider *string `json:"Ip6InternetServiceProvider,omitempty" name:"Ip6InternetServiceProvider"` }
func NewCreateIp6TranslatorsRequest ¶
func NewCreateIp6TranslatorsRequest() (request *CreateIp6TranslatorsRequest)
func (*CreateIp6TranslatorsRequest) FromJsonString ¶
func (r *CreateIp6TranslatorsRequest) FromJsonString(s string) error
func (*CreateIp6TranslatorsRequest) ToJsonString ¶
func (r *CreateIp6TranslatorsRequest) ToJsonString() string
type CreateIp6TranslatorsResponse ¶
type CreateIp6TranslatorsResponse struct { *tchttp.BaseResponse Response *struct { // 转换实例的唯一ID数组,形如"ip6-xxxxxxxx" Ip6TranslatorSet []*string `json:"Ip6TranslatorSet,omitempty" name:"Ip6TranslatorSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateIp6TranslatorsResponse ¶
func NewCreateIp6TranslatorsResponse() (response *CreateIp6TranslatorsResponse)
func (*CreateIp6TranslatorsResponse) FromJsonString ¶
func (r *CreateIp6TranslatorsResponse) FromJsonString(s string) error
func (*CreateIp6TranslatorsResponse) ToJsonString ¶
func (r *CreateIp6TranslatorsResponse) ToJsonString() string
type CreateNatGatewayDestinationIpPortTranslationNatRuleRequest ¶
type CreateNatGatewayDestinationIpPortTranslationNatRuleRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // NAT网关的端口转换规则。 DestinationIpPortTranslationNatRules []*DestinationIpPortTranslationNatRule `json:"DestinationIpPortTranslationNatRules,omitempty" name:"DestinationIpPortTranslationNatRules" list` }
func NewCreateNatGatewayDestinationIpPortTranslationNatRuleRequest ¶
func NewCreateNatGatewayDestinationIpPortTranslationNatRuleRequest() (request *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest)
func (*CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) FromJsonString ¶
func (r *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) FromJsonString(s string) error
func (*CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) ToJsonString ¶
func (r *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) ToJsonString() string
type CreateNatGatewayDestinationIpPortTranslationNatRuleResponse ¶
type CreateNatGatewayDestinationIpPortTranslationNatRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNatGatewayDestinationIpPortTranslationNatRuleResponse ¶
func NewCreateNatGatewayDestinationIpPortTranslationNatRuleResponse() (response *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse)
func (*CreateNatGatewayDestinationIpPortTranslationNatRuleResponse) FromJsonString ¶
func (r *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse) FromJsonString(s string) error
func (*CreateNatGatewayDestinationIpPortTranslationNatRuleResponse) ToJsonString ¶
func (r *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse) ToJsonString() string
type CreateNatGatewayRequest ¶
type CreateNatGatewayRequest struct { *tchttp.BaseRequest // NAT网关名称 NatGatewayName *string `json:"NatGatewayName,omitempty" name:"NatGatewayName"` // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // NAT网关最大外网出带宽(单位:Mbps),支持的参数值:`20, 50, 100, 200, 500, 1000, 2000, 5000`,默认: `100Mbps`。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // NAT网关并发连接上限,支持参数值:`1000000、3000000、10000000`,默认值为`100000`。 MaxConcurrentConnection *uint64 `json:"MaxConcurrentConnection,omitempty" name:"MaxConcurrentConnection"` // 需要申请的弹性IP个数,系统会按您的要求生产N个弹性IP,其中AddressCount和PublicAddresses至少传递一个。 AddressCount *uint64 `json:"AddressCount,omitempty" name:"AddressCount"` // 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` // 可用区,形如:`ap-guangzhou-1`。 Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewCreateNatGatewayRequest ¶
func NewCreateNatGatewayRequest() (request *CreateNatGatewayRequest)
func (*CreateNatGatewayRequest) FromJsonString ¶
func (r *CreateNatGatewayRequest) FromJsonString(s string) error
func (*CreateNatGatewayRequest) ToJsonString ¶
func (r *CreateNatGatewayRequest) ToJsonString() string
type CreateNatGatewayResponse ¶
type CreateNatGatewayResponse struct { *tchttp.BaseResponse Response *struct { // NAT网关对象数组。 NatGatewaySet []*NatGateway `json:"NatGatewaySet,omitempty" name:"NatGatewaySet" list` // 符合条件的 NAT网关对象数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNatGatewayResponse ¶
func NewCreateNatGatewayResponse() (response *CreateNatGatewayResponse)
func (*CreateNatGatewayResponse) FromJsonString ¶
func (r *CreateNatGatewayResponse) FromJsonString(s string) error
func (*CreateNatGatewayResponse) ToJsonString ¶
func (r *CreateNatGatewayResponse) ToJsonString() string
type CreateNetDetectRequest ¶
type CreateNetDetectRequest struct { *tchttp.BaseRequest // `VPC`实例`ID`。形如:`vpc-12345678` VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网实例ID。形如:subnet-12345678。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 网络探测名称,最大长度不能超过60个字节。 NetDetectName *string `json:"NetDetectName,omitempty" name:"NetDetectName"` // 探测目的IPv4地址数组。最多两个。 DetectDestinationIp []*string `json:"DetectDestinationIp,omitempty" name:"DetectDestinationIp" list` // 下一跳类型,目前我们支持的类型有: // VPN:VPN网关; // DIRECTCONNECT:专线网关; // PEERCONNECTION:对等连接; // NAT:NAT网关; // NORMAL_CVM:普通云主机; NextHopType *string `json:"NextHopType,omitempty" name:"NextHopType"` // 下一跳目的网关,取值与“下一跳类型”相关: // 下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678; // 下一跳类型为DIRECTCONNECT,取值专线网关ID,形如:dcg-12345678; // 下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678; // 下一跳类型为NAT,取值Nat网关,形如:nat-12345678; // 下一跳类型为NORMAL_CVM,取值云主机IPv4地址,形如:10.0.0.12; NextHopDestination *string `json:"NextHopDestination,omitempty" name:"NextHopDestination"` // 网络探测描述。 NetDetectDescription *string `json:"NetDetectDescription,omitempty" name:"NetDetectDescription"` }
func NewCreateNetDetectRequest ¶
func NewCreateNetDetectRequest() (request *CreateNetDetectRequest)
func (*CreateNetDetectRequest) FromJsonString ¶
func (r *CreateNetDetectRequest) FromJsonString(s string) error
func (*CreateNetDetectRequest) ToJsonString ¶
func (r *CreateNetDetectRequest) ToJsonString() string
type CreateNetDetectResponse ¶
type CreateNetDetectResponse struct { *tchttp.BaseResponse Response *struct { // 网络探测(NetDetect)对象。 NetDetect *NetDetect `json:"NetDetect,omitempty" name:"NetDetect"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNetDetectResponse ¶
func NewCreateNetDetectResponse() (response *CreateNetDetectResponse)
func (*CreateNetDetectResponse) FromJsonString ¶
func (r *CreateNetDetectResponse) FromJsonString(s string) error
func (*CreateNetDetectResponse) ToJsonString ¶
func (r *CreateNetDetectResponse) ToJsonString() string
type CreateNetworkInterfaceRequest ¶
type CreateNetworkInterfaceRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 弹性网卡名称,最大长度不能超过60个字节。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 弹性网卡所在的子网实例ID,例如:subnet-0ap8nwca。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 弹性网卡描述,可任意命名,但不得超过60个字符。 NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"` // 新申请的内网IP地址个数,内网IP地址个数总和不能超过配数。 SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"` // 指定绑定的安全组,例如:['sg-1dd51d']。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` }
func NewCreateNetworkInterfaceRequest ¶
func NewCreateNetworkInterfaceRequest() (request *CreateNetworkInterfaceRequest)
func (*CreateNetworkInterfaceRequest) FromJsonString ¶
func (r *CreateNetworkInterfaceRequest) FromJsonString(s string) error
func (*CreateNetworkInterfaceRequest) ToJsonString ¶
func (r *CreateNetworkInterfaceRequest) ToJsonString() string
type CreateNetworkInterfaceResponse ¶
type CreateNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *struct { // 弹性网卡实例。 NetworkInterface *NetworkInterface `json:"NetworkInterface,omitempty" name:"NetworkInterface"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNetworkInterfaceResponse ¶
func NewCreateNetworkInterfaceResponse() (response *CreateNetworkInterfaceResponse)
func (*CreateNetworkInterfaceResponse) FromJsonString ¶
func (r *CreateNetworkInterfaceResponse) FromJsonString(s string) error
func (*CreateNetworkInterfaceResponse) ToJsonString ¶
func (r *CreateNetworkInterfaceResponse) ToJsonString() string
type CreateRouteTableRequest ¶
type CreateRouteTableRequest struct { *tchttp.BaseRequest // 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 路由表名称,最大长度不能超过60个字节。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` }
func NewCreateRouteTableRequest ¶
func NewCreateRouteTableRequest() (request *CreateRouteTableRequest)
func (*CreateRouteTableRequest) FromJsonString ¶
func (r *CreateRouteTableRequest) FromJsonString(s string) error
func (*CreateRouteTableRequest) ToJsonString ¶
func (r *CreateRouteTableRequest) ToJsonString() string
type CreateRouteTableResponse ¶
type CreateRouteTableResponse struct { *tchttp.BaseResponse Response *struct { // 路由表对象。 RouteTable *RouteTable `json:"RouteTable,omitempty" name:"RouteTable"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateRouteTableResponse ¶
func NewCreateRouteTableResponse() (response *CreateRouteTableResponse)
func (*CreateRouteTableResponse) FromJsonString ¶
func (r *CreateRouteTableResponse) FromJsonString(s string) error
func (*CreateRouteTableResponse) ToJsonString ¶
func (r *CreateRouteTableResponse) ToJsonString() string
type CreateRoutesRequest ¶
type CreateRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes" list` }
func NewCreateRoutesRequest ¶
func NewCreateRoutesRequest() (request *CreateRoutesRequest)
func (*CreateRoutesRequest) FromJsonString ¶
func (r *CreateRoutesRequest) FromJsonString(s string) error
func (*CreateRoutesRequest) ToJsonString ¶
func (r *CreateRoutesRequest) ToJsonString() string
type CreateRoutesResponse ¶
type CreateRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 新增的实例个数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 路由表对象。 RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateRoutesResponse ¶
func NewCreateRoutesResponse() (response *CreateRoutesResponse)
func (*CreateRoutesResponse) FromJsonString ¶
func (r *CreateRoutesResponse) FromJsonString(s string) error
func (*CreateRoutesResponse) ToJsonString ¶
func (r *CreateRoutesResponse) ToJsonString() string
type CreateSecurityGroupPoliciesRequest ¶
type CreateSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewCreateSecurityGroupPoliciesRequest ¶
func NewCreateSecurityGroupPoliciesRequest() (request *CreateSecurityGroupPoliciesRequest)
func (*CreateSecurityGroupPoliciesRequest) FromJsonString ¶
func (r *CreateSecurityGroupPoliciesRequest) FromJsonString(s string) error
func (*CreateSecurityGroupPoliciesRequest) ToJsonString ¶
func (r *CreateSecurityGroupPoliciesRequest) ToJsonString() string
type CreateSecurityGroupPoliciesResponse ¶
type CreateSecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateSecurityGroupPoliciesResponse ¶
func NewCreateSecurityGroupPoliciesResponse() (response *CreateSecurityGroupPoliciesResponse)
func (*CreateSecurityGroupPoliciesResponse) FromJsonString ¶
func (r *CreateSecurityGroupPoliciesResponse) FromJsonString(s string) error
func (*CreateSecurityGroupPoliciesResponse) ToJsonString ¶
func (r *CreateSecurityGroupPoliciesResponse) ToJsonString() string
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct { *tchttp.BaseRequest // 安全组名称,可任意命名,但不得超过60个字符。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 安全组备注,最多100个字符。 GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"` // 项目id,默认0。可在qcloud控制台项目管理页面查询到。 ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest() (request *CreateSecurityGroupRequest)
func (*CreateSecurityGroupRequest) FromJsonString ¶
func (r *CreateSecurityGroupRequest) FromJsonString(s string) error
func (*CreateSecurityGroupRequest) ToJsonString ¶
func (r *CreateSecurityGroupRequest) ToJsonString() string
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { *tchttp.BaseResponse Response *struct { // 安全组对象。 SecurityGroup *SecurityGroup `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateSecurityGroupResponse ¶
func NewCreateSecurityGroupResponse() (response *CreateSecurityGroupResponse)
func (*CreateSecurityGroupResponse) FromJsonString ¶
func (r *CreateSecurityGroupResponse) FromJsonString(s string) error
func (*CreateSecurityGroupResponse) ToJsonString ¶
func (r *CreateSecurityGroupResponse) ToJsonString() string
type CreateServiceTemplateGroupRequest ¶
type CreateServiceTemplateGroupRequest struct { *tchttp.BaseRequest // 协议端口模板集合名称 ServiceTemplateGroupName *string `json:"ServiceTemplateGroupName,omitempty" name:"ServiceTemplateGroupName"` // 协议端口模板实例ID,例如:ppm-4dw6agho。 ServiceTemplateIds []*string `json:"ServiceTemplateIds,omitempty" name:"ServiceTemplateIds" list` }
func NewCreateServiceTemplateGroupRequest ¶
func NewCreateServiceTemplateGroupRequest() (request *CreateServiceTemplateGroupRequest)
func (*CreateServiceTemplateGroupRequest) FromJsonString ¶
func (r *CreateServiceTemplateGroupRequest) FromJsonString(s string) error
func (*CreateServiceTemplateGroupRequest) ToJsonString ¶
func (r *CreateServiceTemplateGroupRequest) ToJsonString() string
type CreateServiceTemplateGroupResponse ¶
type CreateServiceTemplateGroupResponse struct { *tchttp.BaseResponse Response *struct { // 协议端口模板集合对象。 ServiceTemplateGroup *ServiceTemplateGroup `json:"ServiceTemplateGroup,omitempty" name:"ServiceTemplateGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateServiceTemplateGroupResponse ¶
func NewCreateServiceTemplateGroupResponse() (response *CreateServiceTemplateGroupResponse)
func (*CreateServiceTemplateGroupResponse) FromJsonString ¶
func (r *CreateServiceTemplateGroupResponse) FromJsonString(s string) error
func (*CreateServiceTemplateGroupResponse) ToJsonString ¶
func (r *CreateServiceTemplateGroupResponse) ToJsonString() string
type CreateServiceTemplateRequest ¶
type CreateServiceTemplateRequest struct { *tchttp.BaseRequest // 协议端口模板名称 ServiceTemplateName *string `json:"ServiceTemplateName,omitempty" name:"ServiceTemplateName"` // 支持单个端口、多个端口、连续端口及所有端口,协议支持:TCP、UDP、ICMP、GRE 协议。 Services []*string `json:"Services,omitempty" name:"Services" list` }
func NewCreateServiceTemplateRequest ¶
func NewCreateServiceTemplateRequest() (request *CreateServiceTemplateRequest)
func (*CreateServiceTemplateRequest) FromJsonString ¶
func (r *CreateServiceTemplateRequest) FromJsonString(s string) error
func (*CreateServiceTemplateRequest) ToJsonString ¶
func (r *CreateServiceTemplateRequest) ToJsonString() string
type CreateServiceTemplateResponse ¶
type CreateServiceTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 协议端口模板对象。 ServiceTemplate *ServiceTemplate `json:"ServiceTemplate,omitempty" name:"ServiceTemplate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateServiceTemplateResponse ¶
func NewCreateServiceTemplateResponse() (response *CreateServiceTemplateResponse)
func (*CreateServiceTemplateResponse) FromJsonString ¶
func (r *CreateServiceTemplateResponse) FromJsonString(s string) error
func (*CreateServiceTemplateResponse) ToJsonString ¶
func (r *CreateServiceTemplateResponse) ToJsonString() string
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { *tchttp.BaseRequest // 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网名称,最大长度不能超过60个字节。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网网段,子网网段必须在VPC网段内,相同VPC内子网网段不能重叠。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 子网所在的可用区ID,不同子网选择不同可用区可以做跨可用区灾备。 Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewCreateSubnetRequest ¶
func NewCreateSubnetRequest() (request *CreateSubnetRequest)
func (*CreateSubnetRequest) FromJsonString ¶
func (r *CreateSubnetRequest) FromJsonString(s string) error
func (*CreateSubnetRequest) ToJsonString ¶
func (r *CreateSubnetRequest) ToJsonString() string
type CreateSubnetResponse ¶
type CreateSubnetResponse struct { *tchttp.BaseResponse Response *struct { // 子网对象。 Subnet *Subnet `json:"Subnet,omitempty" name:"Subnet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateSubnetResponse ¶
func NewCreateSubnetResponse() (response *CreateSubnetResponse)
func (*CreateSubnetResponse) FromJsonString ¶
func (r *CreateSubnetResponse) FromJsonString(s string) error
func (*CreateSubnetResponse) ToJsonString ¶
func (r *CreateSubnetResponse) ToJsonString() string
type CreateSubnetsRequest ¶
type CreateSubnetsRequest struct { *tchttp.BaseRequest // `VPC`实例`ID`。形如:`vpc-6v2ht8q5` VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网对象列表。 Subnets []*SubnetInput `json:"Subnets,omitempty" name:"Subnets" list` }
func NewCreateSubnetsRequest ¶
func NewCreateSubnetsRequest() (request *CreateSubnetsRequest)
func (*CreateSubnetsRequest) FromJsonString ¶
func (r *CreateSubnetsRequest) FromJsonString(s string) error
func (*CreateSubnetsRequest) ToJsonString ¶
func (r *CreateSubnetsRequest) ToJsonString() string
type CreateSubnetsResponse ¶
type CreateSubnetsResponse struct { *tchttp.BaseResponse Response *struct { // 新创建的子网列表。 SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateSubnetsResponse ¶
func NewCreateSubnetsResponse() (response *CreateSubnetsResponse)
func (*CreateSubnetsResponse) FromJsonString ¶
func (r *CreateSubnetsResponse) FromJsonString(s string) error
func (*CreateSubnetsResponse) ToJsonString ¶
func (r *CreateSubnetsResponse) ToJsonString() string
type CreateVpcRequest ¶
type CreateVpcRequest struct { *tchttp.BaseRequest // vpc名称,最大长度不能超过60个字节。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // vpc的cidr,只能为10.0.0.0/16,172.16.0.0/16,192.168.0.0/16这三个内网网段内。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 是否开启组播。true: 开启, false: 不开启。 EnableMulticast *string `json:"EnableMulticast,omitempty" name:"EnableMulticast"` // DNS地址,最多支持4个 DnsServers []*string `json:"DnsServers,omitempty" name:"DnsServers" list` // 域名 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewCreateVpcRequest ¶
func NewCreateVpcRequest() (request *CreateVpcRequest)
func (*CreateVpcRequest) FromJsonString ¶
func (r *CreateVpcRequest) FromJsonString(s string) error
func (*CreateVpcRequest) ToJsonString ¶
func (r *CreateVpcRequest) ToJsonString() string
type CreateVpcResponse ¶
type CreateVpcResponse struct { *tchttp.BaseResponse Response *struct { // Vpc对象。 Vpc *Vpc `json:"Vpc,omitempty" name:"Vpc"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateVpcResponse ¶
func NewCreateVpcResponse() (response *CreateVpcResponse)
func (*CreateVpcResponse) FromJsonString ¶
func (r *CreateVpcResponse) FromJsonString(s string) error
func (*CreateVpcResponse) ToJsonString ¶
func (r *CreateVpcResponse) ToJsonString() string
type CreateVpnConnectionRequest ¶
type CreateVpnConnectionRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // 对端网关ID,例如:cgw-2wqq41m9,可通过DescribeCustomerGateways接口查询对端网关。 CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"` // 通道名称,可任意命名,但不得超过60个字符。 VpnConnectionName *string `json:"VpnConnectionName,omitempty" name:"VpnConnectionName"` PreShareKey *string `json:"PreShareKey,omitempty" name:"PreShareKey"` // SPD策略组,例如:{"10.0.0.5/24":["172.123.10.5/16"]},10.0.0.5/24是vpc内网段172.123.10.5/16是IDC网段。用户指定VPC内哪些网段可以和您IDC中哪些网段通信。 SecurityPolicyDatabases []*SecurityPolicyDatabase `json:"SecurityPolicyDatabases,omitempty" name:"SecurityPolicyDatabases" list` // IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议 IKEOptionsSpecification *IKEOptionsSpecification `json:"IKEOptionsSpecification,omitempty" name:"IKEOptionsSpecification"` // IPSec配置,腾讯云提供IPSec安全会话设置 IPSECOptionsSpecification *IPSECOptionsSpecification `json:"IPSECOptionsSpecification,omitempty" name:"IPSECOptionsSpecification"` }
func NewCreateVpnConnectionRequest ¶
func NewCreateVpnConnectionRequest() (request *CreateVpnConnectionRequest)
func (*CreateVpnConnectionRequest) FromJsonString ¶
func (r *CreateVpnConnectionRequest) FromJsonString(s string) error
func (*CreateVpnConnectionRequest) ToJsonString ¶
func (r *CreateVpnConnectionRequest) ToJsonString() string
type CreateVpnConnectionResponse ¶
type CreateVpnConnectionResponse struct { *tchttp.BaseResponse Response *struct { // 通道实例对象。 VpnConnection *VpnConnection `json:"VpnConnection,omitempty" name:"VpnConnection"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateVpnConnectionResponse ¶
func NewCreateVpnConnectionResponse() (response *CreateVpnConnectionResponse)
func (*CreateVpnConnectionResponse) FromJsonString ¶
func (r *CreateVpnConnectionResponse) FromJsonString(s string) error
func (*CreateVpnConnectionResponse) ToJsonString ¶
func (r *CreateVpnConnectionResponse) ToJsonString() string
type CreateVpnGatewayRequest ¶
type CreateVpnGatewayRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPN网关名称,最大长度不能超过60个字节。 VpnGatewayName *string `json:"VpnGatewayName,omitempty" name:"VpnGatewayName"` // 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid必填。 InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"` // 可用区,如:ap-guangzhou-2。 Zone *string `json:"Zone,omitempty" name:"Zone"` }
func NewCreateVpnGatewayRequest ¶
func NewCreateVpnGatewayRequest() (request *CreateVpnGatewayRequest)
func (*CreateVpnGatewayRequest) FromJsonString ¶
func (r *CreateVpnGatewayRequest) FromJsonString(s string) error
func (*CreateVpnGatewayRequest) ToJsonString ¶
func (r *CreateVpnGatewayRequest) ToJsonString() string
type CreateVpnGatewayResponse ¶
type CreateVpnGatewayResponse struct { *tchttp.BaseResponse Response *struct { // VPN网关对象 VpnGateway *VpnGateway `json:"VpnGateway,omitempty" name:"VpnGateway"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateVpnGatewayResponse ¶
func NewCreateVpnGatewayResponse() (response *CreateVpnGatewayResponse)
func (*CreateVpnGatewayResponse) FromJsonString ¶
func (r *CreateVpnGatewayResponse) FromJsonString(s string) error
func (*CreateVpnGatewayResponse) ToJsonString ¶
func (r *CreateVpnGatewayResponse) ToJsonString() string
type CustomerGateway ¶
type CustomerGateway struct { // 用户网关唯一ID CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"` // 网关名称 CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"` // 公网地址 IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // 创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type CustomerGatewayVendor ¶
type DefaultVpcSubnet ¶
type DeleteAddressTemplateGroupRequest ¶
type DeleteAddressTemplateGroupRequest struct { *tchttp.BaseRequest // IP地址模板集合实例ID,例如:ipmg-90cex8mq。 AddressTemplateGroupId *string `json:"AddressTemplateGroupId,omitempty" name:"AddressTemplateGroupId"` }
func NewDeleteAddressTemplateGroupRequest ¶
func NewDeleteAddressTemplateGroupRequest() (request *DeleteAddressTemplateGroupRequest)
func (*DeleteAddressTemplateGroupRequest) FromJsonString ¶
func (r *DeleteAddressTemplateGroupRequest) FromJsonString(s string) error
func (*DeleteAddressTemplateGroupRequest) ToJsonString ¶
func (r *DeleteAddressTemplateGroupRequest) ToJsonString() string
type DeleteAddressTemplateGroupResponse ¶
type DeleteAddressTemplateGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAddressTemplateGroupResponse ¶
func NewDeleteAddressTemplateGroupResponse() (response *DeleteAddressTemplateGroupResponse)
func (*DeleteAddressTemplateGroupResponse) FromJsonString ¶
func (r *DeleteAddressTemplateGroupResponse) FromJsonString(s string) error
func (*DeleteAddressTemplateGroupResponse) ToJsonString ¶
func (r *DeleteAddressTemplateGroupResponse) ToJsonString() string
type DeleteAddressTemplateRequest ¶
type DeleteAddressTemplateRequest struct { *tchttp.BaseRequest // IP地址模板实例ID,例如:ipm-09o5m8kc。 AddressTemplateId *string `json:"AddressTemplateId,omitempty" name:"AddressTemplateId"` }
func NewDeleteAddressTemplateRequest ¶
func NewDeleteAddressTemplateRequest() (request *DeleteAddressTemplateRequest)
func (*DeleteAddressTemplateRequest) FromJsonString ¶
func (r *DeleteAddressTemplateRequest) FromJsonString(s string) error
func (*DeleteAddressTemplateRequest) ToJsonString ¶
func (r *DeleteAddressTemplateRequest) ToJsonString() string
type DeleteAddressTemplateResponse ¶
type DeleteAddressTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAddressTemplateResponse ¶
func NewDeleteAddressTemplateResponse() (response *DeleteAddressTemplateResponse)
func (*DeleteAddressTemplateResponse) FromJsonString ¶
func (r *DeleteAddressTemplateResponse) FromJsonString(s string) error
func (*DeleteAddressTemplateResponse) ToJsonString ¶
func (r *DeleteAddressTemplateResponse) ToJsonString() string
type DeleteBandwidthPackageRequest ¶
type DeleteBandwidthPackageRequest struct { *tchttp.BaseRequest // 待删除带宽包bwpId BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" name:"BandwidthPackageId"` }
func NewDeleteBandwidthPackageRequest ¶
func NewDeleteBandwidthPackageRequest() (request *DeleteBandwidthPackageRequest)
func (*DeleteBandwidthPackageRequest) FromJsonString ¶
func (r *DeleteBandwidthPackageRequest) FromJsonString(s string) error
func (*DeleteBandwidthPackageRequest) ToJsonString ¶
func (r *DeleteBandwidthPackageRequest) ToJsonString() string
type DeleteBandwidthPackageResponse ¶
type DeleteBandwidthPackageResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteBandwidthPackageResponse ¶
func NewDeleteBandwidthPackageResponse() (response *DeleteBandwidthPackageResponse)
func (*DeleteBandwidthPackageResponse) FromJsonString ¶
func (r *DeleteBandwidthPackageResponse) FromJsonString(s string) error
func (*DeleteBandwidthPackageResponse) ToJsonString ¶
func (r *DeleteBandwidthPackageResponse) ToJsonString() string
type DeleteCcnRequest ¶
type DeleteCcnRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` }
func NewDeleteCcnRequest ¶
func NewDeleteCcnRequest() (request *DeleteCcnRequest)
func (*DeleteCcnRequest) FromJsonString ¶
func (r *DeleteCcnRequest) FromJsonString(s string) error
func (*DeleteCcnRequest) ToJsonString ¶
func (r *DeleteCcnRequest) ToJsonString() string
type DeleteCcnResponse ¶
type DeleteCcnResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteCcnResponse ¶
func NewDeleteCcnResponse() (response *DeleteCcnResponse)
func (*DeleteCcnResponse) FromJsonString ¶
func (r *DeleteCcnResponse) FromJsonString(s string) error
func (*DeleteCcnResponse) ToJsonString ¶
func (r *DeleteCcnResponse) ToJsonString() string
type DeleteCustomerGatewayRequest ¶
type DeleteCustomerGatewayRequest struct { *tchttp.BaseRequest // 对端网关ID,例如:cgw-2wqq41m9,可通过DescribeCustomerGateways接口查询对端网关。 CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"` }
func NewDeleteCustomerGatewayRequest ¶
func NewDeleteCustomerGatewayRequest() (request *DeleteCustomerGatewayRequest)
func (*DeleteCustomerGatewayRequest) FromJsonString ¶
func (r *DeleteCustomerGatewayRequest) FromJsonString(s string) error
func (*DeleteCustomerGatewayRequest) ToJsonString ¶
func (r *DeleteCustomerGatewayRequest) ToJsonString() string
type DeleteCustomerGatewayResponse ¶
type DeleteCustomerGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteCustomerGatewayResponse ¶
func NewDeleteCustomerGatewayResponse() (response *DeleteCustomerGatewayResponse)
func (*DeleteCustomerGatewayResponse) FromJsonString ¶
func (r *DeleteCustomerGatewayResponse) FromJsonString(s string) error
func (*DeleteCustomerGatewayResponse) ToJsonString ¶
func (r *DeleteCustomerGatewayResponse) ToJsonString() string
type DeleteDirectConnectGatewayCcnRoutesRequest ¶
type DeleteDirectConnectGatewayCcnRoutesRequest struct { *tchttp.BaseRequest // 专线网关ID,形如:dcg-prpqlmg1 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 路由ID。形如:ccnr-f49l6u0z。 RouteIds []*string `json:"RouteIds,omitempty" name:"RouteIds" list` }
func NewDeleteDirectConnectGatewayCcnRoutesRequest ¶
func NewDeleteDirectConnectGatewayCcnRoutesRequest() (request *DeleteDirectConnectGatewayCcnRoutesRequest)
func (*DeleteDirectConnectGatewayCcnRoutesRequest) FromJsonString ¶
func (r *DeleteDirectConnectGatewayCcnRoutesRequest) FromJsonString(s string) error
func (*DeleteDirectConnectGatewayCcnRoutesRequest) ToJsonString ¶
func (r *DeleteDirectConnectGatewayCcnRoutesRequest) ToJsonString() string
type DeleteDirectConnectGatewayCcnRoutesResponse ¶
type DeleteDirectConnectGatewayCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDirectConnectGatewayCcnRoutesResponse ¶
func NewDeleteDirectConnectGatewayCcnRoutesResponse() (response *DeleteDirectConnectGatewayCcnRoutesResponse)
func (*DeleteDirectConnectGatewayCcnRoutesResponse) FromJsonString ¶
func (r *DeleteDirectConnectGatewayCcnRoutesResponse) FromJsonString(s string) error
func (*DeleteDirectConnectGatewayCcnRoutesResponse) ToJsonString ¶
func (r *DeleteDirectConnectGatewayCcnRoutesResponse) ToJsonString() string
type DeleteDirectConnectGatewayRequest ¶
type DeleteDirectConnectGatewayRequest struct { *tchttp.BaseRequest // 专线网关唯一`ID`,形如:`dcg-9o233uri`。 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` }
func NewDeleteDirectConnectGatewayRequest ¶
func NewDeleteDirectConnectGatewayRequest() (request *DeleteDirectConnectGatewayRequest)
func (*DeleteDirectConnectGatewayRequest) FromJsonString ¶
func (r *DeleteDirectConnectGatewayRequest) FromJsonString(s string) error
func (*DeleteDirectConnectGatewayRequest) ToJsonString ¶
func (r *DeleteDirectConnectGatewayRequest) ToJsonString() string
type DeleteDirectConnectGatewayResponse ¶
type DeleteDirectConnectGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDirectConnectGatewayResponse ¶
func NewDeleteDirectConnectGatewayResponse() (response *DeleteDirectConnectGatewayResponse)
func (*DeleteDirectConnectGatewayResponse) FromJsonString ¶
func (r *DeleteDirectConnectGatewayResponse) FromJsonString(s string) error
func (*DeleteDirectConnectGatewayResponse) ToJsonString ¶
func (r *DeleteDirectConnectGatewayResponse) ToJsonString() string
type DeleteFlowLogRequest ¶
type DeleteFlowLogRequest struct { *tchttp.BaseRequest // 私用网络ID或者统一ID,建议使用统一ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 流日志唯一ID FlowLogId *string `json:"FlowLogId,omitempty" name:"FlowLogId"` }
func NewDeleteFlowLogRequest ¶
func NewDeleteFlowLogRequest() (request *DeleteFlowLogRequest)
func (*DeleteFlowLogRequest) FromJsonString ¶
func (r *DeleteFlowLogRequest) FromJsonString(s string) error
func (*DeleteFlowLogRequest) ToJsonString ¶
func (r *DeleteFlowLogRequest) ToJsonString() string
type DeleteFlowLogResponse ¶
type DeleteFlowLogResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteFlowLogResponse ¶
func NewDeleteFlowLogResponse() (response *DeleteFlowLogResponse)
func (*DeleteFlowLogResponse) FromJsonString ¶
func (r *DeleteFlowLogResponse) FromJsonString(s string) error
func (*DeleteFlowLogResponse) ToJsonString ¶
func (r *DeleteFlowLogResponse) ToJsonString() string
type DeleteHaVipRequest ¶
type DeleteHaVipRequest struct { *tchttp.BaseRequest // `HAVIP`唯一`ID`,形如:`havip-9o233uri`。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` }
func NewDeleteHaVipRequest ¶
func NewDeleteHaVipRequest() (request *DeleteHaVipRequest)
func (*DeleteHaVipRequest) FromJsonString ¶
func (r *DeleteHaVipRequest) FromJsonString(s string) error
func (*DeleteHaVipRequest) ToJsonString ¶
func (r *DeleteHaVipRequest) ToJsonString() string
type DeleteHaVipResponse ¶
type DeleteHaVipResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteHaVipResponse ¶
func NewDeleteHaVipResponse() (response *DeleteHaVipResponse)
func (*DeleteHaVipResponse) FromJsonString ¶
func (r *DeleteHaVipResponse) FromJsonString(s string) error
func (*DeleteHaVipResponse) ToJsonString ¶
func (r *DeleteHaVipResponse) ToJsonString() string
type DeleteIp6TranslatorsRequest ¶
type DeleteIp6TranslatorsRequest struct { *tchttp.BaseRequest // 待释放的IPV6转换实例的唯一ID,形如‘ip6-xxxxxxxx’ Ip6TranslatorIds []*string `json:"Ip6TranslatorIds,omitempty" name:"Ip6TranslatorIds" list` }
func NewDeleteIp6TranslatorsRequest ¶
func NewDeleteIp6TranslatorsRequest() (request *DeleteIp6TranslatorsRequest)
func (*DeleteIp6TranslatorsRequest) FromJsonString ¶
func (r *DeleteIp6TranslatorsRequest) FromJsonString(s string) error
func (*DeleteIp6TranslatorsRequest) ToJsonString ¶
func (r *DeleteIp6TranslatorsRequest) ToJsonString() string
type DeleteIp6TranslatorsResponse ¶
type DeleteIp6TranslatorsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteIp6TranslatorsResponse ¶
func NewDeleteIp6TranslatorsResponse() (response *DeleteIp6TranslatorsResponse)
func (*DeleteIp6TranslatorsResponse) FromJsonString ¶
func (r *DeleteIp6TranslatorsResponse) FromJsonString(s string) error
func (*DeleteIp6TranslatorsResponse) ToJsonString ¶
func (r *DeleteIp6TranslatorsResponse) ToJsonString() string
type DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest ¶
type DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // NAT网关的端口转换规则。 DestinationIpPortTranslationNatRules []*DestinationIpPortTranslationNatRule `json:"DestinationIpPortTranslationNatRules,omitempty" name:"DestinationIpPortTranslationNatRules" list` }
func NewDeleteNatGatewayDestinationIpPortTranslationNatRuleRequest ¶
func NewDeleteNatGatewayDestinationIpPortTranslationNatRuleRequest() (request *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest)
func (*DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) FromJsonString ¶
func (r *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) FromJsonString(s string) error
func (*DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) ToJsonString ¶
func (r *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) ToJsonString() string
type DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse ¶
type DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteNatGatewayDestinationIpPortTranslationNatRuleResponse ¶
func NewDeleteNatGatewayDestinationIpPortTranslationNatRuleResponse() (response *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse)
func (*DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse) FromJsonString ¶
func (r *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse) FromJsonString(s string) error
func (*DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse) ToJsonString ¶
func (r *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse) ToJsonString() string
type DeleteNatGatewayRequest ¶
type DeleteNatGatewayRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` }
func NewDeleteNatGatewayRequest ¶
func NewDeleteNatGatewayRequest() (request *DeleteNatGatewayRequest)
func (*DeleteNatGatewayRequest) FromJsonString ¶
func (r *DeleteNatGatewayRequest) FromJsonString(s string) error
func (*DeleteNatGatewayRequest) ToJsonString ¶
func (r *DeleteNatGatewayRequest) ToJsonString() string
type DeleteNatGatewayResponse ¶
type DeleteNatGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteNatGatewayResponse ¶
func NewDeleteNatGatewayResponse() (response *DeleteNatGatewayResponse)
func (*DeleteNatGatewayResponse) FromJsonString ¶
func (r *DeleteNatGatewayResponse) FromJsonString(s string) error
func (*DeleteNatGatewayResponse) ToJsonString ¶
func (r *DeleteNatGatewayResponse) ToJsonString() string
type DeleteNetDetectRequest ¶
type DeleteNetDetectRequest struct { *tchttp.BaseRequest // 网络探测实例`ID`。形如:`netd-12345678` NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` }
func NewDeleteNetDetectRequest ¶
func NewDeleteNetDetectRequest() (request *DeleteNetDetectRequest)
func (*DeleteNetDetectRequest) FromJsonString ¶
func (r *DeleteNetDetectRequest) FromJsonString(s string) error
func (*DeleteNetDetectRequest) ToJsonString ¶
func (r *DeleteNetDetectRequest) ToJsonString() string
type DeleteNetDetectResponse ¶
type DeleteNetDetectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteNetDetectResponse ¶
func NewDeleteNetDetectResponse() (response *DeleteNetDetectResponse)
func (*DeleteNetDetectResponse) FromJsonString ¶
func (r *DeleteNetDetectResponse) FromJsonString(s string) error
func (*DeleteNetDetectResponse) ToJsonString ¶
func (r *DeleteNetDetectResponse) ToJsonString() string
type DeleteNetworkInterfaceRequest ¶
type DeleteNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` }
func NewDeleteNetworkInterfaceRequest ¶
func NewDeleteNetworkInterfaceRequest() (request *DeleteNetworkInterfaceRequest)
func (*DeleteNetworkInterfaceRequest) FromJsonString ¶
func (r *DeleteNetworkInterfaceRequest) FromJsonString(s string) error
func (*DeleteNetworkInterfaceRequest) ToJsonString ¶
func (r *DeleteNetworkInterfaceRequest) ToJsonString() string
type DeleteNetworkInterfaceResponse ¶
type DeleteNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteNetworkInterfaceResponse ¶
func NewDeleteNetworkInterfaceResponse() (response *DeleteNetworkInterfaceResponse)
func (*DeleteNetworkInterfaceResponse) FromJsonString ¶
func (r *DeleteNetworkInterfaceResponse) FromJsonString(s string) error
func (*DeleteNetworkInterfaceResponse) ToJsonString ¶
func (r *DeleteNetworkInterfaceResponse) ToJsonString() string
type DeleteRouteTableRequest ¶
type DeleteRouteTableRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` }
func NewDeleteRouteTableRequest ¶
func NewDeleteRouteTableRequest() (request *DeleteRouteTableRequest)
func (*DeleteRouteTableRequest) FromJsonString ¶
func (r *DeleteRouteTableRequest) FromJsonString(s string) error
func (*DeleteRouteTableRequest) ToJsonString ¶
func (r *DeleteRouteTableRequest) ToJsonString() string
type DeleteRouteTableResponse ¶
type DeleteRouteTableResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteRouteTableResponse ¶
func NewDeleteRouteTableResponse() (response *DeleteRouteTableResponse)
func (*DeleteRouteTableResponse) FromJsonString ¶
func (r *DeleteRouteTableResponse) FromJsonString(s string) error
func (*DeleteRouteTableResponse) ToJsonString ¶
func (r *DeleteRouteTableResponse) ToJsonString() string
type DeleteRoutesRequest ¶
type DeleteRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。 Routes []*Route `json:"Routes,omitempty" name:"Routes" list` }
func NewDeleteRoutesRequest ¶
func NewDeleteRoutesRequest() (request *DeleteRoutesRequest)
func (*DeleteRoutesRequest) FromJsonString ¶
func (r *DeleteRoutesRequest) FromJsonString(s string) error
func (*DeleteRoutesRequest) ToJsonString ¶
func (r *DeleteRoutesRequest) ToJsonString() string
type DeleteRoutesResponse ¶
type DeleteRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteRoutesResponse ¶
func NewDeleteRoutesResponse() (response *DeleteRoutesResponse)
func (*DeleteRoutesResponse) FromJsonString ¶
func (r *DeleteRoutesResponse) FromJsonString(s string) error
func (*DeleteRoutesResponse) ToJsonString ¶
func (r *DeleteRoutesResponse) ToJsonString() string
type DeleteSecurityGroupPoliciesRequest ¶
type DeleteSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewDeleteSecurityGroupPoliciesRequest ¶
func NewDeleteSecurityGroupPoliciesRequest() (request *DeleteSecurityGroupPoliciesRequest)
func (*DeleteSecurityGroupPoliciesRequest) FromJsonString ¶
func (r *DeleteSecurityGroupPoliciesRequest) FromJsonString(s string) error
func (*DeleteSecurityGroupPoliciesRequest) ToJsonString ¶
func (r *DeleteSecurityGroupPoliciesRequest) ToJsonString() string
type DeleteSecurityGroupPoliciesResponse ¶
type DeleteSecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteSecurityGroupPoliciesResponse ¶
func NewDeleteSecurityGroupPoliciesResponse() (response *DeleteSecurityGroupPoliciesResponse)
func (*DeleteSecurityGroupPoliciesResponse) FromJsonString ¶
func (r *DeleteSecurityGroupPoliciesResponse) FromJsonString(s string) error
func (*DeleteSecurityGroupPoliciesResponse) ToJsonString ¶
func (r *DeleteSecurityGroupPoliciesResponse) ToJsonString() string
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` }
func NewDeleteSecurityGroupRequest ¶
func NewDeleteSecurityGroupRequest() (request *DeleteSecurityGroupRequest)
func (*DeleteSecurityGroupRequest) FromJsonString ¶
func (r *DeleteSecurityGroupRequest) FromJsonString(s string) error
func (*DeleteSecurityGroupRequest) ToJsonString ¶
func (r *DeleteSecurityGroupRequest) ToJsonString() string
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteSecurityGroupResponse ¶
func NewDeleteSecurityGroupResponse() (response *DeleteSecurityGroupResponse)
func (*DeleteSecurityGroupResponse) FromJsonString ¶
func (r *DeleteSecurityGroupResponse) FromJsonString(s string) error
func (*DeleteSecurityGroupResponse) ToJsonString ¶
func (r *DeleteSecurityGroupResponse) ToJsonString() string
type DeleteServiceTemplateGroupRequest ¶
type DeleteServiceTemplateGroupRequest struct { *tchttp.BaseRequest // 协议端口模板集合实例ID,例如:ppmg-n17uxvve。 ServiceTemplateGroupId *string `json:"ServiceTemplateGroupId,omitempty" name:"ServiceTemplateGroupId"` }
func NewDeleteServiceTemplateGroupRequest ¶
func NewDeleteServiceTemplateGroupRequest() (request *DeleteServiceTemplateGroupRequest)
func (*DeleteServiceTemplateGroupRequest) FromJsonString ¶
func (r *DeleteServiceTemplateGroupRequest) FromJsonString(s string) error
func (*DeleteServiceTemplateGroupRequest) ToJsonString ¶
func (r *DeleteServiceTemplateGroupRequest) ToJsonString() string
type DeleteServiceTemplateGroupResponse ¶
type DeleteServiceTemplateGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteServiceTemplateGroupResponse ¶
func NewDeleteServiceTemplateGroupResponse() (response *DeleteServiceTemplateGroupResponse)
func (*DeleteServiceTemplateGroupResponse) FromJsonString ¶
func (r *DeleteServiceTemplateGroupResponse) FromJsonString(s string) error
func (*DeleteServiceTemplateGroupResponse) ToJsonString ¶
func (r *DeleteServiceTemplateGroupResponse) ToJsonString() string
type DeleteServiceTemplateRequest ¶
type DeleteServiceTemplateRequest struct { *tchttp.BaseRequest // 协议端口模板实例ID,例如:ppm-e6dy460g。 ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` }
func NewDeleteServiceTemplateRequest ¶
func NewDeleteServiceTemplateRequest() (request *DeleteServiceTemplateRequest)
func (*DeleteServiceTemplateRequest) FromJsonString ¶
func (r *DeleteServiceTemplateRequest) FromJsonString(s string) error
func (*DeleteServiceTemplateRequest) ToJsonString ¶
func (r *DeleteServiceTemplateRequest) ToJsonString() string
type DeleteServiceTemplateResponse ¶
type DeleteServiceTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteServiceTemplateResponse ¶
func NewDeleteServiceTemplateResponse() (response *DeleteServiceTemplateResponse)
func (*DeleteServiceTemplateResponse) FromJsonString ¶
func (r *DeleteServiceTemplateResponse) FromJsonString(s string) error
func (*DeleteServiceTemplateResponse) ToJsonString ¶
func (r *DeleteServiceTemplateResponse) ToJsonString() string
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { *tchttp.BaseRequest // 子网实例ID。可通过DescribeSubnets接口返回值中的SubnetId获取。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
func NewDeleteSubnetRequest ¶
func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)
func (*DeleteSubnetRequest) FromJsonString ¶
func (r *DeleteSubnetRequest) FromJsonString(s string) error
func (*DeleteSubnetRequest) ToJsonString ¶
func (r *DeleteSubnetRequest) ToJsonString() string
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteSubnetResponse ¶
func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)
func (*DeleteSubnetResponse) FromJsonString ¶
func (r *DeleteSubnetResponse) FromJsonString(s string) error
func (*DeleteSubnetResponse) ToJsonString ¶
func (r *DeleteSubnetResponse) ToJsonString() string
type DeleteVpcRequest ¶
type DeleteVpcRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` }
func NewDeleteVpcRequest ¶
func NewDeleteVpcRequest() (request *DeleteVpcRequest)
func (*DeleteVpcRequest) FromJsonString ¶
func (r *DeleteVpcRequest) FromJsonString(s string) error
func (*DeleteVpcRequest) ToJsonString ¶
func (r *DeleteVpcRequest) ToJsonString() string
type DeleteVpcResponse ¶
type DeleteVpcResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteVpcResponse ¶
func NewDeleteVpcResponse() (response *DeleteVpcResponse)
func (*DeleteVpcResponse) FromJsonString ¶
func (r *DeleteVpcResponse) FromJsonString(s string) error
func (*DeleteVpcResponse) ToJsonString ¶
func (r *DeleteVpcResponse) ToJsonString() string
type DeleteVpnConnectionRequest ¶
type DeleteVpnConnectionRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // VPN通道实例ID。形如:vpnx-f49l6u0z。 VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"` }
func NewDeleteVpnConnectionRequest ¶
func NewDeleteVpnConnectionRequest() (request *DeleteVpnConnectionRequest)
func (*DeleteVpnConnectionRequest) FromJsonString ¶
func (r *DeleteVpnConnectionRequest) FromJsonString(s string) error
func (*DeleteVpnConnectionRequest) ToJsonString ¶
func (r *DeleteVpnConnectionRequest) ToJsonString() string
type DeleteVpnConnectionResponse ¶
type DeleteVpnConnectionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteVpnConnectionResponse ¶
func NewDeleteVpnConnectionResponse() (response *DeleteVpnConnectionResponse)
func (*DeleteVpnConnectionResponse) FromJsonString ¶
func (r *DeleteVpnConnectionResponse) FromJsonString(s string) error
func (*DeleteVpnConnectionResponse) ToJsonString ¶
func (r *DeleteVpnConnectionResponse) ToJsonString() string
type DeleteVpnGatewayRequest ¶
type DeleteVpnGatewayRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` }
func NewDeleteVpnGatewayRequest ¶
func NewDeleteVpnGatewayRequest() (request *DeleteVpnGatewayRequest)
func (*DeleteVpnGatewayRequest) FromJsonString ¶
func (r *DeleteVpnGatewayRequest) FromJsonString(s string) error
func (*DeleteVpnGatewayRequest) ToJsonString ¶
func (r *DeleteVpnGatewayRequest) ToJsonString() string
type DeleteVpnGatewayResponse ¶
type DeleteVpnGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteVpnGatewayResponse ¶
func NewDeleteVpnGatewayResponse() (response *DeleteVpnGatewayResponse)
func (*DeleteVpnGatewayResponse) FromJsonString ¶
func (r *DeleteVpnGatewayResponse) FromJsonString(s string) error
func (*DeleteVpnGatewayResponse) ToJsonString ¶
func (r *DeleteVpnGatewayResponse) ToJsonString() string
type DescribeAccountAttributesRequest ¶
type DescribeAccountAttributesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAccountAttributesRequest ¶
func NewDescribeAccountAttributesRequest() (request *DescribeAccountAttributesRequest)
func (*DescribeAccountAttributesRequest) FromJsonString ¶
func (r *DescribeAccountAttributesRequest) FromJsonString(s string) error
func (*DescribeAccountAttributesRequest) ToJsonString ¶
func (r *DescribeAccountAttributesRequest) ToJsonString() string
type DescribeAccountAttributesResponse ¶
type DescribeAccountAttributesResponse struct { *tchttp.BaseResponse Response *struct { // 用户账号属性对象 AccountAttributeSet []*AccountAttribute `json:"AccountAttributeSet,omitempty" name:"AccountAttributeSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccountAttributesResponse ¶
func NewDescribeAccountAttributesResponse() (response *DescribeAccountAttributesResponse)
func (*DescribeAccountAttributesResponse) FromJsonString ¶
func (r *DescribeAccountAttributesResponse) FromJsonString(s string) error
func (*DescribeAccountAttributesResponse) ToJsonString ¶
func (r *DescribeAccountAttributesResponse) ToJsonString() string
type DescribeAddressQuotaRequest ¶
type DescribeAddressQuotaRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAddressQuotaRequest ¶
func NewDescribeAddressQuotaRequest() (request *DescribeAddressQuotaRequest)
func (*DescribeAddressQuotaRequest) FromJsonString ¶
func (r *DescribeAddressQuotaRequest) FromJsonString(s string) error
func (*DescribeAddressQuotaRequest) ToJsonString ¶
func (r *DescribeAddressQuotaRequest) ToJsonString() string
type DescribeAddressQuotaResponse ¶
type DescribeAddressQuotaResponse struct { *tchttp.BaseResponse Response *struct { // 账户 EIP 配额信息。 QuotaSet []*Quota `json:"QuotaSet,omitempty" name:"QuotaSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAddressQuotaResponse ¶
func NewDescribeAddressQuotaResponse() (response *DescribeAddressQuotaResponse)
func (*DescribeAddressQuotaResponse) FromJsonString ¶
func (r *DescribeAddressQuotaResponse) FromJsonString(s string) error
func (*DescribeAddressQuotaResponse) ToJsonString ¶
func (r *DescribeAddressQuotaResponse) ToJsonString() string
type DescribeAddressTemplateGroupsRequest ¶
type DescribeAddressTemplateGroupsRequest struct { *tchttp.BaseRequest // 过滤条件。 // <li>address-template-group-name - String - (过滤条件)IP地址模板集合名称。</li> // <li>address-template-group-id - String - (过滤条件)IP地址模板实集合例ID,例如:ipmg-mdunqeb6。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAddressTemplateGroupsRequest ¶
func NewDescribeAddressTemplateGroupsRequest() (request *DescribeAddressTemplateGroupsRequest)
func (*DescribeAddressTemplateGroupsRequest) FromJsonString ¶
func (r *DescribeAddressTemplateGroupsRequest) FromJsonString(s string) error
func (*DescribeAddressTemplateGroupsRequest) ToJsonString ¶
func (r *DescribeAddressTemplateGroupsRequest) ToJsonString() string
type DescribeAddressTemplateGroupsResponse ¶
type DescribeAddressTemplateGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // IP地址模板。 AddressTemplateGroupSet []*AddressTemplateGroup `json:"AddressTemplateGroupSet,omitempty" name:"AddressTemplateGroupSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAddressTemplateGroupsResponse ¶
func NewDescribeAddressTemplateGroupsResponse() (response *DescribeAddressTemplateGroupsResponse)
func (*DescribeAddressTemplateGroupsResponse) FromJsonString ¶
func (r *DescribeAddressTemplateGroupsResponse) FromJsonString(s string) error
func (*DescribeAddressTemplateGroupsResponse) ToJsonString ¶
func (r *DescribeAddressTemplateGroupsResponse) ToJsonString() string
type DescribeAddressTemplatesRequest ¶
type DescribeAddressTemplatesRequest struct { *tchttp.BaseRequest // 过滤条件。 // <li>address-template-name - String - (过滤条件)IP地址模板名称。</li> // <li>address-template-id - String - (过滤条件)IP地址模板实例ID,例如:ipm-mdunqeb6。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAddressTemplatesRequest ¶
func NewDescribeAddressTemplatesRequest() (request *DescribeAddressTemplatesRequest)
func (*DescribeAddressTemplatesRequest) FromJsonString ¶
func (r *DescribeAddressTemplatesRequest) FromJsonString(s string) error
func (*DescribeAddressTemplatesRequest) ToJsonString ¶
func (r *DescribeAddressTemplatesRequest) ToJsonString() string
type DescribeAddressTemplatesResponse ¶
type DescribeAddressTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // IP地址模版。 AddressTemplateSet []*AddressTemplate `json:"AddressTemplateSet,omitempty" name:"AddressTemplateSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAddressTemplatesResponse ¶
func NewDescribeAddressTemplatesResponse() (response *DescribeAddressTemplatesResponse)
func (*DescribeAddressTemplatesResponse) FromJsonString ¶
func (r *DescribeAddressTemplatesResponse) FromJsonString(s string) error
func (*DescribeAddressTemplatesResponse) ToJsonString ¶
func (r *DescribeAddressTemplatesResponse) ToJsonString() string
type DescribeAddressesRequest ¶
type DescribeAddressesRequest struct { *tchttp.BaseRequest // 标识 EIP 的唯一 ID 列表。EIP 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`AddressIds`和`Filters`。 AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds" list` // 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AddressIds`和`Filters`。详细的过滤条件如下: // <li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。</li> // <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。</li> // <li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。</li> // <li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI'。</li> // <li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。</li> // <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li> // <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li> // <li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAddressesRequest ¶
func NewDescribeAddressesRequest() (request *DescribeAddressesRequest)
func (*DescribeAddressesRequest) FromJsonString ¶
func (r *DescribeAddressesRequest) FromJsonString(s string) error
func (*DescribeAddressesRequest) ToJsonString ¶
func (r *DescribeAddressesRequest) ToJsonString() string
type DescribeAddressesResponse ¶
type DescribeAddressesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的 EIP 数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // EIP 详细信息列表。 AddressSet []*Address `json:"AddressSet,omitempty" name:"AddressSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAddressesResponse ¶
func NewDescribeAddressesResponse() (response *DescribeAddressesResponse)
func (*DescribeAddressesResponse) FromJsonString ¶
func (r *DescribeAddressesResponse) FromJsonString(s string) error
func (*DescribeAddressesResponse) ToJsonString ¶
func (r *DescribeAddressesResponse) ToJsonString() string
type DescribeBandwidthPackageQuotaRequest ¶
type DescribeBandwidthPackageQuotaRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBandwidthPackageQuotaRequest ¶
func NewDescribeBandwidthPackageQuotaRequest() (request *DescribeBandwidthPackageQuotaRequest)
func (*DescribeBandwidthPackageQuotaRequest) FromJsonString ¶
func (r *DescribeBandwidthPackageQuotaRequest) FromJsonString(s string) error
func (*DescribeBandwidthPackageQuotaRequest) ToJsonString ¶
func (r *DescribeBandwidthPackageQuotaRequest) ToJsonString() string
type DescribeBandwidthPackageQuotaResponse ¶
type DescribeBandwidthPackageQuotaResponse struct { *tchttp.BaseResponse Response *struct { // 带宽包配额数据结构 QuotaSet []*Quota `json:"QuotaSet,omitempty" name:"QuotaSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBandwidthPackageQuotaResponse ¶
func NewDescribeBandwidthPackageQuotaResponse() (response *DescribeBandwidthPackageQuotaResponse)
func (*DescribeBandwidthPackageQuotaResponse) FromJsonString ¶
func (r *DescribeBandwidthPackageQuotaResponse) FromJsonString(s string) error
func (*DescribeBandwidthPackageQuotaResponse) ToJsonString ¶
func (r *DescribeBandwidthPackageQuotaResponse) ToJsonString() string
type DescribeBandwidthPackagesRequest ¶
type DescribeBandwidthPackagesRequest struct { *tchttp.BaseRequest // 带宽包Id,支持批量 BandwidthPackageIds []*string `json:"BandwidthPackageIds,omitempty" name:"BandwidthPackageIds" list` // 每次请求的`Filters`的上限为10。参数不支持同时指定`BandwidthPackageIds`和`Filters`。详细的过滤条件如下: // <li> bandwidth-package_id - String - 是否必填:否 - (过滤条件)按照带宽包的唯一标识ID过滤。</li> // <li> bandwidth-package-name - String - 是否必填:否 - (过滤条件)按照 带宽包名称过滤。不支持模糊过滤。</li> // <li> network-type - String - 是否必填:否 - (过滤条件)按照带宽包的类型过滤。类型包括'BGP','SINGLEISP'和'ANYCAST'。</li> // <li> charge-type - String - 是否必填:否 - (过滤条件)按照带宽包的计费类型过滤。计费类型包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH'</li> // <li> resource.resource-type - String - 是否必填:否 - (过滤条件)按照带宽包资源类型过滤。资源类型包括'Address'和'LoadBalance'</li> // <li> resource.resource-id - String - 是否必填:否 - (过滤条件)按照带宽包资源Id过滤。资源Id形如'eip-xxxx','lb-xxxx'</li> // <li> resource.address-ip - String - 是否必填:否 - (过滤条件)按照带宽包资源Ip过滤。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 查询带宽包偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 查询带宽包数量限制 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeBandwidthPackagesRequest ¶
func NewDescribeBandwidthPackagesRequest() (request *DescribeBandwidthPackagesRequest)
func (*DescribeBandwidthPackagesRequest) FromJsonString ¶
func (r *DescribeBandwidthPackagesRequest) FromJsonString(s string) error
func (*DescribeBandwidthPackagesRequest) ToJsonString ¶
func (r *DescribeBandwidthPackagesRequest) ToJsonString() string
type DescribeBandwidthPackagesResponse ¶
type DescribeBandwidthPackagesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的带宽包数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 描述带宽包详细信息 BandwidthPackageSet []*BandwidthPackage `json:"BandwidthPackageSet,omitempty" name:"BandwidthPackageSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBandwidthPackagesResponse ¶
func NewDescribeBandwidthPackagesResponse() (response *DescribeBandwidthPackagesResponse)
func (*DescribeBandwidthPackagesResponse) FromJsonString ¶
func (r *DescribeBandwidthPackagesResponse) FromJsonString(s string) error
func (*DescribeBandwidthPackagesResponse) ToJsonString ¶
func (r *DescribeBandwidthPackagesResponse) ToJsonString() string
type DescribeCcnAttachedInstancesRequest ¶
type DescribeCcnAttachedInstancesRequest struct { *tchttp.BaseRequest // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 过滤条件: // <li>ccn-id - String -(过滤条件)CCN实例ID。</li> // <li>instance-type - String -(过滤条件)关联实例类型。</li> // <li>instance-region - String -(过滤条件)关联实例所属地域。</li> // <li>instance-id - String -(过滤条件)关联实例实例ID。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 云联网实例ID CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 排序字段。支持:`CcnId` `InstanceType` `InstanceId` `InstanceName` `InstanceRegion` `AttachedTime` `State`。 OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 排序方法。顺序:`ASC`,倒序:`DESC`。 OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeCcnAttachedInstancesRequest ¶
func NewDescribeCcnAttachedInstancesRequest() (request *DescribeCcnAttachedInstancesRequest)
func (*DescribeCcnAttachedInstancesRequest) FromJsonString ¶
func (r *DescribeCcnAttachedInstancesRequest) FromJsonString(s string) error
func (*DescribeCcnAttachedInstancesRequest) ToJsonString ¶
func (r *DescribeCcnAttachedInstancesRequest) ToJsonString() string
type DescribeCcnAttachedInstancesResponse ¶
type DescribeCcnAttachedInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 关联实例列表。 InstanceSet []*CcnAttachedInstance `json:"InstanceSet,omitempty" name:"InstanceSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCcnAttachedInstancesResponse ¶
func NewDescribeCcnAttachedInstancesResponse() (response *DescribeCcnAttachedInstancesResponse)
func (*DescribeCcnAttachedInstancesResponse) FromJsonString ¶
func (r *DescribeCcnAttachedInstancesResponse) FromJsonString(s string) error
func (*DescribeCcnAttachedInstancesResponse) ToJsonString ¶
func (r *DescribeCcnAttachedInstancesResponse) ToJsonString() string
type DescribeCcnRegionBandwidthLimitsRequest ¶
type DescribeCcnRegionBandwidthLimitsRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` }
func NewDescribeCcnRegionBandwidthLimitsRequest ¶
func NewDescribeCcnRegionBandwidthLimitsRequest() (request *DescribeCcnRegionBandwidthLimitsRequest)
func (*DescribeCcnRegionBandwidthLimitsRequest) FromJsonString ¶
func (r *DescribeCcnRegionBandwidthLimitsRequest) FromJsonString(s string) error
func (*DescribeCcnRegionBandwidthLimitsRequest) ToJsonString ¶
func (r *DescribeCcnRegionBandwidthLimitsRequest) ToJsonString() string
type DescribeCcnRegionBandwidthLimitsResponse ¶
type DescribeCcnRegionBandwidthLimitsResponse struct { *tchttp.BaseResponse Response *struct { // 云联网(CCN)各地域出带宽上限 CcnRegionBandwidthLimitSet []*CcnRegionBandwidthLimit `json:"CcnRegionBandwidthLimitSet,omitempty" name:"CcnRegionBandwidthLimitSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCcnRegionBandwidthLimitsResponse ¶
func NewDescribeCcnRegionBandwidthLimitsResponse() (response *DescribeCcnRegionBandwidthLimitsResponse)
func (*DescribeCcnRegionBandwidthLimitsResponse) FromJsonString ¶
func (r *DescribeCcnRegionBandwidthLimitsResponse) FromJsonString(s string) error
func (*DescribeCcnRegionBandwidthLimitsResponse) ToJsonString ¶
func (r *DescribeCcnRegionBandwidthLimitsResponse) ToJsonString() string
type DescribeCcnRoutesRequest ¶
type DescribeCcnRoutesRequest struct { *tchttp.BaseRequest // CCN实例ID,形如:ccn-gree226l。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN路由策略唯一ID。形如:ccnr-f49l6u0z。 RouteIds []*string `json:"RouteIds,omitempty" name:"RouteIds" list` // 过滤条件,参数不支持同时指定RouteIds和Filters。 // <li>route-id - String -(过滤条件)路由策略ID。</li> // <li>cidr-block - String -(过滤条件)目的端。</li> // <li>instance-type - String -(过滤条件)下一跳类型。</li> // <li>instance-region - String -(过滤条件)下一跳所属地域。</li> // <li>instance-id - String -(过滤条件)下一跳实例ID。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeCcnRoutesRequest ¶
func NewDescribeCcnRoutesRequest() (request *DescribeCcnRoutesRequest)
func (*DescribeCcnRoutesRequest) FromJsonString ¶
func (r *DescribeCcnRoutesRequest) FromJsonString(s string) error
func (*DescribeCcnRoutesRequest) ToJsonString ¶
func (r *DescribeCcnRoutesRequest) ToJsonString() string
type DescribeCcnRoutesResponse ¶
type DescribeCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // CCN路由策略对象。 RouteSet []*CcnRoute `json:"RouteSet,omitempty" name:"RouteSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCcnRoutesResponse ¶
func NewDescribeCcnRoutesResponse() (response *DescribeCcnRoutesResponse)
func (*DescribeCcnRoutesResponse) FromJsonString ¶
func (r *DescribeCcnRoutesResponse) FromJsonString(s string) error
func (*DescribeCcnRoutesResponse) ToJsonString ¶
func (r *DescribeCcnRoutesResponse) ToJsonString() string
type DescribeCcnsRequest ¶
type DescribeCcnsRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定CcnIds和Filters。 CcnIds []*string `json:"CcnIds,omitempty" name:"CcnIds" list` // 过滤条件,参数不支持同时指定CcnIds和Filters。 // <li>ccn-id - String - (过滤条件)CCN唯一ID,形如:vpc-f49l6u0z。</li> // <li>ccn-name - String - (过滤条件)CCN名称。</li> // <li>ccn-description - String - (过滤条件)CCN描述。</li> // <li>state - String - (过滤条件)实例状态, 'ISOLATED': 隔离中(欠费停服),'AVAILABLE':运行中。</li> // <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。</li> // <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例:查询绑定了标签的CCN列表。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 排序字段。支持:`CcnId` `CcnName` `CreateTime` `State` `QosLevel` OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 排序方法。顺序:`ASC`,倒序:`DESC`。 OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeCcnsRequest ¶
func NewDescribeCcnsRequest() (request *DescribeCcnsRequest)
func (*DescribeCcnsRequest) FromJsonString ¶
func (r *DescribeCcnsRequest) FromJsonString(s string) error
func (*DescribeCcnsRequest) ToJsonString ¶
func (r *DescribeCcnsRequest) ToJsonString() string
type DescribeCcnsResponse ¶
type DescribeCcnsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // CCN对象。 CcnSet []*CCN `json:"CcnSet,omitempty" name:"CcnSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCcnsResponse ¶
func NewDescribeCcnsResponse() (response *DescribeCcnsResponse)
func (*DescribeCcnsResponse) FromJsonString ¶
func (r *DescribeCcnsResponse) FromJsonString(s string) error
func (*DescribeCcnsResponse) ToJsonString ¶
func (r *DescribeCcnsResponse) ToJsonString() string
type DescribeClassicLinkInstancesRequest ¶
type DescribeClassicLinkInstancesRequest struct { *tchttp.BaseRequest // 过滤条件。 // <li>vpc-id - String - (过滤条件)VPC实例ID。</li> // <li>vm-ip - String - (过滤条件)基础网络云主机IP。</li> Filters []*FilterObject `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeClassicLinkInstancesRequest ¶
func NewDescribeClassicLinkInstancesRequest() (request *DescribeClassicLinkInstancesRequest)
func (*DescribeClassicLinkInstancesRequest) FromJsonString ¶
func (r *DescribeClassicLinkInstancesRequest) FromJsonString(s string) error
func (*DescribeClassicLinkInstancesRequest) ToJsonString ¶
func (r *DescribeClassicLinkInstancesRequest) ToJsonString() string
type DescribeClassicLinkInstancesResponse ¶
type DescribeClassicLinkInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 私有网络和基础网络互通设备。 ClassicLinkInstanceSet []*ClassicLinkInstance `json:"ClassicLinkInstanceSet,omitempty" name:"ClassicLinkInstanceSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeClassicLinkInstancesResponse ¶
func NewDescribeClassicLinkInstancesResponse() (response *DescribeClassicLinkInstancesResponse)
func (*DescribeClassicLinkInstancesResponse) FromJsonString ¶
func (r *DescribeClassicLinkInstancesResponse) FromJsonString(s string) error
func (*DescribeClassicLinkInstancesResponse) ToJsonString ¶
func (r *DescribeClassicLinkInstancesResponse) ToJsonString() string
type DescribeCustomerGatewayVendorsRequest ¶
type DescribeCustomerGatewayVendorsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCustomerGatewayVendorsRequest ¶
func NewDescribeCustomerGatewayVendorsRequest() (request *DescribeCustomerGatewayVendorsRequest)
func (*DescribeCustomerGatewayVendorsRequest) FromJsonString ¶
func (r *DescribeCustomerGatewayVendorsRequest) FromJsonString(s string) error
func (*DescribeCustomerGatewayVendorsRequest) ToJsonString ¶
func (r *DescribeCustomerGatewayVendorsRequest) ToJsonString() string
type DescribeCustomerGatewayVendorsResponse ¶
type DescribeCustomerGatewayVendorsResponse struct { *tchttp.BaseResponse Response *struct { // 对端网关厂商信息对象。 CustomerGatewayVendorSet []*CustomerGatewayVendor `json:"CustomerGatewayVendorSet,omitempty" name:"CustomerGatewayVendorSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCustomerGatewayVendorsResponse ¶
func NewDescribeCustomerGatewayVendorsResponse() (response *DescribeCustomerGatewayVendorsResponse)
func (*DescribeCustomerGatewayVendorsResponse) FromJsonString ¶
func (r *DescribeCustomerGatewayVendorsResponse) FromJsonString(s string) error
func (*DescribeCustomerGatewayVendorsResponse) ToJsonString ¶
func (r *DescribeCustomerGatewayVendorsResponse) ToJsonString() string
type DescribeCustomerGatewaysRequest ¶
type DescribeCustomerGatewaysRequest struct { *tchttp.BaseRequest // 对端网关ID,例如:cgw-2wqq41m9。每次请求的实例的上限为100。参数不支持同时指定CustomerGatewayIds和Filters。 CustomerGatewayIds []*string `json:"CustomerGatewayIds,omitempty" name:"CustomerGatewayIds" list` // 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定CustomerGatewayIds和Filters。 // <li>customer-gateway-id - String - (过滤条件)用户网关唯一ID形如:`cgw-mgp33pll`。</li> // <li>customer-gateway-name - String - (过滤条件)用户网关名称形如:`test-cgw`。</li> // <li>ip-address - String - (过滤条件)公网地址形如:`58.211.1.12`。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeCustomerGatewaysRequest ¶
func NewDescribeCustomerGatewaysRequest() (request *DescribeCustomerGatewaysRequest)
func (*DescribeCustomerGatewaysRequest) FromJsonString ¶
func (r *DescribeCustomerGatewaysRequest) FromJsonString(s string) error
func (*DescribeCustomerGatewaysRequest) ToJsonString ¶
func (r *DescribeCustomerGatewaysRequest) ToJsonString() string
type DescribeCustomerGatewaysResponse ¶
type DescribeCustomerGatewaysResponse struct { *tchttp.BaseResponse Response *struct { // 对端网关对象列表 CustomerGatewaySet []*CustomerGateway `json:"CustomerGatewaySet,omitempty" name:"CustomerGatewaySet" list` // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCustomerGatewaysResponse ¶
func NewDescribeCustomerGatewaysResponse() (response *DescribeCustomerGatewaysResponse)
func (*DescribeCustomerGatewaysResponse) FromJsonString ¶
func (r *DescribeCustomerGatewaysResponse) FromJsonString(s string) error
func (*DescribeCustomerGatewaysResponse) ToJsonString ¶
func (r *DescribeCustomerGatewaysResponse) ToJsonString() string
type DescribeDirectConnectGatewayCcnRoutesRequest ¶
type DescribeDirectConnectGatewayCcnRoutesRequest struct { *tchttp.BaseRequest // 专线网关ID,形如:`dcg-prpqlmg1`。 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 云联网路由学习类型,可选值: // <li>`BGP` - 自动学习。</li> // <li>`STATIC` - 静态,即用户配置,默认值。</li> CcnRouteType *string `json:"CcnRouteType,omitempty" name:"CcnRouteType"` // 偏移量。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDirectConnectGatewayCcnRoutesRequest ¶
func NewDescribeDirectConnectGatewayCcnRoutesRequest() (request *DescribeDirectConnectGatewayCcnRoutesRequest)
func (*DescribeDirectConnectGatewayCcnRoutesRequest) FromJsonString ¶
func (r *DescribeDirectConnectGatewayCcnRoutesRequest) FromJsonString(s string) error
func (*DescribeDirectConnectGatewayCcnRoutesRequest) ToJsonString ¶
func (r *DescribeDirectConnectGatewayCcnRoutesRequest) ToJsonString() string
type DescribeDirectConnectGatewayCcnRoutesResponse ¶
type DescribeDirectConnectGatewayCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 云联网路由(IDC网段)列表。 RouteSet []*DirectConnectGatewayCcnRoute `json:"RouteSet,omitempty" name:"RouteSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDirectConnectGatewayCcnRoutesResponse ¶
func NewDescribeDirectConnectGatewayCcnRoutesResponse() (response *DescribeDirectConnectGatewayCcnRoutesResponse)
func (*DescribeDirectConnectGatewayCcnRoutesResponse) FromJsonString ¶
func (r *DescribeDirectConnectGatewayCcnRoutesResponse) FromJsonString(s string) error
func (*DescribeDirectConnectGatewayCcnRoutesResponse) ToJsonString ¶
func (r *DescribeDirectConnectGatewayCcnRoutesResponse) ToJsonString() string
type DescribeDirectConnectGatewaysRequest ¶
type DescribeDirectConnectGatewaysRequest struct { *tchttp.BaseRequest // 专线网关唯一`ID`,形如:`dcg-9o233uri`。 DirectConnectGatewayIds []*string `json:"DirectConnectGatewayIds,omitempty" name:"DirectConnectGatewayIds" list` // 过滤条件,参数不支持同时指定`DirectConnectGatewayIds`和`Filters`。 // <li>direct-connect-gateway-id - String - 专线网关唯一`ID`,形如:`dcg-9o233uri`。</li> // <li>direct-connect-gateway-name - String - 专线网关名称,默认模糊查询。</li> // <li>direct-connect-gateway-ip - String - 专线网关`IP`。</li> // <li>gateway-type - String - 网关类型,可选值:`NORMAL`(普通型)、`NAT`(NAT型)。</li> // <li>network-type- String - 网络类型,可选值:`VPC`(私有网络类型)、`CCN`(云联网类型)。</li> // <li>ccn-id - String - 专线网关所在云联网`ID`。</li> // <li>vpc-id - String - 专线网关所在私有网络`ID`。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDirectConnectGatewaysRequest ¶
func NewDescribeDirectConnectGatewaysRequest() (request *DescribeDirectConnectGatewaysRequest)
func (*DescribeDirectConnectGatewaysRequest) FromJsonString ¶
func (r *DescribeDirectConnectGatewaysRequest) FromJsonString(s string) error
func (*DescribeDirectConnectGatewaysRequest) ToJsonString ¶
func (r *DescribeDirectConnectGatewaysRequest) ToJsonString() string
type DescribeDirectConnectGatewaysResponse ¶
type DescribeDirectConnectGatewaysResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 专线网关对象数组。 DirectConnectGatewaySet []*DirectConnectGateway `json:"DirectConnectGatewaySet,omitempty" name:"DirectConnectGatewaySet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDirectConnectGatewaysResponse ¶
func NewDescribeDirectConnectGatewaysResponse() (response *DescribeDirectConnectGatewaysResponse)
func (*DescribeDirectConnectGatewaysResponse) FromJsonString ¶
func (r *DescribeDirectConnectGatewaysResponse) FromJsonString(s string) error
func (*DescribeDirectConnectGatewaysResponse) ToJsonString ¶
func (r *DescribeDirectConnectGatewaysResponse) ToJsonString() string
type DescribeFlowLogRequest ¶
type DescribeFlowLogRequest struct { *tchttp.BaseRequest // 私用网络ID或者统一ID,建议使用统一ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 流日志唯一ID FlowLogId *string `json:"FlowLogId,omitempty" name:"FlowLogId"` }
func NewDescribeFlowLogRequest ¶
func NewDescribeFlowLogRequest() (request *DescribeFlowLogRequest)
func (*DescribeFlowLogRequest) FromJsonString ¶
func (r *DescribeFlowLogRequest) FromJsonString(s string) error
func (*DescribeFlowLogRequest) ToJsonString ¶
func (r *DescribeFlowLogRequest) ToJsonString() string
type DescribeFlowLogResponse ¶
type DescribeFlowLogResponse struct { *tchttp.BaseResponse Response *struct { // 流日志信息 FlowLog []*FlowLog `json:"FlowLog,omitempty" name:"FlowLog" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFlowLogResponse ¶
func NewDescribeFlowLogResponse() (response *DescribeFlowLogResponse)
func (*DescribeFlowLogResponse) FromJsonString ¶
func (r *DescribeFlowLogResponse) FromJsonString(s string) error
func (*DescribeFlowLogResponse) ToJsonString ¶
func (r *DescribeFlowLogResponse) ToJsonString() string
type DescribeFlowLogsRequest ¶
type DescribeFlowLogsRequest struct { *tchttp.BaseRequest // 私用网络ID或者统一ID,建议使用统一ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 流日志唯一ID FlowLogId *string `json:"FlowLogId,omitempty" name:"FlowLogId"` // 流日志实例名字 FlowLogName *string `json:"FlowLogName,omitempty" name:"FlowLogName"` // 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // 资源唯一ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 流日志采集类型,ACCEPT|REJECT|ALL TrafficType *string `json:"TrafficType,omitempty" name:"TrafficType"` // 流日志存储ID CloudLogId *string `json:"CloudLogId,omitempty" name:"CloudLogId"` // 流日志存储ID状态 CloudLogState *string `json:"CloudLogState,omitempty" name:"CloudLogState"` // 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 升序(asc)还是降序(desc),默认:desc OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 每页行数,默认为10 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeFlowLogsRequest ¶
func NewDescribeFlowLogsRequest() (request *DescribeFlowLogsRequest)
func (*DescribeFlowLogsRequest) FromJsonString ¶
func (r *DescribeFlowLogsRequest) FromJsonString(s string) error
func (*DescribeFlowLogsRequest) ToJsonString ¶
func (r *DescribeFlowLogsRequest) ToJsonString() string
type DescribeFlowLogsResponse ¶
type DescribeFlowLogsResponse struct { *tchttp.BaseResponse Response *struct { // 流日志实例集合 FlowLog []*FlowLog `json:"FlowLog,omitempty" name:"FlowLog" list` // 流日志总数目 TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFlowLogsResponse ¶
func NewDescribeFlowLogsResponse() (response *DescribeFlowLogsResponse)
func (*DescribeFlowLogsResponse) FromJsonString ¶
func (r *DescribeFlowLogsResponse) FromJsonString(s string) error
func (*DescribeFlowLogsResponse) ToJsonString ¶
func (r *DescribeFlowLogsResponse) ToJsonString() string
type DescribeGatewayFlowMonitorDetailRequest ¶
type DescribeGatewayFlowMonitorDetailRequest struct { *tchttp.BaseRequest // 时间点。表示要查询这分钟内的明细。如:`2019-02-28 18:15:20`,将查询 `18:15` 这一分钟内的明细。 TimePoint *string `json:"TimePoint,omitempty" name:"TimePoint"` // VPN网关实例ID,形如:`vpn-ltjahce6`。 VpnId *string `json:"VpnId,omitempty" name:"VpnId"` // 专线网关实例ID,形如:`dcg-ltjahce6`。 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 对等连接实例ID,形如:`pcx-ltjahce6`。 PeeringConnectionId *string `json:"PeeringConnectionId,omitempty" name:"PeeringConnectionId"` // NAT网关实例ID,形如:`nat-ltjahce6`。 NatId *string `json:"NatId,omitempty" name:"NatId"` // 偏移量。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`。 OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // 排序方法。顺序:`ASC`,倒序:`DESC`。 OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeGatewayFlowMonitorDetailRequest ¶
func NewDescribeGatewayFlowMonitorDetailRequest() (request *DescribeGatewayFlowMonitorDetailRequest)
func (*DescribeGatewayFlowMonitorDetailRequest) FromJsonString ¶
func (r *DescribeGatewayFlowMonitorDetailRequest) FromJsonString(s string) error
func (*DescribeGatewayFlowMonitorDetailRequest) ToJsonString ¶
func (r *DescribeGatewayFlowMonitorDetailRequest) ToJsonString() string
type DescribeGatewayFlowMonitorDetailResponse ¶
type DescribeGatewayFlowMonitorDetailResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 网关流量监控明细。 GatewayFlowMonitorDetailSet []*GatewayFlowMonitorDetail `json:"GatewayFlowMonitorDetailSet,omitempty" name:"GatewayFlowMonitorDetailSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeGatewayFlowMonitorDetailResponse ¶
func NewDescribeGatewayFlowMonitorDetailResponse() (response *DescribeGatewayFlowMonitorDetailResponse)
func (*DescribeGatewayFlowMonitorDetailResponse) FromJsonString ¶
func (r *DescribeGatewayFlowMonitorDetailResponse) FromJsonString(s string) error
func (*DescribeGatewayFlowMonitorDetailResponse) ToJsonString ¶
func (r *DescribeGatewayFlowMonitorDetailResponse) ToJsonString() string
type DescribeHaVipsRequest ¶
type DescribeHaVipsRequest struct { *tchttp.BaseRequest // `HAVIP`唯一`ID`,形如:`havip-9o233uri`。 HaVipIds []*string `json:"HaVipIds,omitempty" name:"HaVipIds" list` // 过滤条件,参数不支持同时指定`HaVipIds`和`Filters`。 // <li>havip-id - String - `HAVIP`唯一`ID`,形如:`havip-9o233uri`。</li> // <li>havip-name - String - `HAVIP`名称。</li> // <li>vpc-id - String - `HAVIP`所在私有网络`ID`。</li> // <li>subnet-id - String - `HAVIP`所在子网`ID`。</li> // <li>address-ip - String - `HAVIP`绑定的弹性公网`IP`。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeHaVipsRequest ¶
func NewDescribeHaVipsRequest() (request *DescribeHaVipsRequest)
func (*DescribeHaVipsRequest) FromJsonString ¶
func (r *DescribeHaVipsRequest) FromJsonString(s string) error
func (*DescribeHaVipsRequest) ToJsonString ¶
func (r *DescribeHaVipsRequest) ToJsonString() string
type DescribeHaVipsResponse ¶
type DescribeHaVipsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // `HAVIP`对象数组。 HaVipSet []*HaVip `json:"HaVipSet,omitempty" name:"HaVipSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeHaVipsResponse ¶
func NewDescribeHaVipsResponse() (response *DescribeHaVipsResponse)
func (*DescribeHaVipsResponse) FromJsonString ¶
func (r *DescribeHaVipsResponse) FromJsonString(s string) error
func (*DescribeHaVipsResponse) ToJsonString ¶
func (r *DescribeHaVipsResponse) ToJsonString() string
type DescribeIp6TranslatorQuotaRequest ¶
type DescribeIp6TranslatorQuotaRequest struct { *tchttp.BaseRequest // 待查询IPV6转换实例的唯一ID列表,形如ip6-xxxxxxxx Ip6TranslatorIds []*string `json:"Ip6TranslatorIds,omitempty" name:"Ip6TranslatorIds" list` }
func NewDescribeIp6TranslatorQuotaRequest ¶
func NewDescribeIp6TranslatorQuotaRequest() (request *DescribeIp6TranslatorQuotaRequest)
func (*DescribeIp6TranslatorQuotaRequest) FromJsonString ¶
func (r *DescribeIp6TranslatorQuotaRequest) FromJsonString(s string) error
func (*DescribeIp6TranslatorQuotaRequest) ToJsonString ¶
func (r *DescribeIp6TranslatorQuotaRequest) ToJsonString() string
type DescribeIp6TranslatorQuotaResponse ¶
type DescribeIp6TranslatorQuotaResponse struct { *tchttp.BaseResponse Response *struct { // 账户在指定地域的IPV6转换实例及规则配额信息 // QUOTAID属性是TOTAL_TRANSLATOR_QUOTA,表示账户在指定地域的IPV6转换实例配额信息;QUOTAID属性是IPV6转转换实例唯一ID(形如ip6-xxxxxxxx),表示账户在该转换实例允许创建的转换规则配额 QuotaSet []*Quota `json:"QuotaSet,omitempty" name:"QuotaSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeIp6TranslatorQuotaResponse ¶
func NewDescribeIp6TranslatorQuotaResponse() (response *DescribeIp6TranslatorQuotaResponse)
func (*DescribeIp6TranslatorQuotaResponse) FromJsonString ¶
func (r *DescribeIp6TranslatorQuotaResponse) FromJsonString(s string) error
func (*DescribeIp6TranslatorQuotaResponse) ToJsonString ¶
func (r *DescribeIp6TranslatorQuotaResponse) ToJsonString() string
type DescribeIp6TranslatorsRequest ¶
type DescribeIp6TranslatorsRequest struct { *tchttp.BaseRequest // IPV6转换实例唯一ID数组,形如ip6-xxxxxxxx Ip6TranslatorIds []*string `json:"Ip6TranslatorIds,omitempty" name:"Ip6TranslatorIds" list` // 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`Ip6TranslatorIds`和`Filters`。详细的过滤条件如下: // <li> ip6-translator-id - String - 是否必填:否 - (过滤条件)按照IPV6转换实例的唯一ID过滤,形如ip6-xxxxxxx。</li> // <li> ip6-translator-vip6 - String - 是否必填:否 - (过滤条件)按照IPV6地址过滤。不支持模糊过滤。</li> // <li> ip6-translator-name - String - 是否必填:否 - (过滤条件)按照IPV6转换实例名称过滤。不支持模糊过滤。</li> // <li> ip6-translator-status - String - 是否必填:否 - (过滤条件)按照IPV6转换实例的状态过滤。状态取值范围为"CREATING","RUNNING","DELETING","MODIFYING" Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeIp6TranslatorsRequest ¶
func NewDescribeIp6TranslatorsRequest() (request *DescribeIp6TranslatorsRequest)
func (*DescribeIp6TranslatorsRequest) FromJsonString ¶
func (r *DescribeIp6TranslatorsRequest) FromJsonString(s string) error
func (*DescribeIp6TranslatorsRequest) ToJsonString ¶
func (r *DescribeIp6TranslatorsRequest) ToJsonString() string
type DescribeIp6TranslatorsResponse ¶
type DescribeIp6TranslatorsResponse struct { *tchttp.BaseResponse Response *struct { // 符合过滤条件的IPV6转换实例数量。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 符合过滤条件的IPV6转换实例详细信息 Ip6TranslatorSet []*Ip6Translator `json:"Ip6TranslatorSet,omitempty" name:"Ip6TranslatorSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeIp6TranslatorsResponse ¶
func NewDescribeIp6TranslatorsResponse() (response *DescribeIp6TranslatorsResponse)
func (*DescribeIp6TranslatorsResponse) FromJsonString ¶
func (r *DescribeIp6TranslatorsResponse) FromJsonString(s string) error
func (*DescribeIp6TranslatorsResponse) ToJsonString ¶
func (r *DescribeIp6TranslatorsResponse) ToJsonString() string
type DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest ¶
type DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest struct { *tchttp.BaseRequest // NAT网关ID。 NatGatewayIds []*string `json:"NatGatewayIds,omitempty" name:"NatGatewayIds" list` // 过滤条件: // 参数不支持同时指定NatGatewayIds和Filters。 // <li> nat-gateway-id,NAT网关的ID,如`nat-0yi4hekt`</li> // <li> vpc-id,私有网络VPC的ID,如`vpc-0yi4hekt`</li> // <li> public-ip-address, 弹性IP,如`139.199.232.238`。</li> // <li>public-port, 公网端口。</li> // <li>private-ip-address, 内网IP,如`10.0.0.1`。</li> // <li>private-port, 内网端口。</li> // <li>description,规则描述。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNatGatewayDestinationIpPortTranslationNatRulesRequest ¶
func NewDescribeNatGatewayDestinationIpPortTranslationNatRulesRequest() (request *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest)
func (*DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) FromJsonString ¶
func (r *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) FromJsonString(s string) error
func (*DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) ToJsonString ¶
func (r *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) ToJsonString() string
type DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse ¶
type DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse struct { *tchttp.BaseResponse Response *struct { // NAT网关端口转发规则对象数组。 NatGatewayDestinationIpPortTranslationNatRuleSet []*NatGatewayDestinationIpPortTranslationNatRule `` /* 126-byte string literal not displayed */ // 符合条件的NAT网关端口转发规则对象数目。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNatGatewayDestinationIpPortTranslationNatRulesResponse ¶
func NewDescribeNatGatewayDestinationIpPortTranslationNatRulesResponse() (response *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse)
func (*DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse) FromJsonString ¶
func (r *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse) FromJsonString(s string) error
func (*DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse) ToJsonString ¶
func (r *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse) ToJsonString() string
type DescribeNatGatewaysRequest ¶
type DescribeNatGatewaysRequest struct { *tchttp.BaseRequest // NAT网关统一 ID,形如:`nat-123xx454`。 NatGatewayIds []*string `json:"NatGatewayIds,omitempty" name:"NatGatewayIds" list` // 过滤条件,参数不支持同时指定NatGatewayIds和Filters。 // <li>nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。</li> // <li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li> // <li>nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNatGatewaysRequest ¶
func NewDescribeNatGatewaysRequest() (request *DescribeNatGatewaysRequest)
func (*DescribeNatGatewaysRequest) FromJsonString ¶
func (r *DescribeNatGatewaysRequest) FromJsonString(s string) error
func (*DescribeNatGatewaysRequest) ToJsonString ¶
func (r *DescribeNatGatewaysRequest) ToJsonString() string
type DescribeNatGatewaysResponse ¶
type DescribeNatGatewaysResponse struct { *tchttp.BaseResponse Response *struct { // NAT网关对象数组。 NatGatewaySet []*NatGateway `json:"NatGatewaySet,omitempty" name:"NatGatewaySet" list` // 符合条件的NAT网关对象个数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNatGatewaysResponse ¶
func NewDescribeNatGatewaysResponse() (response *DescribeNatGatewaysResponse)
func (*DescribeNatGatewaysResponse) FromJsonString ¶
func (r *DescribeNatGatewaysResponse) FromJsonString(s string) error
func (*DescribeNatGatewaysResponse) ToJsonString ¶
func (r *DescribeNatGatewaysResponse) ToJsonString() string
type DescribeNetDetectStatesRequest ¶
type DescribeNetDetectStatesRequest struct { *tchttp.BaseRequest // 网络探测实例`ID`数组。形如:[`netd-12345678`] NetDetectIds []*string `json:"NetDetectIds,omitempty" name:"NetDetectIds" list` // 过滤条件,参数不支持同时指定NetDetectIds和Filters。 // <li>net-detect-id - String - (过滤条件)网络探测实例ID,形如:netd-12345678</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNetDetectStatesRequest ¶
func NewDescribeNetDetectStatesRequest() (request *DescribeNetDetectStatesRequest)
func (*DescribeNetDetectStatesRequest) FromJsonString ¶
func (r *DescribeNetDetectStatesRequest) FromJsonString(s string) error
func (*DescribeNetDetectStatesRequest) ToJsonString ¶
func (r *DescribeNetDetectStatesRequest) ToJsonString() string
type DescribeNetDetectStatesResponse ¶
type DescribeNetDetectStatesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的网络探测验证结果对象数组。 // 注意:此字段可能返回 null,表示取不到有效值。 NetDetectStateSet []*NetDetectState `json:"NetDetectStateSet,omitempty" name:"NetDetectStateSet" list` // 符合条件的网络探测验证结果对象数量。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNetDetectStatesResponse ¶
func NewDescribeNetDetectStatesResponse() (response *DescribeNetDetectStatesResponse)
func (*DescribeNetDetectStatesResponse) FromJsonString ¶
func (r *DescribeNetDetectStatesResponse) FromJsonString(s string) error
func (*DescribeNetDetectStatesResponse) ToJsonString ¶
func (r *DescribeNetDetectStatesResponse) ToJsonString() string
type DescribeNetDetectsRequest ¶
type DescribeNetDetectsRequest struct { *tchttp.BaseRequest // 网络探测实例`ID`数组。形如:[`netd-12345678`] NetDetectIds []*string `json:"NetDetectIds,omitempty" name:"NetDetectIds" list` // 过滤条件,参数不支持同时指定NetDetectIds和Filters。 // <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-12345678</li> // <li>net-detect-id - String - (过滤条件)网络探测实例ID,形如:netd-12345678</li> // <li>subnet-id - String - (过滤条件)子网实例ID,形如:subnet-12345678</li> // <li>net-detect-name - String - (过滤条件)网络探测名称</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNetDetectsRequest ¶
func NewDescribeNetDetectsRequest() (request *DescribeNetDetectsRequest)
func (*DescribeNetDetectsRequest) FromJsonString ¶
func (r *DescribeNetDetectsRequest) FromJsonString(s string) error
func (*DescribeNetDetectsRequest) ToJsonString ¶
func (r *DescribeNetDetectsRequest) ToJsonString() string
type DescribeNetDetectsResponse ¶
type DescribeNetDetectsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的网络探测对象数组。 // 注意:此字段可能返回 null,表示取不到有效值。 NetDetectSet []*NetDetect `json:"NetDetectSet,omitempty" name:"NetDetectSet" list` // 符合条件的网络探测对象数量。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNetDetectsResponse ¶
func NewDescribeNetDetectsResponse() (response *DescribeNetDetectsResponse)
func (*DescribeNetDetectsResponse) FromJsonString ¶
func (r *DescribeNetDetectsResponse) FromJsonString(s string) error
func (*DescribeNetDetectsResponse) ToJsonString ¶
func (r *DescribeNetDetectsResponse) ToJsonString() string
type DescribeNetworkInterfaceLimitRequest ¶
type DescribeNetworkInterfaceLimitRequest struct { *tchttp.BaseRequest // 要查询的CVM实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeNetworkInterfaceLimitRequest ¶
func NewDescribeNetworkInterfaceLimitRequest() (request *DescribeNetworkInterfaceLimitRequest)
func (*DescribeNetworkInterfaceLimitRequest) FromJsonString ¶
func (r *DescribeNetworkInterfaceLimitRequest) FromJsonString(s string) error
func (*DescribeNetworkInterfaceLimitRequest) ToJsonString ¶
func (r *DescribeNetworkInterfaceLimitRequest) ToJsonString() string
type DescribeNetworkInterfaceLimitResponse ¶
type DescribeNetworkInterfaceLimitResponse struct { *tchttp.BaseResponse Response *struct { // 弹性网卡配额 EniQuantity *int64 `json:"EniQuantity,omitempty" name:"EniQuantity"` // 每个弹性网卡可以分配的ip配额 EniPrivateIpAddressQuantity *int64 `json:"EniPrivateIpAddressQuantity,omitempty" name:"EniPrivateIpAddressQuantity"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNetworkInterfaceLimitResponse ¶
func NewDescribeNetworkInterfaceLimitResponse() (response *DescribeNetworkInterfaceLimitResponse)
func (*DescribeNetworkInterfaceLimitResponse) FromJsonString ¶
func (r *DescribeNetworkInterfaceLimitResponse) FromJsonString(s string) error
func (*DescribeNetworkInterfaceLimitResponse) ToJsonString ¶
func (r *DescribeNetworkInterfaceLimitResponse) ToJsonString() string
type DescribeNetworkInterfacesRequest ¶
type DescribeNetworkInterfacesRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。 NetworkInterfaceIds []*string `json:"NetworkInterfaceIds,omitempty" name:"NetworkInterfaceIds" list` // 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。 // <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li> // <li>subnet-id - String - (过滤条件)所属子网实例ID,形如:subnet-f49l6u0z。</li> // <li>network-interface-id - String - (过滤条件)弹性网卡实例ID,形如:eni-5k56k7k7。</li> // <li>attachment.instance-id - String - (过滤条件)绑定的云服务器实例ID,形如:ins-3nqpdn3i。</li> // <li>groups.security-group-id - String - (过滤条件)绑定的安全组实例ID,例如:sg-f9ekbxeq。</li> // <li>network-interface-name - String - (过滤条件)网卡实例名称。</li> // <li>network-interface-description - String - (过滤条件)网卡实例描述。</li> // <li>address-ip - String - (过滤条件)内网IPv4地址。</li> // <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2</li> // <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNetworkInterfacesRequest ¶
func NewDescribeNetworkInterfacesRequest() (request *DescribeNetworkInterfacesRequest)
func (*DescribeNetworkInterfacesRequest) FromJsonString ¶
func (r *DescribeNetworkInterfacesRequest) FromJsonString(s string) error
func (*DescribeNetworkInterfacesRequest) ToJsonString ¶
func (r *DescribeNetworkInterfacesRequest) ToJsonString() string
type DescribeNetworkInterfacesResponse ¶
type DescribeNetworkInterfacesResponse struct { *tchttp.BaseResponse Response *struct { // 实例详细信息列表。 NetworkInterfaceSet []*NetworkInterface `json:"NetworkInterfaceSet,omitempty" name:"NetworkInterfaceSet" list` // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNetworkInterfacesResponse ¶
func NewDescribeNetworkInterfacesResponse() (response *DescribeNetworkInterfacesResponse)
func (*DescribeNetworkInterfacesResponse) FromJsonString ¶
func (r *DescribeNetworkInterfacesResponse) FromJsonString(s string) error
func (*DescribeNetworkInterfacesResponse) ToJsonString ¶
func (r *DescribeNetworkInterfacesResponse) ToJsonString() string
type DescribeRouteConflictsRequest ¶
type DescribeRouteConflictsRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要检查的与之冲突的目的端列表 DestinationCidrBlocks []*string `json:"DestinationCidrBlocks,omitempty" name:"DestinationCidrBlocks" list` }
func NewDescribeRouteConflictsRequest ¶
func NewDescribeRouteConflictsRequest() (request *DescribeRouteConflictsRequest)
func (*DescribeRouteConflictsRequest) FromJsonString ¶
func (r *DescribeRouteConflictsRequest) FromJsonString(s string) error
func (*DescribeRouteConflictsRequest) ToJsonString ¶
func (r *DescribeRouteConflictsRequest) ToJsonString() string
type DescribeRouteConflictsResponse ¶
type DescribeRouteConflictsResponse struct { *tchttp.BaseResponse Response *struct { // 路由策略冲突列表 RouteConflictSet []*RouteConflict `json:"RouteConflictSet,omitempty" name:"RouteConflictSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRouteConflictsResponse ¶
func NewDescribeRouteConflictsResponse() (response *DescribeRouteConflictsResponse)
func (*DescribeRouteConflictsResponse) FromJsonString ¶
func (r *DescribeRouteConflictsResponse) FromJsonString(s string) error
func (*DescribeRouteConflictsResponse) ToJsonString ¶
func (r *DescribeRouteConflictsResponse) ToJsonString() string
type DescribeRouteTablesRequest ¶
type DescribeRouteTablesRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableIds []*string `json:"RouteTableIds,omitempty" name:"RouteTableIds" list` // 过滤条件,参数不支持同时指定RouteTableIds和Filters。 // <li>route-table-id - String - (过滤条件)路由表实例ID。</li> // <li>route-table-name - String - (过滤条件)路由表名称。</li> // <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li> // <li>association.main - String - (过滤条件)是否主路由表。</li> // <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。</li> // <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量。 Offset *string `json:"Offset,omitempty" name:"Offset"` // 请求对象个数。 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeRouteTablesRequest ¶
func NewDescribeRouteTablesRequest() (request *DescribeRouteTablesRequest)
func (*DescribeRouteTablesRequest) FromJsonString ¶
func (r *DescribeRouteTablesRequest) FromJsonString(s string) error
func (*DescribeRouteTablesRequest) ToJsonString ¶
func (r *DescribeRouteTablesRequest) ToJsonString() string
type DescribeRouteTablesResponse ¶
type DescribeRouteTablesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 路由表对象。 RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRouteTablesResponse ¶
func NewDescribeRouteTablesResponse() (response *DescribeRouteTablesResponse)
func (*DescribeRouteTablesResponse) FromJsonString ¶
func (r *DescribeRouteTablesResponse) FromJsonString(s string) error
func (*DescribeRouteTablesResponse) ToJsonString ¶
func (r *DescribeRouteTablesResponse) ToJsonString() string
type DescribeSecurityGroupAssociationStatisticsRequest ¶
type DescribeSecurityGroupAssociationStatisticsRequest struct { *tchttp.BaseRequest // 安全实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` }
func NewDescribeSecurityGroupAssociationStatisticsRequest ¶
func NewDescribeSecurityGroupAssociationStatisticsRequest() (request *DescribeSecurityGroupAssociationStatisticsRequest)
func (*DescribeSecurityGroupAssociationStatisticsRequest) FromJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsRequest) FromJsonString(s string) error
func (*DescribeSecurityGroupAssociationStatisticsRequest) ToJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsRequest) ToJsonString() string
type DescribeSecurityGroupAssociationStatisticsResponse ¶
type DescribeSecurityGroupAssociationStatisticsResponse struct { *tchttp.BaseResponse Response *struct { // 安全组关联实例统计。 SecurityGroupAssociationStatisticsSet []*SecurityGroupAssociationStatistics `json:"SecurityGroupAssociationStatisticsSet,omitempty" name:"SecurityGroupAssociationStatisticsSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSecurityGroupAssociationStatisticsResponse ¶
func NewDescribeSecurityGroupAssociationStatisticsResponse() (response *DescribeSecurityGroupAssociationStatisticsResponse)
func (*DescribeSecurityGroupAssociationStatisticsResponse) FromJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsResponse) FromJsonString(s string) error
func (*DescribeSecurityGroupAssociationStatisticsResponse) ToJsonString ¶
func (r *DescribeSecurityGroupAssociationStatisticsResponse) ToJsonString() string
type DescribeSecurityGroupPoliciesRequest ¶
type DescribeSecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` }
func NewDescribeSecurityGroupPoliciesRequest ¶
func NewDescribeSecurityGroupPoliciesRequest() (request *DescribeSecurityGroupPoliciesRequest)
func (*DescribeSecurityGroupPoliciesRequest) FromJsonString ¶
func (r *DescribeSecurityGroupPoliciesRequest) FromJsonString(s string) error
func (*DescribeSecurityGroupPoliciesRequest) ToJsonString ¶
func (r *DescribeSecurityGroupPoliciesRequest) ToJsonString() string
type DescribeSecurityGroupPoliciesResponse ¶
type DescribeSecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *struct { // 安全组规则集合。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSecurityGroupPoliciesResponse ¶
func NewDescribeSecurityGroupPoliciesResponse() (response *DescribeSecurityGroupPoliciesResponse)
func (*DescribeSecurityGroupPoliciesResponse) FromJsonString ¶
func (r *DescribeSecurityGroupPoliciesResponse) FromJsonString(s string) error
func (*DescribeSecurityGroupPoliciesResponse) ToJsonString ¶
func (r *DescribeSecurityGroupPoliciesResponse) ToJsonString() string
type DescribeSecurityGroupsRequest ¶
type DescribeSecurityGroupsRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。每次请求的实例的上限为100。参数不支持同时指定SecurityGroupIds和Filters。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` // 过滤条件,参数不支持同时指定SecurityGroupIds和Filters。 // <li>security-group-id - String - (过滤条件)安全组ID。</li> // <li>project-id - Integer - (过滤条件)项目id。</li> // <li>security-group-name - String - (过滤条件)安全组名称。</li> // <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2。</li> // <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量。 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量。 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSecurityGroupsRequest ¶
func NewDescribeSecurityGroupsRequest() (request *DescribeSecurityGroupsRequest)
func (*DescribeSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeSecurityGroupsRequest) FromJsonString(s string) error
func (*DescribeSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeSecurityGroupsRequest) ToJsonString() string
type DescribeSecurityGroupsResponse ¶
type DescribeSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 安全组对象。 SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitempty" name:"SecurityGroupSet" list` // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSecurityGroupsResponse ¶
func NewDescribeSecurityGroupsResponse() (response *DescribeSecurityGroupsResponse)
func (*DescribeSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeSecurityGroupsResponse) FromJsonString(s string) error
func (*DescribeSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeSecurityGroupsResponse) ToJsonString() string
type DescribeServiceTemplateGroupsRequest ¶
type DescribeServiceTemplateGroupsRequest struct { *tchttp.BaseRequest // 过滤条件。 // <li>service-template-group-name - String - (过滤条件)协议端口模板集合名称。</li> // <li>service-template-group-id - String - (过滤条件)协议端口模板集合实例ID,例如:ppmg-e6dy460g。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeServiceTemplateGroupsRequest ¶
func NewDescribeServiceTemplateGroupsRequest() (request *DescribeServiceTemplateGroupsRequest)
func (*DescribeServiceTemplateGroupsRequest) FromJsonString ¶
func (r *DescribeServiceTemplateGroupsRequest) FromJsonString(s string) error
func (*DescribeServiceTemplateGroupsRequest) ToJsonString ¶
func (r *DescribeServiceTemplateGroupsRequest) ToJsonString() string
type DescribeServiceTemplateGroupsResponse ¶
type DescribeServiceTemplateGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 协议端口模板集合。 ServiceTemplateGroupSet []*ServiceTemplateGroup `json:"ServiceTemplateGroupSet,omitempty" name:"ServiceTemplateGroupSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeServiceTemplateGroupsResponse ¶
func NewDescribeServiceTemplateGroupsResponse() (response *DescribeServiceTemplateGroupsResponse)
func (*DescribeServiceTemplateGroupsResponse) FromJsonString ¶
func (r *DescribeServiceTemplateGroupsResponse) FromJsonString(s string) error
func (*DescribeServiceTemplateGroupsResponse) ToJsonString ¶
func (r *DescribeServiceTemplateGroupsResponse) ToJsonString() string
type DescribeServiceTemplatesRequest ¶
type DescribeServiceTemplatesRequest struct { *tchttp.BaseRequest // 过滤条件。 // <li>service-template-name - String - (过滤条件)协议端口模板名称。</li> // <li>service-template-id - String - (过滤条件)协议端口模板实例ID,例如:ppm-e6dy460g。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeServiceTemplatesRequest ¶
func NewDescribeServiceTemplatesRequest() (request *DescribeServiceTemplatesRequest)
func (*DescribeServiceTemplatesRequest) FromJsonString ¶
func (r *DescribeServiceTemplatesRequest) FromJsonString(s string) error
func (*DescribeServiceTemplatesRequest) ToJsonString ¶
func (r *DescribeServiceTemplatesRequest) ToJsonString() string
type DescribeServiceTemplatesResponse ¶
type DescribeServiceTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 协议端口模板对象。 ServiceTemplateSet []*ServiceTemplate `json:"ServiceTemplateSet,omitempty" name:"ServiceTemplateSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeServiceTemplatesResponse ¶
func NewDescribeServiceTemplatesResponse() (response *DescribeServiceTemplatesResponse)
func (*DescribeServiceTemplatesResponse) FromJsonString ¶
func (r *DescribeServiceTemplatesResponse) FromJsonString(s string) error
func (*DescribeServiceTemplatesResponse) ToJsonString ¶
func (r *DescribeServiceTemplatesResponse) ToJsonString() string
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct { *tchttp.BaseRequest // 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。 SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list` // 过滤条件,参数不支持同时指定SubnetIds和Filters。 // <li>subnet-id - String - (过滤条件)Subnet实例名称。</li> // <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li> // <li>cidr-block - String - (过滤条件)子网网段,形如: 192.168.1.0 。</li> // <li>is-default - Boolean - (过滤条件)是否是默认子网。</li> // <li>is-remote-vpc-snat - Boolean - (过滤条件)是否为VPC SNAT地址池子网。</li> // <li>subnet-name - String - (过滤条件)子网名称。</li> // <li>zone - String - (过滤条件)可用区。</li> // <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。</li> // <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSubnetsRequest ¶
func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)
func (*DescribeSubnetsRequest) FromJsonString ¶
func (r *DescribeSubnetsRequest) FromJsonString(s string) error
func (*DescribeSubnetsRequest) ToJsonString ¶
func (r *DescribeSubnetsRequest) ToJsonString() string
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 子网对象。 SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSubnetsResponse ¶
func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)
func (*DescribeSubnetsResponse) FromJsonString ¶
func (r *DescribeSubnetsResponse) FromJsonString(s string) error
func (*DescribeSubnetsResponse) ToJsonString ¶
func (r *DescribeSubnetsResponse) ToJsonString() string
type DescribeTaskResultRequest ¶
type DescribeTaskResultRequest struct { *tchttp.BaseRequest // 异步任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 计费订单号 DealName *string `json:"DealName,omitempty" name:"DealName"` }
func NewDescribeTaskResultRequest ¶
func NewDescribeTaskResultRequest() (request *DescribeTaskResultRequest)
func (*DescribeTaskResultRequest) FromJsonString ¶
func (r *DescribeTaskResultRequest) FromJsonString(s string) error
func (*DescribeTaskResultRequest) ToJsonString ¶
func (r *DescribeTaskResultRequest) ToJsonString() string
type DescribeTaskResultResponse ¶
type DescribeTaskResultResponse struct { *tchttp.BaseResponse Response *struct { // 任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 执行结果,包括"SUCCESS", "FAILED", "RUNNING" Result *string `json:"Result,omitempty" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTaskResultResponse ¶
func NewDescribeTaskResultResponse() (response *DescribeTaskResultResponse)
func (*DescribeTaskResultResponse) FromJsonString ¶
func (r *DescribeTaskResultResponse) FromJsonString(s string) error
func (*DescribeTaskResultResponse) ToJsonString ¶
func (r *DescribeTaskResultResponse) ToJsonString() string
type DescribeVpcIpv6AddressesRequest ¶
type DescribeVpcIpv6AddressesRequest struct { *tchttp.BaseRequest // `VPC`实例`ID`,形如:`vpc-f49l6u0z`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `IP`地址列表,批量查询单次请求最多支持`10`个。 Ipv6Addresses []*string `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses" list` // 偏移量。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeVpcIpv6AddressesRequest ¶
func NewDescribeVpcIpv6AddressesRequest() (request *DescribeVpcIpv6AddressesRequest)
func (*DescribeVpcIpv6AddressesRequest) FromJsonString ¶
func (r *DescribeVpcIpv6AddressesRequest) FromJsonString(s string) error
func (*DescribeVpcIpv6AddressesRequest) ToJsonString ¶
func (r *DescribeVpcIpv6AddressesRequest) ToJsonString() string
type DescribeVpcIpv6AddressesResponse ¶
type DescribeVpcIpv6AddressesResponse struct { *tchttp.BaseResponse Response *struct { // `IPv6`地址列表。 Ipv6AddressSet []*VpcIpv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet" list` // `IPv6`地址总数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVpcIpv6AddressesResponse ¶
func NewDescribeVpcIpv6AddressesResponse() (response *DescribeVpcIpv6AddressesResponse)
func (*DescribeVpcIpv6AddressesResponse) FromJsonString ¶
func (r *DescribeVpcIpv6AddressesResponse) FromJsonString(s string) error
func (*DescribeVpcIpv6AddressesResponse) ToJsonString ¶
func (r *DescribeVpcIpv6AddressesResponse) ToJsonString() string
type DescribeVpcPrivateIpAddressesRequest ¶
type DescribeVpcPrivateIpAddressesRequest struct { *tchttp.BaseRequest // `VPC`实例`ID`,形如:`vpc-f49l6u0z`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 内网`IP`地址列表,批量查询单次请求最多支持`10`个。 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` }
func NewDescribeVpcPrivateIpAddressesRequest ¶
func NewDescribeVpcPrivateIpAddressesRequest() (request *DescribeVpcPrivateIpAddressesRequest)
func (*DescribeVpcPrivateIpAddressesRequest) FromJsonString ¶
func (r *DescribeVpcPrivateIpAddressesRequest) FromJsonString(s string) error
func (*DescribeVpcPrivateIpAddressesRequest) ToJsonString ¶
func (r *DescribeVpcPrivateIpAddressesRequest) ToJsonString() string
type DescribeVpcPrivateIpAddressesResponse ¶
type DescribeVpcPrivateIpAddressesResponse struct { *tchttp.BaseResponse Response *struct { // 内网`IP`地址信息列表。 VpcPrivateIpAddressSet []*VpcPrivateIpAddress `json:"VpcPrivateIpAddressSet,omitempty" name:"VpcPrivateIpAddressSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVpcPrivateIpAddressesResponse ¶
func NewDescribeVpcPrivateIpAddressesResponse() (response *DescribeVpcPrivateIpAddressesResponse)
func (*DescribeVpcPrivateIpAddressesResponse) FromJsonString ¶
func (r *DescribeVpcPrivateIpAddressesResponse) FromJsonString(s string) error
func (*DescribeVpcPrivateIpAddressesResponse) ToJsonString ¶
func (r *DescribeVpcPrivateIpAddressesResponse) ToJsonString() string
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct { *tchttp.BaseRequest // VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。 VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds" list` // 过滤条件,参数不支持同时指定VpcIds和Filters。 // <li>vpc-name - String - (过滤条件)VPC实例名称。</li> // <li>is-default - String - (过滤条件)是否默认VPC。</li> // <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li> // <li>cidr-block - String - (过滤条件)vpc的cidr。</li> // <li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。</li> // <li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *string `json:"Offset,omitempty" name:"Offset"` // 返回数量 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeVpcsRequest ¶
func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)
func (*DescribeVpcsRequest) FromJsonString ¶
func (r *DescribeVpcsRequest) FromJsonString(s string) error
func (*DescribeVpcsRequest) ToJsonString ¶
func (r *DescribeVpcsRequest) ToJsonString() string
type DescribeVpcsResponse ¶
type DescribeVpcsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的对象数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // VPC对象。 VpcSet []*Vpc `json:"VpcSet,omitempty" name:"VpcSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVpcsResponse ¶
func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)
func (*DescribeVpcsResponse) FromJsonString ¶
func (r *DescribeVpcsResponse) FromJsonString(s string) error
func (*DescribeVpcsResponse) ToJsonString ¶
func (r *DescribeVpcsResponse) ToJsonString() string
type DescribeVpnConnectionsRequest ¶
type DescribeVpnConnectionsRequest struct { *tchttp.BaseRequest // VPN通道实例ID。形如:vpnx-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpnConnectionIds和Filters。 VpnConnectionIds []*string `json:"VpnConnectionIds,omitempty" name:"VpnConnectionIds" list` // 过滤条件,详见下表:实例过滤条件表。每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定VpnConnectionIds和Filters。 // <li>vpc-id - String - VPC实例ID,形如:`vpc-0a36uwkr`。</li> // <li>vpn-gateway-id - String - VPN网关实例ID,形如:`vpngw-p4lmqawn`。</li> // <li>customer-gateway-id - String - 对端网关实例ID,形如:`cgw-l4rblw63`。</li> // <li>vpn-connection-name - String - 通道名称,形如:`test-vpn`。</li> // <li>vpn-connection-id - String - 通道实例ID,形如:`vpnx-5p7vkch8"`。</li> Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeVpnConnectionsRequest ¶
func NewDescribeVpnConnectionsRequest() (request *DescribeVpnConnectionsRequest)
func (*DescribeVpnConnectionsRequest) FromJsonString ¶
func (r *DescribeVpnConnectionsRequest) FromJsonString(s string) error
func (*DescribeVpnConnectionsRequest) ToJsonString ¶
func (r *DescribeVpnConnectionsRequest) ToJsonString() string
type DescribeVpnConnectionsResponse ¶
type DescribeVpnConnectionsResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // VPN通道实例。 VpnConnectionSet []*VpnConnection `json:"VpnConnectionSet,omitempty" name:"VpnConnectionSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVpnConnectionsResponse ¶
func NewDescribeVpnConnectionsResponse() (response *DescribeVpnConnectionsResponse)
func (*DescribeVpnConnectionsResponse) FromJsonString ¶
func (r *DescribeVpnConnectionsResponse) FromJsonString(s string) error
func (*DescribeVpnConnectionsResponse) ToJsonString ¶
func (r *DescribeVpnConnectionsResponse) ToJsonString() string
type DescribeVpnGatewaysRequest ¶
type DescribeVpnGatewaysRequest struct { *tchttp.BaseRequest // VPN网关实例ID。形如:vpngw-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpnGatewayIds和Filters。 VpnGatewayIds []*string `json:"VpnGatewayIds,omitempty" name:"VpnGatewayIds" list` // 过滤条件,参数不支持同时指定VpnGatewayIds和Filters。 // <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li> // <li>vpn-gateway-id - String - (过滤条件)VPN实例ID形如:vpngw-5aluhh9t。</li> // <li>vpn-gateway-name - String - (过滤条件)VPN实例名称。</li> // <li>type - String - (过滤条件)VPN网关类型:'IPSEC', 'SSL'。</li> // <li>public-ip-address- String - (过滤条件)公网IP。</li> // <li>renew-flag - String - (过滤条件)网关续费类型,手动续费:'NOTIFY_AND_MANUAL_RENEW'、自动续费:'NOTIFY_AND_AUTO_RENEW'。</li> // <li>zone - String - (过滤条件)VPN所在可用区,形如:ap-guangzhou-2。</li> Filters []*FilterObject `json:"Filters,omitempty" name:"Filters" list` // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 请求对象个数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeVpnGatewaysRequest ¶
func NewDescribeVpnGatewaysRequest() (request *DescribeVpnGatewaysRequest)
func (*DescribeVpnGatewaysRequest) FromJsonString ¶
func (r *DescribeVpnGatewaysRequest) FromJsonString(s string) error
func (*DescribeVpnGatewaysRequest) ToJsonString ¶
func (r *DescribeVpnGatewaysRequest) ToJsonString() string
type DescribeVpnGatewaysResponse ¶
type DescribeVpnGatewaysResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // VPN网关实例详细信息列表。 VpnGatewaySet []*VpnGateway `json:"VpnGatewaySet,omitempty" name:"VpnGatewaySet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVpnGatewaysResponse ¶
func NewDescribeVpnGatewaysResponse() (response *DescribeVpnGatewaysResponse)
func (*DescribeVpnGatewaysResponse) FromJsonString ¶
func (r *DescribeVpnGatewaysResponse) FromJsonString(s string) error
func (*DescribeVpnGatewaysResponse) ToJsonString ¶
func (r *DescribeVpnGatewaysResponse) ToJsonString() string
type DestinationIpPortTranslationNatRule ¶
type DestinationIpPortTranslationNatRule struct { // 网络协议,可选值:`TCP`、`UDP`。 IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // 弹性IP。 PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // 公网端口。 PublicPort *uint64 `json:"PublicPort,omitempty" name:"PublicPort"` // 内网地址。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // 内网端口。 PrivatePort *uint64 `json:"PrivatePort,omitempty" name:"PrivatePort"` // NAT网关转发规则描述。 Description *string `json:"Description,omitempty" name:"Description"` }
type DetachCcnInstancesRequest ¶
type DetachCcnInstancesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 要解关联网络实例列表 Instances []*CcnInstance `json:"Instances,omitempty" name:"Instances" list` }
func NewDetachCcnInstancesRequest ¶
func NewDetachCcnInstancesRequest() (request *DetachCcnInstancesRequest)
func (*DetachCcnInstancesRequest) FromJsonString ¶
func (r *DetachCcnInstancesRequest) FromJsonString(s string) error
func (*DetachCcnInstancesRequest) ToJsonString ¶
func (r *DetachCcnInstancesRequest) ToJsonString() string
type DetachCcnInstancesResponse ¶
type DetachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDetachCcnInstancesResponse ¶
func NewDetachCcnInstancesResponse() (response *DetachCcnInstancesResponse)
func (*DetachCcnInstancesResponse) FromJsonString ¶
func (r *DetachCcnInstancesResponse) FromJsonString(s string) error
func (*DetachCcnInstancesResponse) ToJsonString ¶
func (r *DetachCcnInstancesResponse) ToJsonString() string
type DetachClassicLinkVpcRequest ¶
type DetachClassicLinkVpcRequest struct { *tchttp.BaseRequest // VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // CVM实例ID查询。形如:ins-r8hr2upy。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` }
func NewDetachClassicLinkVpcRequest ¶
func NewDetachClassicLinkVpcRequest() (request *DetachClassicLinkVpcRequest)
func (*DetachClassicLinkVpcRequest) FromJsonString ¶
func (r *DetachClassicLinkVpcRequest) FromJsonString(s string) error
func (*DetachClassicLinkVpcRequest) ToJsonString ¶
func (r *DetachClassicLinkVpcRequest) ToJsonString() string
type DetachClassicLinkVpcResponse ¶
type DetachClassicLinkVpcResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDetachClassicLinkVpcResponse ¶
func NewDetachClassicLinkVpcResponse() (response *DetachClassicLinkVpcResponse)
func (*DetachClassicLinkVpcResponse) FromJsonString ¶
func (r *DetachClassicLinkVpcResponse) FromJsonString(s string) error
func (*DetachClassicLinkVpcResponse) ToJsonString ¶
func (r *DetachClassicLinkVpcResponse) ToJsonString() string
type DetachNetworkInterfaceRequest ¶
type DetachNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // CVM实例ID。形如:ins-r8hr2upy。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDetachNetworkInterfaceRequest ¶
func NewDetachNetworkInterfaceRequest() (request *DetachNetworkInterfaceRequest)
func (*DetachNetworkInterfaceRequest) FromJsonString ¶
func (r *DetachNetworkInterfaceRequest) FromJsonString(s string) error
func (*DetachNetworkInterfaceRequest) ToJsonString ¶
func (r *DetachNetworkInterfaceRequest) ToJsonString() string
type DetachNetworkInterfaceResponse ¶
type DetachNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDetachNetworkInterfaceResponse ¶
func NewDetachNetworkInterfaceResponse() (response *DetachNetworkInterfaceResponse)
func (*DetachNetworkInterfaceResponse) FromJsonString ¶
func (r *DetachNetworkInterfaceResponse) FromJsonString(s string) error
func (*DetachNetworkInterfaceResponse) ToJsonString ¶
func (r *DetachNetworkInterfaceResponse) ToJsonString() string
type DirectConnectGateway ¶
type DirectConnectGateway struct { // 专线网关`ID`。 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 专线网关名称。 DirectConnectGatewayName *string `json:"DirectConnectGatewayName,omitempty" name:"DirectConnectGatewayName"` // 专线网关关联`VPC`实例`ID`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 关联网络类型: // <li>`VPC` - 私有网络</li> // <li>`CCN` - 云联网</li> NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` // 关联网络实例`ID`: // <li>`NetworkType`为`VPC`时,这里为私有网络实例`ID`</li> // <li>`NetworkType`为`CCN`时,这里为云联网实例`ID`</li> NetworkInstanceId *string `json:"NetworkInstanceId,omitempty" name:"NetworkInstanceId"` // 网关类型: // <li>NORMAL - 标准型,注:云联网只支持标准型</li> // <li>NAT - NAT型</li> // NAT类型支持网络地址转换配置,类型确定后不能修改;一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关 GatewayType *string `json:"GatewayType,omitempty" name:"GatewayType"` // 创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 专线网关IP。 DirectConnectGatewayIp *string `json:"DirectConnectGatewayIp,omitempty" name:"DirectConnectGatewayIp"` // 专线网关关联`CCN`实例`ID`。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 云联网路由学习类型: // <li>`BGP` - 自动学习。</li> // <li>`STATIC` - 静态,即用户配置。</li> CcnRouteType *string `json:"CcnRouteType,omitempty" name:"CcnRouteType"` // 是否启用BGP。 EnableBGP *bool `json:"EnableBGP,omitempty" name:"EnableBGP"` // 开启和关闭BGP的community属性。 EnableBGPCommunity *bool `json:"EnableBGPCommunity,omitempty" name:"EnableBGPCommunity"` }
type DirectConnectGatewayCcnRoute ¶
type DirectConnectGatewayCcnRoute struct { // 路由ID。 RouteId *string `json:"RouteId,omitempty" name:"RouteId"` // IDC网段。 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // `BGP`的`AS-Path`属性。 ASPath []*string `json:"ASPath,omitempty" name:"ASPath" list` }
type DisableCcnRoutesRequest ¶
type DisableCcnRoutesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN路由策略唯一ID。形如:ccnr-f49l6u0z。 RouteIds []*string `json:"RouteIds,omitempty" name:"RouteIds" list` }
func NewDisableCcnRoutesRequest ¶
func NewDisableCcnRoutesRequest() (request *DisableCcnRoutesRequest)
func (*DisableCcnRoutesRequest) FromJsonString ¶
func (r *DisableCcnRoutesRequest) FromJsonString(s string) error
func (*DisableCcnRoutesRequest) ToJsonString ¶
func (r *DisableCcnRoutesRequest) ToJsonString() string
type DisableCcnRoutesResponse ¶
type DisableCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisableCcnRoutesResponse ¶
func NewDisableCcnRoutesResponse() (response *DisableCcnRoutesResponse)
func (*DisableCcnRoutesResponse) FromJsonString ¶
func (r *DisableCcnRoutesResponse) FromJsonString(s string) error
func (*DisableCcnRoutesResponse) ToJsonString ¶
func (r *DisableCcnRoutesResponse) ToJsonString() string
type DisableRoutesRequest ¶
type DisableRoutesRequest struct { *tchttp.BaseRequest // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略唯一ID。 RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds" list` }
func NewDisableRoutesRequest ¶
func NewDisableRoutesRequest() (request *DisableRoutesRequest)
func (*DisableRoutesRequest) FromJsonString ¶
func (r *DisableRoutesRequest) FromJsonString(s string) error
func (*DisableRoutesRequest) ToJsonString ¶
func (r *DisableRoutesRequest) ToJsonString() string
type DisableRoutesResponse ¶
type DisableRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisableRoutesResponse ¶
func NewDisableRoutesResponse() (response *DisableRoutesResponse)
func (*DisableRoutesResponse) FromJsonString ¶
func (r *DisableRoutesResponse) FromJsonString(s string) error
func (*DisableRoutesResponse) ToJsonString ¶
func (r *DisableRoutesResponse) ToJsonString() string
type DisassociateAddressRequest ¶
type DisassociateAddressRequest struct { *tchttp.BaseRequest // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li>TRUE:表示解绑 EIP 之后分配普通公网 IP。<br><li>FALSE:表示解绑 EIP 之后不分配普通公网 IP。<br>默认取值:FALSE。<br><br>只有满足以下条件时才能指定该参数:<br><li> 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。<br><li>解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。 ReallocateNormalPublicIp *bool `json:"ReallocateNormalPublicIp,omitempty" name:"ReallocateNormalPublicIp"` }
func NewDisassociateAddressRequest ¶
func NewDisassociateAddressRequest() (request *DisassociateAddressRequest)
func (*DisassociateAddressRequest) FromJsonString ¶
func (r *DisassociateAddressRequest) FromJsonString(s string) error
func (*DisassociateAddressRequest) ToJsonString ¶
func (r *DisassociateAddressRequest) ToJsonString() string
type DisassociateAddressResponse ¶
type DisassociateAddressResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisassociateAddressResponse ¶
func NewDisassociateAddressResponse() (response *DisassociateAddressResponse)
func (*DisassociateAddressResponse) FromJsonString ¶
func (r *DisassociateAddressResponse) FromJsonString(s string) error
func (*DisassociateAddressResponse) ToJsonString ¶
func (r *DisassociateAddressResponse) ToJsonString() string
type DisassociateNatGatewayAddressRequest ¶
type DisassociateNatGatewayAddressRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // 绑定NAT网关的弹性IP数组。 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` }
func NewDisassociateNatGatewayAddressRequest ¶
func NewDisassociateNatGatewayAddressRequest() (request *DisassociateNatGatewayAddressRequest)
func (*DisassociateNatGatewayAddressRequest) FromJsonString ¶
func (r *DisassociateNatGatewayAddressRequest) FromJsonString(s string) error
func (*DisassociateNatGatewayAddressRequest) ToJsonString ¶
func (r *DisassociateNatGatewayAddressRequest) ToJsonString() string
type DisassociateNatGatewayAddressResponse ¶
type DisassociateNatGatewayAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisassociateNatGatewayAddressResponse ¶
func NewDisassociateNatGatewayAddressResponse() (response *DisassociateNatGatewayAddressResponse)
func (*DisassociateNatGatewayAddressResponse) FromJsonString ¶
func (r *DisassociateNatGatewayAddressResponse) FromJsonString(s string) error
func (*DisassociateNatGatewayAddressResponse) ToJsonString ¶
func (r *DisassociateNatGatewayAddressResponse) ToJsonString() string
type DownloadCustomerGatewayConfigurationRequest ¶
type DownloadCustomerGatewayConfigurationRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // VPN通道实例ID。形如:vpnx-f49l6u0z。 VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"` // 对端网关厂商信息对象,可通过DescribeCustomerGatewayVendors获取。 CustomerGatewayVendor *CustomerGatewayVendor `json:"CustomerGatewayVendor,omitempty" name:"CustomerGatewayVendor"` // 通道接入设备物理接口名称。 InterfaceName *string `json:"InterfaceName,omitempty" name:"InterfaceName"` }
func NewDownloadCustomerGatewayConfigurationRequest ¶
func NewDownloadCustomerGatewayConfigurationRequest() (request *DownloadCustomerGatewayConfigurationRequest)
func (*DownloadCustomerGatewayConfigurationRequest) FromJsonString ¶
func (r *DownloadCustomerGatewayConfigurationRequest) FromJsonString(s string) error
func (*DownloadCustomerGatewayConfigurationRequest) ToJsonString ¶
func (r *DownloadCustomerGatewayConfigurationRequest) ToJsonString() string
type DownloadCustomerGatewayConfigurationResponse ¶
type DownloadCustomerGatewayConfigurationResponse struct { *tchttp.BaseResponse Response *struct { // XML格式配置信息。 CustomerGatewayConfiguration *string `json:"CustomerGatewayConfiguration,omitempty" name:"CustomerGatewayConfiguration"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDownloadCustomerGatewayConfigurationResponse ¶
func NewDownloadCustomerGatewayConfigurationResponse() (response *DownloadCustomerGatewayConfigurationResponse)
func (*DownloadCustomerGatewayConfigurationResponse) FromJsonString ¶
func (r *DownloadCustomerGatewayConfigurationResponse) FromJsonString(s string) error
func (*DownloadCustomerGatewayConfigurationResponse) ToJsonString ¶
func (r *DownloadCustomerGatewayConfigurationResponse) ToJsonString() string
type EnableCcnRoutesRequest ¶
type EnableCcnRoutesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN路由策略唯一ID。形如:ccnr-f49l6u0z。 RouteIds []*string `json:"RouteIds,omitempty" name:"RouteIds" list` }
func NewEnableCcnRoutesRequest ¶
func NewEnableCcnRoutesRequest() (request *EnableCcnRoutesRequest)
func (*EnableCcnRoutesRequest) FromJsonString ¶
func (r *EnableCcnRoutesRequest) FromJsonString(s string) error
func (*EnableCcnRoutesRequest) ToJsonString ¶
func (r *EnableCcnRoutesRequest) ToJsonString() string
type EnableCcnRoutesResponse ¶
type EnableCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewEnableCcnRoutesResponse ¶
func NewEnableCcnRoutesResponse() (response *EnableCcnRoutesResponse)
func (*EnableCcnRoutesResponse) FromJsonString ¶
func (r *EnableCcnRoutesResponse) FromJsonString(s string) error
func (*EnableCcnRoutesResponse) ToJsonString ¶
func (r *EnableCcnRoutesResponse) ToJsonString() string
type EnableRoutesRequest ¶
type EnableRoutesRequest struct { *tchttp.BaseRequest // 路由表唯一ID。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略唯一ID。 RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds" list` }
func NewEnableRoutesRequest ¶
func NewEnableRoutesRequest() (request *EnableRoutesRequest)
func (*EnableRoutesRequest) FromJsonString ¶
func (r *EnableRoutesRequest) FromJsonString(s string) error
func (*EnableRoutesRequest) ToJsonString ¶
func (r *EnableRoutesRequest) ToJsonString() string
type EnableRoutesResponse ¶
type EnableRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewEnableRoutesResponse ¶
func NewEnableRoutesResponse() (response *EnableRoutesResponse)
func (*EnableRoutesResponse) FromJsonString ¶
func (r *EnableRoutesResponse) FromJsonString(s string) error
func (*EnableRoutesResponse) ToJsonString ¶
func (r *EnableRoutesResponse) ToJsonString() string
type FilterObject ¶
type FlowLog ¶
type FlowLog struct { // 私用网络ID或者统一ID,建议使用统一ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 流日志唯一ID FlowLogId *string `json:"FlowLogId,omitempty" name:"FlowLogId"` // 流日志实例名字 FlowLogName *string `json:"FlowLogName,omitempty" name:"FlowLogName"` // 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // 资源唯一ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 流日志采集类型,ACCEPT|REJECT|ALL TrafficType *string `json:"TrafficType,omitempty" name:"TrafficType"` // 流日志存储ID CloudLogId *string `json:"CloudLogId,omitempty" name:"CloudLogId"` // 流日志存储ID状态 CloudLogState *string `json:"CloudLogState,omitempty" name:"CloudLogState"` // 流日志描述信息 FlowLogDescription *string `json:"FlowLogDescription,omitempty" name:"FlowLogDescription"` // 流日志创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type GatewayFlowMonitorDetail ¶
type GatewayFlowMonitorDetail struct { // 来源`IP`。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // 入包量。 InPkg *uint64 `json:"InPkg,omitempty" name:"InPkg"` // 出包量。 OutPkg *uint64 `json:"OutPkg,omitempty" name:"OutPkg"` // 入带宽,单位:`Byte`。 InTraffic *uint64 `json:"InTraffic,omitempty" name:"InTraffic"` // 出带宽,单位:`Byte`。 OutTraffic *uint64 `json:"OutTraffic,omitempty" name:"OutTraffic"` }
type HaVip ¶
type HaVip struct { // `HAVIP`的`ID`,是`HAVIP`的唯一标识。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` // `HAVIP`名称。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` // 虚拟IP地址。 Vip *string `json:"Vip,omitempty" name:"Vip"` // `HAVIP`所在私有网络`ID`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `HAVIP`所在子网`ID`。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // `HAVIP`关联弹性网卡`ID`。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 被绑定的实例`ID`。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 绑定`EIP`。 AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"` // 状态: // <li>`AVAILABLE`:运行中</li> // <li>`UNBIND`:未绑定</li> State *string `json:"State,omitempty" name:"State"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type HaVipAssociateAddressIpRequest ¶
type HaVipAssociateAddressIpRequest struct { *tchttp.BaseRequest // `HAVIP`唯一`ID`,形如:`havip-9o233uri`。必须是没有绑定`EIP`的`HAVIP` HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` // 弹性公网`IP`。必须是没有绑定`HAVIP`的`EIP` AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"` }
func NewHaVipAssociateAddressIpRequest ¶
func NewHaVipAssociateAddressIpRequest() (request *HaVipAssociateAddressIpRequest)
func (*HaVipAssociateAddressIpRequest) FromJsonString ¶
func (r *HaVipAssociateAddressIpRequest) FromJsonString(s string) error
func (*HaVipAssociateAddressIpRequest) ToJsonString ¶
func (r *HaVipAssociateAddressIpRequest) ToJsonString() string
type HaVipAssociateAddressIpResponse ¶
type HaVipAssociateAddressIpResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewHaVipAssociateAddressIpResponse ¶
func NewHaVipAssociateAddressIpResponse() (response *HaVipAssociateAddressIpResponse)
func (*HaVipAssociateAddressIpResponse) FromJsonString ¶
func (r *HaVipAssociateAddressIpResponse) FromJsonString(s string) error
func (*HaVipAssociateAddressIpResponse) ToJsonString ¶
func (r *HaVipAssociateAddressIpResponse) ToJsonString() string
type HaVipDisassociateAddressIpRequest ¶
type HaVipDisassociateAddressIpRequest struct { *tchttp.BaseRequest // `HAVIP`唯一`ID`,形如:`havip-9o233uri`。必须是已绑定`EIP`的`HAVIP`。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` }
func NewHaVipDisassociateAddressIpRequest ¶
func NewHaVipDisassociateAddressIpRequest() (request *HaVipDisassociateAddressIpRequest)
func (*HaVipDisassociateAddressIpRequest) FromJsonString ¶
func (r *HaVipDisassociateAddressIpRequest) FromJsonString(s string) error
func (*HaVipDisassociateAddressIpRequest) ToJsonString ¶
func (r *HaVipDisassociateAddressIpRequest) ToJsonString() string
type HaVipDisassociateAddressIpResponse ¶
type HaVipDisassociateAddressIpResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewHaVipDisassociateAddressIpResponse ¶
func NewHaVipDisassociateAddressIpResponse() (response *HaVipDisassociateAddressIpResponse)
func (*HaVipDisassociateAddressIpResponse) FromJsonString ¶
func (r *HaVipDisassociateAddressIpResponse) FromJsonString(s string) error
func (*HaVipDisassociateAddressIpResponse) ToJsonString ¶
func (r *HaVipDisassociateAddressIpResponse) ToJsonString() string
type IKEOptionsSpecification ¶
type IKEOptionsSpecification struct { // 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC',默认为3DES-CBC PropoEncryAlgorithm *string `json:"PropoEncryAlgorithm,omitempty" name:"PropoEncryAlgorithm"` // 认证算法:可选值:'MD5', 'SHA1',默认为MD5 PropoAuthenAlgorithm *string `json:"PropoAuthenAlgorithm,omitempty" name:"PropoAuthenAlgorithm"` // 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN ExchangeMode *string `json:"ExchangeMode,omitempty" name:"ExchangeMode"` // 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS LocalIdentity *string `json:"LocalIdentity,omitempty" name:"LocalIdentity"` // 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS RemoteIdentity *string `json:"RemoteIdentity,omitempty" name:"RemoteIdentity"` // 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP LocalAddress *string `json:"LocalAddress,omitempty" name:"LocalAddress"` // 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填 RemoteAddress *string `json:"RemoteAddress,omitempty" name:"RemoteAddress"` // 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填 LocalFqdnName *string `json:"LocalFqdnName,omitempty" name:"LocalFqdnName"` // 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填 RemoteFqdnName *string `json:"RemoteFqdnName,omitempty" name:"RemoteFqdnName"` // DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24', DhGroupName *string `json:"DhGroupName,omitempty" name:"DhGroupName"` // IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800 IKESaLifetimeSeconds *uint64 `json:"IKESaLifetimeSeconds,omitempty" name:"IKESaLifetimeSeconds"` // IKE版本 IKEVersion *string `json:"IKEVersion,omitempty" name:"IKEVersion"` }
type IPSECOptionsSpecification ¶
type IPSECOptionsSpecification struct { // 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'NULL', 默认为AES-CBC-128 EncryptAlgorithm *string `json:"EncryptAlgorithm,omitempty" name:"EncryptAlgorithm"` // 认证算法:可选值:'MD5', 'SHA1',默认为 IntegrityAlgorith *string `json:"IntegrityAlgorith,omitempty" name:"IntegrityAlgorith"` // IPsec SA lifetime(s):单位秒,取值范围:180-604800 IPSECSaLifetimeSeconds *uint64 `json:"IPSECSaLifetimeSeconds,omitempty" name:"IPSECSaLifetimeSeconds"` // PFS:可选值:'NULL', 'DH-GROUP1', 'DH-GROUP2', 'DH-GROUP5', 'DH-GROUP14', 'DH-GROUP24',默认为NULL PfsDhGroup *string `json:"PfsDhGroup,omitempty" name:"PfsDhGroup"` // IPsec SA lifetime(KB):单位KB,取值范围:2560-604800 IPSECSaLifetimeTraffic *uint64 `json:"IPSECSaLifetimeTraffic,omitempty" name:"IPSECSaLifetimeTraffic"` }
type InquiryPriceCreateVpnGatewayRequest ¶
type InquiryPriceCreateVpnGatewayRequest struct { *tchttp.BaseRequest // 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid必填。 InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"` }
func NewInquiryPriceCreateVpnGatewayRequest ¶
func NewInquiryPriceCreateVpnGatewayRequest() (request *InquiryPriceCreateVpnGatewayRequest)
func (*InquiryPriceCreateVpnGatewayRequest) FromJsonString ¶
func (r *InquiryPriceCreateVpnGatewayRequest) FromJsonString(s string) error
func (*InquiryPriceCreateVpnGatewayRequest) ToJsonString ¶
func (r *InquiryPriceCreateVpnGatewayRequest) ToJsonString() string
type InquiryPriceCreateVpnGatewayResponse ¶
type InquiryPriceCreateVpnGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 商品价格。 Price *Price `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceCreateVpnGatewayResponse ¶
func NewInquiryPriceCreateVpnGatewayResponse() (response *InquiryPriceCreateVpnGatewayResponse)
func (*InquiryPriceCreateVpnGatewayResponse) FromJsonString ¶
func (r *InquiryPriceCreateVpnGatewayResponse) FromJsonString(s string) error
func (*InquiryPriceCreateVpnGatewayResponse) ToJsonString ¶
func (r *InquiryPriceCreateVpnGatewayResponse) ToJsonString() string
type InquiryPriceRenewVpnGatewayRequest ¶
type InquiryPriceRenewVpnGatewayRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"` }
func NewInquiryPriceRenewVpnGatewayRequest ¶
func NewInquiryPriceRenewVpnGatewayRequest() (request *InquiryPriceRenewVpnGatewayRequest)
func (*InquiryPriceRenewVpnGatewayRequest) FromJsonString ¶
func (r *InquiryPriceRenewVpnGatewayRequest) FromJsonString(s string) error
func (*InquiryPriceRenewVpnGatewayRequest) ToJsonString ¶
func (r *InquiryPriceRenewVpnGatewayRequest) ToJsonString() string
type InquiryPriceRenewVpnGatewayResponse ¶
type InquiryPriceRenewVpnGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 商品价格。 Price *Price `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceRenewVpnGatewayResponse ¶
func NewInquiryPriceRenewVpnGatewayResponse() (response *InquiryPriceRenewVpnGatewayResponse)
func (*InquiryPriceRenewVpnGatewayResponse) FromJsonString ¶
func (r *InquiryPriceRenewVpnGatewayResponse) FromJsonString(s string) error
func (*InquiryPriceRenewVpnGatewayResponse) ToJsonString ¶
func (r *InquiryPriceRenewVpnGatewayResponse) ToJsonString() string
type InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest ¶
type InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` }
func NewInquiryPriceResetVpnGatewayInternetMaxBandwidthRequest ¶
func NewInquiryPriceResetVpnGatewayInternetMaxBandwidthRequest() (request *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest)
func (*InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) FromJsonString ¶
func (r *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) FromJsonString(s string) error
func (*InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) ToJsonString ¶
func (r *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) ToJsonString() string
type InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse ¶
type InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse struct { *tchttp.BaseResponse Response *struct { // 商品价格。 Price *Price `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceResetVpnGatewayInternetMaxBandwidthResponse ¶
func NewInquiryPriceResetVpnGatewayInternetMaxBandwidthResponse() (response *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse)
func (*InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse) FromJsonString ¶
func (r *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse) FromJsonString(s string) error
func (*InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse) ToJsonString ¶
func (r *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse) ToJsonString() string
type InstanceChargePrepaid ¶
type InstanceChargePrepaid struct { // 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36。 Period *uint64 `json:"Period,omitempty" name:"Period"` // 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费, NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费。默认:NOTIFY_AND_MANUAL_RENEW RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` }
type InstanceStatistic ¶
type Ip6Rule ¶
type Ip6Rule struct { // IPV6转换规则唯一ID,形如rule6-xxxxxxxx Ip6RuleId *string `json:"Ip6RuleId,omitempty" name:"Ip6RuleId"` // IPV6转换规则名称 Ip6RuleName *string `json:"Ip6RuleName,omitempty" name:"Ip6RuleName"` // IPV6地址 Vip6 *string `json:"Vip6,omitempty" name:"Vip6"` // IPV6端口号 Vport6 *int64 `json:"Vport6,omitempty" name:"Vport6"` // 协议类型,支持TCP/UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // IPV4地址 Vip *string `json:"Vip,omitempty" name:"Vip"` // IPV4端口号 Vport *int64 `json:"Vport,omitempty" name:"Vport"` // 转换规则状态,限于CREATING,RUNNING,DELETING,MODIFYING RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"` // 转换规则创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type Ip6RuleInfo ¶
type Ip6RuleInfo struct { // IPV6端口号,可在0~65535范围取值 Vport6 *int64 `json:"Vport6,omitempty" name:"Vport6"` // 协议类型,支持TCP/UDP Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // IPV4地址 Vip *string `json:"Vip,omitempty" name:"Vip"` // IPV4端口号,可在0~65535范围取值 Vport *int64 `json:"Vport,omitempty" name:"Vport"` }
type Ip6Translator ¶
type Ip6Translator struct { // IPV6转换实例唯一ID,形如ip6-xxxxxxxx Ip6TranslatorId *string `json:"Ip6TranslatorId,omitempty" name:"Ip6TranslatorId"` // IPV6转换实例名称 Ip6TranslatorName *string `json:"Ip6TranslatorName,omitempty" name:"Ip6TranslatorName"` // IPV6地址 Vip6 *string `json:"Vip6,omitempty" name:"Vip6"` // IPV6转换地址所属运营商 IspName *string `json:"IspName,omitempty" name:"IspName"` // 转换实例状态,限于CREATING,RUNNING,DELETING,MODIFYING TranslatorStatus *string `json:"TranslatorStatus,omitempty" name:"TranslatorStatus"` // IPV6转换实例创建时间 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 绑定的IPV6转换规则数量 Ip6RuleCount *int64 `json:"Ip6RuleCount,omitempty" name:"Ip6RuleCount"` // IPV6转换规则信息 IP6RuleSet []*Ip6Rule `json:"IP6RuleSet,omitempty" name:"IP6RuleSet" list` }
type Ipv6Address ¶
type Ipv6Address struct { // `IPv6`地址,形如:`3402:4e00:20:100:0:8cd9:2a67:71f3` Address *string `json:"Address,omitempty" name:"Address"` // 是否是主`IP`。 Primary *bool `json:"Primary,omitempty" name:"Primary"` // `EIP`实例`ID`,形如:`eip-hxlqja90`。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 公网IP是否被封堵。 IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitempty" name:"IsWanIpBlocked"` // `IPv6`地址状态: // <li>`PENDING`:生产中</li> // <li>`MIGRATING`:迁移中</li> // <li>`DELETING`:删除中</li> // <li>`AVAILABLE`:可用的</li> State *string `json:"State,omitempty" name:"State"` }
type Ipv6SubnetCidrBlock ¶
type ItemPrice ¶
type ItemPrice struct { // 按量计费后付费单价,单位:元。 UnitPrice *float64 `json:"UnitPrice,omitempty" name:"UnitPrice"` // 按量计费后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR): GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。 ChargeUnit *string `json:"ChargeUnit,omitempty" name:"ChargeUnit"` // 预付费商品的原价,单位:元。 OriginalPrice *float64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // 预付费商品的折扣价,单位:元。 DiscountPrice *float64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"` }
type MigrateNetworkInterfaceRequest ¶
type MigrateNetworkInterfaceRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。 SourceInstanceId *string `json:"SourceInstanceId,omitempty" name:"SourceInstanceId"` // 待迁移的目的CVM实例ID。 DestinationInstanceId *string `json:"DestinationInstanceId,omitempty" name:"DestinationInstanceId"` }
func NewMigrateNetworkInterfaceRequest ¶
func NewMigrateNetworkInterfaceRequest() (request *MigrateNetworkInterfaceRequest)
func (*MigrateNetworkInterfaceRequest) FromJsonString ¶
func (r *MigrateNetworkInterfaceRequest) FromJsonString(s string) error
func (*MigrateNetworkInterfaceRequest) ToJsonString ¶
func (r *MigrateNetworkInterfaceRequest) ToJsonString() string
type MigrateNetworkInterfaceResponse ¶
type MigrateNetworkInterfaceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewMigrateNetworkInterfaceResponse ¶
func NewMigrateNetworkInterfaceResponse() (response *MigrateNetworkInterfaceResponse)
func (*MigrateNetworkInterfaceResponse) FromJsonString ¶
func (r *MigrateNetworkInterfaceResponse) FromJsonString(s string) error
func (*MigrateNetworkInterfaceResponse) ToJsonString ¶
func (r *MigrateNetworkInterfaceResponse) ToJsonString() string
type MigratePrivateIpAddressRequest ¶
type MigratePrivateIpAddressRequest struct { *tchttp.BaseRequest // 当内网IP绑定的弹性网卡实例ID,例如:eni-m6dyj72l。 SourceNetworkInterfaceId *string `json:"SourceNetworkInterfaceId,omitempty" name:"SourceNetworkInterfaceId"` // 待迁移的目的弹性网卡实例ID。 DestinationNetworkInterfaceId *string `json:"DestinationNetworkInterfaceId,omitempty" name:"DestinationNetworkInterfaceId"` // 迁移的内网IP地址,例如:10.0.0.6。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` }
func NewMigratePrivateIpAddressRequest ¶
func NewMigratePrivateIpAddressRequest() (request *MigratePrivateIpAddressRequest)
func (*MigratePrivateIpAddressRequest) FromJsonString ¶
func (r *MigratePrivateIpAddressRequest) FromJsonString(s string) error
func (*MigratePrivateIpAddressRequest) ToJsonString ¶
func (r *MigratePrivateIpAddressRequest) ToJsonString() string
type MigratePrivateIpAddressResponse ¶
type MigratePrivateIpAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewMigratePrivateIpAddressResponse ¶
func NewMigratePrivateIpAddressResponse() (response *MigratePrivateIpAddressResponse)
func (*MigratePrivateIpAddressResponse) FromJsonString ¶
func (r *MigratePrivateIpAddressResponse) FromJsonString(s string) error
func (*MigratePrivateIpAddressResponse) ToJsonString ¶
func (r *MigratePrivateIpAddressResponse) ToJsonString() string
type ModifyAddressAttributeRequest ¶
type ModifyAddressAttributeRequest struct { *tchttp.BaseRequest // 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 修改后的 EIP 名称。长度上限为20个字符。 AddressName *string `json:"AddressName,omitempty" name:"AddressName"` // 设定EIP是否直通,"TRUE"表示直通,"FALSE"表示非直通。注意该参数仅对EIP直通功能可见的用户可以设定。 EipDirectConnection *string `json:"EipDirectConnection,omitempty" name:"EipDirectConnection"` }
func NewModifyAddressAttributeRequest ¶
func NewModifyAddressAttributeRequest() (request *ModifyAddressAttributeRequest)
func (*ModifyAddressAttributeRequest) FromJsonString ¶
func (r *ModifyAddressAttributeRequest) FromJsonString(s string) error
func (*ModifyAddressAttributeRequest) ToJsonString ¶
func (r *ModifyAddressAttributeRequest) ToJsonString() string
type ModifyAddressAttributeResponse ¶
type ModifyAddressAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAddressAttributeResponse ¶
func NewModifyAddressAttributeResponse() (response *ModifyAddressAttributeResponse)
func (*ModifyAddressAttributeResponse) FromJsonString ¶
func (r *ModifyAddressAttributeResponse) FromJsonString(s string) error
func (*ModifyAddressAttributeResponse) ToJsonString ¶
func (r *ModifyAddressAttributeResponse) ToJsonString() string
type ModifyAddressTemplateAttributeRequest ¶
type ModifyAddressTemplateAttributeRequest struct { *tchttp.BaseRequest // IP地址模板实例ID,例如:ipm-mdunqeb6。 AddressTemplateId *string `json:"AddressTemplateId,omitempty" name:"AddressTemplateId"` // IP地址模板名称。 AddressTemplateName *string `json:"AddressTemplateName,omitempty" name:"AddressTemplateName"` // 地址信息,支持 IP、CIDR、IP 范围。 Addresses []*string `json:"Addresses,omitempty" name:"Addresses" list` }
func NewModifyAddressTemplateAttributeRequest ¶
func NewModifyAddressTemplateAttributeRequest() (request *ModifyAddressTemplateAttributeRequest)
func (*ModifyAddressTemplateAttributeRequest) FromJsonString ¶
func (r *ModifyAddressTemplateAttributeRequest) FromJsonString(s string) error
func (*ModifyAddressTemplateAttributeRequest) ToJsonString ¶
func (r *ModifyAddressTemplateAttributeRequest) ToJsonString() string
type ModifyAddressTemplateAttributeResponse ¶
type ModifyAddressTemplateAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAddressTemplateAttributeResponse ¶
func NewModifyAddressTemplateAttributeResponse() (response *ModifyAddressTemplateAttributeResponse)
func (*ModifyAddressTemplateAttributeResponse) FromJsonString ¶
func (r *ModifyAddressTemplateAttributeResponse) FromJsonString(s string) error
func (*ModifyAddressTemplateAttributeResponse) ToJsonString ¶
func (r *ModifyAddressTemplateAttributeResponse) ToJsonString() string
type ModifyAddressTemplateGroupAttributeRequest ¶
type ModifyAddressTemplateGroupAttributeRequest struct { *tchttp.BaseRequest // IP地址模板集合实例ID,例如:ipmg-2uw6ujo6。 AddressTemplateGroupId *string `json:"AddressTemplateGroupId,omitempty" name:"AddressTemplateGroupId"` // IP地址模板集合名称。 AddressTemplateGroupName *string `json:"AddressTemplateGroupName,omitempty" name:"AddressTemplateGroupName"` // IP地址模板实例ID, 例如:ipm-mdunqeb6。 AddressTemplateIds []*string `json:"AddressTemplateIds,omitempty" name:"AddressTemplateIds" list` }
func NewModifyAddressTemplateGroupAttributeRequest ¶
func NewModifyAddressTemplateGroupAttributeRequest() (request *ModifyAddressTemplateGroupAttributeRequest)
func (*ModifyAddressTemplateGroupAttributeRequest) FromJsonString ¶
func (r *ModifyAddressTemplateGroupAttributeRequest) FromJsonString(s string) error
func (*ModifyAddressTemplateGroupAttributeRequest) ToJsonString ¶
func (r *ModifyAddressTemplateGroupAttributeRequest) ToJsonString() string
type ModifyAddressTemplateGroupAttributeResponse ¶
type ModifyAddressTemplateGroupAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAddressTemplateGroupAttributeResponse ¶
func NewModifyAddressTemplateGroupAttributeResponse() (response *ModifyAddressTemplateGroupAttributeResponse)
func (*ModifyAddressTemplateGroupAttributeResponse) FromJsonString ¶
func (r *ModifyAddressTemplateGroupAttributeResponse) FromJsonString(s string) error
func (*ModifyAddressTemplateGroupAttributeResponse) ToJsonString ¶
func (r *ModifyAddressTemplateGroupAttributeResponse) ToJsonString() string
type ModifyAddressesBandwidthRequest ¶
type ModifyAddressesBandwidthRequest struct { *tchttp.BaseRequest // EIP唯一标识id,形如'eip-xxxx' AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds" list` // 调整带宽目标值 InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 包月带宽起始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 包月带宽结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewModifyAddressesBandwidthRequest ¶
func NewModifyAddressesBandwidthRequest() (request *ModifyAddressesBandwidthRequest)
func (*ModifyAddressesBandwidthRequest) FromJsonString ¶
func (r *ModifyAddressesBandwidthRequest) FromJsonString(s string) error
func (*ModifyAddressesBandwidthRequest) ToJsonString ¶
func (r *ModifyAddressesBandwidthRequest) ToJsonString() string
type ModifyAddressesBandwidthResponse ¶
type ModifyAddressesBandwidthResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAddressesBandwidthResponse ¶
func NewModifyAddressesBandwidthResponse() (response *ModifyAddressesBandwidthResponse)
func (*ModifyAddressesBandwidthResponse) FromJsonString ¶
func (r *ModifyAddressesBandwidthResponse) FromJsonString(s string) error
func (*ModifyAddressesBandwidthResponse) ToJsonString ¶
func (r *ModifyAddressesBandwidthResponse) ToJsonString() string
type ModifyBandwidthPackageAttributeRequest ¶
type ModifyBandwidthPackageAttributeRequest struct { *tchttp.BaseRequest // 带宽包唯一标识ID BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" name:"BandwidthPackageId"` // 带宽包名称 BandwidthPackageName *string `json:"BandwidthPackageName,omitempty" name:"BandwidthPackageName"` }
func NewModifyBandwidthPackageAttributeRequest ¶
func NewModifyBandwidthPackageAttributeRequest() (request *ModifyBandwidthPackageAttributeRequest)
func (*ModifyBandwidthPackageAttributeRequest) FromJsonString ¶
func (r *ModifyBandwidthPackageAttributeRequest) FromJsonString(s string) error
func (*ModifyBandwidthPackageAttributeRequest) ToJsonString ¶
func (r *ModifyBandwidthPackageAttributeRequest) ToJsonString() string
type ModifyBandwidthPackageAttributeResponse ¶
type ModifyBandwidthPackageAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyBandwidthPackageAttributeResponse ¶
func NewModifyBandwidthPackageAttributeResponse() (response *ModifyBandwidthPackageAttributeResponse)
func (*ModifyBandwidthPackageAttributeResponse) FromJsonString ¶
func (r *ModifyBandwidthPackageAttributeResponse) FromJsonString(s string) error
func (*ModifyBandwidthPackageAttributeResponse) ToJsonString ¶
func (r *ModifyBandwidthPackageAttributeResponse) ToJsonString() string
type ModifyCcnAttributeRequest ¶
type ModifyCcnAttributeRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN名称,最大长度不能超过60个字节。 CcnName *string `json:"CcnName,omitempty" name:"CcnName"` // CCN描述信息,最大长度不能超过100个字节。 CcnDescription *string `json:"CcnDescription,omitempty" name:"CcnDescription"` }
func NewModifyCcnAttributeRequest ¶
func NewModifyCcnAttributeRequest() (request *ModifyCcnAttributeRequest)
func (*ModifyCcnAttributeRequest) FromJsonString ¶
func (r *ModifyCcnAttributeRequest) FromJsonString(s string) error
func (*ModifyCcnAttributeRequest) ToJsonString ¶
func (r *ModifyCcnAttributeRequest) ToJsonString() string
type ModifyCcnAttributeResponse ¶
type ModifyCcnAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCcnAttributeResponse ¶
func NewModifyCcnAttributeResponse() (response *ModifyCcnAttributeResponse)
func (*ModifyCcnAttributeResponse) FromJsonString ¶
func (r *ModifyCcnAttributeResponse) FromJsonString(s string) error
func (*ModifyCcnAttributeResponse) ToJsonString ¶
func (r *ModifyCcnAttributeResponse) ToJsonString() string
type ModifyCustomerGatewayAttributeRequest ¶
type ModifyCustomerGatewayAttributeRequest struct { *tchttp.BaseRequest // 对端网关ID,例如:cgw-2wqq41m9,可通过DescribeCustomerGateways接口查询对端网关。 CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"` // 对端网关名称,可任意命名,但不得超过60个字符。 CustomerGatewayName *string `json:"CustomerGatewayName,omitempty" name:"CustomerGatewayName"` }
func NewModifyCustomerGatewayAttributeRequest ¶
func NewModifyCustomerGatewayAttributeRequest() (request *ModifyCustomerGatewayAttributeRequest)
func (*ModifyCustomerGatewayAttributeRequest) FromJsonString ¶
func (r *ModifyCustomerGatewayAttributeRequest) FromJsonString(s string) error
func (*ModifyCustomerGatewayAttributeRequest) ToJsonString ¶
func (r *ModifyCustomerGatewayAttributeRequest) ToJsonString() string
type ModifyCustomerGatewayAttributeResponse ¶
type ModifyCustomerGatewayAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyCustomerGatewayAttributeResponse ¶
func NewModifyCustomerGatewayAttributeResponse() (response *ModifyCustomerGatewayAttributeResponse)
func (*ModifyCustomerGatewayAttributeResponse) FromJsonString ¶
func (r *ModifyCustomerGatewayAttributeResponse) FromJsonString(s string) error
func (*ModifyCustomerGatewayAttributeResponse) ToJsonString ¶
func (r *ModifyCustomerGatewayAttributeResponse) ToJsonString() string
type ModifyDirectConnectGatewayAttributeRequest ¶
type ModifyDirectConnectGatewayAttributeRequest struct { *tchttp.BaseRequest // 专线网关唯一`ID`,形如:`dcg-9o233uri`。 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 专线网关名称,可任意命名,但不得超过60个字符。 DirectConnectGatewayName *string `json:"DirectConnectGatewayName,omitempty" name:"DirectConnectGatewayName"` // 云联网路由学习类型,可选值:`BGP`(自动学习)、`STATIC`(静态,即用户配置)。只有云联网类型专线网关且开启了BGP功能才支持修改`CcnRouteType`。 CcnRouteType *string `json:"CcnRouteType,omitempty" name:"CcnRouteType"` }
func NewModifyDirectConnectGatewayAttributeRequest ¶
func NewModifyDirectConnectGatewayAttributeRequest() (request *ModifyDirectConnectGatewayAttributeRequest)
func (*ModifyDirectConnectGatewayAttributeRequest) FromJsonString ¶
func (r *ModifyDirectConnectGatewayAttributeRequest) FromJsonString(s string) error
func (*ModifyDirectConnectGatewayAttributeRequest) ToJsonString ¶
func (r *ModifyDirectConnectGatewayAttributeRequest) ToJsonString() string
type ModifyDirectConnectGatewayAttributeResponse ¶
type ModifyDirectConnectGatewayAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDirectConnectGatewayAttributeResponse ¶
func NewModifyDirectConnectGatewayAttributeResponse() (response *ModifyDirectConnectGatewayAttributeResponse)
func (*ModifyDirectConnectGatewayAttributeResponse) FromJsonString ¶
func (r *ModifyDirectConnectGatewayAttributeResponse) FromJsonString(s string) error
func (*ModifyDirectConnectGatewayAttributeResponse) ToJsonString ¶
func (r *ModifyDirectConnectGatewayAttributeResponse) ToJsonString() string
type ModifyFlowLogAttributeRequest ¶
type ModifyFlowLogAttributeRequest struct { *tchttp.BaseRequest // 私用网络ID或者统一ID,建议使用统一ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 流日志唯一ID FlowLogId *string `json:"FlowLogId,omitempty" name:"FlowLogId"` // 流日志实例名字 FlowLogName *string `json:"FlowLogName,omitempty" name:"FlowLogName"` // 流日志实例描述 FlowLogDescription *string `json:"FlowLogDescription,omitempty" name:"FlowLogDescription"` }
func NewModifyFlowLogAttributeRequest ¶
func NewModifyFlowLogAttributeRequest() (request *ModifyFlowLogAttributeRequest)
func (*ModifyFlowLogAttributeRequest) FromJsonString ¶
func (r *ModifyFlowLogAttributeRequest) FromJsonString(s string) error
func (*ModifyFlowLogAttributeRequest) ToJsonString ¶
func (r *ModifyFlowLogAttributeRequest) ToJsonString() string
type ModifyFlowLogAttributeResponse ¶
type ModifyFlowLogAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyFlowLogAttributeResponse ¶
func NewModifyFlowLogAttributeResponse() (response *ModifyFlowLogAttributeResponse)
func (*ModifyFlowLogAttributeResponse) FromJsonString ¶
func (r *ModifyFlowLogAttributeResponse) FromJsonString(s string) error
func (*ModifyFlowLogAttributeResponse) ToJsonString ¶
func (r *ModifyFlowLogAttributeResponse) ToJsonString() string
type ModifyHaVipAttributeRequest ¶
type ModifyHaVipAttributeRequest struct { *tchttp.BaseRequest // `HAVIP`唯一`ID`,形如:`havip-9o233uri`。 HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"` // `HAVIP`名称,可任意命名,但不得超过60个字符。 HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"` }
func NewModifyHaVipAttributeRequest ¶
func NewModifyHaVipAttributeRequest() (request *ModifyHaVipAttributeRequest)
func (*ModifyHaVipAttributeRequest) FromJsonString ¶
func (r *ModifyHaVipAttributeRequest) FromJsonString(s string) error
func (*ModifyHaVipAttributeRequest) ToJsonString ¶
func (r *ModifyHaVipAttributeRequest) ToJsonString() string
type ModifyHaVipAttributeResponse ¶
type ModifyHaVipAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyHaVipAttributeResponse ¶
func NewModifyHaVipAttributeResponse() (response *ModifyHaVipAttributeResponse)
func (*ModifyHaVipAttributeResponse) FromJsonString ¶
func (r *ModifyHaVipAttributeResponse) FromJsonString(s string) error
func (*ModifyHaVipAttributeResponse) ToJsonString ¶
func (r *ModifyHaVipAttributeResponse) ToJsonString() string
type ModifyIp6RuleRequest ¶
type ModifyIp6RuleRequest struct { *tchttp.BaseRequest // IPV6转换实例唯一ID,形如ip6-xxxxxxxx Ip6TranslatorId *string `json:"Ip6TranslatorId,omitempty" name:"Ip6TranslatorId"` // IPV6转换规则唯一ID,形如rule6-xxxxxxxx Ip6RuleId *string `json:"Ip6RuleId,omitempty" name:"Ip6RuleId"` // IPV6转换规则修改后的名称 Ip6RuleName *string `json:"Ip6RuleName,omitempty" name:"Ip6RuleName"` // IPV6转换规则修改后的IPV4地址 Vip *string `json:"Vip,omitempty" name:"Vip"` // IPV6转换规则修改后的IPV4端口号 Vport *int64 `json:"Vport,omitempty" name:"Vport"` }
func NewModifyIp6RuleRequest ¶
func NewModifyIp6RuleRequest() (request *ModifyIp6RuleRequest)
func (*ModifyIp6RuleRequest) FromJsonString ¶
func (r *ModifyIp6RuleRequest) FromJsonString(s string) error
func (*ModifyIp6RuleRequest) ToJsonString ¶
func (r *ModifyIp6RuleRequest) ToJsonString() string
type ModifyIp6RuleResponse ¶
type ModifyIp6RuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyIp6RuleResponse ¶
func NewModifyIp6RuleResponse() (response *ModifyIp6RuleResponse)
func (*ModifyIp6RuleResponse) FromJsonString ¶
func (r *ModifyIp6RuleResponse) FromJsonString(s string) error
func (*ModifyIp6RuleResponse) ToJsonString ¶
func (r *ModifyIp6RuleResponse) ToJsonString() string
type ModifyIp6TranslatorRequest ¶
type ModifyIp6TranslatorRequest struct { *tchttp.BaseRequest // IPV6转换实例唯一ID,形如ip6-xxxxxxxxx Ip6TranslatorId *string `json:"Ip6TranslatorId,omitempty" name:"Ip6TranslatorId"` // IPV6转换实例修改名称 Ip6TranslatorName *string `json:"Ip6TranslatorName,omitempty" name:"Ip6TranslatorName"` }
func NewModifyIp6TranslatorRequest ¶
func NewModifyIp6TranslatorRequest() (request *ModifyIp6TranslatorRequest)
func (*ModifyIp6TranslatorRequest) FromJsonString ¶
func (r *ModifyIp6TranslatorRequest) FromJsonString(s string) error
func (*ModifyIp6TranslatorRequest) ToJsonString ¶
func (r *ModifyIp6TranslatorRequest) ToJsonString() string
type ModifyIp6TranslatorResponse ¶
type ModifyIp6TranslatorResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyIp6TranslatorResponse ¶
func NewModifyIp6TranslatorResponse() (response *ModifyIp6TranslatorResponse)
func (*ModifyIp6TranslatorResponse) FromJsonString ¶
func (r *ModifyIp6TranslatorResponse) FromJsonString(s string) error
func (*ModifyIp6TranslatorResponse) ToJsonString ¶
func (r *ModifyIp6TranslatorResponse) ToJsonString() string
type ModifyIpv6AddressesAttributeRequest ¶
type ModifyIpv6AddressesAttributeRequest struct { *tchttp.BaseRequest // 弹性网卡实例`ID`,形如:`eni-m6dyj72l`。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IPv6`地址信息。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses" list` }
func NewModifyIpv6AddressesAttributeRequest ¶
func NewModifyIpv6AddressesAttributeRequest() (request *ModifyIpv6AddressesAttributeRequest)
func (*ModifyIpv6AddressesAttributeRequest) FromJsonString ¶
func (r *ModifyIpv6AddressesAttributeRequest) FromJsonString(s string) error
func (*ModifyIpv6AddressesAttributeRequest) ToJsonString ¶
func (r *ModifyIpv6AddressesAttributeRequest) ToJsonString() string
type ModifyIpv6AddressesAttributeResponse ¶
type ModifyIpv6AddressesAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyIpv6AddressesAttributeResponse ¶
func NewModifyIpv6AddressesAttributeResponse() (response *ModifyIpv6AddressesAttributeResponse)
func (*ModifyIpv6AddressesAttributeResponse) FromJsonString ¶
func (r *ModifyIpv6AddressesAttributeResponse) FromJsonString(s string) error
func (*ModifyIpv6AddressesAttributeResponse) ToJsonString ¶
func (r *ModifyIpv6AddressesAttributeResponse) ToJsonString() string
type ModifyNatGatewayAttributeRequest ¶
type ModifyNatGatewayAttributeRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // NAT网关的名称,形如:`test_nat`。 NatGatewayName *string `json:"NatGatewayName,omitempty" name:"NatGatewayName"` // NAT网关最大外网出带宽(单位:Mbps)。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` }
func NewModifyNatGatewayAttributeRequest ¶
func NewModifyNatGatewayAttributeRequest() (request *ModifyNatGatewayAttributeRequest)
func (*ModifyNatGatewayAttributeRequest) FromJsonString ¶
func (r *ModifyNatGatewayAttributeRequest) FromJsonString(s string) error
func (*ModifyNatGatewayAttributeRequest) ToJsonString ¶
func (r *ModifyNatGatewayAttributeRequest) ToJsonString() string
type ModifyNatGatewayAttributeResponse ¶
type ModifyNatGatewayAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyNatGatewayAttributeResponse ¶
func NewModifyNatGatewayAttributeResponse() (response *ModifyNatGatewayAttributeResponse)
func (*ModifyNatGatewayAttributeResponse) FromJsonString ¶
func (r *ModifyNatGatewayAttributeResponse) FromJsonString(s string) error
func (*ModifyNatGatewayAttributeResponse) ToJsonString ¶
func (r *ModifyNatGatewayAttributeResponse) ToJsonString() string
type ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest ¶
type ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest struct { *tchttp.BaseRequest // NAT网关的ID,形如:`nat-df45454`。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // 源NAT网关的端口转换规则。 SourceNatRule *DestinationIpPortTranslationNatRule `json:"SourceNatRule,omitempty" name:"SourceNatRule"` // 目的NAT网关的端口转换规则。 DestinationNatRule *DestinationIpPortTranslationNatRule `json:"DestinationNatRule,omitempty" name:"DestinationNatRule"` }
func NewModifyNatGatewayDestinationIpPortTranslationNatRuleRequest ¶
func NewModifyNatGatewayDestinationIpPortTranslationNatRuleRequest() (request *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest)
func (*ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) FromJsonString ¶
func (r *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) FromJsonString(s string) error
func (*ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) ToJsonString ¶
func (r *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) ToJsonString() string
type ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse ¶
type ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyNatGatewayDestinationIpPortTranslationNatRuleResponse ¶
func NewModifyNatGatewayDestinationIpPortTranslationNatRuleResponse() (response *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse)
func (*ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse) FromJsonString ¶
func (r *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse) FromJsonString(s string) error
func (*ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse) ToJsonString ¶
func (r *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse) ToJsonString() string
type ModifyNetDetectRequest ¶
type ModifyNetDetectRequest struct { *tchttp.BaseRequest // 网络探测实例`ID`。形如:`netd-12345678` NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` // 网络探测名称,最大长度不能超过60个字节。 NetDetectName *string `json:"NetDetectName,omitempty" name:"NetDetectName"` // 探测目的IPv4地址数组,最多两个。 DetectDestinationIp []*string `json:"DetectDestinationIp,omitempty" name:"DetectDestinationIp" list` // 下一跳类型,目前我们支持的类型有: // VPN:VPN网关; // DIRECTCONNECT:专线网关; // PEERCONNECTION:对等连接; // NAT:NAT网关; // NORMAL_CVM:普通云主机; NextHopType *string `json:"NextHopType,omitempty" name:"NextHopType"` // 下一跳目的网关,取值与“下一跳类型”相关: // 下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678; // 下一跳类型为DIRECTCONNECT,取值专线网关ID,形如:dcg-12345678; // 下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678; // 下一跳类型为NAT,取值Nat网关,形如:nat-12345678; // 下一跳类型为NORMAL_CVM,取值云主机IPv4地址,形如:10.0.0.12; NextHopDestination *string `json:"NextHopDestination,omitempty" name:"NextHopDestination"` // 网络探测描述。 NetDetectDescription *string `json:"NetDetectDescription,omitempty" name:"NetDetectDescription"` }
func NewModifyNetDetectRequest ¶
func NewModifyNetDetectRequest() (request *ModifyNetDetectRequest)
func (*ModifyNetDetectRequest) FromJsonString ¶
func (r *ModifyNetDetectRequest) FromJsonString(s string) error
func (*ModifyNetDetectRequest) ToJsonString ¶
func (r *ModifyNetDetectRequest) ToJsonString() string
type ModifyNetDetectResponse ¶
type ModifyNetDetectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyNetDetectResponse ¶
func NewModifyNetDetectResponse() (response *ModifyNetDetectResponse)
func (*ModifyNetDetectResponse) FromJsonString ¶
func (r *ModifyNetDetectResponse) FromJsonString(s string) error
func (*ModifyNetDetectResponse) ToJsonString ¶
func (r *ModifyNetDetectResponse) ToJsonString() string
type ModifyNetworkInterfaceAttributeRequest ¶
type ModifyNetworkInterfaceAttributeRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-pxir56ns。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 弹性网卡名称,最大长度不能超过60个字节。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 弹性网卡描述,可任意命名,但不得超过60个字符。 NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"` // 指定绑定的安全组,例如:['sg-1dd51d']。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` }
func NewModifyNetworkInterfaceAttributeRequest ¶
func NewModifyNetworkInterfaceAttributeRequest() (request *ModifyNetworkInterfaceAttributeRequest)
func (*ModifyNetworkInterfaceAttributeRequest) FromJsonString ¶
func (r *ModifyNetworkInterfaceAttributeRequest) FromJsonString(s string) error
func (*ModifyNetworkInterfaceAttributeRequest) ToJsonString ¶
func (r *ModifyNetworkInterfaceAttributeRequest) ToJsonString() string
type ModifyNetworkInterfaceAttributeResponse ¶
type ModifyNetworkInterfaceAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyNetworkInterfaceAttributeResponse ¶
func NewModifyNetworkInterfaceAttributeResponse() (response *ModifyNetworkInterfaceAttributeResponse)
func (*ModifyNetworkInterfaceAttributeResponse) FromJsonString ¶
func (r *ModifyNetworkInterfaceAttributeResponse) FromJsonString(s string) error
func (*ModifyNetworkInterfaceAttributeResponse) ToJsonString ¶
func (r *ModifyNetworkInterfaceAttributeResponse) ToJsonString() string
type ModifyPrivateIpAddressesAttributeRequest ¶
type ModifyPrivateIpAddressesAttributeRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` }
func NewModifyPrivateIpAddressesAttributeRequest ¶
func NewModifyPrivateIpAddressesAttributeRequest() (request *ModifyPrivateIpAddressesAttributeRequest)
func (*ModifyPrivateIpAddressesAttributeRequest) FromJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeRequest) FromJsonString(s string) error
func (*ModifyPrivateIpAddressesAttributeRequest) ToJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeRequest) ToJsonString() string
type ModifyPrivateIpAddressesAttributeResponse ¶
type ModifyPrivateIpAddressesAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyPrivateIpAddressesAttributeResponse ¶
func NewModifyPrivateIpAddressesAttributeResponse() (response *ModifyPrivateIpAddressesAttributeResponse)
func (*ModifyPrivateIpAddressesAttributeResponse) FromJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeResponse) FromJsonString(s string) error
func (*ModifyPrivateIpAddressesAttributeResponse) ToJsonString ¶
func (r *ModifyPrivateIpAddressesAttributeResponse) ToJsonString() string
type ModifyRouteTableAttributeRequest ¶
type ModifyRouteTableAttributeRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` }
func NewModifyRouteTableAttributeRequest ¶
func NewModifyRouteTableAttributeRequest() (request *ModifyRouteTableAttributeRequest)
func (*ModifyRouteTableAttributeRequest) FromJsonString ¶
func (r *ModifyRouteTableAttributeRequest) FromJsonString(s string) error
func (*ModifyRouteTableAttributeRequest) ToJsonString ¶
func (r *ModifyRouteTableAttributeRequest) ToJsonString() string
type ModifyRouteTableAttributeResponse ¶
type ModifyRouteTableAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyRouteTableAttributeResponse ¶
func NewModifyRouteTableAttributeResponse() (response *ModifyRouteTableAttributeResponse)
func (*ModifyRouteTableAttributeResponse) FromJsonString ¶
func (r *ModifyRouteTableAttributeResponse) FromJsonString(s string) error
func (*ModifyRouteTableAttributeResponse) ToJsonString ¶
func (r *ModifyRouteTableAttributeResponse) ToJsonString() string
type ModifySecurityGroupAttributeRequest ¶
type ModifySecurityGroupAttributeRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组名称,可任意命名,但不得超过60个字符。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 安全组备注,最多100个字符。 GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"` }
func NewModifySecurityGroupAttributeRequest ¶
func NewModifySecurityGroupAttributeRequest() (request *ModifySecurityGroupAttributeRequest)
func (*ModifySecurityGroupAttributeRequest) FromJsonString ¶
func (r *ModifySecurityGroupAttributeRequest) FromJsonString(s string) error
func (*ModifySecurityGroupAttributeRequest) ToJsonString ¶
func (r *ModifySecurityGroupAttributeRequest) ToJsonString() string
type ModifySecurityGroupAttributeResponse ¶
type ModifySecurityGroupAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifySecurityGroupAttributeResponse ¶
func NewModifySecurityGroupAttributeResponse() (response *ModifySecurityGroupAttributeResponse)
func (*ModifySecurityGroupAttributeResponse) FromJsonString ¶
func (r *ModifySecurityGroupAttributeResponse) FromJsonString(s string) error
func (*ModifySecurityGroupAttributeResponse) ToJsonString ¶
func (r *ModifySecurityGroupAttributeResponse) ToJsonString() string
type ModifySecurityGroupPoliciesRequest ¶
type ModifySecurityGroupPoliciesRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合。 SecurityGroupPolicySet对象必须同时指定新的出(Egress)入(Ingress)站规则。 SecurityGroupPolicy对象不支持自定义索引(PolicyIndex)。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewModifySecurityGroupPoliciesRequest ¶
func NewModifySecurityGroupPoliciesRequest() (request *ModifySecurityGroupPoliciesRequest)
func (*ModifySecurityGroupPoliciesRequest) FromJsonString ¶
func (r *ModifySecurityGroupPoliciesRequest) FromJsonString(s string) error
func (*ModifySecurityGroupPoliciesRequest) ToJsonString ¶
func (r *ModifySecurityGroupPoliciesRequest) ToJsonString() string
type ModifySecurityGroupPoliciesResponse ¶
type ModifySecurityGroupPoliciesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifySecurityGroupPoliciesResponse ¶
func NewModifySecurityGroupPoliciesResponse() (response *ModifySecurityGroupPoliciesResponse)
func (*ModifySecurityGroupPoliciesResponse) FromJsonString ¶
func (r *ModifySecurityGroupPoliciesResponse) FromJsonString(s string) error
func (*ModifySecurityGroupPoliciesResponse) ToJsonString ¶
func (r *ModifySecurityGroupPoliciesResponse) ToJsonString() string
type ModifyServiceTemplateAttributeRequest ¶
type ModifyServiceTemplateAttributeRequest struct { *tchttp.BaseRequest // 协议端口模板实例ID,例如:ppm-529nwwj8。 ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` // 协议端口模板名称。 ServiceTemplateName *string `json:"ServiceTemplateName,omitempty" name:"ServiceTemplateName"` // 支持单个端口、多个端口、连续端口及所有端口,协议支持:TCP、UDP、ICMP、GRE 协议。 Services []*string `json:"Services,omitempty" name:"Services" list` }
func NewModifyServiceTemplateAttributeRequest ¶
func NewModifyServiceTemplateAttributeRequest() (request *ModifyServiceTemplateAttributeRequest)
func (*ModifyServiceTemplateAttributeRequest) FromJsonString ¶
func (r *ModifyServiceTemplateAttributeRequest) FromJsonString(s string) error
func (*ModifyServiceTemplateAttributeRequest) ToJsonString ¶
func (r *ModifyServiceTemplateAttributeRequest) ToJsonString() string
type ModifyServiceTemplateAttributeResponse ¶
type ModifyServiceTemplateAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyServiceTemplateAttributeResponse ¶
func NewModifyServiceTemplateAttributeResponse() (response *ModifyServiceTemplateAttributeResponse)
func (*ModifyServiceTemplateAttributeResponse) FromJsonString ¶
func (r *ModifyServiceTemplateAttributeResponse) FromJsonString(s string) error
func (*ModifyServiceTemplateAttributeResponse) ToJsonString ¶
func (r *ModifyServiceTemplateAttributeResponse) ToJsonString() string
type ModifyServiceTemplateGroupAttributeRequest ¶
type ModifyServiceTemplateGroupAttributeRequest struct { *tchttp.BaseRequest // 协议端口模板集合实例ID,例如:ppmg-ei8hfd9a。 ServiceTemplateGroupId *string `json:"ServiceTemplateGroupId,omitempty" name:"ServiceTemplateGroupId"` // 协议端口模板集合名称。 ServiceTemplateGroupName *string `json:"ServiceTemplateGroupName,omitempty" name:"ServiceTemplateGroupName"` // 协议端口模板实例ID,例如:ppm-4dw6agho。 ServiceTemplateIds []*string `json:"ServiceTemplateIds,omitempty" name:"ServiceTemplateIds" list` }
func NewModifyServiceTemplateGroupAttributeRequest ¶
func NewModifyServiceTemplateGroupAttributeRequest() (request *ModifyServiceTemplateGroupAttributeRequest)
func (*ModifyServiceTemplateGroupAttributeRequest) FromJsonString ¶
func (r *ModifyServiceTemplateGroupAttributeRequest) FromJsonString(s string) error
func (*ModifyServiceTemplateGroupAttributeRequest) ToJsonString ¶
func (r *ModifyServiceTemplateGroupAttributeRequest) ToJsonString() string
type ModifyServiceTemplateGroupAttributeResponse ¶
type ModifyServiceTemplateGroupAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyServiceTemplateGroupAttributeResponse ¶
func NewModifyServiceTemplateGroupAttributeResponse() (response *ModifyServiceTemplateGroupAttributeResponse)
func (*ModifyServiceTemplateGroupAttributeResponse) FromJsonString ¶
func (r *ModifyServiceTemplateGroupAttributeResponse) FromJsonString(s string) error
func (*ModifyServiceTemplateGroupAttributeResponse) ToJsonString ¶
func (r *ModifyServiceTemplateGroupAttributeResponse) ToJsonString() string
type ModifySubnetAttributeRequest ¶
type ModifySubnetAttributeRequest struct { *tchttp.BaseRequest // 子网实例ID。形如:subnet-pxir56ns。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 子网名称,最大长度不能超过60个字节。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网是否开启广播。 EnableBroadcast *string `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"` }
func NewModifySubnetAttributeRequest ¶
func NewModifySubnetAttributeRequest() (request *ModifySubnetAttributeRequest)
func (*ModifySubnetAttributeRequest) FromJsonString ¶
func (r *ModifySubnetAttributeRequest) FromJsonString(s string) error
func (*ModifySubnetAttributeRequest) ToJsonString ¶
func (r *ModifySubnetAttributeRequest) ToJsonString() string
type ModifySubnetAttributeResponse ¶
type ModifySubnetAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifySubnetAttributeResponse ¶
func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse)
func (*ModifySubnetAttributeResponse) FromJsonString ¶
func (r *ModifySubnetAttributeResponse) FromJsonString(s string) error
func (*ModifySubnetAttributeResponse) ToJsonString ¶
func (r *ModifySubnetAttributeResponse) ToJsonString() string
type ModifyVpcAttributeRequest ¶
type ModifyVpcAttributeRequest struct { *tchttp.BaseRequest // VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 私有网络名称,可任意命名,但不得超过60个字符。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // 是否开启组播。true: 开启, false: 关闭。 EnableMulticast *string `json:"EnableMulticast,omitempty" name:"EnableMulticast"` // DNS地址,最多支持4个,第1个默认为主,其余为备 DnsServers []*string `json:"DnsServers,omitempty" name:"DnsServers" list` // 域名 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` }
func NewModifyVpcAttributeRequest ¶
func NewModifyVpcAttributeRequest() (request *ModifyVpcAttributeRequest)
func (*ModifyVpcAttributeRequest) FromJsonString ¶
func (r *ModifyVpcAttributeRequest) FromJsonString(s string) error
func (*ModifyVpcAttributeRequest) ToJsonString ¶
func (r *ModifyVpcAttributeRequest) ToJsonString() string
type ModifyVpcAttributeResponse ¶
type ModifyVpcAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyVpcAttributeResponse ¶
func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse)
func (*ModifyVpcAttributeResponse) FromJsonString ¶
func (r *ModifyVpcAttributeResponse) FromJsonString(s string) error
func (*ModifyVpcAttributeResponse) ToJsonString ¶
func (r *ModifyVpcAttributeResponse) ToJsonString() string
type ModifyVpnConnectionAttributeRequest ¶
type ModifyVpnConnectionAttributeRequest struct { *tchttp.BaseRequest // VPN通道实例ID。形如:vpnx-f49l6u0z。 VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"` // VPN通道名称,可任意命名,但不得超过60个字符。 VpnConnectionName *string `json:"VpnConnectionName,omitempty" name:"VpnConnectionName"` PreShareKey *string `json:"PreShareKey,omitempty" name:"PreShareKey"` // SPD策略组,例如:{"10.0.0.5/24":["172.123.10.5/16"]},10.0.0.5/24是vpc内网段172.123.10.5/16是IDC网段。用户指定VPC内哪些网段可以和您IDC中哪些网段通信。 SecurityPolicyDatabases []*SecurityPolicyDatabase `json:"SecurityPolicyDatabases,omitempty" name:"SecurityPolicyDatabases" list` // IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议。 IKEOptionsSpecification *IKEOptionsSpecification `json:"IKEOptionsSpecification,omitempty" name:"IKEOptionsSpecification"` // IPSec配置,腾讯云提供IPSec安全会话设置。 IPSECOptionsSpecification *IPSECOptionsSpecification `json:"IPSECOptionsSpecification,omitempty" name:"IPSECOptionsSpecification"` }
func NewModifyVpnConnectionAttributeRequest ¶
func NewModifyVpnConnectionAttributeRequest() (request *ModifyVpnConnectionAttributeRequest)
func (*ModifyVpnConnectionAttributeRequest) FromJsonString ¶
func (r *ModifyVpnConnectionAttributeRequest) FromJsonString(s string) error
func (*ModifyVpnConnectionAttributeRequest) ToJsonString ¶
func (r *ModifyVpnConnectionAttributeRequest) ToJsonString() string
type ModifyVpnConnectionAttributeResponse ¶
type ModifyVpnConnectionAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyVpnConnectionAttributeResponse ¶
func NewModifyVpnConnectionAttributeResponse() (response *ModifyVpnConnectionAttributeResponse)
func (*ModifyVpnConnectionAttributeResponse) FromJsonString ¶
func (r *ModifyVpnConnectionAttributeResponse) FromJsonString(s string) error
func (*ModifyVpnConnectionAttributeResponse) ToJsonString ¶
func (r *ModifyVpnConnectionAttributeResponse) ToJsonString() string
type ModifyVpnGatewayAttributeRequest ¶
type ModifyVpnGatewayAttributeRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // VPN网关名称,最大长度不能超过60个字节。 VpnGatewayName *string `json:"VpnGatewayName,omitempty" name:"VpnGatewayName"` // VPN网关计费模式,目前只支持预付费(即包年包月)到后付费(即按量计费)的转换。即参数只支持:POSTPAID_BY_HOUR。 InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` }
func NewModifyVpnGatewayAttributeRequest ¶
func NewModifyVpnGatewayAttributeRequest() (request *ModifyVpnGatewayAttributeRequest)
func (*ModifyVpnGatewayAttributeRequest) FromJsonString ¶
func (r *ModifyVpnGatewayAttributeRequest) FromJsonString(s string) error
func (*ModifyVpnGatewayAttributeRequest) ToJsonString ¶
func (r *ModifyVpnGatewayAttributeRequest) ToJsonString() string
type ModifyVpnGatewayAttributeResponse ¶
type ModifyVpnGatewayAttributeResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyVpnGatewayAttributeResponse ¶
func NewModifyVpnGatewayAttributeResponse() (response *ModifyVpnGatewayAttributeResponse)
func (*ModifyVpnGatewayAttributeResponse) FromJsonString ¶
func (r *ModifyVpnGatewayAttributeResponse) FromJsonString(s string) error
func (*ModifyVpnGatewayAttributeResponse) ToJsonString ¶
func (r *ModifyVpnGatewayAttributeResponse) ToJsonString() string
type NatGateway ¶
type NatGateway struct { // NAT网关的ID。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // NAT网关的名称。 NatGatewayName *string `json:"NatGatewayName,omitempty" name:"NatGatewayName"` // NAT网关创建的时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // NAT网关的状态。 // 'PENDING':生产中,'DELETING':删除中,'AVAILABLE':运行中,'UPDATING':升级中, // ‘FAILED’:失败。 State *string `json:"State,omitempty" name:"State"` // 网关最大外网出带宽(单位:Mbps)。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 网关并发连接上限。 MaxConcurrentConnection *uint64 `json:"MaxConcurrentConnection,omitempty" name:"MaxConcurrentConnection"` // 绑定NAT网关的公网IP对象数组。 PublicIpAddressSet []*NatGatewayAddress `json:"PublicIpAddressSet,omitempty" name:"PublicIpAddressSet" list` // NAT网关网络状态。“AVAILABLE”:运行中, “UNAVAILABLE”:不可用, “INSUFFICIENT”:欠费停服。 NetworkState *string `json:"NetworkState,omitempty" name:"NetworkState"` // NAT网关的端口转发规则。 DestinationIpPortTranslationNatRuleSet []*DestinationIpPortTranslationNatRule `json:"DestinationIpPortTranslationNatRuleSet,omitempty" name:"DestinationIpPortTranslationNatRuleSet" list` // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // NAT网关所在的可用区。 Zone *string `json:"Zone,omitempty" name:"Zone"` }
type NatGatewayAddress ¶
type NatGatewayAddress struct { // 弹性公网IP(EIP)的唯一 ID,形如:`eip-11112222`。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 外网IP地址,形如:`123.121.34.33`。 PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // 资源封堵状态。true表示弹性ip处于封堵状态,false表示弹性ip处于未封堵状态。 IsBlocked *bool `json:"IsBlocked,omitempty" name:"IsBlocked"` }
type NatGatewayDestinationIpPortTranslationNatRule ¶
type NatGatewayDestinationIpPortTranslationNatRule struct { // 网络协议,可选值:`TCP`、`UDP`。 IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // 弹性IP。 PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // 公网端口。 PublicPort *uint64 `json:"PublicPort,omitempty" name:"PublicPort"` // 内网地址。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // 内网端口。 PrivatePort *uint64 `json:"PrivatePort,omitempty" name:"PrivatePort"` // NAT网关转发规则描述。 Description *string `json:"Description,omitempty" name:"Description"` // NAT网关的ID。 // 注意:此字段可能返回 null,表示取不到有效值。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // 私有网络VPC的ID。 // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // NAT网关转发规则创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type NetDetect ¶
type NetDetect struct { // `VPC`实例`ID`。形如:`vpc-12345678` VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `VPC`实例名称。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // 子网实例ID。形如:subnet-12345678。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 子网实例名称。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 网络探测实例ID。形如:netd-12345678。 NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` // 网络探测名称,最大长度不能超过60个字节。 NetDetectName *string `json:"NetDetectName,omitempty" name:"NetDetectName"` // 探测目的IPv4地址数组,最多两个。 DetectDestinationIp []*string `json:"DetectDestinationIp,omitempty" name:"DetectDestinationIp" list` // 系统自动分配的探测源IPv4数组。长度为2。 DetectSourceIp []*string `json:"DetectSourceIp,omitempty" name:"DetectSourceIp" list` // 下一跳类型,目前我们支持的类型有: // VPN:VPN网关; // DIRECTCONNECT:专线网关; // PEERCONNECTION:对等连接; // NAT:NAT网关; // NORMAL_CVM:普通云主机; NextHopType *string `json:"NextHopType,omitempty" name:"NextHopType"` // 下一跳目的网关,取值与“下一跳类型”相关: // 下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678; // 下一跳类型为DIRECTCONNECT,取值专线网关ID,形如:dcg-12345678; // 下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678; // 下一跳类型为NAT,取值Nat网关,形如:nat-12345678; // 下一跳类型为NORMAL_CVM,取值云主机IPv4地址,形如:10.0.0.12; NextHopDestination *string `json:"NextHopDestination,omitempty" name:"NextHopDestination"` // 下一跳网关名称。 // 注意:此字段可能返回 null,表示取不到有效值。 NextHopName *string `json:"NextHopName,omitempty" name:"NextHopName"` // 网络探测描述。 // 注意:此字段可能返回 null,表示取不到有效值。 NetDetectDescription *string `json:"NetDetectDescription,omitempty" name:"NetDetectDescription"` // 创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type NetDetectIpState ¶
type NetDetectIpState struct { // 探测目的IPv4地址。 DetectDestinationIp *string `json:"DetectDestinationIp,omitempty" name:"DetectDestinationIp"` // 探测结果。 // 0:成功; // -1:查询不到路由丢包; // -2:外出ACL丢包; // -3:IN ACL丢包; // -4:其他错误; State *int64 `json:"State,omitempty" name:"State"` // 时延,单位毫秒 Delay *uint64 `json:"Delay,omitempty" name:"Delay"` // 丢包率 PacketLossRate *uint64 `json:"PacketLossRate,omitempty" name:"PacketLossRate"` }
type NetDetectState ¶
type NetDetectState struct { // 网络探测实例ID。形如:netd-12345678。 NetDetectId *string `json:"NetDetectId,omitempty" name:"NetDetectId"` // 网络探测目的IP验证结果对象数组。 NetDetectIpStateSet []*NetDetectIpState `json:"NetDetectIpStateSet,omitempty" name:"NetDetectIpStateSet" list` }
type NetworkInterface ¶
type NetworkInterface struct { // 弹性网卡实例ID,例如:eni-f1xjkw1b。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 弹性网卡名称。 NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"` // 弹性网卡描述。 NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"` // 子网实例ID。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 绑定的安全组。 GroupSet []*string `json:"GroupSet,omitempty" name:"GroupSet" list` // 是否是主网卡。 Primary *bool `json:"Primary,omitempty" name:"Primary"` // MAC地址。 MacAddress *string `json:"MacAddress,omitempty" name:"MacAddress"` // 弹性网卡状态: // <li>`PENDING`:创建中</li> // <li>`AVAILABLE`:可用的</li> // <li>`ATTACHING`:绑定中</li> // <li>`DETACHING`:解绑中</li> // <li>`DELETING`:删除中</li> State *string `json:"State,omitempty" name:"State"` // 内网IP信息。 PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitempty" name:"PrivateIpAddressSet" list` // 绑定的云服务器对象。 // 注意:此字段可能返回 null,表示取不到有效值。 Attachment *NetworkInterfaceAttachment `json:"Attachment,omitempty" name:"Attachment"` // 可用区。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // `IPv6`地址列表。 Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet" list` // 标签键值对。 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet" list` }
type NetworkInterfaceAttachment ¶
type NetworkInterfaceAttachment struct { // 云主机实例ID。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 网卡在云主机实例内的序号。 DeviceIndex *uint64 `json:"DeviceIndex,omitempty" name:"DeviceIndex"` // 云主机所有者账户信息。 InstanceAccountId *string `json:"InstanceAccountId,omitempty" name:"InstanceAccountId"` // 绑定时间。 AttachTime *string `json:"AttachTime,omitempty" name:"AttachTime"` }
type PrivateIpAddressSpecification ¶
type PrivateIpAddressSpecification struct { // 内网IP地址。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // 是否是主IP。 Primary *bool `json:"Primary,omitempty" name:"Primary"` // 公网IP地址。 PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // EIP实例ID,例如:eip-11112222。 AddressId *string `json:"AddressId,omitempty" name:"AddressId"` // 内网IP描述信息。 Description *string `json:"Description,omitempty" name:"Description"` // 公网IP是否被封堵。 IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitempty" name:"IsWanIpBlocked"` // IP状态: // PENDING:生产中 // MIGRATING:迁移中 // DELETING:删除中 // AVAILABLE:可用的 State *string `json:"State,omitempty" name:"State"` }
type Quota ¶
type Quota struct { // 配额名称,取值范围:<br><li>`TOTAL_EIP_QUOTA`:用户当前地域下EIP的配额数;<br><li>`DAILY_EIP_APPLY`:用户当前地域下今日申购次数;<br><li>`DAILY_PUBLIC_IP_ASSIGN`:用户当前地域下,重新分配公网 IP次数。 QuotaId *string `json:"QuotaId,omitempty" name:"QuotaId"` // 当前数量 QuotaCurrent *int64 `json:"QuotaCurrent,omitempty" name:"QuotaCurrent"` // 配额数量 QuotaLimit *int64 `json:"QuotaLimit,omitempty" name:"QuotaLimit"` }
type RejectAttachCcnInstancesRequest ¶
type RejectAttachCcnInstancesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 拒绝关联实例列表。 Instances []*CcnInstance `json:"Instances,omitempty" name:"Instances" list` }
func NewRejectAttachCcnInstancesRequest ¶
func NewRejectAttachCcnInstancesRequest() (request *RejectAttachCcnInstancesRequest)
func (*RejectAttachCcnInstancesRequest) FromJsonString ¶
func (r *RejectAttachCcnInstancesRequest) FromJsonString(s string) error
func (*RejectAttachCcnInstancesRequest) ToJsonString ¶
func (r *RejectAttachCcnInstancesRequest) ToJsonString() string
type RejectAttachCcnInstancesResponse ¶
type RejectAttachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRejectAttachCcnInstancesResponse ¶
func NewRejectAttachCcnInstancesResponse() (response *RejectAttachCcnInstancesResponse)
func (*RejectAttachCcnInstancesResponse) FromJsonString ¶
func (r *RejectAttachCcnInstancesResponse) FromJsonString(s string) error
func (*RejectAttachCcnInstancesResponse) ToJsonString ¶
func (r *RejectAttachCcnInstancesResponse) ToJsonString() string
type ReleaseAddressesRequest ¶
type ReleaseAddressesRequest struct { *tchttp.BaseRequest // 标识 EIP 的唯一 ID 列表。EIP 唯一 ID 形如:`eip-11112222`。 AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds" list` }
func NewReleaseAddressesRequest ¶
func NewReleaseAddressesRequest() (request *ReleaseAddressesRequest)
func (*ReleaseAddressesRequest) FromJsonString ¶
func (r *ReleaseAddressesRequest) FromJsonString(s string) error
func (*ReleaseAddressesRequest) ToJsonString ¶
func (r *ReleaseAddressesRequest) ToJsonString() string
type ReleaseAddressesResponse ¶
type ReleaseAddressesResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReleaseAddressesResponse ¶
func NewReleaseAddressesResponse() (response *ReleaseAddressesResponse)
func (*ReleaseAddressesResponse) FromJsonString ¶
func (r *ReleaseAddressesResponse) FromJsonString(s string) error
func (*ReleaseAddressesResponse) ToJsonString ¶
func (r *ReleaseAddressesResponse) ToJsonString() string
type RemoveBandwidthPackageResourcesRequest ¶
type RemoveBandwidthPackageResourcesRequest struct { *tchttp.BaseRequest // 带宽包唯一标识ID,形如'bwp-xxxx' BandwidthPackageId *string `json:"BandwidthPackageId,omitempty" name:"BandwidthPackageId"` // 资源类型,包括‘Address’, ‘LoadBalance’ ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // 资源Id,形如'eip-xxxx', 'lb-xxxx' ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds" list` }
func NewRemoveBandwidthPackageResourcesRequest ¶
func NewRemoveBandwidthPackageResourcesRequest() (request *RemoveBandwidthPackageResourcesRequest)
func (*RemoveBandwidthPackageResourcesRequest) FromJsonString ¶
func (r *RemoveBandwidthPackageResourcesRequest) FromJsonString(s string) error
func (*RemoveBandwidthPackageResourcesRequest) ToJsonString ¶
func (r *RemoveBandwidthPackageResourcesRequest) ToJsonString() string
type RemoveBandwidthPackageResourcesResponse ¶
type RemoveBandwidthPackageResourcesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRemoveBandwidthPackageResourcesResponse ¶
func NewRemoveBandwidthPackageResourcesResponse() (response *RemoveBandwidthPackageResourcesResponse)
func (*RemoveBandwidthPackageResourcesResponse) FromJsonString ¶
func (r *RemoveBandwidthPackageResourcesResponse) FromJsonString(s string) error
func (*RemoveBandwidthPackageResourcesResponse) ToJsonString ¶
func (r *RemoveBandwidthPackageResourcesResponse) ToJsonString() string
type RemoveIp6RulesRequest ¶
type RemoveIp6RulesRequest struct { *tchttp.BaseRequest // IPV6转换规则所属的转换实例唯一ID,形如ip6-xxxxxxxx Ip6TranslatorId *string `json:"Ip6TranslatorId,omitempty" name:"Ip6TranslatorId"` // 待删除IPV6转换规则,形如rule6-xxxxxxxx Ip6RuleIds []*string `json:"Ip6RuleIds,omitempty" name:"Ip6RuleIds" list` }
func NewRemoveIp6RulesRequest ¶
func NewRemoveIp6RulesRequest() (request *RemoveIp6RulesRequest)
func (*RemoveIp6RulesRequest) FromJsonString ¶
func (r *RemoveIp6RulesRequest) FromJsonString(s string) error
func (*RemoveIp6RulesRequest) ToJsonString ¶
func (r *RemoveIp6RulesRequest) ToJsonString() string
type RemoveIp6RulesResponse ¶
type RemoveIp6RulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRemoveIp6RulesResponse ¶
func NewRemoveIp6RulesResponse() (response *RemoveIp6RulesResponse)
func (*RemoveIp6RulesResponse) FromJsonString ¶
func (r *RemoveIp6RulesResponse) FromJsonString(s string) error
func (*RemoveIp6RulesResponse) ToJsonString ¶
func (r *RemoveIp6RulesResponse) ToJsonString() string
type RenewVpnGatewayRequest ¶
type RenewVpnGatewayRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // 预付费计费模式。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"` }
func NewRenewVpnGatewayRequest ¶
func NewRenewVpnGatewayRequest() (request *RenewVpnGatewayRequest)
func (*RenewVpnGatewayRequest) FromJsonString ¶
func (r *RenewVpnGatewayRequest) FromJsonString(s string) error
func (*RenewVpnGatewayRequest) ToJsonString ¶
func (r *RenewVpnGatewayRequest) ToJsonString() string
type RenewVpnGatewayResponse ¶
type RenewVpnGatewayResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRenewVpnGatewayResponse ¶
func NewRenewVpnGatewayResponse() (response *RenewVpnGatewayResponse)
func (*RenewVpnGatewayResponse) FromJsonString ¶
func (r *RenewVpnGatewayResponse) FromJsonString(s string) error
func (*RenewVpnGatewayResponse) ToJsonString ¶
func (r *RenewVpnGatewayResponse) ToJsonString() string
type ReplaceDirectConnectGatewayCcnRoutesRequest ¶
type ReplaceDirectConnectGatewayCcnRoutesRequest struct { *tchttp.BaseRequest // 专线网关ID,形如:dcg-prpqlmg1 DirectConnectGatewayId *string `json:"DirectConnectGatewayId,omitempty" name:"DirectConnectGatewayId"` // 需要连通的IDC网段列表 Routes []*DirectConnectGatewayCcnRoute `json:"Routes,omitempty" name:"Routes" list` }
func NewReplaceDirectConnectGatewayCcnRoutesRequest ¶
func NewReplaceDirectConnectGatewayCcnRoutesRequest() (request *ReplaceDirectConnectGatewayCcnRoutesRequest)
func (*ReplaceDirectConnectGatewayCcnRoutesRequest) FromJsonString ¶
func (r *ReplaceDirectConnectGatewayCcnRoutesRequest) FromJsonString(s string) error
func (*ReplaceDirectConnectGatewayCcnRoutesRequest) ToJsonString ¶
func (r *ReplaceDirectConnectGatewayCcnRoutesRequest) ToJsonString() string
type ReplaceDirectConnectGatewayCcnRoutesResponse ¶
type ReplaceDirectConnectGatewayCcnRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReplaceDirectConnectGatewayCcnRoutesResponse ¶
func NewReplaceDirectConnectGatewayCcnRoutesResponse() (response *ReplaceDirectConnectGatewayCcnRoutesResponse)
func (*ReplaceDirectConnectGatewayCcnRoutesResponse) FromJsonString ¶
func (r *ReplaceDirectConnectGatewayCcnRoutesResponse) FromJsonString(s string) error
func (*ReplaceDirectConnectGatewayCcnRoutesResponse) ToJsonString ¶
func (r *ReplaceDirectConnectGatewayCcnRoutesResponse) ToJsonString() string
type ReplaceRouteTableAssociationRequest ¶
type ReplaceRouteTableAssociationRequest struct { *tchttp.BaseRequest // 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` }
func NewReplaceRouteTableAssociationRequest ¶
func NewReplaceRouteTableAssociationRequest() (request *ReplaceRouteTableAssociationRequest)
func (*ReplaceRouteTableAssociationRequest) FromJsonString ¶
func (r *ReplaceRouteTableAssociationRequest) FromJsonString(s string) error
func (*ReplaceRouteTableAssociationRequest) ToJsonString ¶
func (r *ReplaceRouteTableAssociationRequest) ToJsonString() string
type ReplaceRouteTableAssociationResponse ¶
type ReplaceRouteTableAssociationResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReplaceRouteTableAssociationResponse ¶
func NewReplaceRouteTableAssociationResponse() (response *ReplaceRouteTableAssociationResponse)
func (*ReplaceRouteTableAssociationResponse) FromJsonString ¶
func (r *ReplaceRouteTableAssociationResponse) FromJsonString(s string) error
func (*ReplaceRouteTableAssociationResponse) ToJsonString ¶
func (r *ReplaceRouteTableAssociationResponse) ToJsonString() string
type ReplaceRoutesRequest ¶
type ReplaceRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由策略对象。需要指定路由策略ID(RouteId)。 Routes []*Route `json:"Routes,omitempty" name:"Routes" list` }
func NewReplaceRoutesRequest ¶
func NewReplaceRoutesRequest() (request *ReplaceRoutesRequest)
func (*ReplaceRoutesRequest) FromJsonString ¶
func (r *ReplaceRoutesRequest) FromJsonString(s string) error
func (*ReplaceRoutesRequest) ToJsonString ¶
func (r *ReplaceRoutesRequest) ToJsonString() string
type ReplaceRoutesResponse ¶
type ReplaceRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReplaceRoutesResponse ¶
func NewReplaceRoutesResponse() (response *ReplaceRoutesResponse)
func (*ReplaceRoutesResponse) FromJsonString ¶
func (r *ReplaceRoutesResponse) FromJsonString(s string) error
func (*ReplaceRoutesResponse) ToJsonString ¶
func (r *ReplaceRoutesResponse) ToJsonString() string
type ReplaceSecurityGroupPolicyRequest ¶
type ReplaceSecurityGroupPolicyRequest struct { *tchttp.BaseRequest // 安全组实例ID,例如sg-33ocnj9n,可通过DescribeSecurityGroups获取。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组规则集合对象。 SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewReplaceSecurityGroupPolicyRequest ¶
func NewReplaceSecurityGroupPolicyRequest() (request *ReplaceSecurityGroupPolicyRequest)
func (*ReplaceSecurityGroupPolicyRequest) FromJsonString ¶
func (r *ReplaceSecurityGroupPolicyRequest) FromJsonString(s string) error
func (*ReplaceSecurityGroupPolicyRequest) ToJsonString ¶
func (r *ReplaceSecurityGroupPolicyRequest) ToJsonString() string
type ReplaceSecurityGroupPolicyResponse ¶
type ReplaceSecurityGroupPolicyResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReplaceSecurityGroupPolicyResponse ¶
func NewReplaceSecurityGroupPolicyResponse() (response *ReplaceSecurityGroupPolicyResponse)
func (*ReplaceSecurityGroupPolicyResponse) FromJsonString ¶
func (r *ReplaceSecurityGroupPolicyResponse) FromJsonString(s string) error
func (*ReplaceSecurityGroupPolicyResponse) ToJsonString ¶
func (r *ReplaceSecurityGroupPolicyResponse) ToJsonString() string
type ResetAttachCcnInstancesRequest ¶
type ResetAttachCcnInstancesRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN所属UIN(根账号)。 CcnUin *string `json:"CcnUin,omitempty" name:"CcnUin"` // 重新申请关联网络实例列表。 Instances []*CcnInstance `json:"Instances,omitempty" name:"Instances" list` }
func NewResetAttachCcnInstancesRequest ¶
func NewResetAttachCcnInstancesRequest() (request *ResetAttachCcnInstancesRequest)
func (*ResetAttachCcnInstancesRequest) FromJsonString ¶
func (r *ResetAttachCcnInstancesRequest) FromJsonString(s string) error
func (*ResetAttachCcnInstancesRequest) ToJsonString ¶
func (r *ResetAttachCcnInstancesRequest) ToJsonString() string
type ResetAttachCcnInstancesResponse ¶
type ResetAttachCcnInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetAttachCcnInstancesResponse ¶
func NewResetAttachCcnInstancesResponse() (response *ResetAttachCcnInstancesResponse)
func (*ResetAttachCcnInstancesResponse) FromJsonString ¶
func (r *ResetAttachCcnInstancesResponse) FromJsonString(s string) error
func (*ResetAttachCcnInstancesResponse) ToJsonString ¶
func (r *ResetAttachCcnInstancesResponse) ToJsonString() string
type ResetNatGatewayConnectionRequest ¶
type ResetNatGatewayConnectionRequest struct { *tchttp.BaseRequest // NAT网关ID。 NatGatewayId *string `json:"NatGatewayId,omitempty" name:"NatGatewayId"` // NAT网关并发连接上限,形如:1000000、3000000、10000000。 MaxConcurrentConnection *uint64 `json:"MaxConcurrentConnection,omitempty" name:"MaxConcurrentConnection"` }
func NewResetNatGatewayConnectionRequest ¶
func NewResetNatGatewayConnectionRequest() (request *ResetNatGatewayConnectionRequest)
func (*ResetNatGatewayConnectionRequest) FromJsonString ¶
func (r *ResetNatGatewayConnectionRequest) FromJsonString(s string) error
func (*ResetNatGatewayConnectionRequest) ToJsonString ¶
func (r *ResetNatGatewayConnectionRequest) ToJsonString() string
type ResetNatGatewayConnectionResponse ¶
type ResetNatGatewayConnectionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetNatGatewayConnectionResponse ¶
func NewResetNatGatewayConnectionResponse() (response *ResetNatGatewayConnectionResponse)
func (*ResetNatGatewayConnectionResponse) FromJsonString ¶
func (r *ResetNatGatewayConnectionResponse) FromJsonString(s string) error
func (*ResetNatGatewayConnectionResponse) ToJsonString ¶
func (r *ResetNatGatewayConnectionResponse) ToJsonString() string
type ResetRoutesRequest ¶
type ResetRoutesRequest struct { *tchttp.BaseRequest // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称,最大长度不能超过60个字节。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // 路由策略。 Routes []*Route `json:"Routes,omitempty" name:"Routes" list` }
func NewResetRoutesRequest ¶
func NewResetRoutesRequest() (request *ResetRoutesRequest)
func (*ResetRoutesRequest) FromJsonString ¶
func (r *ResetRoutesRequest) FromJsonString(s string) error
func (*ResetRoutesRequest) ToJsonString ¶
func (r *ResetRoutesRequest) ToJsonString() string
type ResetRoutesResponse ¶
type ResetRoutesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetRoutesResponse ¶
func NewResetRoutesResponse() (response *ResetRoutesResponse)
func (*ResetRoutesResponse) FromJsonString ¶
func (r *ResetRoutesResponse) FromJsonString(s string) error
func (*ResetRoutesResponse) ToJsonString ¶
func (r *ResetRoutesResponse) ToJsonString() string
type ResetVpnConnectionRequest ¶
type ResetVpnConnectionRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // VPN通道实例ID。形如:vpnx-f49l6u0z。 VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"` }
func NewResetVpnConnectionRequest ¶
func NewResetVpnConnectionRequest() (request *ResetVpnConnectionRequest)
func (*ResetVpnConnectionRequest) FromJsonString ¶
func (r *ResetVpnConnectionRequest) FromJsonString(s string) error
func (*ResetVpnConnectionRequest) ToJsonString ¶
func (r *ResetVpnConnectionRequest) ToJsonString() string
type ResetVpnConnectionResponse ¶
type ResetVpnConnectionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetVpnConnectionResponse ¶
func NewResetVpnConnectionResponse() (response *ResetVpnConnectionResponse)
func (*ResetVpnConnectionResponse) FromJsonString ¶
func (r *ResetVpnConnectionResponse) FromJsonString(s string) error
func (*ResetVpnConnectionResponse) ToJsonString ¶
func (r *ResetVpnConnectionResponse) ToJsonString() string
type ResetVpnGatewayInternetMaxBandwidthRequest ¶
type ResetVpnGatewayInternetMaxBandwidthRequest struct { *tchttp.BaseRequest // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` }
func NewResetVpnGatewayInternetMaxBandwidthRequest ¶
func NewResetVpnGatewayInternetMaxBandwidthRequest() (request *ResetVpnGatewayInternetMaxBandwidthRequest)
func (*ResetVpnGatewayInternetMaxBandwidthRequest) FromJsonString ¶
func (r *ResetVpnGatewayInternetMaxBandwidthRequest) FromJsonString(s string) error
func (*ResetVpnGatewayInternetMaxBandwidthRequest) ToJsonString ¶
func (r *ResetVpnGatewayInternetMaxBandwidthRequest) ToJsonString() string
type ResetVpnGatewayInternetMaxBandwidthResponse ¶
type ResetVpnGatewayInternetMaxBandwidthResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetVpnGatewayInternetMaxBandwidthResponse ¶
func NewResetVpnGatewayInternetMaxBandwidthResponse() (response *ResetVpnGatewayInternetMaxBandwidthResponse)
func (*ResetVpnGatewayInternetMaxBandwidthResponse) FromJsonString ¶
func (r *ResetVpnGatewayInternetMaxBandwidthResponse) FromJsonString(s string) error
func (*ResetVpnGatewayInternetMaxBandwidthResponse) ToJsonString ¶
func (r *ResetVpnGatewayInternetMaxBandwidthResponse) ToJsonString() string
type Resource ¶
type Resource struct { // 带宽包资源类型,包括'Address'和'LoadBalance' ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // 带宽包资源Id,形如'eip-xxxx', 'lb-xxxx' ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // 带宽包资源Ip AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"` }
type Route ¶
type Route struct { // 目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // 下一跳类型,目前我们支持的类型有: // CVM:公网网关类型的云主机; // VPN:VPN网关; // DIRECTCONNECT:专线网关; // PEERCONNECTION:对等连接; // SSLVPN:sslvpn网关; // NAT:NAT网关; // NORMAL_CVM:普通云主机; // EIP:云主机的公网IP; // CCN:云联网。 GatewayType *string `json:"GatewayType,omitempty" name:"GatewayType"` // 下一跳地址,这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址。 // 特别注意:当 GatewayType 为 EIP 时,GatewayId 固定值 '0' GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"` // 路由策略ID。 RouteId *uint64 `json:"RouteId,omitempty" name:"RouteId"` // 路由策略描述。 RouteDescription *string `json:"RouteDescription,omitempty" name:"RouteDescription"` // 是否启用 Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` // 路由类型,目前我们支持的类型有: // USER:用户路由; // NETD:网络探测路由,创建网络探测实例时,系统默认下发,不可编辑与删除; // CCN:云联网路由,系统默认下发,不可编辑与删除。 // 用户只能添加和操作 USER 类型的路由。 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` }
type RouteConflict ¶
type RouteConflict struct { // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 要检查的与之冲突的目的端 DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"` // 冲突的路由策略列表 ConflictSet []*Route `json:"ConflictSet,omitempty" name:"ConflictSet" list` }
type RouteTable ¶
type RouteTable struct { // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 路由表实例ID,例如:rtb-azd4dt1c。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 路由表名称。 RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"` // 路由表关联关系。 AssociationSet []*RouteTableAssociation `json:"AssociationSet,omitempty" name:"AssociationSet" list` // 路由表策略集合。 RouteSet []*Route `json:"RouteSet,omitempty" name:"RouteSet" list` // 是否默认路由表。 Main *bool `json:"Main,omitempty" name:"Main"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type RouteTableAssociation ¶
type SecurityGroup ¶
type SecurityGroup struct { // 安全组实例ID,例如:sg-ohuuioma。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组名称,可任意命名,但不得超过60个字符。 SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // 安全组备注,最多100个字符。 SecurityGroupDesc *string `json:"SecurityGroupDesc,omitempty" name:"SecurityGroupDesc"` // 项目id,默认0。可在qcloud控制台项目管理页面查询到。 ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 是否是默认安全组,默认安全组不支持删除。 IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // 安全组创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type SecurityGroupAssociationStatistics ¶
type SecurityGroupAssociationStatistics struct { // 安全组实例ID。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 云主机实例数。 CVM *uint64 `json:"CVM,omitempty" name:"CVM"` // 数据库实例数。 CDB *uint64 `json:"CDB,omitempty" name:"CDB"` // 弹性网卡实例数。 ENI *uint64 `json:"ENI,omitempty" name:"ENI"` // 被安全组引用数。 SG *uint64 `json:"SG,omitempty" name:"SG"` // 负载均衡实例数。 CLB *uint64 `json:"CLB,omitempty" name:"CLB"` // 全量实例的绑定统计。 InstanceStatistics []*InstanceStatistic `json:"InstanceStatistics,omitempty" name:"InstanceStatistics" list` }
type SecurityGroupPolicy ¶
type SecurityGroupPolicy struct { // 安全组规则索引号。 PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"` // 协议, 取值: TCP,UDP, ICMP。 Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // 端口(all, 离散port, range)。 Port *string `json:"Port,omitempty" name:"Port"` // 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。 ServiceTemplate *ServiceTemplateSpecification `json:"ServiceTemplate,omitempty" name:"ServiceTemplate"` // 网段或IP(互斥)。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 网段或IPv6(互斥)。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` // 安全组实例ID,例如:sg-ohuuioma。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // IP地址ID或者ID地址组ID。 AddressTemplate *AddressTemplateSpecification `json:"AddressTemplate,omitempty" name:"AddressTemplate"` // ACCEPT 或 DROP。 Action *string `json:"Action,omitempty" name:"Action"` // 安全组规则描述。 PolicyDescription *string `json:"PolicyDescription,omitempty" name:"PolicyDescription"` // 安全组最近修改时间。 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type SecurityGroupPolicySet ¶
type SecurityGroupPolicySet struct { // 安全组规则当前版本。用户每次更新安全规则版本会自动加1,防止更新的路由规则已过期,不填不考虑冲突。 Version *string `json:"Version,omitempty" name:"Version"` // 出站规则。 Egress []*SecurityGroupPolicy `json:"Egress,omitempty" name:"Egress" list` // 入站规则。 Ingress []*SecurityGroupPolicy `json:"Ingress,omitempty" name:"Ingress" list` }
type SecurityPolicyDatabase ¶
type ServiceTemplate ¶
type ServiceTemplate struct { // 协议端口实例ID,例如:ppm-f5n1f8da。 ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` // 模板名称。 ServiceTemplateName *string `json:"ServiceTemplateName,omitempty" name:"ServiceTemplateName"` // 协议端口信息。 ServiceSet []*string `json:"ServiceSet,omitempty" name:"ServiceSet" list` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type ServiceTemplateGroup ¶
type ServiceTemplateGroup struct { // 协议端口模板集合实例ID,例如:ppmg-2klmrefu。 ServiceTemplateGroupId *string `json:"ServiceTemplateGroupId,omitempty" name:"ServiceTemplateGroupId"` // 协议端口模板集合名称。 ServiceTemplateGroupName *string `json:"ServiceTemplateGroupName,omitempty" name:"ServiceTemplateGroupName"` // 协议端口模板实例ID。 ServiceTemplateIdSet []*string `json:"ServiceTemplateIdSet,omitempty" name:"ServiceTemplateIdSet" list` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type SetCcnRegionBandwidthLimitsRequest ¶
type SetCcnRegionBandwidthLimitsRequest struct { *tchttp.BaseRequest // CCN实例ID。形如:ccn-f49l6u0z。 CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // 云联网(CCN)各地域出带宽上限。 CcnRegionBandwidthLimits []*CcnRegionBandwidthLimit `json:"CcnRegionBandwidthLimits,omitempty" name:"CcnRegionBandwidthLimits" list` }
func NewSetCcnRegionBandwidthLimitsRequest ¶
func NewSetCcnRegionBandwidthLimitsRequest() (request *SetCcnRegionBandwidthLimitsRequest)
func (*SetCcnRegionBandwidthLimitsRequest) FromJsonString ¶
func (r *SetCcnRegionBandwidthLimitsRequest) FromJsonString(s string) error
func (*SetCcnRegionBandwidthLimitsRequest) ToJsonString ¶
func (r *SetCcnRegionBandwidthLimitsRequest) ToJsonString() string
type SetCcnRegionBandwidthLimitsResponse ¶
type SetCcnRegionBandwidthLimitsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSetCcnRegionBandwidthLimitsResponse ¶
func NewSetCcnRegionBandwidthLimitsResponse() (response *SetCcnRegionBandwidthLimitsResponse)
func (*SetCcnRegionBandwidthLimitsResponse) FromJsonString ¶
func (r *SetCcnRegionBandwidthLimitsResponse) FromJsonString(s string) error
func (*SetCcnRegionBandwidthLimitsResponse) ToJsonString ¶
func (r *SetCcnRegionBandwidthLimitsResponse) ToJsonString() string
type Subnet ¶
type Subnet struct { // `VPC`实例`ID`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 子网实例`ID`,例如:subnet-bthucmmy。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 子网名称。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 子网的 `IPv4` `CIDR`。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 是否默认子网。 IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // 是否开启广播。 EnableBroadcast *bool `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"` // 可用区。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 路由表实例ID,例如:rtb-l2h8d7c2。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 可用`IP`数。 AvailableIpAddressCount *uint64 `json:"AvailableIpAddressCount,omitempty" name:"AvailableIpAddressCount"` // 子网的 `IPv6` `CIDR`。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` // 关联`ACL`ID NetworkAclId *string `json:"NetworkAclId,omitempty" name:"NetworkAclId"` // 是否为 `SNAT` 地址池子网。 IsRemoteVpcSnat *bool `json:"IsRemoteVpcSnat,omitempty" name:"IsRemoteVpcSnat"` }
type SubnetInput ¶
type SubnetInput struct { // 子网的`CIDR`。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 子网名称。 SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // 可用区。形如:`ap-guangzhou-2`。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 指定关联路由表,形如:`rtb-3ryrwzuu`。 RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"` }
type TransformAddressRequest ¶
type TransformAddressRequest struct { *tchttp.BaseRequest // 待操作有普通公网 IP 的实例 ID。实例 ID 形如:`ins-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/9389) 接口返回值中的`InstanceId`获取。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewTransformAddressRequest ¶
func NewTransformAddressRequest() (request *TransformAddressRequest)
func (*TransformAddressRequest) FromJsonString ¶
func (r *TransformAddressRequest) FromJsonString(s string) error
func (*TransformAddressRequest) ToJsonString ¶
func (r *TransformAddressRequest) ToJsonString() string
type TransformAddressResponse ¶
type TransformAddressResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewTransformAddressResponse ¶
func NewTransformAddressResponse() (response *TransformAddressResponse)
func (*TransformAddressResponse) FromJsonString ¶
func (r *TransformAddressResponse) FromJsonString(s string) error
func (*TransformAddressResponse) ToJsonString ¶
func (r *TransformAddressResponse) ToJsonString() string
type UnassignIpv6AddressesRequest ¶
type UnassignIpv6AddressesRequest struct { *tchttp.BaseRequest // 弹性网卡实例`ID`,形如:`eni-m6dyj72l`。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的`IPv6`地址列表,单次最多指定10个。 Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses" list` }
func NewUnassignIpv6AddressesRequest ¶
func NewUnassignIpv6AddressesRequest() (request *UnassignIpv6AddressesRequest)
func (*UnassignIpv6AddressesRequest) FromJsonString ¶
func (r *UnassignIpv6AddressesRequest) FromJsonString(s string) error
func (*UnassignIpv6AddressesRequest) ToJsonString ¶
func (r *UnassignIpv6AddressesRequest) ToJsonString() string
type UnassignIpv6AddressesResponse ¶
type UnassignIpv6AddressesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUnassignIpv6AddressesResponse ¶
func NewUnassignIpv6AddressesResponse() (response *UnassignIpv6AddressesResponse)
func (*UnassignIpv6AddressesResponse) FromJsonString ¶
func (r *UnassignIpv6AddressesResponse) FromJsonString(s string) error
func (*UnassignIpv6AddressesResponse) ToJsonString ¶
func (r *UnassignIpv6AddressesResponse) ToJsonString() string
type UnassignIpv6CidrBlockRequest ¶
type UnassignIpv6CidrBlockRequest struct { *tchttp.BaseRequest // `VPC`实例`ID`,形如:`vpc-f49l6u0z`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `IPv6`网段。形如:`3402:4e00:20:1000::/56` Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` }
func NewUnassignIpv6CidrBlockRequest ¶
func NewUnassignIpv6CidrBlockRequest() (request *UnassignIpv6CidrBlockRequest)
func (*UnassignIpv6CidrBlockRequest) FromJsonString ¶
func (r *UnassignIpv6CidrBlockRequest) FromJsonString(s string) error
func (*UnassignIpv6CidrBlockRequest) ToJsonString ¶
func (r *UnassignIpv6CidrBlockRequest) ToJsonString() string
type UnassignIpv6CidrBlockResponse ¶
type UnassignIpv6CidrBlockResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUnassignIpv6CidrBlockResponse ¶
func NewUnassignIpv6CidrBlockResponse() (response *UnassignIpv6CidrBlockResponse)
func (*UnassignIpv6CidrBlockResponse) FromJsonString ¶
func (r *UnassignIpv6CidrBlockResponse) FromJsonString(s string) error
func (*UnassignIpv6CidrBlockResponse) ToJsonString ¶
func (r *UnassignIpv6CidrBlockResponse) ToJsonString() string
type UnassignIpv6SubnetCidrBlockRequest ¶
type UnassignIpv6SubnetCidrBlockRequest struct { *tchttp.BaseRequest // 子网所在私有网络`ID`。形如:`vpc-f49l6u0z`。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `IPv6` 子网段列表。 Ipv6SubnetCidrBlocks []*Ipv6SubnetCidrBlock `json:"Ipv6SubnetCidrBlocks,omitempty" name:"Ipv6SubnetCidrBlocks" list` }
func NewUnassignIpv6SubnetCidrBlockRequest ¶
func NewUnassignIpv6SubnetCidrBlockRequest() (request *UnassignIpv6SubnetCidrBlockRequest)
func (*UnassignIpv6SubnetCidrBlockRequest) FromJsonString ¶
func (r *UnassignIpv6SubnetCidrBlockRequest) FromJsonString(s string) error
func (*UnassignIpv6SubnetCidrBlockRequest) ToJsonString ¶
func (r *UnassignIpv6SubnetCidrBlockRequest) ToJsonString() string
type UnassignIpv6SubnetCidrBlockResponse ¶
type UnassignIpv6SubnetCidrBlockResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUnassignIpv6SubnetCidrBlockResponse ¶
func NewUnassignIpv6SubnetCidrBlockResponse() (response *UnassignIpv6SubnetCidrBlockResponse)
func (*UnassignIpv6SubnetCidrBlockResponse) FromJsonString ¶
func (r *UnassignIpv6SubnetCidrBlockResponse) FromJsonString(s string) error
func (*UnassignIpv6SubnetCidrBlockResponse) ToJsonString ¶
func (r *UnassignIpv6SubnetCidrBlockResponse) ToJsonString() string
type UnassignPrivateIpAddressesRequest ¶
type UnassignPrivateIpAddressesRequest struct { *tchttp.BaseRequest // 弹性网卡实例ID,例如:eni-m6dyj72l。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // 指定的内网IP信息,单次最多指定10个。 PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` }
func NewUnassignPrivateIpAddressesRequest ¶
func NewUnassignPrivateIpAddressesRequest() (request *UnassignPrivateIpAddressesRequest)
func (*UnassignPrivateIpAddressesRequest) FromJsonString ¶
func (r *UnassignPrivateIpAddressesRequest) FromJsonString(s string) error
func (*UnassignPrivateIpAddressesRequest) ToJsonString ¶
func (r *UnassignPrivateIpAddressesRequest) ToJsonString() string
type UnassignPrivateIpAddressesResponse ¶
type UnassignPrivateIpAddressesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUnassignPrivateIpAddressesResponse ¶
func NewUnassignPrivateIpAddressesResponse() (response *UnassignPrivateIpAddressesResponse)
func (*UnassignPrivateIpAddressesResponse) FromJsonString ¶
func (r *UnassignPrivateIpAddressesResponse) FromJsonString(s string) error
func (*UnassignPrivateIpAddressesResponse) ToJsonString ¶
func (r *UnassignPrivateIpAddressesResponse) ToJsonString() string
type Vpc ¶
type Vpc struct { // `VPC`名称。 VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // `VPC`实例`ID`,例如:vpc-azd4dt1c。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // `VPC`的`IPv4` `CIDR`。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 是否默认`VPC`。 IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // 是否开启组播。 EnableMulticast *bool `json:"EnableMulticast,omitempty" name:"EnableMulticast"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // `DNS`列表。 DnsServerSet []*string `json:"DnsServerSet,omitempty" name:"DnsServerSet" list` // `DHCP`域名选项值。 DomainName *string `json:"DomainName,omitempty" name:"DomainName"` // `DHCP`选项集`ID`。 DhcpOptionsId *string `json:"DhcpOptionsId,omitempty" name:"DhcpOptionsId"` // 是否开启`DHCP`。 EnableDhcp *bool `json:"EnableDhcp,omitempty" name:"EnableDhcp"` // `VPC`的`IPv6` `CIDR`。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"` // 标签键值对 TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet" list` // 辅助CIDR // 注意:此字段可能返回 null,表示取不到有效值。 AssistantCidrSet []*AssistantCidr `json:"AssistantCidrSet,omitempty" name:"AssistantCidrSet" list` }
type VpcIpv6Address ¶
type VpcIpv6Address struct { // `VPC`内`IPv6`地址。 Ipv6Address *string `json:"Ipv6Address,omitempty" name:"Ipv6Address"` // 所属子网 `IPv6` `CIDR`。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // `IPv6`类型。 Ipv6AddressType *string `json:"Ipv6AddressType,omitempty" name:"Ipv6AddressType"` // `IPv6`申请时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type VpcPrivateIpAddress ¶
type VpcPrivateIpAddress struct { // `VPC`内网`IP`。 PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // 所属子网`CIDR`。 CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // 内网`IP`类型。 PrivateIpAddressType *string `json:"PrivateIpAddressType,omitempty" name:"PrivateIpAddressType"` // `IP`申请时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` }
type VpnConnection ¶
type VpnConnection struct { // 通道实例ID。 VpnConnectionId *string `json:"VpnConnectionId,omitempty" name:"VpnConnectionId"` // 通道名称。 VpnConnectionName *string `json:"VpnConnectionName,omitempty" name:"VpnConnectionName"` // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPN网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // 对端网关实例ID。 CustomerGatewayId *string `json:"CustomerGatewayId,omitempty" name:"CustomerGatewayId"` PreShareKey *string `json:"PreShareKey,omitempty" name:"PreShareKey"` // 通道传输协议。 VpnProto *string `json:"VpnProto,omitempty" name:"VpnProto"` // 通道加密协议。 EncryptProto *string `json:"EncryptProto,omitempty" name:"EncryptProto"` // 路由类型。 RouteType *string `json:"RouteType,omitempty" name:"RouteType"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 通道的生产状态,PENDING:生产中,AVAILABLE:运行中,DELETING:删除中。 State *string `json:"State,omitempty" name:"State"` // 通道连接状态,AVAILABLE:已连接。 NetStatus *string `json:"NetStatus,omitempty" name:"NetStatus"` // SPD。 SecurityPolicyDatabaseSet []*SecurityPolicyDatabase `json:"SecurityPolicyDatabaseSet,omitempty" name:"SecurityPolicyDatabaseSet" list` // IKE选项。 IKEOptionsSpecification *IKEOptionsSpecification `json:"IKEOptionsSpecification,omitempty" name:"IKEOptionsSpecification"` // IPSEC选择。 IPSECOptionsSpecification *IPSECOptionsSpecification `json:"IPSECOptionsSpecification,omitempty" name:"IPSECOptionsSpecification"` }
type VpnGateway ¶
type VpnGateway struct { // 网关实例ID。 VpnGatewayId *string `json:"VpnGatewayId,omitempty" name:"VpnGatewayId"` // VPC实例ID。 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 网关实例名称。 VpnGatewayName *string `json:"VpnGatewayName,omitempty" name:"VpnGatewayName"` // 网关实例类型:'IPSEC', 'SSL'。 Type *string `json:"Type,omitempty" name:"Type"` // 网关实例状态, 'PENDING':生产中,'DELETING':删除中,'AVAILABLE':运行中。 State *string `json:"State,omitempty" name:"State"` // 网关公网IP。 PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // 网关续费类型:'NOTIFY_AND_MANUAL_RENEW':手动续费,'NOTIFY_AND_AUTO_RENEW':自动续费,'NOT_NOTIFY_AND_NOT_RENEW':到期不续费。 RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` // 网关付费类型:POSTPAID_BY_HOUR:按小时后付费,PREPAID:包年包月预付费, InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"` // 网关出带宽。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"` // 创建时间。 CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // 预付费网关过期时间。 ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"` // 公网IP是否被封堵。 IsAddressBlocked *bool `json:"IsAddressBlocked,omitempty" name:"IsAddressBlocked"` // 计费模式变更,PREPAID_TO_POSTPAID:包年包月预付费到期转按小时后付费。 NewPurchasePlan *string `json:"NewPurchasePlan,omitempty" name:"NewPurchasePlan"` // 网关计费装,PROTECTIVELY_ISOLATED:被安全隔离的实例,NORMAL:正常。 RestrictState *string `json:"RestrictState,omitempty" name:"RestrictState"` // 可用区,如:ap-guangzhou-2 Zone *string `json:"Zone,omitempty" name:"Zone"` }