All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jclouds.googlecompute.GoogleComputeApi Maven / Gradle / Ivy

/*
 * Licensed to jclouds, Inc. (jclouds) under one or more
 * contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  jclouds licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.jclouds.googlecompute;

import com.google.common.annotations.Beta;
import org.jclouds.googlecompute.features.DiskApi;
import org.jclouds.googlecompute.features.FirewallApi;
import org.jclouds.googlecompute.features.ImageApi;
import org.jclouds.googlecompute.features.InstanceApi;
import org.jclouds.googlecompute.features.KernelApi;
import org.jclouds.googlecompute.features.MachineTypeApi;
import org.jclouds.googlecompute.features.NetworkApi;
import org.jclouds.googlecompute.features.OperationApi;
import org.jclouds.googlecompute.features.ProjectApi;
import org.jclouds.googlecompute.features.ZoneApi;
import org.jclouds.rest.annotations.Delegate;

import javax.ws.rs.Path;
import javax.ws.rs.PathParam;


/**
 * Provides synchronous access to GoogleCompute.
 * 

* * @author David Alves * @see GoogleComputeAsyncApi * @see api doc */ @Beta public interface GoogleComputeApi { /** * Provides synchronous access to Disk features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") DiskApi getDiskApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Firewall features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") FirewallApi getFirewallApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Image features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") ImageApi getImageApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Instance features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") InstanceApi getInstanceApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Kernel features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") KernelApi getKernelApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to MachineType features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") MachineTypeApi getMachineTypeApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Network features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") NetworkApi getNetworkApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Operation features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") OperationApi getOperationApiForProject(@PathParam("project") String projectName); /** * Provides synchronous access to Project features */ @Delegate ProjectApi getProjectApi(); /** * Provides synchronous access to Zone features * * @param projectName the name of the project */ @Delegate @Path("/projects/{project}") ZoneApi getZoneApiForProject(@PathParam("project") String projectName); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy