CloudServiceRoleProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CloudServiceRoleProfile
- com.
Implements
public final class CloudServiceRoleProfile
implements JsonSerializable<CloudServiceRoleProfile>
Describes the role profile for the cloud service.
Constructor | Description |
---|---|
Cloud |
Creates an instance of Cloud |
Modifier and Type | Method and Description |
---|---|
static
Cloud |
from Reads an instance of Cloud |
List<Cloud |
roles()
Get the roles property: List of roles for the cloud service. |
Json |
to |
void |
validate()
Validates the instance. |
Cloud |
with Set the roles property: List of roles for the cloud service. |
Methods inherited from java.lang.Object
CloudServiceRoleProfile
public CloudServiceRoleProfile()
Creates an instance of CloudServiceRoleProfile class.
fromJson
public static CloudServiceRoleProfile fromJson(JsonReader jsonReader)
Reads an instance of CloudServiceRoleProfile from the JsonReader.
Parameters:
Returns:
Throws:
roles
public List
Get the roles property: List of roles for the cloud service.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRoles
public CloudServiceRoleProfile withRoles(List
Set the roles property: List of roles for the cloud service.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: