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

package com.azure.resourcemanager.storagecache.generated;

import com.azure.resourcemanager.storagecache.models.AmlFilesystemSubnetInfo;
import com.azure.resourcemanager.storagecache.models.SkuName;

/** Samples for ResourceProvider CheckAmlFSSubnets. */
public final class ResourceProviderCheckAmlFSSubnetsSamples {
    /*
     * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/checkAmlFSSubnets.json
     */
    /**
     * Sample code: checkAmlFSSubnets.
     *
     * @param manager Entry point to StorageCacheManager.
     */
    public static void checkAmlFSSubnets(com.azure.resourcemanager.storagecache.StorageCacheManager manager) {
        manager
            .resourceProviders()
            .checkAmlFSSubnetsWithResponse(
                new AmlFilesystemSubnetInfo()
                    .withFilesystemSubnet(
                        "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub")
                    .withStorageCapacityTiB(16.0F)
                    .withSku(new SkuName().withName("AMLFS-Durable-Premium-125")),
                com.azure.core.util.Context.NONE);
    }
}
