SqlServerResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings - com.
azure. resourcemanager. resourcemover. models. SqlServerResourceSettings
- com.
- com.
public final class SqlServerResourceSettings
extends ResourceSettings
Defines the SQL Server resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlServerResourceSettings() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
resourceType()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withTargetResourceGroupName(String targetResourceGroupName)
Set the target |
|
Sql |
withTargetResourceName(String targetResourceName)
Set the target |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
SqlServerResourceSettings
public SqlServerResourceSettings()
Creates an instance of SqlServerResourceSettings class.
Method Details
fromJson
public static SqlServerResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of SqlServerResourceSettings from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
Overrides:
SqlServerResourceSettings.resourceType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlServerResourceSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
SqlServerResourceSettings.validate()withTargetResourceGroupName
public SqlServerResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Overrides:
SqlServerResourceSettings.withTargetResourceGroupName(String targetResourceGroupName)Parameters:
withTargetResourceName
public SqlServerResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Overrides:
SqlServerResourceSettings.withTargetResourceName(String targetResourceName)Parameters: