/// <summary> /// Get Datastores list. /// </summary> /// <remarks> /// Get the list of Datastores attached to the workspace. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The Azure Subscription ID. /// </param> /// <param name='resourceGroupName'> /// The Name of the resource group in which the workspace is located. /// </param> /// <param name='workspaceName'> /// The name of the workspace. /// </param> /// <param name='dataStoreNames'> /// List of Datastore names. /// </param> /// <param name='continuationToken'> /// The Continuation Token. /// </param> /// <param name='count'> /// Count of Datastores to be returned. /// </param> /// <param name='includeSecret'> /// Whether to include the datastore secret in the response. /// </param> public static IPage <DataStore> List(this IDataStoresOperations operations, System.Guid subscriptionId, string resourceGroupName, string workspaceName, IList <string> dataStoreNames = default(IList <string>), string continuationToken = default(string), int?count = 30, bool?includeSecret = true) { return(operations.ListAsync(subscriptionId, resourceGroupName, workspaceName, dataStoreNames, continuationToken, count, includeSecret).GetAwaiter().GetResult()); }