public interface WindowsApi
Modifier and Type | Method and Description |
---|---|
BundleTask |
bundleInstanceInRegion(String region,
String instanceId,
String prefix,
String bucket,
String uploadPolicy,
BundleInstanceS3StorageOptions... options)
Bundles the Windows instance.
|
BundleTask |
cancelBundleTaskInRegion(String region,
String bundleId)
Cancels an Amazon EC2 bundling operation.
|
Set<BundleTask> |
describeBundleTasksInRegion(String region,
String... bundleTaskIds)
Describes current bundling tasks.
|
Set<BundleTask> |
describeBundleTasksInRegionWithFilter(String region,
com.google.common.collect.Multimap<String,String> filter)
Describes current bundling tasks.
|
PasswordData |
getPasswordDataForInstance(String instanceId)
Retrieves the encrypted administrator password for the instances running Windows.
|
PasswordData |
getPasswordDataInRegion(String region,
String instanceId)
Retrieves the encrypted administrator password for the instances running Windows.
|
@Named(value="BundleInstance") @POST @Path(value="/") BundleTask bundleInstanceInRegion(@Nullable String region, @FormParam(value="InstanceId") String instanceId, @FormParam(value="Storage.S3.Prefix") String prefix, @FormParam(value="Storage.S3.Bucket") String bucket, String uploadPolicy, BundleInstanceS3StorageOptions... options)
region
- Bundles are tied to the Region where its files are located
within Amazon S3.instanceId
- The ID of the instance to bundle.prefix
- Specifies the beginning of the file name of the AMI.bucket
- The bucket in which to store the AMI. You can specify a bucket
that you already own or a new bucket that Amazon EC2 creates on
your behalf. If you specify a bucket that belongs to someone
else, Amazon EC2 returns an error.uploadPolicy
- An Amazon S3 upload policy that gives Amazon EC2 permission to
upload items into Amazon S3 on the user's behalf.
ex.
{"expiration": "2008-08-30T08:49:09Z","conditions": ["bucket": "my-bucket"},["starts-with", "$key", "my-new-image"]]}
options
- if the bucket isn't owned by you, use this to set the bucket's
accesskeyidcancelBundleTaskInRegion(java.lang.String, java.lang.String)
,
describeBundleTasksInRegion(java.lang.String, java.lang.String...)
,
@Named(value="CancelBundleTask") @POST @Path(value="/") BundleTask cancelBundleTaskInRegion(@Nullable String region, @FormParam(value="BundleId") String bundleId)
region
- The bundleTask ID is tied to the Region.bundleId
- The ID of the bundle task to cancel.bundleInstanceInRegion(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.jclouds.ec2.options.BundleInstanceS3StorageOptions...)
,
describeBundleTasksInRegion(java.lang.String, java.lang.String...)
,
@Named(value="DescribeBundleTasks") @POST @Path(value="/") Set<BundleTask> describeBundleTasksInRegion(@Nullable String region, String... bundleTaskIds)
region
- The bundleTask ID is tied to the Region.cancelBundleTaskInRegion(java.lang.String, java.lang.String)
,
bundleInstanceInRegion(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.jclouds.ec2.options.BundleInstanceS3StorageOptions...)
,
@Named(value="DescribeBundleTasks") @POST @Path(value="/") Set<BundleTask> describeBundleTasksInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
region
- The bundleTask ID is tied to the Region.filter
- Filter multimapcancelBundleTaskInRegion(java.lang.String, java.lang.String)
,
bundleInstanceInRegion(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.jclouds.ec2.options.BundleInstanceS3StorageOptions...)
,
@Named(value="GetPasswordData") @POST @Path(value="/") PasswordData getPasswordDataInRegion(@Nullable String region, @FormParam(value="InstanceId") String instanceId)
@Named(value="GetPasswordData") @POST @Path(value="/") PasswordData getPasswordDataForInstance(@FormParam(value="InstanceId") String instanceId)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.