Skip to main content

files_no_subscriptions

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

Overview

Namefiles_no_subscriptions
TypeResource
Idazure.support.files_no_subscriptions

Fields

NameDatatypeDescription
chunk_sizetextfield from the properties object
created_ontextfield from the properties object
fileNametextfield from the properties object
fileWorkspaceNametextfield from the properties object
file_sizetextfield from the properties object
number_of_chunkstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTfileName, fileWorkspaceNameReturns details of a specific file in a work space.
listSELECTfileWorkspaceNameLists all the Files information under a workspace for an Azure subscription.
createINSERTfileName, fileWorkspaceNameCreates a new file under a workspace.
uploadEXECfileName, fileWorkspaceNameThis API allows you to upload content to a file

SELECT examples

Lists all the Files information under a workspace for an Azure subscription.

SELECT
chunk_size,
created_on,
fileName,
fileWorkspaceName,
file_size,
number_of_chunks
FROM azure.support.vw_files_no_subscriptions
WHERE fileWorkspaceName = '{{ fileWorkspaceName }}';

INSERT example

Use the following StackQL query and manifest file to create a new files_no_subscriptions resource.

/*+ create */
INSERT INTO azure.support.files_no_subscriptions (
fileName,
fileWorkspaceName,
properties
)
SELECT
'{{ fileName }}',
'{{ fileWorkspaceName }}',
'{{ properties }}'
;