"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.WebAppDomainOwnershipIdentifierSlot = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * A domain specific resource identifier.
 *
 * Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01.
 *
 * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
class WebAppDomainOwnershipIdentifierSlot extends pulumi.CustomResource {
    /**
     * Get an existing WebAppDomainOwnershipIdentifierSlot 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 WebAppDomainOwnershipIdentifierSlot(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of WebAppDomainOwnershipIdentifierSlot.  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'] === WebAppDomainOwnershipIdentifierSlot.__pulumiType;
    }
    /**
     * Create a WebAppDomainOwnershipIdentifierSlot 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?.name === undefined && !opts.urn) {
                throw new Error("Missing required property 'name'");
            }
            if (args?.resourceGroupName === undefined && !opts.urn) {
                throw new Error("Missing required property 'resourceGroupName'");
            }
            if (args?.slot === undefined && !opts.urn) {
                throw new Error("Missing required property 'slot'");
            }
            resourceInputs["domainOwnershipIdentifierName"] = args?.domainOwnershipIdentifierName;
            resourceInputs["kind"] = args?.kind;
            resourceInputs["name"] = args?.name;
            resourceInputs["resourceGroupName"] = args?.resourceGroupName;
            resourceInputs["slot"] = args?.slot;
            resourceInputs["value"] = args?.value;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["kind"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
            resourceInputs["value"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:web/v20160801:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20180201:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20181101:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20190801:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20200601:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20200901:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20201001:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20201201:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20210101:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20210115:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20210201:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20210301:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20220301:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20220901:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20230101:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20231201:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20240401:WebAppDomainOwnershipIdentifierSlot" }, { type: "azure-native:web/v20241101:WebAppDomainOwnershipIdentifierSlot" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(WebAppDomainOwnershipIdentifierSlot.__pulumiType, name, resourceInputs, opts);
    }
}
exports.WebAppDomainOwnershipIdentifierSlot = WebAppDomainOwnershipIdentifierSlot;
/** @internal */
WebAppDomainOwnershipIdentifierSlot.__pulumiType = 'azure-native:web:WebAppDomainOwnershipIdentifierSlot';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2ViQXBwRG9tYWluT3duZXJzaGlwSWRlbnRpZmllclNsb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi93ZWIvd2ViQXBwRG9tYWluT3duZXJzaGlwSWRlbnRpZmllclNsb3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFDekMsMENBQTBDO0FBRTFDOzs7Ozs7R0FNRztBQUNILE1BQWEsbUNBQW9DLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFDMUU7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLG1DQUFtQyxDQUFDLElBQUksRUFBRSxTQUFnQixFQUFFLEVBQUUsR0FBRyxJQUFJLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDaEcsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3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