Class SapVirtualInstanceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.workloads.fluent.models.SapVirtualInstanceInner
public final class SapVirtualInstanceInner
extends com.azure.core.management.Resource
Define the Virtual Instance for SAP solutions resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SapVirtualInstanceInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS.Get the environment property: Defines the environment type - Production/Non Production.errors()
Get the errors property: Indicates any errors on the Virtual Instance for SAP solutions resource.health()
Get the health property: Defines the health of SAP Instances.identity()
Get the identity property: Managed service identity (user assigned identities).Get the managedResourceGroupConfiguration property: Managed resource group configuration.Get the provisioningState property: Defines the provisioning states.Get the sapProduct property: Defines the SAP Product type.state()
Get the state property: Defines the Virtual Instance for SAP state.status()
Get the status property: Defines the SAP Instance status.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withConfiguration
(SapConfiguration configuration) Set the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS.withEnvironment
(SapEnvironmentType environment) Set the environment property: Defines the environment type - Production/Non Production.withIdentity
(UserAssignedServiceIdentity identity) Set the identity property: Managed service identity (user assigned identities).withLocation
(String location) withManagedResourceGroupConfiguration
(ManagedRGConfiguration managedResourceGroupConfiguration) Set the managedResourceGroupConfiguration property: Managed resource group configuration.withSapProduct
(SapProductType sapProduct) Set the sapProduct property: Defines the SAP Product type.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SapVirtualInstanceInner
public SapVirtualInstanceInner()Creates an instance of SapVirtualInstanceInner class.
-
-
Method Details
-
identity
Get the identity property: Managed service identity (user assigned identities).- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed service identity (user assigned identities).- Parameters:
identity
- the identity value to set.- Returns:
- the SapVirtualInstanceInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
environment
Get the environment property: Defines the environment type - Production/Non Production.- Returns:
- the environment value.
-
withEnvironment
Set the environment property: Defines the environment type - Production/Non Production.- Parameters:
environment
- the environment value to set.- Returns:
- the SapVirtualInstanceInner object itself.
-
sapProduct
Get the sapProduct property: Defines the SAP Product type.- Returns:
- the sapProduct value.
-
withSapProduct
Set the sapProduct property: Defines the SAP Product type.- Parameters:
sapProduct
- the sapProduct value to set.- Returns:
- the SapVirtualInstanceInner object itself.
-
configuration
Get the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS.- Returns:
- the configuration value.
-
withConfiguration
Set the configuration property: Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS.- Parameters:
configuration
- the configuration value to set.- Returns:
- the SapVirtualInstanceInner object itself.
-
managedResourceGroupConfiguration
Get the managedResourceGroupConfiguration property: Managed resource group configuration.- Returns:
- the managedResourceGroupConfiguration value.
-
withManagedResourceGroupConfiguration
public SapVirtualInstanceInner withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration) Set the managedResourceGroupConfiguration property: Managed resource group configuration.- Parameters:
managedResourceGroupConfiguration
- the managedResourceGroupConfiguration value to set.- Returns:
- the SapVirtualInstanceInner object itself.
-
status
Get the status property: Defines the SAP Instance status.- Returns:
- the status value.
-
health
Get the health property: Defines the health of SAP Instances.- Returns:
- the health value.
-
state
Get the state property: Defines the Virtual Instance for SAP state.- Returns:
- the state value.
-
provisioningState
Get the provisioningState property: Defines the provisioning states.- Returns:
- the provisioningState value.
-
errors
Get the errors property: Indicates any errors on the Virtual Instance for SAP solutions resource.- Returns:
- the errors value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-