Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) BindBucketVip(BucketName, Region, Vip, VpcId string, optional openapi.M) (*BindBucketVipResponse, error)
- func (api API) CreateImgVpc(Label, Region, VirtualSwitchId, VpcId string, optional openapi.M) (*CreateImgVpcResponse, error)
- func (api API) CreateOssVpc(Label, Region, VirtualSwitchId, VpcId string, optional openapi.M) (*CreateOssVpcResponse, error)
- func (api API) DeleteImgVpc(Label, Region, VpcId string, optional openapi.M) (*DeleteImgVpcResponse, error)
- func (api API) DeleteOssVpc(Label, Region, VpcId string, optional openapi.M) (*DeleteOssVpcResponse, error)
- func (api API) GetBucketVips(BucketName string, optional openapi.M) (*GetBucketVipsResponse, error)
- func (api API) GetImgVpcInfo(Label, Region, VpcId string, optional openapi.M) (*GetImgVpcInfoResponse, error)
- func (api API) GetOssVpcInfo(Label, Region, VpcId string, optional openapi.M) (*GetOssVpcInfoResponse, error)
- func (api API) UnBindBucketVip(BucketName, Region, Vip, VpcId string, optional openapi.M) (*UnBindBucketVipResponse, error)
- type BindBucketVipResponse
- type CreateImgVpcResponse
- type CreateOssVpcResponse
- type DeleteImgVpcResponse
- type DeleteOssVpcResponse
- type GetBucketVipsResponse
- type GetImgVpcInfoResponse
- type GetOssVpcInfoResponse
- type UnBindBucketVipResponse
Constants ¶
const ( Product = "OssAdmin" Style = "RPC" Version = "2015-05-20" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) BindBucketVip ¶
func (api API) BindBucketVip(BucketName, Region, Vip, VpcId string, optional openapi.M) (*BindBucketVipResponse, error)
BindBucketVip version 2015-05-20
required parameters:
name: BucketName, type: string name: Region, type: string name: Vip, type: string name: VpcId, type: string
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
func (API) CreateImgVpc ¶
func (api API) CreateImgVpc(Label, Region, VirtualSwitchId, VpcId string, optional openapi.M) (*CreateImgVpcResponse, error)
CreateImgVpc version 2015-05-20
required parameters:
name: Label, type: string name: Region, type: string name: VirtualSwitchId, type: string name: VpcId, type: string
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
func (API) CreateOssVpc ¶
func (api API) CreateOssVpc(Label, Region, VirtualSwitchId, VpcId string, optional openapi.M) (*CreateOssVpcResponse, error)
CreateOssVpc version 2015-05-20
required parameters:
name: Label, type: string name: Region, type: string name: VirtualSwitchId, type: string name: VpcId, type: string
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
func (API) DeleteImgVpc ¶
func (api API) DeleteImgVpc(Label, Region, VpcId string, optional openapi.M) (*DeleteImgVpcResponse, error)
DeleteImgVpc version 2015-05-20
required parameters:
name: Label, type: string name: Region, type: string name: VpcId, type: string
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
func (API) DeleteOssVpc ¶
func (api API) DeleteOssVpc(Label, Region, VpcId string, optional openapi.M) (*DeleteOssVpcResponse, error)
DeleteOssVpc version 2015-05-20
required parameters:
name: Label, type: string name: Region, type: string name: VpcId, type: string
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
func (API) GetBucketVips ¶
func (api API) GetBucketVips(BucketName string, optional openapi.M) (*GetBucketVipsResponse, error)
GetBucketVips version 2015-05-20
required parameters:
name: BucketName, type: string
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
func (API) GetImgVpcInfo ¶
func (api API) GetImgVpcInfo(Label, Region, VpcId string, optional openapi.M) (*GetImgVpcInfoResponse, error)
GetImgVpcInfo version 2015-05-20
required parameters:
name: Label, type: string name: Region, type: string name: VpcId, type: string
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
func (API) GetOssVpcInfo ¶
func (api API) GetOssVpcInfo(Label, Region, VpcId string, optional openapi.M) (*GetOssVpcInfoResponse, error)
GetOssVpcInfo version 2015-05-20
required parameters:
name: Label, type: string name: Region, type: string name: VpcId, type: string
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
func (API) UnBindBucketVip ¶
func (api API) UnBindBucketVip(BucketName, Region, Vip, VpcId string, optional openapi.M) (*UnBindBucketVipResponse, error)
UnBindBucketVip version 2015-05-20
required parameters:
name: BucketName, type: string name: Region, type: string name: Vip, type: string name: VpcId, type: string
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
type BindBucketVipResponse ¶
type BindBucketVipResponse struct {
RequestId string `json:"requestId" xml:"requestId"`
}
BindBucketVipResponse represents the response of the api BindBucketVip.
type CreateImgVpcResponse ¶
type CreateImgVpcResponse struct { RequestId string `json:"requestId" xml:"requestId"` Vip string `json:"vip" xml:"vip"` VpcId string `json:"vpcId" xml:"vpcId"` }
CreateImgVpcResponse represents the response of the api CreateImgVpc.
type CreateOssVpcResponse ¶
type CreateOssVpcResponse struct { RequestId string `json:"requestId" xml:"requestId"` Vip string `json:"vip" xml:"vip"` VpcId string `json:"vpcId" xml:"vpcId"` }
CreateOssVpcResponse represents the response of the api CreateOssVpc.
type DeleteImgVpcResponse ¶
type DeleteImgVpcResponse struct {
RequestId string `json:"requestId" xml:"requestId"`
}
DeleteImgVpcResponse represents the response of the api DeleteImgVpc.
type DeleteOssVpcResponse ¶
type DeleteOssVpcResponse struct {
RequestId string `json:"requestId" xml:"requestId"`
}
DeleteOssVpcResponse represents the response of the api DeleteOssVpc.
type GetBucketVipsResponse ¶
type GetBucketVipsResponse struct {
RequestId string `json:"requestId" xml:"requestId"`
}
GetBucketVipsResponse represents the response of the api GetBucketVips.
type GetImgVpcInfoResponse ¶
type GetImgVpcInfoResponse struct { RequestId string `json:"requestId" xml:"requestId"` Vip string `json:"vip" xml:"vip"` VpcId string `json:"vpcId" xml:"vpcId"` }
GetImgVpcInfoResponse represents the response of the api GetImgVpcInfo.
type GetOssVpcInfoResponse ¶
type GetOssVpcInfoResponse struct { RequestId string `json:"requestId" xml:"requestId"` Vip string `json:"vip" xml:"vip"` VpcId string `json:"vpcId" xml:"vpcId"` }
GetOssVpcInfoResponse represents the response of the api GetOssVpcInfo.
type UnBindBucketVipResponse ¶
type UnBindBucketVipResponse struct {
RequestId string `json:"requestId" xml:"requestId"`
}
UnBindBucketVipResponse represents the response of the api UnBindBucketVip.