Documentation ¶
Index ¶
Constants ¶
View Source
const ( Product = "OssAdmin" Style = "RPC" Version = "2014-03-26" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
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.
Click to show internal directories.
Click to hide internal directories.