Update AzureComputeApi.java

This commit is contained in:
SATYANAN-ANAND 2022-02-01 06:26:48 -08:00 committed by Andrew Gaul
parent 2b16b55e33
commit 738a01dda6
1 changed files with 214 additions and 251 deletions

View File

@ -55,21 +55,17 @@ import com.google.common.base.Supplier;
import com.google.inject.Provides; import com.google.inject.Provides;
/** /**
* The Azure Resource Manager API is a REST API for managing your services and * The Azure Resource Manager API is a REST API for managing your services and deployments.
* deployments.
* <p> * <p>
* *
* @see <a href="https://msdn.microsoft.com/en-us/library/azure/dn790568.aspx" * @see <a href="https://msdn.microsoft.com/en-us/library/azure/dn790568.aspx" >doc</a>
* >doc</a>
*/ */
public interface AzureComputeApi extends Closeable { public interface AzureComputeApi extends Closeable {
/** /**
* The Azure Resource Manager API includes operations for managing resource * The Azure Resource Manager API includes operations for managing resource groups in your subscription.
* groups in your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/dn790546.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/dn790546.aspx">docs</a>
*/ */
@Delegate @Delegate
ResourceGroupApi getResourceGroupApi(); ResourceGroupApi getResourceGroupApi();
@ -81,18 +77,15 @@ public interface AzureComputeApi extends Closeable {
JobApi getJobApi(); JobApi getJobApi();
/** /**
* This Azure Resource Manager API provides all of the locations that are * This Azure Resource Manager API provides all of the locations that are available for resource providers
* available for resource providers
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-US/library/azure/dn790540.aspx">docs</a>
* "https://msdn.microsoft.com/en-US/library/azure/dn790540.aspx">docs</a>
*/ */
@Delegate @Delegate
LocationApi getLocationApi(); LocationApi getLocationApi();
/** /**
* The Azure Resource Manager API includes operations for managing the storage * The Azure Resource Manager API includes operations for managing the storage accounts in your subscription.
* accounts in your subscription.
* *
* @see <https://msdn.microsoft.com/en-us/library/mt163683.aspx">docs</a> * @see <https://msdn.microsoft.com/en-us/library/mt163683.aspx">docs</a>
*/ */
@ -100,72 +93,60 @@ public interface AzureComputeApi extends Closeable {
StorageAccountApi getStorageAccountApi(@PathParam("resourceGroup") String resourceGroup); StorageAccountApi getStorageAccountApi(@PathParam("resourceGroup") String resourceGroup);
/** /**
* The Subnet API includes operations for managing the subnets in your virtual * The Subnet API includes operations for managing the subnets in your virtual network.
* network.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163621.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163621.aspx">docs</a>
*/ */
@Delegate @Delegate
SubnetApi getSubnetApi(@PathParam("resourcegroup") String resourcegroup, SubnetApi getSubnetApi(@PathParam("resourcegroup") String resourcegroup,
@PathParam("virtualnetwork") String virtualnetwork); @PathParam("virtualnetwork") String virtualnetwork);
/** /**
* The Virtual Network API includes operations for managing the virtual networks * The Virtual Network API includes operations for managing the virtual networks in your subscription.
* in your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163661.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163661.aspx">docs</a>
*/ */
@Delegate @Delegate
VirtualNetworkApi getVirtualNetworkApi(@Nullable @PathParam("resourcegroup") String resourcegroup); VirtualNetworkApi getVirtualNetworkApi(@Nullable @PathParam("resourcegroup") String resourcegroup);
/** /**
* The Network Interface Card API includes operations for managing the NICs in * The Network Interface Card API includes operations for managing the NICs in your subscription.
* your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/mt163668.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/mt163668.aspx">docs</a>
*/ */
@Delegate @Delegate
NetworkInterfaceCardApi getNetworkInterfaceCardApi(@Nullable @PathParam("resourcegroup") String resourcegroup); NetworkInterfaceCardApi getNetworkInterfaceCardApi(@Nullable @PathParam("resourcegroup") String resourcegroup);
/** /**
* The Public IP Address API includes operations for managing public ID * The Public IP Address API includes operations for managing public ID Addresses for NICs in your subscription.
* Addresses for NICs in your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163638.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163638.aspx">docs</a>
*/ */
@Delegate @Delegate
PublicIPAddressApi getPublicIPAddressApi(@Nullable @PathParam("resourcegroup") String resourcegroup); PublicIPAddressApi getPublicIPAddressApi(@Nullable @PathParam("resourcegroup") String resourcegroup);
/** /**
* The Virtual Machine API includes operations for managing the virtual machines * The Virtual Machine API includes operations for managing the virtual machines in your subscription.
* in your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163630.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163630.aspx">docs</a>
*/ */
@Delegate @Delegate
VirtualMachineApi getVirtualMachineApi(@Nullable @PathParam("resourceGroup") String resourceGroup); VirtualMachineApi getVirtualMachineApi(@Nullable @PathParam("resourceGroup") String resourceGroup);
/** /**
* The Virtual Machine Scale Set API includes operations for managing the * The Virtual Machine Scale Set API includes operations for managing the virtual machines in your subscription.
* virtual machines in your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163630.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163630.aspx">docs</a>
*/ */
@Delegate @Delegate
VirtualMachineScaleSetApi getVirtualMachineScaleSetApi(@PathParam("resourceGroup") String resourceGroup); VirtualMachineScaleSetApi getVirtualMachineScaleSetApi(@PathParam("resourceGroup") String resourceGroup);
/** /**
* This Azure Resource Manager API lists all available virtual machine sizes for * This Azure Resource Manager API lists all available virtual machine sizes for a subscription in a given region
* a subscription in a given region
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt269440.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt269440.aspx">docs</a>
*/ */
@Delegate @Delegate
VMSizeApi getVMSizeApi(@PathParam("location") String location); VMSizeApi getVMSizeApi(@PathParam("location") String location);
@ -173,49 +154,43 @@ public interface AzureComputeApi extends Closeable {
/** /**
* The Azure Resource Manager API gets all the OS images in your subscription. * The Azure Resource Manager API gets all the OS images in your subscription.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages">docs</a>
*/ */
@Delegate @Delegate
OSImageApi getOSImageApi(@PathParam("location") String location); OSImageApi getOSImageApi(@PathParam("location") String location);
/** /**
* The Deployment API allows for the management of Azure Resource Manager * The Deployment API allows for the management of Azure Resource Manager resources through the use of templates.
* resources through the use of templates.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/dn790549.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/dn790549.aspx">docs</a>
*/ */
@Delegate @Delegate
DeploymentApi getDeploymentApi(@PathParam("resourcegroup") String resourceGroup); DeploymentApi getDeploymentApi(@PathParam("resourcegroup") String resourceGroup);
/** /**
* The NetworkSecurityGroup API includes operations for managing network * The NetworkSecurityGroup API includes operations for managing network security groups within your subscription.
* security groups within your subscription.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163615.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163615.aspx">docs</a>
*/ */
@Delegate @Delegate
NetworkSecurityGroupApi getNetworkSecurityGroupApi(@Nullable @PathParam("resourcegroup") String resourcegroup); NetworkSecurityGroupApi getNetworkSecurityGroupApi(@Nullable @PathParam("resourcegroup") String resourcegroup);
/** /**
* The NetworkSecurityRule API includes operations for managing network security * The NetworkSecurityRule API includes operations for managing network security rules within a network security group.
* rules within a network security group.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/mt163580.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/mt163580.aspx">docs</a>
*/ */
@Delegate @Delegate
NetworkSecurityRuleApi getNetworkSecurityRuleApi(@PathParam("resourcegroup") String resourcegroup, NetworkSecurityRuleApi getNetworkSecurityRuleApi(@PathParam("resourcegroup") String resourcegroup,
@PathParam("networksecuritygroup") String networksecuritygroup); @PathParam("networksecuritygroup") String networksecuritygroup);
/** /**
* The LoadBalancer API includes operations for managing load balancers within * The LoadBalancer API includes operations for managing load balancers
* your subscription. * within your subscription.
* *
* @see <a href= * @see <a href=
* "https://msdn.microsoft.com/en-us/library/azure/mt163574.aspx">docs </a> * "https://msdn.microsoft.com/en-us/library/azure/mt163574.aspx">docs
* </a>
*/ */
@Delegate @Delegate
LoadBalancerApi getLoadBalancerApi(@Nullable @PathParam("resourcegroup") String resourcegroup); LoadBalancerApi getLoadBalancerApi(@Nullable @PathParam("resourcegroup") String resourcegroup);
@ -232,31 +207,25 @@ public interface AzureComputeApi extends Closeable {
AvailabilitySetApi getAvailabilitySetApi(@PathParam("resourcegroup") String resourcegroup); AvailabilitySetApi getAvailabilitySetApi(@PathParam("resourcegroup") String resourcegroup);
/** /**
* The Azure Resource Provider API provides information about a resource * The Azure Resource Provider API provides information about a resource provider and its supported resource types.
* provider and its supported resource types.
* *
* @see <a href= * @see <a href="https://msdn.microsoft.com/en-us/library/azure/dn790534.aspx">docs</a>
* "https://msdn.microsoft.com/en-us/library/azure/dn790534.aspx">docs</a>
*/ */
@Delegate @Delegate
ResourceProviderApi getResourceProviderApi(); ResourceProviderApi getResourceProviderApi();
/** /**
* The ManagedDataDisk API includes operations for managing data disks within * The ManagedDataDisk API includes operations for managing data disks within your subscription.
* your subscription.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/manageddisks/disks/disks-rest-api">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/manageddisks/disks/disks-rest-api">docs</a>
*/ */
@Delegate @Delegate
DiskApi getDiskApi(@PathParam("resourcegroup") String resourcegroup); DiskApi getDiskApi(@PathParam("resourcegroup") String resourcegroup);
/** /**
* The virtual machine image API includes operations for managing data disks * The virtual machine image API includes operations for managing data disks within your subscription.
* within your subscription.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/manageddisks/images/images-rest-api">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/manageddisks/images/images-rest-api">docs</a>
*/ */
@Delegate @Delegate
ImageApi getVirtualMachineImageApi(@PathParam("resourcegroup") String resourcegroup); ImageApi getVirtualMachineImageApi(@PathParam("resourcegroup") String resourcegroup);
@ -265,25 +234,23 @@ public interface AzureComputeApi extends Closeable {
* The metrics API includes operations to get insights into entities within your * The metrics API includes operations to get insights into entities within your
* subscription. * subscription.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/monitor/metrics">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/monitor/metrics">docs</a>
*/ */
@Delegate @Delegate
MetricsApi getMetricsApi(@PathParam("resourceid") String resourceid); MetricsApi getMetricsApi(@PathParam("resourceid") String resourceid);
/** /**
* The metric definitions API includes operations to get insights available for * The metric definitions API includes operations to get insights available for entities within your
* entities within your subscription. * subscription.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/monitor/metricdefinitions">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/monitor/metricdefinitions">docs</a>
*/ */
@Delegate @Delegate
MetricDefinitionsApi getMetricsDefinitionsApi(@PathParam("resourceid") String resourceid); MetricDefinitionsApi getMetricsDefinitionsApi(@PathParam("resourceid") String resourceid);
/** /**
* The Azure Active Directory Graph API provides programmatic access to Azure AD * The Azure Active Directory Graph API provides programmatic access to Azure
* through REST API endpoints. * AD through REST API endpoints.
* *
* @see <a href="https://docs.microsoft.com/en-us/rest/api/graphrbac/">docs</a> * @see <a href="https://docs.microsoft.com/en-us/rest/api/graphrbac/">docs</a>
*/ */
@ -291,8 +258,8 @@ public interface AzureComputeApi extends Closeable {
GraphRBACApi getGraphRBACApi(); GraphRBACApi getGraphRBACApi();
/** /**
* Managing your key vaults as well as the keys, secrets, and certificates * Managing your key vaults as well as the keys, secrets, and certificates within your key vaults can be
* within your key vaults can be accomplished through a REST interface. * accomplished through a REST interface.
* *
* @see <a href="https://docs.microsoft.com/en-us/rest/api/keyvault/">docs</a> * @see <a href="https://docs.microsoft.com/en-us/rest/api/keyvault/">docs</a>
*/ */
@ -302,8 +269,7 @@ public interface AzureComputeApi extends Closeable {
/** /**
* Management features for Local Network Gateways. * Management features for Local Network Gateways.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/network-gateway/localnetworkgateways">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/network-gateway/localnetworkgateways">docs</a>
*/ */
@Delegate @Delegate
LocalNetworkGatewayApi getLocalNetworkGatewayApi(@PathParam("resourcegroup") String resourcegroup); LocalNetworkGatewayApi getLocalNetworkGatewayApi(@PathParam("resourcegroup") String resourcegroup);
@ -311,8 +277,7 @@ public interface AzureComputeApi extends Closeable {
/** /**
* Management features for Virtual Network Gateways. * Management features for Virtual Network Gateways.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/network-gateway/virtualnetworkgateways">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/network-gateway/virtualnetworkgateways">docs</a>
*/ */
@Delegate @Delegate
VirtualNetworkGatewayApi getVirtualNetworkGatewayApi(@PathParam("resourcegroup") String resourcegroup); VirtualNetworkGatewayApi getVirtualNetworkGatewayApi(@PathParam("resourcegroup") String resourcegroup);
@ -320,12 +285,10 @@ public interface AzureComputeApi extends Closeable {
/** /**
* Management features for Virtual Network Gateway Connections. * Management features for Virtual Network Gateway Connections.
* *
* @see <a href= * @see <a href="https://docs.microsoft.com/en-us/rest/api/network-gateway/virtualnetworkgatewayconnections">docs</a>
* "https://docs.microsoft.com/en-us/rest/api/network-gateway/virtualnetworkgatewayconnections">docs</a>
*/ */
@Delegate @Delegate
VirtualNetworkGatewayConnectionApi getVirtualNetworkGatewayConnectionApi( VirtualNetworkGatewayConnectionApi getVirtualNetworkGatewayConnectionApi(@PathParam("resourcegroup") String resourcegroup);
@PathParam("resourcegroup") String resourcegroup);
/** /**
* Returns the information about the current service principal. * Returns the information about the current service principal.