ArmTrustedSigningModelFactory.TrustedSigningAccountNameAvailabilityResult 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 TrustedSigningAccountNameAvailabilityResult.
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameAvailabilityResult TrustedSigningAccountNameAvailabilityResult (bool? isNameAvailable = default, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameUnavailabilityReason? reason = default, string message = default);
static member TrustedSigningAccountNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameUnavailabilityReason> * string -> Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameAvailabilityResult
Public Shared Function TrustedSigningAccountNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of TrustedSigningAccountNameUnavailabilityReason) = Nothing, Optional message As String = Nothing) As TrustedSigningAccountNameAvailabilityResult
Parameters
A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
The reason that a trusted signing account name could not be used. The Reason element is only returned if nameAvailable is false.
- message
- String
An error message explaining the Reason value in more detail.
Returns
A new TrustedSigningAccountNameAvailabilityResult instance for mocking.
Applies to
Azure SDK for .NET