Amazon.ElasticFileSystem.AmazonElasticFileSystemClient.DescribeMountTargets C# (CSharp) Метод

DescribeMountTargets() публичный Метод

Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified.

This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId, or on the file system of the mount target that you specify in MountTargetId.

/// Returned if the request is malformed or contains an error such as an invalid parameter /// value or a missing required parameter. /// /// Returned if the specified FileSystemId does not exist in the requester's /// AWS account. /// /// Returned if an error occurred on the server side. /// /// Returned if there is no mount target with the specified ID found in the caller's account. ///
public DescribeMountTargets ( string fileSystemId ) : Amazon.ElasticFileSystem.Model.DescribeMountTargetsResponse
fileSystemId string (Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if MountTargetId is not included.
Результат Amazon.ElasticFileSystem.Model.DescribeMountTargetsResponse
        public DescribeMountTargetsResponse DescribeMountTargets(string fileSystemId)
        {
            var request = new DescribeMountTargetsRequest();
            request.FileSystemId = fileSystemId;
            return DescribeMountTargets(request);
        }

Same methods

AmazonElasticFileSystemClient::DescribeMountTargets ( DescribeMountTargetsRequest request ) : Amazon.ElasticFileSystem.Model.DescribeMountTargetsResponse