Documentation ¶
Index ¶
- Constants
- Variables
- func CryptoIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func GetKMSCryptoKeyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetKMSCryptoKeyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetKMSCryptoKeyVersionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetKMSCryptoKeyVersionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetKMSEkmConnectionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetKMSEkmConnectionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetKMSKeyRingApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetKMSKeyRingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetKMSKeyRingImportJobApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetKMSKeyRingImportJobCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func KeyRingIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func NewKmsCryptoKeyIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewKmsKeyRingIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func ResourceConverterKMSCryptoKey() cai.ResourceConverter
- func ResourceConverterKMSCryptoKeyVersion() cai.ResourceConverter
- func ResourceConverterKMSEkmConnection() cai.ResourceConverter
- func ResourceConverterKMSKeyRing() cai.ResourceConverter
- func ResourceConverterKMSKeyRingImportJob() cai.ResourceConverter
- type KmsCryptoKeyIamUpdater
- func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
- func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
- func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
- func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KmsCryptoKeyId
- type KmsKeyRingIamUpdater
- func (u *KmsKeyRingIamUpdater) DescribeResource() string
- func (u *KmsKeyRingIamUpdater) GetMutexKey() string
- func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KmsKeyRingIamUpdater) GetResourceId() string
- func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KmsKeyRingId
Constants ¶
View Source
const KMSCryptoKeyAssetType string = "cloudkms.googleapis.com/CryptoKey"
View Source
const KMSCryptoKeyVersionAssetType string = "cloudkms.googleapis.com/CryptoKeyVersion"
View Source
const KMSEkmConnectionAssetType string = "cloudkms.googleapis.com/EkmConnection"
View Source
const KMSKeyRingAssetType string = "cloudkms.googleapis.com/KeyRing"
View Source
const KMSKeyRingImportJobAssetType string = "cloudkms.googleapis.com/KeyRingImportJob"
Variables ¶
View Source
var IamKmsCryptoKeySchema = map[string]*schema.Schema{ "crypto_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamKmsKeyRingSchema = map[string]*schema.Schema{ "key_ring_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
Functions ¶
func CryptoIdParseFunc ¶
func CryptoIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func GetKMSCryptoKeyApiObject ¶
func GetKMSCryptoKeyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetKMSCryptoKeyCaiObject ¶
func GetKMSCryptoKeyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetKMSCryptoKeyVersionApiObject ¶
func GetKMSCryptoKeyVersionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetKMSCryptoKeyVersionCaiObject ¶
func GetKMSCryptoKeyVersionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetKMSEkmConnectionApiObject ¶ added in v5.26.0
func GetKMSEkmConnectionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetKMSEkmConnectionCaiObject ¶ added in v5.26.0
func GetKMSEkmConnectionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetKMSKeyRingApiObject ¶
func GetKMSKeyRingApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetKMSKeyRingCaiObject ¶
func GetKMSKeyRingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetKMSKeyRingImportJobApiObject ¶
func GetKMSKeyRingImportJobApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetKMSKeyRingImportJobCaiObject ¶
func GetKMSKeyRingImportJobCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func KeyRingIdParseFunc ¶
func KeyRingIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func NewKmsCryptoKeyIamUpdater ¶
func NewKmsCryptoKeyIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewKmsKeyRingIamUpdater ¶
func NewKmsKeyRingIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func ResourceConverterKMSCryptoKey ¶
func ResourceConverterKMSCryptoKey() cai.ResourceConverter
func ResourceConverterKMSCryptoKeyVersion ¶
func ResourceConverterKMSCryptoKeyVersion() cai.ResourceConverter
func ResourceConverterKMSEkmConnection ¶ added in v5.26.0
func ResourceConverterKMSEkmConnection() cai.ResourceConverter
func ResourceConverterKMSKeyRing ¶
func ResourceConverterKMSKeyRing() cai.ResourceConverter
func ResourceConverterKMSKeyRingImportJob ¶
func ResourceConverterKMSKeyRingImportJob() cai.ResourceConverter
Types ¶
type KmsCryptoKeyIamUpdater ¶
type KmsCryptoKeyIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*KmsCryptoKeyIamUpdater) DescribeResource ¶
func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
func (*KmsCryptoKeyIamUpdater) GetMutexKey ¶
func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
func (*KmsCryptoKeyIamUpdater) GetResourceIamPolicy ¶
func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsCryptoKeyIamUpdater) GetResourceId ¶
func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
func (*KmsCryptoKeyIamUpdater) SetResourceIamPolicy ¶
func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsCryptoKeyId ¶
type KmsCryptoKeyId struct { KeyRingId KmsKeyRingId Name string }
func ParseKmsCryptoKeyId ¶
func ParseKmsCryptoKeyId(id string, config *transport_tpg.Config) (*KmsCryptoKeyId, error)
func (*KmsCryptoKeyId) CryptoKeyId ¶
func (s *KmsCryptoKeyId) CryptoKeyId() string
func (*KmsCryptoKeyId) TerraformId ¶
func (s *KmsCryptoKeyId) TerraformId() string
type KmsKeyRingIamUpdater ¶
type KmsKeyRingIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*KmsKeyRingIamUpdater) DescribeResource ¶
func (u *KmsKeyRingIamUpdater) DescribeResource() string
func (*KmsKeyRingIamUpdater) GetMutexKey ¶
func (u *KmsKeyRingIamUpdater) GetMutexKey() string
func (*KmsKeyRingIamUpdater) GetResourceIamPolicy ¶
func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsKeyRingIamUpdater) GetResourceId ¶
func (u *KmsKeyRingIamUpdater) GetResourceId() string
func (*KmsKeyRingIamUpdater) SetResourceIamPolicy ¶
func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsKeyRingId ¶
func (*KmsKeyRingId) KeyRingId ¶
func (s *KmsKeyRingId) KeyRingId() string
func (*KmsKeyRingId) TerraformId ¶
func (s *KmsKeyRingId) TerraformId() string
Click to show internal directories.
Click to hide internal directories.