Skip to main content

net_app_resource

Creates, updates, deletes, gets or lists a net_app_resource resource.

Overview

Namenet_app_resource
TypeResource
Idazure.netapp.net_app_resource

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
isAvailablebooleantrue indicates name is valid and available. false indicates the name is invalid, unavailable, or both.
messagestringIf 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.
reasonstringInvalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. Known values are: "Invalid" and "AlreadyExists". (Invalid, AlreadyExists)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_name_availabilityselectlocation, subscription_idCheck resource name availability. Check if a resource name is available.
check_file_path_availabilityselectlocation, subscription_idCheck file path availability. Check if a file path is available.
query_network_sibling_setselectlocation, subscription_idDescribe a network sibling set. Get details of the specified network sibling set.
check_quota_availabilityexeclocation, subscription_id, name, type, resourceGroupCheck quota availability. Check if a quota is available.
query_region_infoexeclocation, subscription_idDescribes region specific information. Provides storage to network proximity and logical zone mapping information.
update_network_sibling_setexeclocation, subscription_id, networkSiblingSetId, subnetId, networkSiblingSetStateId, networkFeaturesUpdate the network features of a network sibling set. Update the network features of the specified network sibling set.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Check resource name availability. Check if a resource name is available.

SELECT
isAvailable,
message,
reason
FROM azure.netapp.net_app_resource
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Check quota availability. Check if a quota is available.

EXEC azure.netapp.net_app_resource.check_quota_availability 
@location='{{ location }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}",
"resourceGroup": "{{ resourceGroup }}"
}'
;