Class CloudServiceOsProfile
java.lang.Object
com.azure.resourcemanager.compute.models.CloudServiceOsProfile
Describes the OS profile for the cloud service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsecrets()Get the secrets property: Specifies set of certificates that should be installed onto the role instances.voidvalidate()Validates the instance.withSecrets(List<CloudServiceVaultSecretGroup> secrets) Set the secrets property: Specifies set of certificates that should be installed onto the role instances.
-
Constructor Details
-
CloudServiceOsProfile
public CloudServiceOsProfile()Creates an instance of CloudServiceOsProfile class.
-
-
Method Details
-
secrets
Get the secrets property: Specifies set of certificates that should be installed onto the role instances.- Returns:
- the secrets value.
-
withSecrets
Set the secrets property: Specifies set of certificates that should be installed onto the role instances.- Parameters:
secrets- the secrets value to set.- Returns:
- the CloudServiceOsProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-