@Path(value="/protection-sources")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface ProtectionSourceResource
Modifier and Type | Method and Description |
---|---|
InputStream |
downloadAgent(String locationId,
HostType hostType,
PackageType packageType,
AgentType agentType)
Download an agent for the supplied
HostType . |
ScopedProtectionSource |
registerProtectionSource(String vdcUuid,
com.iland.cohesity.sdk.api.model.RegisterProtectionSourceParameters parameters)
Register a new protection source.
|
@GET @Path(value="{locationId}/agent/{hostType}") InputStream downloadAgent(@PathParam(value="locationId") String locationId, @PathParam(value="hostType") HostType hostType, @QueryParam(value="packageType") PackageType packageType, @QueryParam(value="agentType") AgentType agentType)
HostType
.hostType
- the required HostType
packageType
- an optional PackageType
agentType
- an optional AgentType
@GET @Path(value="{vdcUuid}/register") ScopedProtectionSource registerProtectionSource(@PathParam(value="vdcUuid") String vdcUuid, com.iland.cohesity.sdk.api.model.RegisterProtectionSourceParameters parameters)
parameters
- the required parameters
protection source
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.