ArmMediaModelFactory.MediaServicesNameAvailabilityResult 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 MediaServicesNameAvailabilityResult.
public static Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityResult MediaServicesNameAvailabilityResult (bool isNameAvailable = false, string reason = default, string message = default);
static member MediaServicesNameAvailabilityResult : bool * string * string -> Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityResult
Public Shared Function MediaServicesNameAvailabilityResult (Optional isNameAvailable As Boolean = false, Optional reason As String = Nothing, Optional message As String = Nothing) As MediaServicesNameAvailabilityResult
Parameters
- isNameAvailable
- Boolean
Specifies if the name is available.
- reason
- String
Specifies the reason if the name is not available.
- message
- String
Specifies the detailed reason if the name is not available.
Returns
A new MediaServicesNameAvailabilityResult instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET