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 GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseProjectQuota() *def.HttpRequestDef
- func GenReqDefForShowResourceBindEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForUpdateEnterpriseProject() *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) 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)
- func (c *EpsClient) UpdateEnterpriseProject(request *model.UpdateEnterpriseProjectRequest) (*model.UpdateEnterpriseProjectResponse, 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 GenReqDefForShowApiVersion ¶
func GenReqDefForShowApiVersion() *def.HttpRequestDef
func GenReqDefForShowEnterpriseProject ¶
func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef
func GenReqDefForShowEnterpriseProjectQuota ¶
func GenReqDefForShowEnterpriseProjectQuota() *def.HttpRequestDef
func GenReqDefForShowResourceBindEnterpriseProject ¶
func GenReqDefForShowResourceBindEnterpriseProject() *def.HttpRequestDef
func GenReqDefForUpdateEnterpriseProject ¶
func GenReqDefForUpdateEnterpriseProject() *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)
创建企业项目
创建企业项目。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) DisableEnterpriseProject ¶
func (c *EpsClient) DisableEnterpriseProject(request *model.DisableEnterpriseProjectRequest) (*model.DisableEnterpriseProjectResponse, error)
停用企业项目
停用企业项目。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) EnableEnterpriseProject ¶
func (c *EpsClient) EnableEnterpriseProject(request *model.EnableEnterpriseProjectRequest) (*model.EnableEnterpriseProjectResponse, error)
启用企业项目
启用企业项目。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) ListApiVersions ¶
func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
查询API版本列表
查询企业项目的API版本列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) ListEnterpriseProject ¶
func (c *EpsClient) ListEnterpriseProject(request *model.ListEnterpriseProjectRequest) (*model.ListEnterpriseProjectResponse, error)
查询企业项目列表
查询当前用户已授权的企业项目列表,用户可以使用企业项目绑定资源。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) MigrateResource ¶
func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)
迁移资源
迁移资源到目标企业项目。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) ShowApiVersion ¶
func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
查询API版本号详情
查询指定的企业项目API版本号详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) ShowEnterpriseProject ¶
func (c *EpsClient) ShowEnterpriseProject(request *model.ShowEnterpriseProjectRequest) (*model.ShowEnterpriseProjectResponse, error)
查询企业项目详情
查询企业项目详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) ShowEnterpriseProjectQuota ¶
func (c *EpsClient) ShowEnterpriseProjectQuota(request *model.ShowEnterpriseProjectQuotaRequest) (*model.ShowEnterpriseProjectQuotaResponse, error)
查询企业项目配额
查询企业项目的配额信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) ShowResourceBindEnterpriseProject ¶
func (c *EpsClient) ShowResourceBindEnterpriseProject(request *model.ShowResourceBindEnterpriseProjectRequest) (*model.ShowResourceBindEnterpriseProjectResponse, error)
查询企业项目绑定的资源列表
查询企业项目下绑定的资源详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*EpsClient) UpdateEnterpriseProject ¶
func (c *EpsClient) UpdateEnterpriseProject(request *model.UpdateEnterpriseProjectRequest) (*model.UpdateEnterpriseProjectResponse, error)
修改企业项目
修改企业项目。当前仅支持修改名称和描述。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.