Share via


SapVirtualInstanceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.SapVirtualInstanceProperties

Implements

public final class SapVirtualInstanceProperties
implements JsonSerializable<SapVirtualInstanceProperties>

Defines the Virtual Instance for SAP solutions resource properties.

Constructor Summary

Constructor Description
SapVirtualInstanceProperties()

Creates an instance of SapVirtualInstanceProperties class.

Method Summary

Modifier and Type Method and Description
SapConfiguration 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.

SapEnvironmentType environment()

Get the environment property: Defines the environment type - Production/Non Production.

SapVirtualInstanceError errors()

Get the errors property: Indicates any errors on the Virtual Instance for SAP solutions resource.

static SapVirtualInstanceProperties fromJson(JsonReader jsonReader)

Reads an instance of SapVirtualInstanceProperties from the JsonReader.

SapHealthState health()

Get the health property: Defines the health of SAP Instances.

ManagedRGConfiguration managedResourceGroupConfiguration()

Get the managedResourceGroupConfiguration property: Managed resource group configuration.

ManagedResourcesNetworkAccessType managedResourcesNetworkAccessType()

Get the managedResourcesNetworkAccessType property: Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group.

SapVirtualInstanceProvisioningState provisioningState()

Get the provisioningState property: Defines the provisioning states.

SapProductType sapProduct()

Get the sapProduct property: Defines the SAP Product type.

SapVirtualInstanceState state()

Get the state property: Defines the Virtual Instance for SAP state.

SapVirtualInstanceStatus status()

Get the status property: Defines the SAP Instance status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SapVirtualInstanceProperties 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.

SapVirtualInstanceProperties withEnvironment(SapEnvironmentType environment)

Set the environment property: Defines the environment type - Production/Non Production.

SapVirtualInstanceProperties withManagedResourceGroupConfiguration(ManagedRGConfiguration managedResourceGroupConfiguration)

Set the managedResourceGroupConfiguration property: Managed resource group configuration.

SapVirtualInstanceProperties withManagedResourcesNetworkAccessType(ManagedResourcesNetworkAccessType managedResourcesNetworkAccessType)

Set the managedResourcesNetworkAccessType property: Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group.

SapVirtualInstanceProperties withSapProduct(SapProductType sapProduct)

Set the sapProduct property: Defines the SAP Product type.

Methods inherited from java.lang.Object

Constructor Details

SapVirtualInstanceProperties

public SapVirtualInstanceProperties()

Creates an instance of SapVirtualInstanceProperties class.

Method Details

configuration

public SapConfiguration 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.

environment

public SapEnvironmentType environment()

Get the environment property: Defines the environment type - Production/Non Production.

Returns:

the environment value.

errors

public SapVirtualInstanceError errors()

Get the errors property: Indicates any errors on the Virtual Instance for SAP solutions resource.

Returns:

the errors value.

fromJson

public static SapVirtualInstanceProperties fromJson(JsonReader jsonReader)

Reads an instance of SapVirtualInstanceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SapVirtualInstanceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

health

public SapHealthState health()

Get the health property: Defines the health of SAP Instances.

Returns:

the health value.

managedResourceGroupConfiguration

public ManagedRGConfiguration managedResourceGroupConfiguration()

Get the managedResourceGroupConfiguration property: Managed resource group configuration.

Returns:

the managedResourceGroupConfiguration value.

managedResourcesNetworkAccessType

public ManagedResourcesNetworkAccessType managedResourcesNetworkAccessType()

Get the managedResourcesNetworkAccessType property: Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228.

Returns:

the managedResourcesNetworkAccessType value.

provisioningState

public SapVirtualInstanceProvisioningState provisioningState()

Get the provisioningState property: Defines the provisioning states.

Returns:

the provisioningState value.

sapProduct

public SapProductType sapProduct()

Get the sapProduct property: Defines the SAP Product type.

Returns:

the sapProduct value.

state

public SapVirtualInstanceState state()

Get the state property: Defines the Virtual Instance for SAP state.

Returns:

the state value.

status

public SapVirtualInstanceStatus status()

Get the status property: Defines the SAP Instance status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConfiguration

public SapVirtualInstanceProperties 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.

Parameters:

configuration - the configuration value to set.

Returns:

the SapVirtualInstanceProperties object itself.

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.

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.

withManagedResourcesNetworkAccessType

public SapVirtualInstanceProperties withManagedResourcesNetworkAccessType(ManagedResourcesNetworkAccessType managedResourcesNetworkAccessType)

Set the managedResourcesNetworkAccessType property: Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228.

Parameters:

managedResourcesNetworkAccessType - the managedResourcesNetworkAccessType value to set.

Returns:

the SapVirtualInstanceProperties object itself.

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.

Applies to