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 Type
    Method
    Description
    void
    deleteProtectionSource(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 supplied HostType.
    com.iland.cohesity.iaas.backups.protectionsources.PublicProtectionSource
    getProtectionSource(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.PublicProtectionSource
    registerLinuxProtectionSource(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.PublicProtectionSource
    registerOracleProtectionSource(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.PublicProtectionSource
    registerSqlProtectionSource(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.PublicProtectionSource
    registerSqlProtectionSource(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.PublicProtectionSource
    registerWindowsProtectionSource(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 supplied HostType.
      Specified by:
      downloadAgent in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      hostType - the required HostType
      packageType - an optional PackageType
      agentType - an optional AgentType
      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:
      listProtectionSourcesForVdc in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      hostType - 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:
      registerLinuxProtectionSource in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      request - the required request
      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:
      registerWindowsProtectionSource in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      request - the required request
      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:
      registerSqlProtectionSource in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      request - the required request
      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:
      registerOracleProtectionSource in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      protectionSourceUid - 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:
      registerSqlProtectionSource in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      protectionSourceUid - 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:
      getProtectionSource in interface com.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:
      deleteProtectionSource in interface com.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:
      listSqlProtectionSourcesForVdc in interface com.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:
      listOracleProtectionSourcesForVdc in interface com.iland.cohesity.iaas.backups.protectionsources.ProtectionSourcePlatformApi
      Parameters:
      vdcUuid - VDC UUID
      Returns:
      a list of Oracle protection sources