Class AzureVmEnvironment

java.lang.Object
org.springframework.vault.authentication.AzureVmEnvironment

public class AzureVmEnvironment extends Object
Value object representing a VM environment consisting of the subscription Id, the resource group name and the VM name.
Since:
2.1
Author:
Mark Paluch, Willi Schönborn
See Also:
  • Constructor Details

    • AzureVmEnvironment

      public AzureVmEnvironment(String subscriptionId, String resourceGroupName, String vmName)
      Creates a new AzureVmEnvironment.
      Parameters:
      subscriptionId - must not be null.
      resourceGroupName - must not be null.
      vmName - must not be null.
    • AzureVmEnvironment

      public AzureVmEnvironment(String subscriptionId, String resourceGroupName, String vmName, String vmScaleSetName)
      Creates a new AzureVmEnvironment.
      Parameters:
      subscriptionId - must not be null.
      resourceGroupName - must not be null.
      vmName - must not be null.
      vmScaleSetName - must not be null.
      Since:
      2.4
  • Method Details

    • getSubscriptionId

      public String getSubscriptionId()
    • getResourceGroupName

      public String getResourceGroupName()
    • getVmName

      public String getVmName()
    • getVmScaleSetName

      public String getVmScaleSetName()
      Since:
      2.4