你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceProviders Interface
public interface ResourceProviders
Resource collection API of ResourceProviders.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Check |
checkNameAvailability(CheckNameAvailabilityRequest nameAvailabilityRequest)
To check whether a resource name is available. |
abstract
Response<Check |
checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest nameAvailabilityRequest, Context context)
To check whether a resource name is available. |
Method Details
checkNameAvailability
public abstract CheckNameAvailabilityResponse checkNameAvailability(CheckNameAvailabilityRequest nameAvailabilityRequest)
To check whether a resource name is available.
Parameters:
nameAvailabilityRequest
- Name availability request payload.
Returns:
the check availability result.
checkNameAvailabilityWithResponse
public abstract Response
To check whether a resource name is available.
Parameters:
nameAvailabilityRequest
- Name availability request payload.
context
- The context to associate with this operation.
Returns:
the check availability result along with Response<T>.