Documentation ¶
Index ¶
- Constants
- func AllAccountTypes() []string
- func AllCredentialTypes() []string
- func AllResourceTypes() []string
- func CreateAutoRotatePolicy(ctx context.Context, data *schema.ResourceData, meta interface{}) error
- func CreatePasswordChangeID(data *schema.ResourceData, operation string) (string, error)
- func CredentialDataSubresource() *schema.Resource
- func FlattenCredentials(creds []vcf.Credential) []map[string]interface{}
- func HashFields(fields []string) (string, error)
- func ReadCredentials(ctx context.Context, data *schema.ResourceData, ...) ([]vcf.Credential, error)
- func RemoveAutoRotatePolicy(ctx context.Context, data *schema.ResourceData, meta interface{}) error
- func RotatePasswords(ctx context.Context, data *schema.ResourceData, meta interface{}) error
- func UpdatePasswords(ctx context.Context, data *schema.ResourceData, meta interface{}) error
Constants ¶
View Source
const ( AccountTypeSystem = "SYSTEM" AccountTypeService = "SERVICE" AccountTypeUser = "USER" )
View Source
const ( ResourceTypeEsxi = "ESXI" ResourceTypeVcenter = "VCENTER" ResourceTypePsc = "PSC" ResourceTypeNsxManager = "NSX_MANAGER" ResourceTypeNsxController = "NSX_CONTROLLER" ResourceTypeNsxEdge = "NSXT_EDGE" ResourceTypeNsxtManager = "NSXT_MANAGER" ResourceTypeVrli = "VRLI" ResourceTypeVra = "VRA" ResourceTypeWsa = "WSA" ResourceTypeVrslcm = "VRSLCM" ResourceTypeVxrailManager = "VXRAIL_MANAGER" ResourceTypeNsxAlb = "NSX_ALB" ResourceTypeBackup = "BACKUP" ResourceTypeVrops = "VROPS" )
View Source
const ( ConfigAutoRotate = "UPDATE_AUTO_ROTATE_POLICY" Rotate = "ROTATE" Update = "UPDATE" )
View Source
const ( AutorotateDays30 = 30 AutorotateDays60 = 60 AutorotateDays90 = 90 AutorotateDaysMax = AutorotateDays90 AutoRotateDaysMin = 1 )
Variables ¶
This section is empty.
Functions ¶
func AllAccountTypes ¶
func AllAccountTypes() []string
func AllCredentialTypes ¶
func AllCredentialTypes() []string
func AllResourceTypes ¶
func AllResourceTypes() []string
func CreateAutoRotatePolicy ¶
func CreateAutoRotatePolicy(ctx context.Context, data *schema.ResourceData, meta interface{}) error
func CreatePasswordChangeID ¶
func CreatePasswordChangeID(data *schema.ResourceData, operation string) (string, error)
func FlattenCredentials ¶
func FlattenCredentials(creds []vcf.Credential) []map[string]interface{}
func HashFields ¶
func ReadCredentials ¶
func ReadCredentials(ctx context.Context, data *schema.ResourceData, apiClient *vcf.ClientWithResponses) ([]vcf.Credential, error)
func RemoveAutoRotatePolicy ¶
func RemoveAutoRotatePolicy(ctx context.Context, data *schema.ResourceData, meta interface{}) error
func RotatePasswords ¶
func RotatePasswords(ctx context.Context, data *schema.ResourceData, meta interface{}) error
func UpdatePasswords ¶
func UpdatePasswords(ctx context.Context, data *schema.ResourceData, meta interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.