packer-cn/vendor/github.com/yandex-cloud/go-sdk/certificate.go

20 lines
625 B
Go

package ycsdk
import (
"github.com/yandex-cloud/go-sdk/gen/certificatemanager"
certificatemanagerdata "github.com/yandex-cloud/go-sdk/gen/certificatemanagerdata"
)
const (
CertificateManagerID = "certificate-manager"
CertificateManagerDataID = "certificate-manager-data"
)
func (sdk *SDK) Certificates() *certificatemanager.CertificateManager {
return certificatemanager.NewCertificateManager(sdk.getConn(CertificateManagerID))
}
func (sdk *SDK) CertificatesData() *certificatemanagerdata.CertificateManagerData {
return certificatemanagerdata.NewCertificateManagerData(sdk.getConn(CertificateManagerDataID))
}