AvailabilitySetResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings - com.
azure. resourcemanager. resourcemover. models. AvailabilitySetResourceSettings
- com.
- com.
public final class AvailabilitySetResourceSettings
extends ResourceSettings
Gets or sets the availability set resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailabilitySetResourceSettings() |
Creates an instance of Availability |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
faultDomain()
Get the fault |
|
static
Availability |
fromJson(JsonReader jsonReader)
Reads an instance of Availability |
| String |
resourceType()
Get the resource |
| Map<String,String> |
tags()
Get the tags property: Gets or sets the Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
updateDomain()
Get the update |
| void |
validate()
Validates the instance. |
|
Availability |
withFaultDomain(Integer faultDomain)
Set the fault |
|
Availability |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags. |
|
Availability |
withTargetResourceGroupName(String targetResourceGroupName)
Set the target |
|
Availability |
withTargetResourceName(String targetResourceName)
Set the target |
|
Availability |
withUpdateDomain(Integer updateDomain)
Set the update |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
AvailabilitySetResourceSettings
public AvailabilitySetResourceSettings()
Creates an instance of AvailabilitySetResourceSettings class.
Method Details
faultDomain
public Integer faultDomain()
Get the faultDomain property: Gets or sets the target fault domain.
Returns:
fromJson
public static AvailabilitySetResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of AvailabilitySetResourceSettings 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:
AvailabilitySetResourceSettings.resourceType()Returns:
tags
public Map<String,String> tags()
Get the tags property: Gets or sets the Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AvailabilitySetResourceSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
updateDomain
public Integer updateDomain()
Get the updateDomain property: Gets or sets the target update domain.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AvailabilitySetResourceSettings.validate()withFaultDomain
public AvailabilitySetResourceSettings withFaultDomain(Integer faultDomain)
Set the faultDomain property: Gets or sets the target fault domain.
Parameters:
Returns:
withTags
public AvailabilitySetResourceSettings withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags.
Parameters:
Returns:
withTargetResourceGroupName
public AvailabilitySetResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Overrides:
AvailabilitySetResourceSettings.withTargetResourceGroupName(String targetResourceGroupName)Parameters:
withTargetResourceName
public AvailabilitySetResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Overrides:
AvailabilitySetResourceSettings.withTargetResourceName(String targetResourceName)Parameters:
withUpdateDomain
public AvailabilitySetResourceSettings withUpdateDomain(Integer updateDomain)
Set the updateDomain property: Gets or sets the target update domain.
Parameters:
Returns: