Share via


ArmKeyVaultModelFactory.SecretProperties Method

Definition

Initializes a new instance of SecretProperties.

public static Azure.ResourceManager.KeyVault.Models.SecretProperties SecretProperties (string value = default, string contentType = default, Azure.ResourceManager.KeyVault.Models.SecretAttributes attributes = default, Uri secretUri = default, string secretUriWithVersion = default);
static member SecretProperties : string * string * Azure.ResourceManager.KeyVault.Models.SecretAttributes * Uri * string -> Azure.ResourceManager.KeyVault.Models.SecretProperties
Public Shared Function SecretProperties (Optional value As String = Nothing, Optional contentType As String = Nothing, Optional attributes As SecretAttributes = Nothing, Optional secretUri As Uri = Nothing, Optional secretUriWithVersion As String = Nothing) As SecretProperties

Parameters

value
String

The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.

contentType
String

The content type of the secret.

attributes
SecretAttributes

The attributes of the secret.

secretUri
Uri

The URI to retrieve the current version of the secret.

secretUriWithVersion
String

The URI to retrieve the specific version of the secret.

Returns

A new SecretProperties instance for mocking.

Applies to