snowflake.core.external_volume.ExternalVolumeResourceΒΆ
- class snowflake.core.external_volume.ExternalVolumeResource(name: str, collection_class: ExternalVolumeCollectionBase)ΒΆ
- Bases: - ExternalVolumeResourceBase- Represents a reference to a Snowflake external volume. - With this external volume reference, you can fetch information about external volumes, as well as perform certain actions on them. - Attributes - rootΒΆ
- The Root object this reference belongs to. 
 - Methods - drop(if_exists: bool | None = None) NoneΒΆ
- Delete an external volume. - Parameters:
- if_exists (bool) β Parameter that specifies how to handle the request for a resource that does not exist: - true: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - false: The endpoint throws an error if the resource doesnβt exist. 
 
 - drop_async(if_exists: bool | None = None) PollingOperation[None]ΒΆ
- An asynchronous version of - drop().- Refer to - PollingOperationfor more information on asynchronous execution and the return type.
 - fetch() ExternalVolumeΒΆ
- Fetch an external volume. 
 - fetch_async() PollingOperation[ExternalVolume]ΒΆ
- An asynchronous version of - fetch().- Refer to - PollingOperationfor more information on asynchronous execution and the return type.
 - undrop() NoneΒΆ
- Undrop an external volume. 
 - undrop_async() PollingOperation[None]ΒΆ
- An asynchronous version of - undrop().- Refer to - PollingOperationfor more information on asynchronous execution and the return type.