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

package com.azure.resourcemanager.paloaltonetworks.ngfw.generated;

import java.util.Arrays;

/** Samples for FqdnListLocalRulestack CreateOrUpdate. */
public final class FqdnListLocalRulestackCreateOrUpdateSamples {
    /*
     * x-ms-original-file: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2022-08-29/examples/FqdnListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json
     */
    /**
     * Sample code: FqdnListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.
     *
     * @param manager Entry point to PaloAltoNetworksNgfwManager.
     */
    public static void fqdnListLocalRulestackCreateOrUpdateMaximumSetGen(
        com.azure.resourcemanager.paloaltonetworks.ngfw.PaloAltoNetworksNgfwManager manager) {
        manager
            .fqdnListLocalRulestacks()
            .define("armid1")
            .withExistingLocalRulestack("rgopenapi", "lrs1")
            .withFqdnList(Arrays.asList("string1", "string2"))
            .withDescription("string")
            .withEtag("aaaaaaaaaaaaaaaaaa")
            .withAuditComment("string")
            .create();
    }

    /*
     * x-ms-original-file: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2022-08-29/examples/FqdnListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json
     */
    /**
     * Sample code: FqdnListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.
     *
     * @param manager Entry point to PaloAltoNetworksNgfwManager.
     */
    public static void fqdnListLocalRulestackCreateOrUpdateMinimumSetGen(
        com.azure.resourcemanager.paloaltonetworks.ngfw.PaloAltoNetworksNgfwManager manager) {
        manager
            .fqdnListLocalRulestacks()
            .define("armid1")
            .withExistingLocalRulestack("rgopenapi", "lrs1")
            .withFqdnList(Arrays.asList("string1", "string2"))
            .create();
    }
}
