ManagedHsmProperties Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. ManagedHsmProperties
- com.
Implements
public final class ManagedHsmProperties
implements JsonSerializable<ManagedHsmProperties>
Properties of the managed HSM Pool.
Constructor Summary
Constructor | Description |
---|---|
ManagedHsmProperties() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Create |
createMode()
Get the create |
Boolean |
enablePurgeProtection()
Get the enable |
Boolean |
enableSoftDelete()
Get the enable |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
hsmUri()
Get the hsm |
List<String> |
initialAdminObjectIds()
Get the initial |
Mhsm |
networkAcls()
Get the network |
List<Mhsm |
privateEndpointConnections()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
Public |
publicNetworkAccess()
Get the public |
List<Mhsm |
regions()
Get the regions property: List of all regions associated with the managed hsm pool. |
Offset |
scheduledPurgeDate()
Get the scheduled |
Managed |
securityDomainProperties()
Get the security |
Integer |
softDeleteRetentionInDays()
Get the soft |
String |
statusMessage()
Get the status |
UUID |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withCreateMode(CreateMode createMode)
Set the create |
Managed |
withEnablePurgeProtection(Boolean enablePurgeProtection)
Set the enable |
Managed |
withEnableSoftDelete(Boolean enableSoftDelete)
Set the enable |
Managed |
withInitialAdminObjectIds(List<String> initialAdminObjectIds)
Set the initial |
Managed |
withNetworkAcls(MhsmNetworkRuleSet networkAcls)
Set the network |
Managed |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Managed |
withRegions(List<MhsmGeoReplicatedRegionInner> regions)
Set the regions property: List of all regions associated with the managed hsm pool. |
Managed |
withSoftDeleteRetentionInDays(Integer softDeleteRetentionInDays)
Set the soft |
Managed |
withTenantId(UUID tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
ManagedHsmProperties
public ManagedHsmProperties()
Creates an instance of ManagedHsmProperties class.
Method Details
createMode
public CreateMode createMode()
Get the createMode property: The create mode to indicate whether the resource is being created or is being recovered from a deleted resource.
Returns:
enablePurgeProtection
public Boolean enablePurgeProtection()
Get the enablePurgeProtection property: Property specifying whether protection against purge is enabled for this managed HSM pool. Setting this property to true activates protection against purge for this managed HSM pool and its content - only the Managed HSM service may initiate a hard, irrecoverable deletion. Enabling this functionality is irreversible.
Returns:
enableSoftDelete
public Boolean enableSoftDelete()
Get the enableSoftDelete property: Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool. Soft delete is enabled by default for all managed HSMs and is immutable.
Returns:
fromJson
public static ManagedHsmProperties fromJson(JsonReader jsonReader)
Reads an instance of ManagedHsmProperties from the JsonReader.
Parameters:
Returns:
Throws:
hsmUri
public String hsmUri()
Get the hsmUri property: The URI of the managed hsm pool for performing operations on keys.
Returns:
initialAdminObjectIds
public List
Get the initialAdminObjectIds property: Array of initial administrators object ids for this managed hsm pool.
Returns:
networkAcls
public MhsmNetworkRuleSet networkAcls()
Get the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connections associated with the managed hsm pool.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Control permission to the managed HSM from public networks.
Returns:
regions
public List
Get the regions property: List of all regions associated with the managed hsm pool.
Returns:
scheduledPurgeDate
public OffsetDateTime scheduledPurgeDate()
Get the scheduledPurgeDate property: The scheduled purge date in UTC.
Returns:
securityDomainProperties
public ManagedHsmSecurityDomainProperties securityDomainProperties()
Get the securityDomainProperties property: Managed HSM security domain properties.
Returns:
softDeleteRetentionInDays
public Integer softDeleteRetentionInDays()
Get the softDeleteRetentionInDays property: Soft deleted data retention days. When you delete an HSM or a key, it will remain recoverable for the configured retention period or for a default period of 90 days. It accepts values between 7 and 90.
Returns:
statusMessage
public String statusMessage()
Get the statusMessage property: Resource Status Message.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreateMode
public ManagedHsmProperties withCreateMode(CreateMode createMode)
Set the createMode property: The create mode to indicate whether the resource is being created or is being recovered from a deleted resource.
Parameters:
Returns:
withEnablePurgeProtection
public ManagedHsmProperties withEnablePurgeProtection(Boolean enablePurgeProtection)
Set the enablePurgeProtection property: Property specifying whether protection against purge is enabled for this managed HSM pool. Setting this property to true activates protection against purge for this managed HSM pool and its content - only the Managed HSM service may initiate a hard, irrecoverable deletion. Enabling this functionality is irreversible.
Parameters:
Returns:
withEnableSoftDelete
public ManagedHsmProperties withEnableSoftDelete(Boolean enableSoftDelete)
Set the enableSoftDelete property: Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool. Soft delete is enabled by default for all managed HSMs and is immutable.
Parameters:
Returns:
withInitialAdminObjectIds
public ManagedHsmProperties withInitialAdminObjectIds(List
Set the initialAdminObjectIds property: Array of initial administrators object ids for this managed hsm pool.
Parameters:
Returns:
withNetworkAcls
public ManagedHsmProperties withNetworkAcls(MhsmNetworkRuleSet networkAcls)
Set the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.
Parameters:
Returns:
withPublicNetworkAccess
public ManagedHsmProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Control permission to the managed HSM from public networks.
Parameters:
Returns:
withRegions
public ManagedHsmProperties withRegions(List
Set the regions property: List of all regions associated with the managed hsm pool.
Parameters:
Returns:
withSoftDeleteRetentionInDays
public ManagedHsmProperties withSoftDeleteRetentionInDays(Integer softDeleteRetentionInDays)
Set the softDeleteRetentionInDays property: Soft deleted data retention days. When you delete an HSM or a key, it will remain recoverable for the configured retention period or for a default period of 90 days. It accepts values between 7 and 90.
Parameters:
Returns:
withTenantId
public ManagedHsmProperties withTenantId(UUID tenantId)
Set the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool.
Parameters:
Returns:
Applies to
Azure SDK for Java