Class OSVersionInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.OSVersionInner
Describes a cloud service OS version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Resource Id.location()Get the location property: Resource location.name()Get the name property: Resource name.Get the properties property: OS version properties.type()Get the type property: Resource type.voidvalidate()Validates the instance.withProperties(OSVersionProperties properties) Set the properties property: OS version properties.
-
Constructor Details
-
OSVersionInner
public OSVersionInner()Creates an instance of OSVersionInner class.
-
-
Method Details
-
id
Get the id property: Resource Id.- Returns:
- the id value.
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
properties
Get the properties property: OS version properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: OS version properties.- Parameters:
properties- the properties value to set.- Returns:
- the OSVersionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-