ArmDigitalTwinsModelFactory.DigitalTwinsNameResult 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 DigitalTwinsNameResult.
public static Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameResult DigitalTwinsNameResult (bool? isNameAvailable = default, string message = default, Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameUnavailableReason? reason = default);
static member DigitalTwinsNameResult : Nullable<bool> * string * Nullable<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameUnavailableReason> -> Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameResult
Public Shared Function DigitalTwinsNameResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional message As String = Nothing, Optional reason As Nullable(Of DigitalTwinsNameUnavailableReason) = Nothing) As DigitalTwinsNameResult
Parameters
Specifies a Boolean value that indicates if the name is available.
- message
- String
Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.
Message providing the reason why the given name is invalid.
Returns
A new DigitalTwinsNameResult instance for mocking.