"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, Object.assign(Object.assign({}, 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) {
        var _a, _b, _c, _d;
        let resourceInputs = {};
        opts = opts || {};
        if (!opts.id) {
            if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
                throw new Error("Missing required property 'resourceGroupName'");
            }
            resourceInputs["annotation"] = args ? args.annotation : undefined;
            resourceInputs["infrastructureExpressRouteConnections"] = args ? args.infrastructureExpressRouteConnections : undefined;
            resourceInputs["ipv4AddressSpace"] = (_a = (args ? args.ipv4AddressSpace : undefined)) !== null && _a !== void 0 ? _a : "10.0.0.0/19";
            resourceInputs["ipv6AddressSpace"] = (_b = (args ? args.ipv6AddressSpace : undefined)) !== null && _b !== void 0 ? _b : "FC00::/59";
            resourceInputs["isWorkloadManagementNetworkEnabled"] = (_c = (args ? args.isWorkloadManagementNetworkEnabled : undefined)) !== null && _c !== void 0 ? _c : "True";
            resourceInputs["location"] = args ? args.location : undefined;
            resourceInputs["managedResourceGroupConfiguration"] = args ? args.managedResourceGroupConfiguration : undefined;
            resourceInputs["networkFabricControllerName"] = args ? args.networkFabricControllerName : undefined;
            resourceInputs["nfcSku"] = (_d = (args ? args.nfcSku : undefined)) !== null && _d !== void 0 ? _d : "Standard";
            resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
            resourceInputs["tags"] = args ? args.tags : undefined;
            resourceInputs["workloadExpressRouteConnections"] = args ? args.workloadExpressRouteConnections : undefined;
            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, 