ossadmin

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "OssAdmin"
	Style   = "RPC"
	Version = "2015-03-02"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) CreateOssInstance

func (api API) CreateOssInstance(optional openapi.M) (*CreateOssInstanceResponse, error)

CreateOssInstance version 2015-03-02

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: region, type: string

func (API) ReleaseOssInstance

func (api API) ReleaseOssInstance(optional openapi.M) (*openapi.Response, error)

ReleaseOssInstance version 2015-03-02

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: region, type: string

func (API) RestartOssInstance

func (api API) RestartOssInstance(optional openapi.M) (*openapi.Response, error)

RestartOssInstance version 2015-03-02

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: region, type: string

func (API) StopOssInstance

func (api API) StopOssInstance(optional openapi.M) (*openapi.Response, error)

StopOssInstance version 2015-03-02

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: region, type: string

type CreateOssInstanceResponse

type CreateOssInstanceResponse struct {
	AliUid         int64
	EndTime        string
	InstacneStatus string
	InstanceId     string
	InstanceName   string
	StartTime      string
}

CreateOssInstanceResponse represents the response of the api CreateOssInstance.

Jump to

Keyboard shortcuts

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