Class AvailabilitySetInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.scvmm.fluent.models.AvailabilitySetInner
-
public final class AvailabilitySetInner extends com.azure.core.management.Resource
The AvailabilitySets resource definition.
-
-
Constructor Summary
Constructors Constructor Description AvailabilitySetInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
availabilitySetName()
Get the availabilitySetName property: Name of the availability set.ExtendedLocation
extendedLocation()
Get the extendedLocation property: The extended location.String
provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.com.azure.core.management.SystemData
systemData()
Get the systemData property: The system data.void
validate()
Validates the instance.String
vmmServerId()
Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.AvailabilitySetInner
withAvailabilitySetName(String availabilitySetName)
Set the availabilitySetName property: Name of the availability set.AvailabilitySetInner
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location.AvailabilitySetInner
withLocation(String location)
AvailabilitySetInner
withTags(Map<String,String> tags)
AvailabilitySetInner
withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system data.- Returns:
- the systemData value.
-
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
public AvailabilitySetInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location.- Parameters:
extendedLocation
- the extendedLocation value to set.- Returns:
- the AvailabilitySetInner object itself.
-
withLocation
public AvailabilitySetInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public AvailabilitySetInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
availabilitySetName
public String availabilitySetName()
Get the availabilitySetName property: Name of the availability set.- Returns:
- the availabilitySetName value.
-
withAvailabilitySetName
public AvailabilitySetInner withAvailabilitySetName(String availabilitySetName)
Set the availabilitySetName property: Name of the availability set.- Parameters:
availabilitySetName
- the availabilitySetName value to set.- Returns:
- the AvailabilitySetInner object itself.
-
vmmServerId
public String vmmServerId()
Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.- Returns:
- the vmmServerId value.
-
withVmmServerId
public AvailabilitySetInner withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.- Parameters:
vmmServerId
- the vmmServerId value to set.- Returns:
- the AvailabilitySetInner object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-