auto_recovery

package
v0.5.28 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(c *golangsdk.ServiceClient, id string, opts UpdateOptsBuilder) error

Types

type AutoRecovery

type AutoRecovery struct {
	SupportAutoRecovery string `json:"support_auto_recovery"`
}

type GetResult

type GetResult struct {
	golangsdk.Result
}

func Get

func Get(c *golangsdk.ServiceClient, id string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*AutoRecovery, error)

type UpdateOpts

type UpdateOpts struct {
	SupportAutoRecovery string `json:"support_auto_recovery" required:"true"`
}

func (UpdateOpts) ToAutoRecoveryUpdateMap

func (opts UpdateOpts) ToAutoRecoveryUpdateMap() (map[string]interface{}, error)

type UpdateOptsBuilder

type UpdateOptsBuilder interface {
	ToAutoRecoveryUpdateMap() (map[string]interface{}, error)
}

Jump to

Keyboard shortcuts

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