通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceVaultSecretGroup Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.CloudServiceVaultSecretGroup

Implements

public final class CloudServiceVaultSecretGroup
implements JsonSerializable<CloudServiceVaultSecretGroup>

Describes a set of certificates which are all in the same Key Vault.

Constructor Summary

Constructor Description
CloudServiceVaultSecretGroup()

Creates an instance of CloudServiceVaultSecretGroup class.

Method Summary

Modifier and Type Method and Description
static CloudServiceVaultSecretGroup fromJson(JsonReader jsonReader)

Reads an instance of CloudServiceVaultSecretGroup from the JsonReader.

SubResource sourceVault()

Get the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<CloudServiceVaultCertificate> vaultCertificates()

Get the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

CloudServiceVaultSecretGroup withSourceVault(SubResource sourceVault)

Set the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

CloudServiceVaultSecretGroup withVaultCertificates(List<CloudServiceVaultCertificate> vaultCertificates)

Set the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

Methods inherited from java.lang.Object

Constructor Details

CloudServiceVaultSecretGroup

public CloudServiceVaultSecretGroup()

Creates an instance of CloudServiceVaultSecretGroup class.

Method Details

fromJson

public static CloudServiceVaultSecretGroup fromJson(JsonReader jsonReader)

Reads an instance of CloudServiceVaultSecretGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CloudServiceVaultSecretGroup if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CloudServiceVaultSecretGroup.

sourceVault

public SubResource sourceVault()

Get the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

Returns:

the sourceVault value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vaultCertificates

public List<CloudServiceVaultCertificate> vaultCertificates()

Get the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

Returns:

the vaultCertificates value.

withSourceVault

public CloudServiceVaultSecretGroup withSourceVault(SubResource sourceVault)

Set the sourceVault property: The relative URL of the Key Vault containing all of the certificates in VaultCertificates.

Parameters:

sourceVault - the sourceVault value to set.

Returns:

the CloudServiceVaultSecretGroup object itself.

withVaultCertificates

public CloudServiceVaultSecretGroup withVaultCertificates(List<CloudServiceVaultCertificate> vaultCertificates)

Set the vaultCertificates property: The list of key vault references in SourceVault which contain certificates.

Parameters:

vaultCertificates - the vaultCertificates value to set.

Returns:

the CloudServiceVaultSecretGroup object itself.

Applies to