"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.NetworkFabricController = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * The Network Fabric Controller resource definition.
 *
 * Uses Azure REST API version 2023-06-15. In version 2.x of the Azure Native provider, it used API version 2023-02-01-preview.
 *
 * Other available API versions: 2023-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native managednetworkfabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
class NetworkFabricController extends pulumi.CustomResource {
    /**
     * Get an existing NetworkFabricController resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name, id, opts) {
        return new NetworkFabricController(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of NetworkFabricController.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj) {
        if (obj === undefined || obj === null) {
            return false;
        }
        return obj['__pulumiType'] === NetworkFabricController.__pulumiType;
    }
    /**
     * Create a NetworkFabricController resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name, args, opts) {
        let resourceInputs = {};
        opts = opts || {};
        if (!opts.id) {
            if (args?.resourceGroupName === undefined && !opts.urn) {
                throw new Error("Missing required property 'resourceGroupName'");
            }
            resourceInputs["annotation"] = args?.annotation;
            resourceInputs["infrastructureExpressRouteConnections"] = args?.infrastructureExpressRouteConnections;
            resourceInputs["ipv4AddressSpace"] = (args?.ipv4AddressSpace) ?? "10.0.0.0/19";
            resourceInputs["ipv6AddressSpace"] = (args?.ipv6AddressSpace) ?? "FC00::/59";
            resourceInputs["isWorkloadManagementNetworkEnabled"] = (args?.isWorkloadManagementNetworkEnabled) ?? "True";
            resourceInputs["location"] = args?.location;
            resourceInputs["managedResourceGroupConfiguration"] = args?.managedResourceGroupConfiguration;
            resourceInputs["networkFabricControllerName"] = args?.networkFabricControllerName;
            resourceInputs["nfcSku"] = (args?.nfcSku) ?? "Standard";
            resourceInputs["resourceGroupName"] = args?.resourceGroupName;
            resourceInputs["tags"] = args?.tags;
            resourceInputs["workloadExpressRouteConnections"] = args?.workloadExpressRouteConnections;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["infrastructureServices"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["networkFabricIds"] = undefined /*out*/;
            resourceInputs["provisioningState"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["tenantInternetGatewayIds"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
            resourceInputs["workloadManagementNetwork"] = undefined /*out*/;
            resourceInputs["workloadServices"] = undefined /*out*/;
        }
        else {
            resourceInputs["annotation"] = undefined /*out*/;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["infrastructureExpressRouteConnections"] = undefined /*out*/;
            resourceInputs["infrastructureServices"] = undefined /*out*/;
            resourceInputs["ipv4AddressSpace"] = undefined /*out*/;
            resourceInputs["ipv6AddressSpace"] = undefined /*out*/;
            resourceInputs["isWorkloadManagementNetworkEnabled"] = undefined /*out*/;
            resourceInputs["location"] = undefined /*out*/;
            resourceInputs["managedResourceGroupConfiguration"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["networkFabricIds"] = undefined /*out*/;
            resourceInputs["nfcSku"] = undefined /*out*/;
            resourceInputs["provisioningState"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["tags"] = undefined /*out*/;
            resourceInputs["tenantInternetGatewayIds"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
            resourceInputs["workloadExpressRouteConnections"] = undefined /*out*/;
            resourceInputs["workloadManagementNetwork"] = undefined /*out*/;
            resourceInputs["workloadServices"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:managednetworkfabric/v20230201preview:NetworkFabricController" }, { type: "azure-native:managednetworkfabric/v20230615:NetworkFabricController" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(NetworkFabricController.__pulumiType, name, resourceInputs, opts);
    }
}
exports.NetworkFabricController = NetworkFabricController;
/** @internal */
NetworkFabricController.__pulumiType = 'azure-native:managednetworkfabric:NetworkFabricController';
//# sourceMappingURL=data:application/json;base64, 