Interface SapVirtualInstance
public interface SapVirtualInstance
An immutable client-side representation of SapVirtualInstance.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SapVirtualInstance definition.static interface
The SapVirtualInstance definition stages.static interface
The template for SapVirtualInstance update.static interface
The SapVirtualInstance update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the configuration property: Defines if an existing SAP system is being registered or a new SAP system is being created.Gets the environment property: Defines the environment type - Production/Non Production.errors()
Gets the errors property: Defines the Virtual Instance for SAP errors.health()
Gets the health property: Defines the SAP Instance health.id()
Gets the id property: Fully qualified resource Id for the resource.identity()
Gets the identity property: Managed service identity (user assigned identities).Gets the inner com.azure.resourcemanager.workloads.fluent.models.SapVirtualInstanceInner object.location()
Gets the location property: The geo-location where the resource lives.Gets the managedResourceGroupConfiguration property: Managed resource group configuration.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Defines the provisioning states.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.Gets the sapProduct property: Defines the SAP Product type.start()
Starts the SAP System.start
(com.azure.core.util.Context context) Starts the SAP System.state()
Gets the state property: Defines the Virtual Instance for SAP state.status()
Gets the status property: Defines the SAP Instance status.stop()
Stops the SAP System.stop
(StopRequest body) Stops the SAP System.stop
(StopRequest body, com.azure.core.util.Context context) Stops the SAP System.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the SapVirtualInstance resource.
-
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
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
identity
UserAssignedServiceIdentity 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
SapVirtualInstanceStatus 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
SapVirtualInstanceState state()Gets the state property: Defines the Virtual Instance for SAP state.- Returns:
- the state value.
-
provisioningState
SapVirtualInstanceProvisioningState provisioningState()Gets the provisioningState property: Defines the provisioning states.- Returns:
- the provisioningState value.
-
errors
SapVirtualInstanceError 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
SapVirtualInstanceInner innerModel()Gets the inner com.azure.resourcemanager.workloads.fluent.models.SapVirtualInstanceInner object.- Returns:
- the inner object.
-
update
SapVirtualInstance.Update update()Begins update for the SapVirtualInstance resource.- Returns:
- the stage of resource update.
-
refresh
SapVirtualInstance refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
start
OperationStatusResult 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
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
OperationStatusResult 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
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.
-