Class ManagedHsmProperties
java.lang.Object
com.azure.resourcemanager.keyvault.models.ManagedHsmProperties
Properties of the managed HSM Pool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the createMode property: The create mode to indicate whether the resource is being created or is being recovered from a deleted resource.Get the enablePurgeProtection property: Property specifying whether protection against purge is enabled for this managed HSM pool.Get the enableSoftDelete property: Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool.hsmUri()Get the hsmUri property: The URI of the managed hsm pool for performing operations on keys.Get the initialAdminObjectIds property: Array of initial administrators object ids for this managed hsm pool.Get the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.Get the privateEndpointConnections property: List of private endpoint connections associated with the managed hsm pool.Get the provisioningState property: Provisioning state.Get the publicNetworkAccess property: Control permission to the managed HSM from public networks.regions()Get the regions property: List of all regions associated with the managed hsm pool.Get the scheduledPurgeDate property: The scheduled purge date in UTC.Get the securityDomainProperties property: Managed HSM security domain properties.Get the softDeleteRetentionInDays property: Soft deleted data retention days.Get the statusMessage property: Resource Status Message.tenantId()Get the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool.voidvalidate()Validates the instance.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.withEnablePurgeProtection(Boolean enablePurgeProtection) Set the enablePurgeProtection property: Property specifying whether protection against purge is enabled for this managed HSM pool.withEnableSoftDelete(Boolean enableSoftDelete) Set the enableSoftDelete property: Property to specify whether the 'soft delete' functionality is enabled for this managed HSM pool.withInitialAdminObjectIds(List<String> initialAdminObjectIds) Set the initialAdminObjectIds property: Array of initial administrators object ids for this managed hsm pool.withNetworkAcls(MhsmNetworkRuleSet networkAcls) Set the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Control permission to the managed HSM from public networks.withRegions(List<MhsmGeoReplicatedRegionInner> regions) Set the regions property: List of all regions associated with the managed hsm pool.withSoftDeleteRetentionInDays(Integer softDeleteRetentionInDays) Set the softDeleteRetentionInDays property: Soft deleted data retention days.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.
-
Constructor Details
-
ManagedHsmProperties
public ManagedHsmProperties()Creates an instance of ManagedHsmProperties class.
-
-
Method Details
-
tenantId
Get the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ManagedHsmProperties object itself.
-
initialAdminObjectIds
Get the initialAdminObjectIds property: Array of initial administrators object ids for this managed hsm pool.- Returns:
- the initialAdminObjectIds value.
-
withInitialAdminObjectIds
Set the initialAdminObjectIds property: Array of initial administrators object ids for this managed hsm pool.- Parameters:
initialAdminObjectIds- the initialAdminObjectIds value to set.- Returns:
- the ManagedHsmProperties object itself.
-
hsmUri
Get the hsmUri property: The URI of the managed hsm pool for performing operations on keys.- Returns:
- the hsmUri value.
-
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:
- the enableSoftDelete value.
-
withEnableSoftDelete
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:
enableSoftDelete- the enableSoftDelete value to set.- Returns:
- the ManagedHsmProperties object itself.
-
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:
- the softDeleteRetentionInDays value.
-
withSoftDeleteRetentionInDays
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:
softDeleteRetentionInDays- the softDeleteRetentionInDays value to set.- Returns:
- the ManagedHsmProperties object itself.
-
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:
- the enablePurgeProtection value.
-
withEnablePurgeProtection
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:
enablePurgeProtection- the enablePurgeProtection value to set.- Returns:
- the ManagedHsmProperties object itself.
-
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:
- the createMode value.
-
withCreateMode
Set the createMode property: The create mode to indicate whether the resource is being created or is being recovered from a deleted resource.- Parameters:
createMode- the createMode value to set.- Returns:
- the ManagedHsmProperties object itself.
-
statusMessage
Get the statusMessage property: Resource Status Message.- Returns:
- the statusMessage value.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
networkAcls
Get the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.- Returns:
- the networkAcls value.
-
withNetworkAcls
Set the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.- Parameters:
networkAcls- the networkAcls value to set.- Returns:
- the ManagedHsmProperties object itself.
-
regions
Get the regions property: List of all regions associated with the managed hsm pool.- Returns:
- the regions value.
-
withRegions
Set the regions property: List of all regions associated with the managed hsm pool.- Parameters:
regions- the regions value to set.- Returns:
- the ManagedHsmProperties object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of private endpoint connections associated with the managed hsm pool.- Returns:
- the privateEndpointConnections value.
-
publicNetworkAccess
Get the publicNetworkAccess property: Control permission to the managed HSM from public networks.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Control permission to the managed HSM from public networks.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the ManagedHsmProperties object itself.
-
scheduledPurgeDate
Get the scheduledPurgeDate property: The scheduled purge date in UTC.- Returns:
- the scheduledPurgeDate value.
-
securityDomainProperties
Get the securityDomainProperties property: Managed HSM security domain properties.- Returns:
- the securityDomainProperties value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-