// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.machinelearning.generated;

import java.util.Arrays;

/** Samples for Datastores List. */
public final class DatastoresListSamples {
    /*
     * x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Datastore/list.json
     */
    /**
     * Sample code: List datastores.
     *
     * @param manager Entry point to MachineLearningManager.
     */
    public static void listDatastores(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
        manager
            .datastores()
            .list(
                "test-rg",
                "my-aml-workspace",
                null,
                1,
                false,
                Arrays.asList("string"),
                "string",
                "string",
                false,
                com.azure.core.util.Context.NONE);
    }
}
