Class CloudServiceOsProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.CloudServiceOsProfile
-
public final class CloudServiceOsProfile extends Object
Describes the OS profile for the cloud service.
-
-
Constructor Summary
Constructors Constructor Description CloudServiceOsProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CloudServiceVaultSecretGroup>secrets()Get the secrets property: Specifies set of certificates that should be installed onto the role instances.voidvalidate()Validates the instance.CloudServiceOsProfilewithSecrets(List<CloudServiceVaultSecretGroup> secrets)Set the secrets property: Specifies set of certificates that should be installed onto the role instances.
-
-
-
Method Detail
-
secrets
public List<CloudServiceVaultSecretGroup> secrets()
Get the secrets property: Specifies set of certificates that should be installed onto the role instances.- Returns:
- the secrets value.
-
withSecrets
public CloudServiceOsProfile withSecrets(List<CloudServiceVaultSecretGroup> secrets)
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.
-
-