共用方式為


DeviceUpdateExtensions.CheckDeviceUpdateNameAvailability Method

Definition

Overloads

CheckDeviceUpdateNameAvailability(SubscriptionResource, CheckNameAvailabilityContent, CancellationToken)

Checks ADU resource name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/checknameavailability
  • Operation Id: CheckNameAvailability
CheckDeviceUpdateNameAvailability(SubscriptionResource, DeviceUpdateAvailabilityContent, CancellationToken)

Checks ADU resource name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/checknameavailability
  • Operation Id: CheckNameAvailability

CheckDeviceUpdateNameAvailability(SubscriptionResource, CheckNameAvailabilityContent, CancellationToken)

Source:
DeviceUpdateExtensions.cs

Checks ADU resource name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/checknameavailability
  • Operation Id: CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityResponse> CheckDeviceUpdateNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDeviceUpdateNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckDeviceUpdateNameAvailability (subscriptionResource As SubscriptionResource, content As CheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckNameAvailabilityResponse)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

content
CheckNameAvailabilityContent

Check Name Availability Request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to

CheckDeviceUpdateNameAvailability(SubscriptionResource, DeviceUpdateAvailabilityContent, CancellationToken)

Source:
DeviceUpdateExtensions.cs

Checks ADU resource name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/checknameavailability
  • Operation Id: CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateNameAvailabilityResult> CheckDeviceUpdateNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDeviceUpdateNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateNameAvailabilityResult>
<Extension()>
Public Function CheckDeviceUpdateNameAvailability (subscriptionResource As SubscriptionResource, content As DeviceUpdateAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceUpdateNameAvailabilityResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

content
DeviceUpdateAvailabilityContent

Check Name Availability Request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or content is null.

Applies to