Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type Certificate
- type CertificateList
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CreateDVOrderAudit(request *CreateDVOrderAuditRequest) (response *CreateDVOrderAuditResponse, err error)
- func (client *Client) CreateDVOrderAuditWithCallback(request *CreateDVOrderAuditRequest, ...) <-chan int
- func (client *Client) CreateDVOrderAuditWithChan(request *CreateDVOrderAuditRequest) (<-chan *CreateDVOrderAuditResponse, <-chan error)
- func (client *Client) CreateUserCertificate(request *CreateUserCertificateRequest) (response *CreateUserCertificateResponse, err error)
- func (client *Client) CreateUserCertificateWithCallback(request *CreateUserCertificateRequest, ...) <-chan int
- func (client *Client) CreateUserCertificateWithChan(request *CreateUserCertificateRequest) (<-chan *CreateUserCertificateResponse, <-chan error)
- func (client *Client) DeleteUserCertificate(request *DeleteUserCertificateRequest) (response *DeleteUserCertificateResponse, err error)
- func (client *Client) DeleteUserCertificateWithCallback(request *DeleteUserCertificateRequest, ...) <-chan int
- func (client *Client) DeleteUserCertificateWithChan(request *DeleteUserCertificateRequest) (<-chan *DeleteUserCertificateResponse, <-chan error)
- func (client *Client) DescribeDVOrderResult(request *DescribeDVOrderResultRequest) (response *DescribeDVOrderResultResponse, err error)
- func (client *Client) DescribeDVOrderResultWithCallback(request *DescribeDVOrderResultRequest, ...) <-chan int
- func (client *Client) DescribeDVOrderResultWithChan(request *DescribeDVOrderResultRequest) (<-chan *DescribeDVOrderResultResponse, <-chan error)
- func (client *Client) DescribeOrderInstanceList(request *DescribeOrderInstanceListRequest) (response *DescribeOrderInstanceListResponse, err error)
- func (client *Client) DescribeOrderInstanceListWithCallback(request *DescribeOrderInstanceListRequest, ...) <-chan int
- func (client *Client) DescribeOrderInstanceListWithChan(request *DescribeOrderInstanceListRequest) (<-chan *DescribeOrderInstanceListResponse, <-chan error)
- func (client *Client) DescribeUserCertificateDetail(request *DescribeUserCertificateDetailRequest) (response *DescribeUserCertificateDetailResponse, err error)
- func (client *Client) DescribeUserCertificateDetailWithCallback(request *DescribeUserCertificateDetailRequest, ...) <-chan int
- func (client *Client) DescribeUserCertificateDetailWithChan(request *DescribeUserCertificateDetailRequest) (<-chan *DescribeUserCertificateDetailResponse, <-chan error)
- func (client *Client) DescribeUserCertificateList(request *DescribeUserCertificateListRequest) (response *DescribeUserCertificateListResponse, err error)
- func (client *Client) DescribeUserCertificateListWithCallback(request *DescribeUserCertificateListRequest, ...) <-chan int
- func (client *Client) DescribeUserCertificateListWithChan(request *DescribeUserCertificateListRequest) (<-chan *DescribeUserCertificateListResponse, <-chan error)
- type CreateDVOrderAuditRequest
- type CreateDVOrderAuditResponse
- type CreateUserCertificateRequest
- type CreateUserCertificateResponse
- type DeleteUserCertificateRequest
- type DeleteUserCertificateResponse
- type DescribeDVOrderResultRequest
- type DescribeDVOrderResultResponse
- type DescribeOrderInstanceListRequest
- type DescribeOrderInstanceListResponse
- type DescribeUserCertificateDetailRequest
- type DescribeUserCertificateDetailResponse
- type DescribeUserCertificateListRequest
- type DescribeUserCertificateListResponse
- type Order
- type OrderList
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type Certificate ¶
type Certificate struct { Id int64 `json:"id" xml:"id"` Name string `json:"name" xml:"name"` Common string `json:"common" xml:"common"` Fingerprint string `json:"fingerprint" xml:"fingerprint"` Issuer string `json:"issuer" xml:"issuer"` OrgName string `json:"orgName" xml:"orgName"` Province string `json:"province" xml:"province"` City string `json:"city" xml:"city"` Country string `json:"country" xml:"country"` StartDate string `json:"startDate" xml:"startDate"` EndDate string `json:"endDate" xml:"endDate"` Sans string `json:"sans" xml:"sans"` Expired bool `json:"expired" xml:"expired"` BuyInAliyun bool `json:"buyInAliyun" xml:"buyInAliyun"` }
Certificate is a nested struct in cas response
type CertificateList ¶
type CertificateList struct {
Certificate []Certificate `json:"Certificate" xml:"Certificate"`
}
CertificateList is a nested struct in cas response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) CreateDVOrderAudit ¶ added in v0.3.0
func (client *Client) CreateDVOrderAudit(request *CreateDVOrderAuditRequest) (response *CreateDVOrderAuditResponse, err error)
CreateDVOrderAudit invokes the cas.CreateDVOrderAudit API synchronously api document: https://help.aliyun.com/api/cas/createdvorderaudit.html
func (*Client) CreateDVOrderAuditWithCallback ¶ added in v0.3.0
func (client *Client) CreateDVOrderAuditWithCallback(request *CreateDVOrderAuditRequest, callback func(response *CreateDVOrderAuditResponse, err error)) <-chan int
CreateDVOrderAuditWithCallback invokes the cas.CreateDVOrderAudit API asynchronously api document: https://help.aliyun.com/api/cas/createdvorderaudit.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateDVOrderAuditWithChan ¶ added in v0.3.0
func (client *Client) CreateDVOrderAuditWithChan(request *CreateDVOrderAuditRequest) (<-chan *CreateDVOrderAuditResponse, <-chan error)
CreateDVOrderAuditWithChan invokes the cas.CreateDVOrderAudit API asynchronously api document: https://help.aliyun.com/api/cas/createdvorderaudit.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateUserCertificate ¶ added in v0.3.0
func (client *Client) CreateUserCertificate(request *CreateUserCertificateRequest) (response *CreateUserCertificateResponse, err error)
CreateUserCertificate invokes the cas.CreateUserCertificate API synchronously api document: https://help.aliyun.com/api/cas/createusercertificate.html
func (*Client) CreateUserCertificateWithCallback ¶ added in v0.3.0
func (client *Client) CreateUserCertificateWithCallback(request *CreateUserCertificateRequest, callback func(response *CreateUserCertificateResponse, err error)) <-chan int
CreateUserCertificateWithCallback invokes the cas.CreateUserCertificate API asynchronously api document: https://help.aliyun.com/api/cas/createusercertificate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateUserCertificateWithChan ¶ added in v0.3.0
func (client *Client) CreateUserCertificateWithChan(request *CreateUserCertificateRequest) (<-chan *CreateUserCertificateResponse, <-chan error)
CreateUserCertificateWithChan invokes the cas.CreateUserCertificate API asynchronously api document: https://help.aliyun.com/api/cas/createusercertificate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteUserCertificate ¶
func (client *Client) DeleteUserCertificate(request *DeleteUserCertificateRequest) (response *DeleteUserCertificateResponse, err error)
DeleteUserCertificate invokes the cas.DeleteUserCertificate API synchronously api document: https://help.aliyun.com/api/cas/deleteusercertificate.html
func (*Client) DeleteUserCertificateWithCallback ¶
func (client *Client) DeleteUserCertificateWithCallback(request *DeleteUserCertificateRequest, callback func(response *DeleteUserCertificateResponse, err error)) <-chan int
DeleteUserCertificateWithCallback invokes the cas.DeleteUserCertificate API asynchronously api document: https://help.aliyun.com/api/cas/deleteusercertificate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteUserCertificateWithChan ¶
func (client *Client) DeleteUserCertificateWithChan(request *DeleteUserCertificateRequest) (<-chan *DeleteUserCertificateResponse, <-chan error)
DeleteUserCertificateWithChan invokes the cas.DeleteUserCertificate API asynchronously api document: https://help.aliyun.com/api/cas/deleteusercertificate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDVOrderResult ¶ added in v0.3.0
func (client *Client) DescribeDVOrderResult(request *DescribeDVOrderResultRequest) (response *DescribeDVOrderResultResponse, err error)
DescribeDVOrderResult invokes the cas.DescribeDVOrderResult API synchronously api document: https://help.aliyun.com/api/cas/describedvorderresult.html
func (*Client) DescribeDVOrderResultWithCallback ¶ added in v0.3.0
func (client *Client) DescribeDVOrderResultWithCallback(request *DescribeDVOrderResultRequest, callback func(response *DescribeDVOrderResultResponse, err error)) <-chan int
DescribeDVOrderResultWithCallback invokes the cas.DescribeDVOrderResult API asynchronously api document: https://help.aliyun.com/api/cas/describedvorderresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDVOrderResultWithChan ¶ added in v0.3.0
func (client *Client) DescribeDVOrderResultWithChan(request *DescribeDVOrderResultRequest) (<-chan *DescribeDVOrderResultResponse, <-chan error)
DescribeDVOrderResultWithChan invokes the cas.DescribeDVOrderResult API asynchronously api document: https://help.aliyun.com/api/cas/describedvorderresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeOrderInstanceList ¶ added in v0.3.0
func (client *Client) DescribeOrderInstanceList(request *DescribeOrderInstanceListRequest) (response *DescribeOrderInstanceListResponse, err error)
DescribeOrderInstanceList invokes the cas.DescribeOrderInstanceList API synchronously api document: https://help.aliyun.com/api/cas/describeorderinstancelist.html
func (*Client) DescribeOrderInstanceListWithCallback ¶ added in v0.3.0
func (client *Client) DescribeOrderInstanceListWithCallback(request *DescribeOrderInstanceListRequest, callback func(response *DescribeOrderInstanceListResponse, err error)) <-chan int
DescribeOrderInstanceListWithCallback invokes the cas.DescribeOrderInstanceList API asynchronously api document: https://help.aliyun.com/api/cas/describeorderinstancelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeOrderInstanceListWithChan ¶ added in v0.3.0
func (client *Client) DescribeOrderInstanceListWithChan(request *DescribeOrderInstanceListRequest) (<-chan *DescribeOrderInstanceListResponse, <-chan error)
DescribeOrderInstanceListWithChan invokes the cas.DescribeOrderInstanceList API asynchronously api document: https://help.aliyun.com/api/cas/describeorderinstancelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeUserCertificateDetail ¶ added in v0.3.0
func (client *Client) DescribeUserCertificateDetail(request *DescribeUserCertificateDetailRequest) (response *DescribeUserCertificateDetailResponse, err error)
DescribeUserCertificateDetail invokes the cas.DescribeUserCertificateDetail API synchronously api document: https://help.aliyun.com/api/cas/describeusercertificatedetail.html
func (*Client) DescribeUserCertificateDetailWithCallback ¶ added in v0.3.0
func (client *Client) DescribeUserCertificateDetailWithCallback(request *DescribeUserCertificateDetailRequest, callback func(response *DescribeUserCertificateDetailResponse, err error)) <-chan int
DescribeUserCertificateDetailWithCallback invokes the cas.DescribeUserCertificateDetail API asynchronously api document: https://help.aliyun.com/api/cas/describeusercertificatedetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeUserCertificateDetailWithChan ¶ added in v0.3.0
func (client *Client) DescribeUserCertificateDetailWithChan(request *DescribeUserCertificateDetailRequest) (<-chan *DescribeUserCertificateDetailResponse, <-chan error)
DescribeUserCertificateDetailWithChan invokes the cas.DescribeUserCertificateDetail API asynchronously api document: https://help.aliyun.com/api/cas/describeusercertificatedetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeUserCertificateList ¶ added in v0.2.0
func (client *Client) DescribeUserCertificateList(request *DescribeUserCertificateListRequest) (response *DescribeUserCertificateListResponse, err error)
DescribeUserCertificateList invokes the cas.DescribeUserCertificateList API synchronously api document: https://help.aliyun.com/api/cas/describeusercertificatelist.html
func (*Client) DescribeUserCertificateListWithCallback ¶ added in v0.2.0
func (client *Client) DescribeUserCertificateListWithCallback(request *DescribeUserCertificateListRequest, callback func(response *DescribeUserCertificateListResponse, err error)) <-chan int
DescribeUserCertificateListWithCallback invokes the cas.DescribeUserCertificateList API asynchronously api document: https://help.aliyun.com/api/cas/describeusercertificatelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeUserCertificateListWithChan ¶ added in v0.2.0
func (client *Client) DescribeUserCertificateListWithChan(request *DescribeUserCertificateListRequest) (<-chan *DescribeUserCertificateListResponse, <-chan error)
DescribeUserCertificateListWithChan invokes the cas.DescribeUserCertificateList API asynchronously api document: https://help.aliyun.com/api/cas/describeusercertificatelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type CreateDVOrderAuditRequest ¶ added in v0.3.0
type CreateDVOrderAuditRequest struct { *requests.RpcRequest City string `position:"Query" name:"City"` SourceIp string `position:"Query" name:"SourceIp"` Province string `position:"Query" name:"Province"` Lang string `position:"Query" name:"Lang"` Email string `position:"Query" name:"Email"` Mobile string `position:"Query" name:"Mobile"` InstanceId string `position:"Query" name:"InstanceId"` Domain string `position:"Query" name:"Domain"` DomainVerifyType string `position:"Query" name:"DomainVerifyType"` Username string `position:"Query" name:"Username"` }
CreateDVOrderAuditRequest is the request struct for api CreateDVOrderAudit
func CreateCreateDVOrderAuditRequest ¶ added in v0.3.0
func CreateCreateDVOrderAuditRequest() (request *CreateDVOrderAuditRequest)
CreateCreateDVOrderAuditRequest creates a request to invoke CreateDVOrderAudit API
type CreateDVOrderAuditResponse ¶ added in v0.3.0
type CreateDVOrderAuditResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateDVOrderAuditResponse is the response struct for api CreateDVOrderAudit
func CreateCreateDVOrderAuditResponse ¶ added in v0.3.0
func CreateCreateDVOrderAuditResponse() (response *CreateDVOrderAuditResponse)
CreateCreateDVOrderAuditResponse creates a response to parse from CreateDVOrderAudit response
type CreateUserCertificateRequest ¶ added in v0.3.0
type CreateUserCertificateRequest struct { *requests.RpcRequest Cert string `position:"Query" name:"Cert"` SourceIp string `position:"Query" name:"SourceIp"` Name string `position:"Query" name:"Name"` Lang string `position:"Query" name:"Lang"` Key string `position:"Query" name:"Key"` }
CreateUserCertificateRequest is the request struct for api CreateUserCertificate
func CreateCreateUserCertificateRequest ¶ added in v0.3.0
func CreateCreateUserCertificateRequest() (request *CreateUserCertificateRequest)
CreateCreateUserCertificateRequest creates a request to invoke CreateUserCertificate API
type CreateUserCertificateResponse ¶ added in v0.3.0
type CreateUserCertificateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CertId int64 `json:"CertId" xml:"CertId"` }
CreateUserCertificateResponse is the response struct for api CreateUserCertificate
func CreateCreateUserCertificateResponse ¶ added in v0.3.0
func CreateCreateUserCertificateResponse() (response *CreateUserCertificateResponse)
CreateCreateUserCertificateResponse creates a response to parse from CreateUserCertificate response
type DeleteUserCertificateRequest ¶
type DeleteUserCertificateRequest struct { *requests.RpcRequest CertId requests.Integer `position:"Query" name:"CertId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DeleteUserCertificateRequest is the request struct for api DeleteUserCertificate
func CreateDeleteUserCertificateRequest ¶
func CreateDeleteUserCertificateRequest() (request *DeleteUserCertificateRequest)
CreateDeleteUserCertificateRequest creates a request to invoke DeleteUserCertificate API
type DeleteUserCertificateResponse ¶
type DeleteUserCertificateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteUserCertificateResponse is the response struct for api DeleteUserCertificate
func CreateDeleteUserCertificateResponse ¶
func CreateDeleteUserCertificateResponse() (response *DeleteUserCertificateResponse)
CreateDeleteUserCertificateResponse creates a response to parse from DeleteUserCertificate response
type DescribeDVOrderResultRequest ¶ added in v0.3.0
type DescribeDVOrderResultRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DescribeDVOrderResultRequest is the request struct for api DescribeDVOrderResult
func CreateDescribeDVOrderResultRequest ¶ added in v0.3.0
func CreateDescribeDVOrderResultRequest() (request *DescribeDVOrderResultRequest)
CreateDescribeDVOrderResultRequest creates a request to invoke DescribeDVOrderResult API
type DescribeDVOrderResultResponse ¶ added in v0.3.0
type DescribeDVOrderResultResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` OrderStatus string `json:"OrderStatus" xml:"OrderStatus"` Certificate string `json:"Certificate" xml:"Certificate"` PrivateKey string `json:"PrivateKey" xml:"PrivateKey"` CheckName string `json:"CheckName" xml:"CheckName"` CheckValue string `json:"CheckValue" xml:"CheckValue"` CheckType string `json:"CheckType" xml:"CheckType"` }
DescribeDVOrderResultResponse is the response struct for api DescribeDVOrderResult
func CreateDescribeDVOrderResultResponse ¶ added in v0.3.0
func CreateDescribeDVOrderResultResponse() (response *DescribeDVOrderResultResponse)
CreateDescribeDVOrderResultResponse creates a response to parse from DescribeDVOrderResult response
type DescribeOrderInstanceListRequest ¶ added in v0.3.0
type DescribeOrderInstanceListRequest struct { *requests.RpcRequest SourceIp string `position:"Query" name:"SourceIp"` StartIndex requests.Integer `position:"Query" name:"StartIndex"` Lang string `position:"Query" name:"Lang"` }
DescribeOrderInstanceListRequest is the request struct for api DescribeOrderInstanceList
func CreateDescribeOrderInstanceListRequest ¶ added in v0.3.0
func CreateDescribeOrderInstanceListRequest() (request *DescribeOrderInstanceListRequest)
CreateDescribeOrderInstanceListRequest creates a request to invoke DescribeOrderInstanceList API
type DescribeOrderInstanceListResponse ¶ added in v0.3.0
type DescribeOrderInstanceListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` OrderList []Order `json:"OrderList" xml:"OrderList"` }
DescribeOrderInstanceListResponse is the response struct for api DescribeOrderInstanceList
func CreateDescribeOrderInstanceListResponse ¶ added in v0.3.0
func CreateDescribeOrderInstanceListResponse() (response *DescribeOrderInstanceListResponse)
CreateDescribeOrderInstanceListResponse creates a response to parse from DescribeOrderInstanceList response
type DescribeUserCertificateDetailRequest ¶ added in v0.3.0
type DescribeUserCertificateDetailRequest struct { *requests.RpcRequest CertId requests.Integer `position:"Query" name:"CertId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DescribeUserCertificateDetailRequest is the request struct for api DescribeUserCertificateDetail
func CreateDescribeUserCertificateDetailRequest ¶ added in v0.3.0
func CreateDescribeUserCertificateDetailRequest() (request *DescribeUserCertificateDetailRequest)
CreateDescribeUserCertificateDetailRequest creates a request to invoke DescribeUserCertificateDetail API
type DescribeUserCertificateDetailResponse ¶ added in v0.3.0
type DescribeUserCertificateDetailResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Id int64 `json:"Id" xml:"Id"` Name string `json:"Name" xml:"Name"` Common string `json:"Common" xml:"Common"` Fingerprint string `json:"Fingerprint" xml:"Fingerprint"` Issuer string `json:"Issuer" xml:"Issuer"` OrgName string `json:"OrgName" xml:"OrgName"` Province string `json:"Province" xml:"Province"` City string `json:"City" xml:"City"` Country string `json:"Country" xml:"Country"` StartDate string `json:"StartDate" xml:"StartDate"` EndDate string `json:"EndDate" xml:"EndDate"` Sans string `json:"Sans" xml:"Sans"` Expired bool `json:"Expired" xml:"Expired"` BuyInAliyun bool `json:"BuyInAliyun" xml:"BuyInAliyun"` Cert string `json:"Cert" xml:"Cert"` Key string `json:"Key" xml:"Key"` }
DescribeUserCertificateDetailResponse is the response struct for api DescribeUserCertificateDetail
func CreateDescribeUserCertificateDetailResponse ¶ added in v0.3.0
func CreateDescribeUserCertificateDetailResponse() (response *DescribeUserCertificateDetailResponse)
CreateDescribeUserCertificateDetailResponse creates a response to parse from DescribeUserCertificateDetail response
type DescribeUserCertificateListRequest ¶ added in v0.2.0
type DescribeUserCertificateListRequest struct { *requests.RpcRequest ShowSize requests.Integer `position:"Query" name:"ShowSize"` CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DescribeUserCertificateListRequest is the request struct for api DescribeUserCertificateList
func CreateDescribeUserCertificateListRequest ¶ added in v0.2.0
func CreateDescribeUserCertificateListRequest() (request *DescribeUserCertificateListRequest)
CreateDescribeUserCertificateListRequest creates a request to invoke DescribeUserCertificateList API
type DescribeUserCertificateListResponse ¶ added in v0.2.0
type DescribeUserCertificateListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` ShowSize int `json:"ShowSize" xml:"ShowSize"` CurrentPage int `json:"CurrentPage" xml:"CurrentPage"` CertificateList []Certificate `json:"CertificateList" xml:"CertificateList"` }
DescribeUserCertificateListResponse is the response struct for api DescribeUserCertificateList
func CreateDescribeUserCertificateListResponse ¶ added in v0.2.0
func CreateDescribeUserCertificateListResponse() (response *DescribeUserCertificateListResponse)
CreateDescribeUserCertificateListResponse creates a response to parse from DescribeUserCertificateList response
type Order ¶ added in v0.3.0
type Order struct { Id int64 `json:"Id" xml:"Id"` InstanceId string `json:"InstanceId" xml:"InstanceId"` Source string `json:"Source" xml:"Source"` Status string `json:"Status" xml:"Status"` CertType string `json:"CertType" xml:"CertType"` }
Order is a nested struct in cas response
Source Files ¶
- client.go
- create_dv_order_audit.go
- create_user_certificate.go
- delete_user_certificate.go
- describe_dv_order_result.go
- describe_order_instance_list.go
- describe_user_certificate_detail.go
- describe_user_certificate_list.go
- endpoint.go
- struct_certificate.go
- struct_certificate_list.go
- struct_order.go
- struct_order_list.go