pspulumiyaml.azurenative.datacatalog.psm1

using module pspulumiyaml
function Invoke-AzureNativeFunctionDatacatalogGetADCCatalog
{
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group within the user''s subscription. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='The name of the data catalog in the specified subscription and resource group.)')]
        [string]
        $catalogName
    )

    process
    {
        $arguments = @{}
        $arguments["catalogName"] = $catalogName
        $arguments["resourceGroupName"] = $resourceGroupName

        $functionObject = Invoke-PulumiFunction -Name azure-native:datacatalog:getADCCatalog -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function New-AzureNativeDatacatalogADCCatalog
{
    [Alias('azure_native_datacatalog_adccatalog')]
    param (
        [parameter(mandatory=$False,HelpMessage='Azure data catalog admin list.)')]
        $admins,
        [parameter(mandatory=$False,HelpMessage='Azure data catalog user list.)')]
        $users,
        [parameter(mandatory=$False,HelpMessage='The name of the data catalog in the specified subscription and resource group.)')]
        [string]
        $catalogName,
        [parameter(mandatory=$False,HelpMessage='The name of the resource group within the user''s subscription. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Azure data catalog units.)')]
        [int]
        $units,
        [parameter(mandatory=$False,HelpMessage='Azure data catalog SKU.)')]
        [string]
        [ValidateSet('Free', 'Standard')]
        $sku,
        [parameter(mandatory=$False,HelpMessage='Resource tags)')]
        [hashtable]
        $tags,
        [parameter(mandatory=$False,HelpMessage='Azure data catalog provision status.)')]
        [bool]
        $successfullyProvisioned,
        [parameter(mandatory=$False,HelpMessage='Automatic unit adjustment enabled or not.)')]
        [bool]
        $enableAutomaticUnitAdjustment,
        [parameter(mandatory=$False,HelpMessage='Resource location)')]
        [string]
        $location,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid
    )

    process
    {
        $resource = [pulumiresource]::new($pulumiid, "azure-native:datacatalog:ADCCatalog")

        $resource.properties["resourceGroupName"] = $resourceGroupName

        if($PSBoundParameters.Keys -icontains 'admins')
        {
            $resource.properties["admins"] = $admins
        }

        if($PSBoundParameters.Keys -icontains 'users')
        {
            $resource.properties["users"] = $users
        }

        if($PSBoundParameters.Keys -icontains 'catalogName')
        {
            $resource.properties["catalogName"] = $catalogName
        }

        if($PSBoundParameters.Keys -icontains 'units')
        {
            $resource.properties["units"] = $units
        }

        if($PSBoundParameters.Keys -icontains 'sku')
        {
            $resource.properties["sku"] = $sku
        }

        if($PSBoundParameters.Keys -icontains 'tags')
        {
            $resource.properties["tags"] = $tags
        }

        if($PSBoundParameters.Keys -icontains 'successfullyProvisioned')
        {
            $resource.properties["successfullyProvisioned"] = $successfullyProvisioned
        }

        if($PSBoundParameters.Keys -icontains 'enableAutomaticUnitAdjustment')
        {
            $resource.properties["enableAutomaticUnitAdjustment"] = $enableAutomaticUnitAdjustment
        }

        if($PSBoundParameters.Keys -icontains 'location')
        {
            $resource.properties["location"] = $location
        }

        $global:pulumiresources += $resource
        return $resource
    }
}