Management Service Name Availability Result Inner. with Reason(NameAvailabilityReason reason) Method
Set the reason property: Invalid indicates the name provided does not match the resource provider\u2019s naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable.
public ApiManagementServiceNameAvailabilityResultInner withReason(NameAvailabilityReason reason)
the reason value to set.
the ApiManagementServiceNameAvailabilityResultInner object itself.