Package com.iland.core.web.rest.api
Interface ProtectionSourceResource
- All Superinterfaces:
com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
@Path("/protection-sources")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface ProtectionSourceResource
extends com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
Agent Resource V1.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteProtectionSource(com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Delete a protection source.downloadAgent(com.iland.cohesity.iaas.backups.common.model.LocationId locationId, com.iland.cohesity.iaas.backups.protectionsources.api.grpc.HostType hostType, com.iland.cohesity.iaas.backups.protectionsources.api.grpc.PackageType packageType, com.iland.cohesity.iaas.backups.protectionsources.api.grpc.AgentType agentType) Download an agent for the suppliedHostType.com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSourcegetProtectionSource(com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Get a protection source.com.iland.cohesity.iaas.backups.common.model.ListResponse<com.iland.cohesity.iaas.backups.protectionsources.OracleProtectionSourceModel>listOracleProtectionSourcesForVdc(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid) Get the Oracle protection sources for the given VDC.com.iland.cohesity.iaas.backups.common.model.ListResponse<com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource>listProtectionSourcesForVdc(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, String hostType, String environment) Get the protection sources for the given VDC.com.iland.cohesity.iaas.backups.common.model.ListResponse<com.iland.cohesity.iaas.backups.protectionsources.SqlProtectionSourceModel>listSqlProtectionSourcesForVdc(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid) Get the SQL protection sources for the given VDC.com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSourceregisterLinuxProtectionSource(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.protectionsources.PublicRegisterPhysicalHostRequest request) Register a new Linux protection source.com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSourceregisterOracleProtectionSource(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Register a Oracle server with an existing protection source.com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSourceregisterSqlProtectionSource(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Register a Microsoft SQL server with an existing protection source.com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSourceregisterSqlProtectionSource(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.protectionsources.PublicRegisterPhysicalHostRequest request) Register a new Microsoft SQL protection source.com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSourceregisterWindowsProtectionSource(com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.protectionsources.PublicRegisterPhysicalHostRequest request) Register a new Windows protection source.Methods inherited from interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
getAgent
-
Method Details
-
downloadAgent
@GET @Path("/{locationId}/agent/{hostType}") @Produces("application/vnd.ilandcloud.api.v1.0+octet-stream") InputStream downloadAgent(@PathParam("locationId") com.iland.cohesity.iaas.backups.common.model.LocationId locationId, @PathParam("hostType") com.iland.cohesity.iaas.backups.protectionsources.api.grpc.HostType hostType, @QueryParam("packageType") com.iland.cohesity.iaas.backups.protectionsources.api.grpc.PackageType packageType, @QueryParam("agentType") com.iland.cohesity.iaas.backups.protectionsources.api.grpc.AgentType agentType) Download an agent for the suppliedHostType.- Specified by:
downloadAgentin interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
hostType- the requiredHostTypepackageType- an optionalPackageTypeagentType- an optionalAgentType- Returns:
- the agent to be installed
-
listProtectionSourcesForVdc
@GET @Path("/{vdcUuid}/vms/{hostType: (\\*|linux|windows)}/{environment: (\\*|sql|oracle)}") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.common.model.ListResponse<com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource> listProtectionSourcesForVdc(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, @PathParam("hostType") String hostType, @PathParam("environment") String environment) Get the protection sources for the given VDC.- Specified by:
listProtectionSourcesForVdcin interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUIDhostType- e.g. "linux" or "windows"environment- e.g. "*" or "sql"- Returns:
- a list of protection sources
-
registerLinuxProtectionSource
@POST @Path("/{vdcUuid}/register/linux") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource registerLinuxProtectionSource(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.protectionsources.PublicRegisterPhysicalHostRequest request) Register a new Linux protection source.- Specified by:
registerLinuxProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUIDrequest- the requiredrequest- Returns:
- the new
response
-
registerWindowsProtectionSource
@POST @Path("/{vdcUuid}/register/windows") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource registerWindowsProtectionSource(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.protectionsources.PublicRegisterPhysicalHostRequest request) Register a new Windows protection source.- Specified by:
registerWindowsProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUIDrequest- the requiredrequest- Returns:
- the new
response
-
registerSqlProtectionSource
@POST @Path("/{vdcUuid}/register/sql") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource registerSqlProtectionSource(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, com.iland.cohesity.iaas.backups.protectionsources.PublicRegisterPhysicalHostRequest request) Register a new Microsoft SQL protection source.- Specified by:
registerSqlProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUIDrequest- the requiredrequest- Returns:
- the new
response
-
registerOracleProtectionSource
@PUT @Path("/{vdcUuid}/register/oracle/{protectionSourceUid}") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource registerOracleProtectionSource(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, @PathParam("protectionSourceUid") com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Register a Oracle server with an existing protection source.- Specified by:
registerOracleProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUIDprotectionSourceUid- the protection source UID- Returns:
- the updated
response
-
registerSqlProtectionSource
@PUT @Path("/{vdcUuid}/register/sql/{protectionSourceUid}") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource registerSqlProtectionSource(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid, @PathParam("protectionSourceUid") com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Register a Microsoft SQL server with an existing protection source.- Specified by:
registerSqlProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUIDprotectionSourceUid- the protection source UID- Returns:
- the updated
response
-
getProtectionSource
@GET @Path("/{protectionSourceUid}") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource getProtectionSource(@PathParam("protectionSourceUid") com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Get a protection source.- Specified by:
getProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
protectionSourceUid- the protection source UID to retrieve- Returns:
- a
protection source
-
deleteProtectionSource
@DELETE @Path("/{protectionSourceUid}") @Produces("application/vnd.ilandcloud.api.v1.0+json") void deleteProtectionSource(@PathParam("protectionSourceUid") com.iland.cohesity.iaas.backups.common.model.ProtectionSourceUid protectionSourceUid) Delete a protection source.- Specified by:
deleteProtectionSourcein interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
protectionSourceUid- the protection source UID to delete
-
listSqlProtectionSourcesForVdc
@GET @Path("/{vdcUuid}/sql-protection-sources") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.common.model.ListResponse<com.iland.cohesity.iaas.backups.protectionsources.SqlProtectionSourceModel> listSqlProtectionSourcesForVdc(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid) Get the SQL protection sources for the given VDC.- Specified by:
listSqlProtectionSourcesForVdcin interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUID- Returns:
- a list of SQL protection sources
-
listOracleProtectionSourcesForVdc
@GET @Path("/{vdcUuid}/oracle-protection-sources") @Produces("application/vnd.ilandcloud.api.v1.0+json") com.iland.cohesity.iaas.backups.common.model.ListResponse<com.iland.cohesity.iaas.backups.protectionsources.OracleProtectionSourceModel> listOracleProtectionSourcesForVdc(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.VdcUuid vdcUuid) Get the Oracle protection sources for the given VDC.- Specified by:
listOracleProtectionSourcesForVdcin interfacecom.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi- Parameters:
vdcUuid- VDC UUID- Returns:
- a list of Oracle protection sources
-