{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-fsx-ontap-response-schema.json",
  "title": "DescribeLocationFsxOntapResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-location-fsx-ontap-api-openapi.yml#/components/schemas/DescribeLocationFsxOntapResponse",
  "type": "object",
  "properties": {
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the location was created."
    },
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the FSx for ONTAP file system location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The uniform resource identifier (URI) of the FSx for ONTAP file system location."
    },
    "Protocol": {
      "$ref": "#/$defs/FsxProtocol"
    },
    "SecurityGroupArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The security groups that DataSync uses to access your FSx for ONTAP file system."
    },
    "StorageVirtualMachineArn": {
      "type": "string",
      "description": "The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file system where you're copying data to or from."
    },
    "FsxFilesystemArn": {
      "type": "string",
      "description": "The ARN of the FSx for ONTAP file system."
    }
  },
  "$defs": {
    "CmkSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn."
        },
        "KmsKeyArn": {
          "type": "string",
          "description": "Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn. DataSync provides this key to Secrets Manager."
        }
      }
    },
    "CustomSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        },
        "SecretAccessRoleArn": {
          "type": "string",
          "description": "Specifies the ARN for the Identity and Access Management role that DataSync uses to access the secret specified for SecretArn."
        }
      }
    },
    "FsxProtocol": {
      "type": "object",
      "properties": {
        "NFS": {
          "$ref": "#/$defs/FsxProtocolNfs"
        },
        "SMB": {
          "$ref": "#/$defs/FsxProtocolSmb"
        }
      }
    },
    "FsxProtocolNfs": {
      "type": "object",
      "properties": {
        "MountOptions": {
          "$ref": "#/$defs/NfsMountOptions"
        }
      }
    },
    "FsxProtocolSmb": {
      "type": "object",
      "properties": {
        "Domain": {
          "type": "string",
          "description": "Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to. If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM. If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right SVM."
        },
        "MountOptions": {
          "$ref": "#/$defs/SmbMountOptions"
        },
        "Password": {
          "type": "string",
          "description": "Specifies the password of a user who has permission to access your SVM."
        },
        "User": {
          "type": "string",
          "description": "Specifies a user that can mount and access the files, folders, and metadata in your SVM. For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol."
        },
        "ManagedSecretConfig": {
          "$ref": "#/$defs/ManagedSecretConfig"
        },
        "CmkSecretConfig": {
          "$ref": "#/$defs/CmkSecretConfig"
        },
        "CustomSecretConfig": {
          "$ref": "#/$defs/CustomSecretConfig"
        }
      },
      "required": [
        "User"
      ]
    },
    "ManagedSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        }
      }
    },
    "NfsMountOptions": {
      "type": "object",
      "properties": {
        "Version": {
          "type": "string",
          "enum": [
            "AUTOMATIC",
            "NFS3",
            "NFS4_0",
            "NFS4_1",
            "NFS4_2"
          ],
          "description": "Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails. You can specify the following options: AUTOMATIC (default): DataSync chooses NFS version 4.1. For Amazon FSx for OpenZFS locations, DataSync first attempts to use NFS version 4.2, then falls back to version 4.1, and then to earlier versions if needed. NFS3: Stateless protocol version that allows for asynchronous writes on the server. NFSv4_0: Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems. NFSv4"
        }
      }
    },
    "SmbMountOptions": {
      "type": "object",
      "properties": {
        "Version": {
          "type": "string",
          "enum": [
            "AUTOMATIC",
            "SMB2",
            "SMB3",
            "SMB1",
            "SMB2_0"
          ],
          "description": "By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server. You also can configure DataSync to use a specific SMB version, but we recommend doing this only if DataSync has trouble negotiating with the SMB file server automatically. These are the following options for configuring the SMB version: AUTOMATIC (default): DataSync and the SMB file server negotiate the highest version of SMB that they mutually support between 2.1 and 3.1.1. This is the recommended option. If you instead choose a specific version that your file server doesn't supp"
        }
      }
    }
  }
}