Documentation ¶
Index ¶
- func EpsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForDisableEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForEnableEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForMigrateResource() *def.HttpRequestDef
- func GenReqDefForModifyEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseProjectQuota() *def.HttpRequestDef
- func GenReqDefForShowResourceBindEnterpriseProject() *def.HttpRequestDef
- type EpsClient
- func (c *EpsClient) CreateEnterpriseProject(request *model.CreateEnterpriseProjectRequest) (*model.CreateEnterpriseProjectResponse, error)
- func (c *EpsClient) DisableEnterpriseProject(request *model.DisableEnterpriseProjectRequest) (*model.DisableEnterpriseProjectResponse, error)
- func (c *EpsClient) EnableEnterpriseProject(request *model.EnableEnterpriseProjectRequest) (*model.EnableEnterpriseProjectResponse, error)
- func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *EpsClient) ListEnterpriseProject(request *model.ListEnterpriseProjectRequest) (*model.ListEnterpriseProjectResponse, error)
- func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)
- func (c *EpsClient) ModifyEnterpriseProject(request *model.ModifyEnterpriseProjectRequest) (*model.ModifyEnterpriseProjectResponse, error)
- func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *EpsClient) ShowEnterpriseProject(request *model.ShowEnterpriseProjectRequest) (*model.ShowEnterpriseProjectResponse, error)
- func (c *EpsClient) ShowEnterpriseProjectQuota(request *model.ShowEnterpriseProjectQuotaRequest) (*model.ShowEnterpriseProjectQuotaResponse, error)
- func (c *EpsClient) ShowResourceBindEnterpriseProject(request *model.ShowResourceBindEnterpriseProjectRequest) (*model.ShowResourceBindEnterpriseProjectResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EpsClientBuilder ¶
func EpsClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateEnterpriseProject ¶
func GenReqDefForCreateEnterpriseProject() *def.HttpRequestDef
func GenReqDefForDisableEnterpriseProject ¶
func GenReqDefForDisableEnterpriseProject() *def.HttpRequestDef
func GenReqDefForEnableEnterpriseProject ¶
func GenReqDefForEnableEnterpriseProject() *def.HttpRequestDef
func GenReqDefForListApiVersions ¶
func GenReqDefForListApiVersions() *def.HttpRequestDef
func GenReqDefForListEnterpriseProject ¶
func GenReqDefForListEnterpriseProject() *def.HttpRequestDef
func GenReqDefForMigrateResource ¶
func GenReqDefForMigrateResource() *def.HttpRequestDef
func GenReqDefForModifyEnterpriseProject ¶
func GenReqDefForModifyEnterpriseProject() *def.HttpRequestDef
func GenReqDefForShowApiVersion ¶
func GenReqDefForShowApiVersion() *def.HttpRequestDef
func GenReqDefForShowEnterpriseProject ¶
func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef
func GenReqDefForShowEnterpriseProjectQuota ¶
func GenReqDefForShowEnterpriseProjectQuota() *def.HttpRequestDef
func GenReqDefForShowResourceBindEnterpriseProject ¶
func GenReqDefForShowResourceBindEnterpriseProject() *def.HttpRequestDef
Types ¶
type EpsClient ¶
type EpsClient struct {
HcClient *http_client.HcHttpClient
}
func NewEpsClient ¶
func NewEpsClient(hcClient *http_client.HcHttpClient) *EpsClient
func (*EpsClient) CreateEnterpriseProject ¶
func (c *EpsClient) CreateEnterpriseProject(request *model.CreateEnterpriseProjectRequest) (*model.CreateEnterpriseProjectResponse, error)
创建企业项目。
func (*EpsClient) DisableEnterpriseProject ¶
func (c *EpsClient) DisableEnterpriseProject(request *model.DisableEnterpriseProjectRequest) (*model.DisableEnterpriseProjectResponse, error)
停用企业项目。
func (*EpsClient) EnableEnterpriseProject ¶
func (c *EpsClient) EnableEnterpriseProject(request *model.EnableEnterpriseProjectRequest) (*model.EnableEnterpriseProjectResponse, error)
启用企业项目。
func (*EpsClient) ListApiVersions ¶
func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
查询企业项目的API版本列表。
func (*EpsClient) ListEnterpriseProject ¶
func (c *EpsClient) ListEnterpriseProject(request *model.ListEnterpriseProjectRequest) (*model.ListEnterpriseProjectResponse, error)
查询当前用户已授权的企业项目列表,用户可以使用企业项目绑定资源。
func (*EpsClient) MigrateResource ¶
func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)
迁移资源到目标企业项目。
func (*EpsClient) ModifyEnterpriseProject ¶
func (c *EpsClient) ModifyEnterpriseProject(request *model.ModifyEnterpriseProjectRequest) (*model.ModifyEnterpriseProjectResponse, error)
修改企业项目。当前仅支持修改名称和描述。
func (*EpsClient) ShowApiVersion ¶
func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
查询指定的企业项目API版本号详情
func (*EpsClient) ShowEnterpriseProject ¶
func (c *EpsClient) ShowEnterpriseProject(request *model.ShowEnterpriseProjectRequest) (*model.ShowEnterpriseProjectResponse, error)
查询企业项目详情。
func (*EpsClient) ShowEnterpriseProjectQuota ¶
func (c *EpsClient) ShowEnterpriseProjectQuota(request *model.ShowEnterpriseProjectQuotaRequest) (*model.ShowEnterpriseProjectQuotaResponse, error)
查询企业项目的配额信息。
func (*EpsClient) ShowResourceBindEnterpriseProject ¶
func (c *EpsClient) ShowResourceBindEnterpriseProject(request *model.ShowResourceBindEnterpriseProjectRequest) (*model.ShowResourceBindEnterpriseProjectResponse, error)
查询企业项目下绑定的资源详情。
Click to show internal directories.
Click to hide internal directories.