Share via


QumuloFileSystemResourceCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}
  • Operation Id: FileSystems_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Qumulo.QumuloFileSystemResource>> GetIfExistsAsync (string fileSystemName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Qumulo.QumuloFileSystemResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Qumulo.QumuloFileSystemResource>>
Public Overridable Function GetIfExistsAsync (fileSystemName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of QumuloFileSystemResource))

Parameters

fileSystemName
String

Name of the File System resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

fileSystemName is an empty string, and was expected to be non-empty.

fileSystemName is null.

Applies to