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 = "2014-03-26"
)

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) RestartOss

func (api API) RestartOss(optional openapi.M) (*RestartOssResponse, error)

RestartOss version 2014-03-26

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) StopOss

func (api API) StopOss(optional openapi.M) (*StopOssResponse, error)

StopOss version 2014-03-26

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 RestartOssResponse

type RestartOssResponse struct {
	AliUid         int64 `json:"aliUid" xml:"aliUid"`
	Code           string
	EndTime        string `json:"endTime" xml:"endTime"`
	InstacneStatus string `json:"instacneStatus" xml:"instacneStatus"`
	InstanceId     string `json:"instanceId" xml:"instanceId"`
	InstanceName   string `json:"instanceName" xml:"instanceName"`
	Message        string
	StartTime      string `json:"startTime" xml:"startTime"`
	Success        bool
}

RestartOssResponse represents the response of the api RestartOss.

type StopOssResponse

type StopOssResponse struct {
	AliUid         int64 `json:"aliUid" xml:"aliUid"`
	Code           string
	EndTime        string `json:"endTime" xml:"endTime"`
	InstacneStatus string `json:"instacneStatus" xml:"instacneStatus"`
	InstanceId     string `json:"instanceId" xml:"instanceId"`
	InstanceName   string `json:"instanceName" xml:"instanceName"`
	Message        string
	StartTime      string `json:"startTime" xml:"startTime"`
	Success        bool
}

StopOssResponse represents the response of the api StopOss.

Jump to

Keyboard shortcuts

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