Class CloudServiceRoleProfile
java.lang.Object
com.azure.resourcemanager.compute.models.CloudServiceRoleProfile
Describes the role profile for the cloud service.
-
Constructor Details
-
CloudServiceRoleProfile
public CloudServiceRoleProfile()
-
-
Method Details
-
roles
Get the roles property: List of roles for the cloud service.- Returns:
- the roles value.
-
withRoles
Set the roles property: List of roles for the cloud service.- Parameters:
roles- the roles value to set.- Returns:
- the CloudServiceRoleProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-