ArmKeyVaultModelFactory.ManagedHsmProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ManagedHsmProperties.
public static Azure.ResourceManager.KeyVault.Models.ManagedHsmProperties ManagedHsmProperties (Guid? tenantId = default, System.Collections.Generic.IEnumerable<string> initialAdminObjectIds = default, Uri hsmUri = default, bool? enableSoftDelete = default, int? softDeleteRetentionInDays = default, bool? enablePurgeProtection = default, Azure.ResourceManager.KeyVault.Models.ManagedHsmCreateMode? createMode = default, string statusMessage = default, Azure.ResourceManager.KeyVault.Models.ManagedHsmProvisioningState? provisioningState = default, Azure.ResourceManager.KeyVault.Models.ManagedHsmNetworkRuleSet networkRuleSet = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.KeyVault.Models.ManagedHsmGeoReplicatedRegion> regions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.KeyVault.Models.ManagedHsmPrivateEndpointConnectionItemData> privateEndpointConnections = default, Azure.ResourceManager.KeyVault.Models.ManagedHsmPublicNetworkAccess? publicNetworkAccess = default, DateTimeOffset? scheduledPurgeOn = default, Azure.ResourceManager.KeyVault.Models.ManagedHSMSecurityDomainProperties securityDomainProperties = default);
static member ManagedHsmProperties : Nullable<Guid> * seq<string> * Uri * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<Azure.ResourceManager.KeyVault.Models.ManagedHsmCreateMode> * string * Nullable<Azure.ResourceManager.KeyVault.Models.ManagedHsmProvisioningState> * Azure.ResourceManager.KeyVault.Models.ManagedHsmNetworkRuleSet * seq<Azure.ResourceManager.KeyVault.Models.ManagedHsmGeoReplicatedRegion> * seq<Azure.ResourceManager.KeyVault.Models.ManagedHsmPrivateEndpointConnectionItemData> * Nullable<Azure.ResourceManager.KeyVault.Models.ManagedHsmPublicNetworkAccess> * Nullable<DateTimeOffset> * Azure.ResourceManager.KeyVault.Models.ManagedHSMSecurityDomainProperties -> Azure.ResourceManager.KeyVault.Models.ManagedHsmProperties
Public Shared Function ManagedHsmProperties (Optional tenantId As Nullable(Of Guid) = Nothing, Optional initialAdminObjectIds As IEnumerable(Of String) = Nothing, Optional hsmUri As Uri = Nothing, Optional enableSoftDelete As Nullable(Of Boolean) = Nothing, Optional softDeleteRetentionInDays As Nullable(Of Integer) = Nothing, Optional enablePurgeProtection As Nullable(Of Boolean) = Nothing, Optional createMode As Nullable(Of ManagedHsmCreateMode) = Nothing, Optional statusMessage As String = Nothing, Optional provisioningState As Nullable(Of ManagedHsmProvisioningState) = Nothing, Optional networkRuleSet As ManagedHsmNetworkRuleSet = Nothing, Optional regions As IEnumerable(Of ManagedHsmGeoReplicatedRegion) = Nothing, Optional privateEndpointConnections As IEnumerable(Of ManagedHsmPrivateEndpointConnectionItemData) = Nothing, Optional publicNetworkAccess As Nullable(Of ManagedHsmPublicNetworkAccess) = Nothing, Optional scheduledPurgeOn As Nullable(Of DateTimeOffset) = Nothing, Optional securityDomainProperties As ManagedHSMSecurityDomainProperties = Nothing) As ManagedHsmProperties
Parameters
The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool.
- initialAdminObjectIds
- IEnumerable<String>
Array of initial administrators object ids for this managed hsm pool.
- hsmUri
- Uri
The URI of the managed hsm pool for performing operations on keys.
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.
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.
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.
- createMode
- Nullable<ManagedHsmCreateMode>
The create mode to indicate whether the resource is being created or is being recovered from a deleted resource.
- statusMessage
- String
Resource Status Message.
- provisioningState
- Nullable<ManagedHsmProvisioningState>
Provisioning state.
- networkRuleSet
- ManagedHsmNetworkRuleSet
Rules governing the accessibility of the key vault from specific network locations.
- regions
- IEnumerable<ManagedHsmGeoReplicatedRegion>
List of all regions associated with the managed hsm pool.
- privateEndpointConnections
- IEnumerable<ManagedHsmPrivateEndpointConnectionItemData>
List of private endpoint connections associated with the managed hsm pool.
- publicNetworkAccess
- Nullable<ManagedHsmPublicNetworkAccess>
Control permission to the managed HSM from public networks.
- scheduledPurgeOn
- Nullable<DateTimeOffset>
The scheduled purge date in UTC.
- securityDomainProperties
- ManagedHSMSecurityDomainProperties
Managed HSM security domain properties.
Returns
A new ManagedHsmProperties instance for mocking.
Applies to
Azure SDK for .NET