CloudServiceOsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CloudServiceOsProfile
- com.
Implements
public final class CloudServiceOsProfile
implements JsonSerializable<CloudServiceOsProfile>
Describes the OS profile for the cloud service.
Constructor Summary
Constructor | Description |
---|---|
CloudServiceOsProfile() |
Creates an instance of Cloud |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
List<Cloud |
secrets()
Get the secrets property: Specifies set of certificates that should be installed onto the role instances. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cloud |
withSecrets(List<CloudServiceVaultSecretGroup> secrets)
Set the secrets property: Specifies set of certificates that should be installed onto the role instances. |
Methods inherited from java.lang.Object
Constructor Details
CloudServiceOsProfile
public CloudServiceOsProfile()
Creates an instance of CloudServiceOsProfile class.
Method Details
fromJson
public static CloudServiceOsProfile fromJson(JsonReader jsonReader)
Reads an instance of CloudServiceOsProfile from the JsonReader.
Parameters:
Returns:
Throws:
secrets
public List
Get the secrets property: Specifies set of certificates that should be installed onto the role instances.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSecrets
public CloudServiceOsProfile withSecrets(List
Set the secrets property: Specifies set of certificates that should be installed onto the role instances.
Parameters:
Returns:
Applies to
Azure SDK for Java