Interface SapVirtualInstance


public interface SapVirtualInstance
An immutable client-side representation of SapVirtualInstance.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • identity

      Gets the identity property: Managed service identity (user assigned identities).
      Returns:
      the identity value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • environment

      SapEnvironmentType environment()
      Gets the environment property: Defines the environment type - Production/Non Production.
      Returns:
      the environment value.
    • sapProduct

      SapProductType sapProduct()
      Gets the sapProduct property: Defines the SAP Product type.
      Returns:
      the sapProduct value.
    • configuration

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

      ManagedRGConfiguration managedResourceGroupConfiguration()
      Gets the managedResourceGroupConfiguration property: Managed resource group configuration.
      Returns:
      the managedResourceGroupConfiguration value.
    • status

      Gets the status property: Defines the SAP Instance status.
      Returns:
      the status value.
    • health

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

      Gets the state property: Defines the Virtual Instance for SAP state.
      Returns:
      the state value.
    • provisioningState

      Gets the provisioningState property: Defines the provisioning states.
      Returns:
      the provisioningState value.
    • errors

      Gets the errors property: Defines the Virtual Instance for SAP errors.
      Returns:
      the errors value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      Gets the inner com.azure.resourcemanager.workloads.fluent.models.SapVirtualInstanceInner object.
      Returns:
      the inner object.
    • update

      Begins update for the SapVirtualInstance resource.
      Returns:
      the stage of resource update.
    • refresh

      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      SapVirtualInstance refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • start

      Starts the SAP System.
      Returns:
      the current status of an async operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • start

      OperationStatusResult start(com.azure.core.util.Context context)
      Starts the SAP System.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stop

      Stops the SAP System.
      Parameters:
      body - The Virtual Instances for SAP stop request body.
      Returns:
      the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stop

      Stops the SAP System.
      Returns:
      the current status of an async operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stop

      OperationStatusResult stop(StopRequest body, com.azure.core.util.Context context)
      Stops the SAP System.
      Parameters:
      body - The Virtual Instances for SAP stop request body.
      context - The context to associate with this operation.
      Returns:
      the current status of an async operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.