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

package com.azure.resourcemanager.resources.generated;

/** Samples for SubscriptionFeatureRegistrations Get. */
public final class SubscriptionFeatureRegistrationsGetSamples {
    /*
     * x-ms-original-file: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json
     */
    /**
     * Sample code: Gets a feature registration.
     *
     * @param azure The entry point for accessing resource management APIs in Azure.
     */
    public static void getsAFeatureRegistration(com.azure.resourcemanager.AzureResourceManager azure) {
        azure
            .genericResources()
            .manager()
            .featureClient()
            .getSubscriptionFeatureRegistrations()
            .getWithResponse(
                "subscriptionFeatureRegistrationGroupTestRG", "testFeature", com.azure.core.util.Context.NONE);
    }
}
