Class SapVirtualInstanceProperties

java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.SapVirtualInstanceProperties

public final class SapVirtualInstanceProperties extends Object
Defines the Virtual Instance for SAP properties.
  • Constructor Details

    • SapVirtualInstanceProperties

      public SapVirtualInstanceProperties()
  • Method Details

    • environment

      public SapEnvironmentType environment()
      Get the environment property: Defines the environment type - Production/Non Production.
      Returns:
      the environment value.
    • withEnvironment

      public SapVirtualInstanceProperties withEnvironment(SapEnvironmentType environment)
      Set the environment property: Defines the environment type - Production/Non Production.
      Parameters:
      environment - the environment value to set.
      Returns:
      the SapVirtualInstanceProperties object itself.
    • sapProduct

      public SapProductType sapProduct()
      Get the sapProduct property: Defines the SAP Product type.
      Returns:
      the sapProduct value.
    • withSapProduct

      public SapVirtualInstanceProperties withSapProduct(SapProductType sapProduct)
      Set the sapProduct property: Defines the SAP Product type.
      Parameters:
      sapProduct - the sapProduct value to set.
      Returns:
      the SapVirtualInstanceProperties object itself.
    • configuration

      public SapConfiguration configuration()
      Get the configuration property: Defines if an existing SAP system is being registered or a new SAP system is being created.
      Returns:
      the configuration value.
    • withConfiguration

      public SapVirtualInstanceProperties withConfiguration(SapConfiguration configuration)
      Set the configuration property: Defines if an existing SAP system is being registered or a new SAP system is being created.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the SapVirtualInstanceProperties object itself.
    • managedResourceGroupConfiguration

      public ManagedRGConfiguration managedResourceGroupConfiguration()
      Get the managedResourceGroupConfiguration property: Managed resource group configuration.
      Returns:
      the managedResourceGroupConfiguration value.
    • withManagedResourceGroupConfiguration

      public SapVirtualInstanceProperties withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration)
      Set the managedResourceGroupConfiguration property: Managed resource group configuration.
      Parameters:
      managedResourceGroupConfiguration - the managedResourceGroupConfiguration value to set.
      Returns:
      the SapVirtualInstanceProperties object itself.
    • status

      public SapVirtualInstanceStatus status()
      Get the status property: Defines the SAP Instance status.
      Returns:
      the status value.
    • health

      public SapHealthState health()
      Get the health property: Defines the SAP Instance health.
      Returns:
      the health value.
    • state

      public SapVirtualInstanceState state()
      Get the state property: Defines the Virtual Instance for SAP state.
      Returns:
      the state value.
    • provisioningState

      public SapVirtualInstanceProvisioningState provisioningState()
      Get the provisioningState property: Defines the provisioning states.
      Returns:
      the provisioningState value.
    • errors

      public SapVirtualInstanceError errors()
      Get the errors property: Defines the Virtual Instance for SAP errors.
      Returns:
      the errors value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.