ArmSqlModelFactory.SqlNameAvailabilityResponse 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 SqlNameAvailabilityResponse.
public static Azure.ResourceManager.Sql.Models.SqlNameAvailabilityResponse SqlNameAvailabilityResponse (string name = default, bool? isAvailable = default, Azure.ResourceManager.Sql.Models.SqlNameUnavailableReason? reason = default, string message = default);
static member SqlNameAvailabilityResponse : string * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.SqlNameUnavailableReason> * string -> Azure.ResourceManager.Sql.Models.SqlNameAvailabilityResponse
Public Shared Function SqlNameAvailabilityResponse (Optional name As String = Nothing, Optional isAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of SqlNameUnavailableReason) = Nothing, Optional message As String = Nothing) As SqlNameAvailabilityResponse
Parameters
- name
- String
The name whose availability was checked.
- reason
- Nullable<SqlNameUnavailableReason>
The reason code explaining why the name is unavailable. Will be undefined if the name is available.
- message
- String
A message explaining why the name is unavailable. Will be undefined if the name is available.
Returns
A new SqlNameAvailabilityResponse instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.