hpcs

package
v1.58.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MPL-2.0 Imports: 23 Imported by: 0

README

Terraform IBM Provider HPCS

This area is primarily for IBM provider contributors and maintainers. For information on using Terraform and the IBM provider, see the links below.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DHasChanges added in v1.43.0

func DHasChanges(d *schema.ResourceData) bool

func DKeystoreToKeystoreBody added in v1.43.0

func DKeystoreToKeystoreBody(d *schema.ResourceData) interface{}

func DKeystoreToKeystoreBodyUpdate added in v1.43.0

func DKeystoreToKeystoreBodyUpdate(d *schema.ResourceData) *ukov4.KeystoreUpdateRequest

func DataSourceIBMHPCS

func DataSourceIBMHPCS() *schema.Resource

func DataSourceIbmKeyTemplate added in v1.43.0

func DataSourceIbmKeyTemplate() *schema.Resource

func DataSourceIbmKeyTemplateKeyPropertiesToMap added in v1.43.0

func DataSourceIbmKeyTemplateKeyPropertiesToMap(model *ukov4.KeyProperties) (map[string]interface{}, error)

func DataSourceIbmKeyTemplateRead added in v1.43.0

func DataSourceIbmKeyTemplateRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIbmKeyTemplateVaultReferenceToMap added in v1.43.0

func DataSourceIbmKeyTemplateVaultReferenceToMap(model *ukov4.VaultReference) (map[string]interface{}, error)

func DataSourceIbmKeystore added in v1.43.0

func DataSourceIbmKeystore() *schema.Resource

func DataSourceIbmKeystoreRead added in v1.43.0

func DataSourceIbmKeystoreRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIbmKeystoreVaultReferenceToMap added in v1.43.0

func DataSourceIbmKeystoreVaultReferenceToMap(model *ukov4.VaultReference) (map[string]interface{}, error)

func DataSourceIbmManagedKey added in v1.43.0

func DataSourceIbmManagedKey() *schema.Resource

func DataSourceIbmManagedKeyKeyVerificationPatternToMap added in v1.43.0

func DataSourceIbmManagedKeyKeyVerificationPatternToMap(model *ukov4.KeyVerificationPattern) (map[string]interface{}, error)

func DataSourceIbmManagedKeyRead added in v1.43.0

func DataSourceIbmManagedKeyRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIbmManagedKeyTagToMap added in v1.43.0

func DataSourceIbmManagedKeyTagToMap(model *ukov4.Tag) (map[string]interface{}, error)

func DataSourceIbmManagedKeyTargetKeystoreReferenceToMap added in v1.43.0

func DataSourceIbmManagedKeyTargetKeystoreReferenceToMap(model *ukov4.TargetKeystoreReference) (map[string]interface{}, error)

func DataSourceIbmManagedKeyTemplateReferenceToMap added in v1.43.0

func DataSourceIbmManagedKeyTemplateReferenceToMap(model *ukov4.TemplateReference) (map[string]interface{}, error)

func DataSourceIbmManagedKeyVaultReferenceToMap added in v1.43.0

func DataSourceIbmManagedKeyVaultReferenceToMap(model *ukov4.VaultReference) (map[string]interface{}, error)

func DataSourceIbmVault added in v1.43.0

func DataSourceIbmVault() *schema.Resource

func DataSourceIbmVaultRead added in v1.43.0

func DataSourceIbmVaultRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func FlattenHSMInfo

func FlattenHSMInfo(hsmInfo []tkesdk.HsmInfo) []map[string]interface{}

func ResourceIBMHPCS

func ResourceIBMHPCS() *schema.Resource

func ResourceIBMHPCSValidator

func ResourceIBMHPCSValidator() *validate.ResourceValidator

func ResourceIbmKeyTemplate added in v1.43.0

func ResourceIbmKeyTemplate() *schema.Resource

func ResourceIbmKeyTemplateCreate added in v1.43.0

func ResourceIbmKeyTemplateCreate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeyTemplateDelete added in v1.43.0

func ResourceIbmKeyTemplateDelete(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeyTemplateKeyPropertiesToMap added in v1.43.0

func ResourceIbmKeyTemplateKeyPropertiesToMap(model *ukov4.KeyProperties) (map[string]interface{}, error)

func ResourceIbmKeyTemplateMapToKeyProperties added in v1.43.0

func ResourceIbmKeyTemplateMapToKeyProperties(modelMap map[string]interface{}) (*ukov4.KeyProperties, error)

func ResourceIbmKeyTemplateMapToVaultReferenceInCreationRequest added in v1.43.0

func ResourceIbmKeyTemplateMapToVaultReferenceInCreationRequest(modelMap map[string]interface{}) (*ukov4.VaultReferenceInCreationRequest, error)

func ResourceIbmKeyTemplateRead added in v1.43.0

func ResourceIbmKeyTemplateRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeyTemplateUpdate added in v1.43.0

func ResourceIbmKeyTemplateUpdate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeyTemplateValidator added in v1.43.0

func ResourceIbmKeyTemplateValidator() *validate.ResourceValidator

func ResourceIbmKeyTemplateVaultReferenceInCreationRequestToMap added in v1.43.0

func ResourceIbmKeyTemplateVaultReferenceInCreationRequestToMap(model *ukov4.VaultReference) (map[string]interface{}, error)

func ResourceIbmKeystore added in v1.43.0

func ResourceIbmKeystore() *schema.Resource

func ResourceIbmKeystoreCreate added in v1.43.0

func ResourceIbmKeystoreCreate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeystoreDelete added in v1.43.0

func ResourceIbmKeystoreDelete(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeAwsKmsCreateToMap added in v1.43.0

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeAwsKmsCreateToMap(model *ukov4.KeystoreCreationRequestKeystoreTypeAwsKmsCreate) (map[string]interface{}, error)

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeAzureCreateToMap added in v1.43.0

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeAzureCreateToMap(model *ukov4.KeystoreCreationRequestKeystoreTypeAzureCreate) (map[string]interface{}, error)

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsCreateToMap added in v1.43.0

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsCreateToMap(model *ukov4.KeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsCreate) (map[string]interface{}, error)

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalCreateToMap added in v1.43.0

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalCreateToMap(model ukov4.KeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalCreateIntf) (map[string]interface{}, error)

TODO: These types are different. But it seems the only place they change? May need to change them to generated types, but don't want to do that prematurely.

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateToMap added in v1.43.0

func ResourceIbmKeystoreKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateToMap(model ukov4.KeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateIntf) (map[string]interface{}, error)

func ResourceIbmKeystoreKeystoreCreationRequestToMap added in v1.43.0

func ResourceIbmKeystoreKeystoreCreationRequestToMap(model ukov4.KeystoreCreationRequestIntf) (map[string]interface{}, error)

func ResourceIbmKeystoreMapToKeystoreCreationRequest added in v1.43.0

func ResourceIbmKeystoreMapToKeystoreCreationRequest(modelMap map[string]interface{}) (ukov4.KeystoreCreationRequestIntf, error)

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeAwsKmsCreate added in v1.43.0

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeAwsKmsCreate(modelMap map[string]interface{}) (*ukov4.KeystoreCreationRequestKeystoreTypeAwsKmsCreate, error)

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeAzureCreate added in v1.43.0

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeAzureCreate(modelMap map[string]interface{}) (*ukov4.KeystoreCreationRequestKeystoreTypeAzureCreate, error)

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreate added in v1.43.0

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreate(modelMap map[string]interface{}) (ukov4.KeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateIntf, error)

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsCreate added in v1.43.0

func ResourceIbmKeystoreMapToKeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsCreate(modelMap map[string]interface{}) (*ukov4.KeystoreCreationRequestKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsInternalExternalCreateKeystoreTypeIbmCloudKmsCreate, error)

func ResourceIbmKeystoreMapToVaultReferenceInCreationRequest added in v1.43.0

func ResourceIbmKeystoreMapToVaultReferenceInCreationRequest(modelMap map[string]interface{}) (*ukov4.VaultReferenceInCreationRequest, error)

func ResourceIbmKeystoreRead added in v1.43.0

func ResourceIbmKeystoreRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeystoreUpdate added in v1.43.0

func ResourceIbmKeystoreUpdate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmKeystoreValidator added in v1.43.0

func ResourceIbmKeystoreValidator() *validate.ResourceValidator

func ResourceIbmKeystoreVaultReferenceInCreationRequestToMap added in v1.43.0

func ResourceIbmKeystoreVaultReferenceInCreationRequestToMap(model *ukov4.VaultReferenceInCreationRequest) (map[string]interface{}, error)

func ResourceIbmKeystoreVaultReferenceToMap added in v1.43.0

func ResourceIbmKeystoreVaultReferenceToMap(model *ukov4.VaultReference) (map[string]interface{}, error)

func ResourceIbmManagedKey added in v1.43.0

func ResourceIbmManagedKey() *schema.Resource

func ResourceIbmManagedKeyCreate added in v1.43.0

func ResourceIbmManagedKeyCreate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmManagedKeyDelete added in v1.43.0

func ResourceIbmManagedKeyDelete(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmManagedKeyKeyInstanceToMap added in v1.43.0

func ResourceIbmManagedKeyKeyInstanceToMap(model ukov4.KeyInstanceIntf) (map[string]interface{}, error)

TODO: Worried about typing

func ResourceIbmManagedKeyKeyVerificationPatternToMap added in v1.43.0

func ResourceIbmManagedKeyKeyVerificationPatternToMap(model *ukov4.KeyVerificationPattern) (map[string]interface{}, error)

func ResourceIbmManagedKeyMapToTag added in v1.43.0

func ResourceIbmManagedKeyMapToTag(modelMap map[string]interface{}) (*ukov4.Tag, error)

func ResourceIbmManagedKeyMapToVaultReferenceInCreationRequest added in v1.43.0

func ResourceIbmManagedKeyMapToVaultReferenceInCreationRequest(modelMap map[string]interface{}) (*ukov4.VaultReferenceInCreationRequest, error)

func ResourceIbmManagedKeyRead added in v1.43.0

func ResourceIbmManagedKeyRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmManagedKeyTagToMap added in v1.43.0

func ResourceIbmManagedKeyTagToMap(model *ukov4.Tag) (map[string]interface{}, error)

func ResourceIbmManagedKeyTargetKeystoreReferenceToMap added in v1.43.0

func ResourceIbmManagedKeyTargetKeystoreReferenceToMap(model *ukov4.TargetKeystoreReference) (map[string]interface{}, error)

func ResourceIbmManagedKeyTemplateReferenceToMap added in v1.43.0

func ResourceIbmManagedKeyTemplateReferenceToMap(model *ukov4.TemplateReference) (map[string]interface{}, error)

func ResourceIbmManagedKeyUpdate added in v1.43.0

func ResourceIbmManagedKeyUpdate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmManagedKeyValidator added in v1.43.0

func ResourceIbmManagedKeyValidator() *validate.ResourceValidator

func ResourceIbmManagedKeyVaultReferenceInCreationRequestToMap added in v1.43.0

func ResourceIbmManagedKeyVaultReferenceInCreationRequestToMap(model *ukov4.VaultReference) (map[string]interface{}, error)

func ResourceIbmVault added in v1.43.0

func ResourceIbmVault() *schema.Resource

func ResourceIbmVaultCreate added in v1.43.0

func ResourceIbmVaultCreate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmVaultDelete added in v1.43.0

func ResourceIbmVaultDelete(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmVaultRead added in v1.43.0

func ResourceIbmVaultRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmVaultUpdate added in v1.43.0

func ResourceIbmVaultUpdate(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceIbmVaultValidator added in v1.43.0

func ResourceIbmVaultValidator() *validate.ResourceValidator

func SyncKeys added in v1.52.0

func SyncKeys(ukoClient *ukov4.UkoV4, context context.Context, UKOVault string, ID string) diag.Diagnostics

Types

type HPCSParams

type HPCSParams struct {
	Units                 int    `json:"units,omitempty"`
	FailoverUnits         int    `json:"failover_units,omitempty"`
	RequiresRecoveryUnits bool   `json:"requires_recovery_units,omitempty"`
	ServiceEndpoints      string `json:"allowed_network,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL