Поделиться через


InfrastructureConfiguration Class

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

Implements

public class InfrastructureConfiguration
implements JsonSerializable<InfrastructureConfiguration>

Deploy SAP Infrastructure Details.

Constructor Summary

Constructor Description
InfrastructureConfiguration()

Creates an instance of InfrastructureConfiguration class.

Method Summary

Modifier and Type Method and Description
String appResourceGroup()

Get the appResourceGroup property: The application resource group where SAP system resources will be deployed.

SapDeploymentType deploymentType()

Get the deploymentType property: The SAP deployment type.

static InfrastructureConfiguration fromJson(JsonReader jsonReader)

Reads an instance of InfrastructureConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InfrastructureConfiguration withAppResourceGroup(String appResourceGroup)

Set the appResourceGroup property: The application resource group where SAP system resources will be deployed.

Methods inherited from java.lang.Object

Constructor Details

InfrastructureConfiguration

public InfrastructureConfiguration()

Creates an instance of InfrastructureConfiguration class.

Method Details

appResourceGroup

public String appResourceGroup()

Get the appResourceGroup property: The application resource group where SAP system resources will be deployed.

Returns:

the appResourceGroup value.

deploymentType

public SapDeploymentType deploymentType()

Get the deploymentType property: The SAP deployment type. Eg: SingleServer/ThreeTier.

Returns:

the deploymentType value.

fromJson

public static InfrastructureConfiguration fromJson(JsonReader jsonReader)

Reads an instance of InfrastructureConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InfrastructureConfiguration 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAppResourceGroup

public InfrastructureConfiguration withAppResourceGroup(String appResourceGroup)

Set the appResourceGroup property: The application resource group where SAP system resources will be deployed.

Parameters:

appResourceGroup - the appResourceGroup value to set.

Returns:

the InfrastructureConfiguration object itself.

Applies to