Skip to content

Disassociate File System

storagegateway_disassociate_file_system R Documentation

Disassociates an Amazon FSx file system from the specified gateway

Description

Disassociates an Amazon FSx file system from the specified gateway. After the disassociation process finishes, the gateway can no longer access the Amazon FSx file system. This operation is only supported in the FSx File Gateway type.

Usage

storagegateway_disassociate_file_system(FileSystemAssociationARN,
  ForceDelete)

Arguments

FileSystemAssociationARN

[required] The Amazon Resource Name (ARN) of the file system association to be deleted.

ForceDelete

If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

Value

A list with the following syntax:

list(
  FileSystemAssociationARN = "string"
)

Request syntax

svc$disassociate_file_system(
  FileSystemAssociationARN = "string",
  ForceDelete = TRUE|FALSE
)