Check file path availability

Check if a file path is available.

post/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability

Parameters

../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref
../../../../../../common-types/resource-management/v6/types.json#/components/parameters/LocationParameter — unresolved $ref

Request body

namestring required

File path to verify.

subnetIdstring required

The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes

availabilityZonestring nullable

The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed.

Response

The request has succeeded.

isAvailableboolean

<code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.

reason'Invalid' | 'AlreadyExists'

<code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable.

messagestring

If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

Changes

Changed in 9 of the 61 revisions of this API.444

  • 2017-08-1558798a3b33841See the full diff
    • api tag NetApp Resource removed

      api-tag-removed

  • 2017-08-15324253b867c62See the full diff
    • deleted the path request parameter location

      request-parameter-removed

    • deleted the path request parameter subscriptionId

      request-parameter-removed

  • 2017-08-15ee6a473a7d0e1See the full diff
    • deleted the query request parameter api-version

      request-parameter-removed

  • 2017-08-152b0b495d09281See the full diff
    • deleted the query request parameter api-version

      request-parameter-removed

  • 2017-08-15c5b4a2f7fa141See the full diff
    • added the new required query request parameter api-version

      new-required-request-parameter

  • 2017-08-156a74351be95a1See the full diff
    • api operation id CheckFilePathAvailability removed and replaced with NetAppResource_CheckFilePathAvailability

      api-operation-id-removed

  • 2017-08-159a0583dfa6291See the full diff
    • api tag NetApp Resource added

      api-tag-added

  • 2017-08-15f970ea513d683See the full diff
    • added the new path request parameter location

      new-request-path-parameter

    • added the new path request parameter subscriptionId

      new-request-path-parameter

    • added the new required query request parameter api-version

      new-required-request-parameter

  • 2017-08-151e78e9a41f071See the full diff
    • endpoint added

      endpoint-added