ArmContainerServiceModelFactory.ManagedClusterSecurityProfileKeyVaultKms 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.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfileKeyVaultKms ManagedClusterSecurityProfileKeyVaultKms(bool? isEnabled = default, string keyId = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterKeyVaultNetworkAccessType? keyVaultNetworkAccess = default, Azure.Core.ResourceIdentifier keyVaultResourceId = default);
static member ManagedClusterSecurityProfileKeyVaultKms : Nullable<bool> * string * Nullable<Azure.ResourceManager.ContainerService.Models.ManagedClusterKeyVaultNetworkAccessType> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerService.Models.ManagedClusterSecurityProfileKeyVaultKms
Public Shared Function ManagedClusterSecurityProfileKeyVaultKms (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional keyId As String = Nothing, Optional keyVaultNetworkAccess As Nullable(Of ManagedClusterKeyVaultNetworkAccessType) = Nothing, Optional keyVaultResourceId As ResourceIdentifier = Nothing) As ManagedClusterSecurityProfileKeyVaultKms
Parameters
Whether to enable Azure Key Vault key management service. The default is false.
- keyId
- String
Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
- Nullable<ManagedClusterKeyVaultNetworkAccessType>
Network access of the key vault. Network access of key vault. The possible values are Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public.
- keyVaultResourceId
- ResourceIdentifier
Resource ID of key vault. When keyVaultNetworkAccess is Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
Returns
A new ManagedClusterSecurityProfileKeyVaultKms instance for mocking.