pspulumiyaml.azurenative.portal.psm1

using module pspulumiyaml
function Invoke-AzureNativeFunctionPortalListListTenantConfigurationViolation
{
    param (
    )

    process
    {
        $arguments = @{}

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:listListTenantConfigurationViolation -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionPortalGetUserSettings
{
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the user settings)')]
        [string]
        $userSettingsName
    )

    process
    {
        $arguments = @{}
        $arguments["userSettingsName"] = $userSettingsName

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getUserSettings -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionPortalGetDashboard
{
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='The name of the dashboard.)')]
        [string]
        $dashboardName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getDashboard -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionPortalGetTenantConfiguration
{
    param (
        [parameter(mandatory=$False,HelpMessage='The configuration name. Value must be ''default'')')]
        [string]
        $configurationName
    )

    process
    {
        $arguments = @{}
        $arguments["configurationName"] = $configurationName

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getTenantConfiguration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionPortalGetConsole
{
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the console)')]
        [string]
        $consoleName
    )

    process
    {
        $arguments = @{}
        $arguments["consoleName"] = $consoleName

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getConsole -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionPortalGetConsoleWithLocation
{
    param (
        [parameter(mandatory=$False,HelpMessage='The provider location)')]
        [string]
        $location,
        [parameter(mandatory=$False,HelpMessage='The name of the console)')]
        [string]
        $consoleName
    )

    process
    {
        $arguments = @{}
        $arguments["consoleName"] = $consoleName
        $arguments["location"] = $location

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getConsoleWithLocation -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionPortalGetUserSettingsWithLocation
{
    param (
        [parameter(mandatory=$False,HelpMessage='The provider location)')]
        [string]
        $location,
        [parameter(mandatory=$False,HelpMessage='The name of the user settings)')]
        [string]
        $userSettingsName
    )

    process
    {
        $arguments = @{}
        $arguments["location"] = $location
        $arguments["userSettingsName"] = $userSettingsName

        $functionObject = Invoke-PulumiFunction -Name azure-native:portal:getUserSettingsWithLocation -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function New-AzureNativePortalDashboard
{
    [Alias('azure_native_portal_dashboard')]
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Resource tags)')]
        [hashtable]
        $tags,
        [parameter(mandatory=$False,HelpMessage='The dashboard metadata.)')]
        [object]
        $metadata,
        [parameter(mandatory=$False,HelpMessage='The name of the dashboard.)')]
        [string]
        $dashboardName,
        [parameter(mandatory=$False,HelpMessage='Resource location)')]
        [string]
        $location,
        [parameter(mandatory=$False,HelpMessage='The dashboard lenses.)')]
        $lenses,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid,
        [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')]
        [object]
        $DependsOn
    )

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

        foreach($Dependency in $DependsOn)
        {
            if($Dependency -is [pulumiresource])
            {
                $resource.dependson += $Dependency.Reference()
            } else
            {
                $resource.dependson += $Dependency
            }
        }
        $resource.properties["resourceGroupName"] = $resourceGroupName

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
class StorageProfile
{
    [string] $fileShareName
    [int] $diskSizeInGB
    [string] $storageAccountResourceId
}
function New-AzureNativeTypePortalStorageProfile
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -)')]
        [string]
        $fileShareName,
        [parameter(mandatory=$False,HelpMessage='Size of file share)')]
        [int]
        $diskSizeInGB,
        [parameter(mandatory=$False,HelpMessage='Full resource ID of storage account.)')]
        [string]
        $storageAccountResourceId
    )

    process
    {
        return $([StorageProfile]$PSBoundParameters)
    }
}
class TerminalSettings
{
    [ArgumentCompletions('NotSpecified', 'Small', 'Medium', 'Large')]
    [string] $fontSize
    [ArgumentCompletions('NotSpecified', 'Monospace', 'Courier')]
    [string] $fontStyle
}
function New-AzureNativeTypePortalTerminalSettings
{
    param (
        [parameter(mandatory=$False,HelpMessage='Size of terminal font.)')]
        [string]
        [ValidateSet('NotSpecified', 'Small', 'Medium', 'Large')]
        $fontSize,
        [parameter(mandatory=$False,HelpMessage='Style of terminal font.)')]
        [string]
        [ValidateSet('NotSpecified', 'Monospace', 'Courier')]
        $fontStyle
    )

    process
    {
        return $([TerminalSettings]$PSBoundParameters)
    }
}
class UserProperties
{
    [ArgumentCompletions('Windows', 'Linux')]
    [string] $preferredOsType
    [StorageProfile] $storageProfile
    [ArgumentCompletions('bash', 'pwsh', 'powershell')]
    [string] $preferredShellType
    [string] $preferredLocation
    [TerminalSettings] $terminalSettings
}
function New-AzureNativeTypePortalUserProperties
{
    param (
        [parameter(mandatory=$False,HelpMessage='The operating system type of the cloud shell. Deprecated, use preferredShellType.)')]
        [string]
        [ValidateSet('Windows', 'Linux')]
        $preferredOsType,
        [parameter(mandatory=$False,HelpMessage='The storage profile of the user settings.)')]
        [StorageProfile]
        $storageProfile,
        [parameter(mandatory=$False,HelpMessage='The shell type of the cloud shell.)')]
        [string]
        [ValidateSet('bash', 'pwsh', 'powershell')]
        $preferredShellType,
        [parameter(mandatory=$False,HelpMessage='The preferred location of the cloud shell.)')]
        [string]
        $preferredLocation,
        [parameter(mandatory=$False,HelpMessage='Settings for terminal appearance.)')]
        [TerminalSettings]
        $terminalSettings
    )

    process
    {
        return $([UserProperties]$PSBoundParameters)
    }
}
function New-AzureNativePortalUserSettingsWithLocation
{
    [Alias('azure_native_portal_usersettingswithlocation')]
    param (
        [parameter(mandatory=$False,HelpMessage='The provider location)')]
        [string]
        $location,
        [parameter(mandatory=$False,HelpMessage='The cloud shell user settings properties.)')]
        [UserProperties]
        $properties,
        [parameter(mandatory=$False,HelpMessage='The name of the user settings)')]
        [string]
        $userSettingsName,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid,
        [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')]
        [object]
        $DependsOn
    )

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

        foreach($Dependency in $DependsOn)
        {
            if($Dependency -is [pulumiresource])
            {
                $resource.dependson += $Dependency.Reference()
            } else
            {
                $resource.dependson += $Dependency
            }
        }
        $resource.properties["location"] = $location
        $resource.properties["properties"] = $properties

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativePortalUserSettings
{
    [Alias('azure_native_portal_usersettings')]
    param (
        [parameter(mandatory=$False,HelpMessage='The cloud shell user settings properties.)')]
        [UserProperties]
        $properties,
        [parameter(mandatory=$False,HelpMessage='The name of the user settings)')]
        [string]
        $userSettingsName,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid,
        [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')]
        [object]
        $DependsOn
    )

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

        foreach($Dependency in $DependsOn)
        {
            if($Dependency -is [pulumiresource])
            {
                $resource.dependson += $Dependency.Reference()
            } else
            {
                $resource.dependson += $Dependency
            }
        }
        $resource.properties["properties"] = $properties

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativePortalConsoleWithLocation
{
    [Alias('azure_native_portal_consolewithlocation')]
    param (
        [parameter(mandatory=$False,HelpMessage='The provider location)')]
        [string]
        $location,
        [parameter(mandatory=$False,HelpMessage='The name of the console)')]
        [string]
        $consoleName,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid,
        [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')]
        [object]
        $DependsOn
    )

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

        foreach($Dependency in $DependsOn)
        {
            if($Dependency -is [pulumiresource])
            {
                $resource.dependson += $Dependency.Reference()
            } else
            {
                $resource.dependson += $Dependency
            }
        }
        $resource.properties["location"] = $location

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativePortalTenantConfiguration
{
    [Alias('azure_native_portal_tenantconfiguration')]
    param (
        [parameter(mandatory=$False,HelpMessage='When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited.)')]
        [bool]
        $enforcePrivateMarkdownStorage,
        [parameter(mandatory=$False,HelpMessage='The configuration name. Value must be ''default'')')]
        [string]
        $configurationName,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid,
        [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')]
        [object]
        $DependsOn
    )

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

        foreach($Dependency in $DependsOn)
        {
            if($Dependency -is [pulumiresource])
            {
                $resource.dependson += $Dependency.Reference()
            } else
            {
                $resource.dependson += $Dependency
            }
        }

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
class ConsoleCreateProperties
{
    [string] $uri
    [ArgumentCompletions('Windows', 'Linux')]
    [string] $osType
    [ArgumentCompletions('NotSpecified', 'Accepted', 'Pending', 'Updating', 'Creating', 'Repairing', 'Failed', 'Canceled', 'Succeeded')]
    [string] $provisioningState
}
function New-AzureNativeTypePortalConsoleCreateProperties
{
    param (
        [parameter(mandatory=$False,HelpMessage='Uri of the console.)')]
        [string]
        $uri,
        [parameter(mandatory=$False,HelpMessage='The operating system type of the cloud shell.)')]
        [string]
        [ValidateSet('Windows', 'Linux')]
        $osType,
        [parameter(mandatory=$False,HelpMessage='Provisioning state of the console.)')]
        [string]
        [ValidateSet('NotSpecified', 'Accepted', 'Pending', 'Updating', 'Creating', 'Repairing', 'Failed', 'Canceled', 'Succeeded')]
        $provisioningState
    )

    process
    {
        return $([ConsoleCreateProperties]$PSBoundParameters)
    }
}
function New-AzureNativePortalConsole
{
    [Alias('azure_native_portal_console')]
    param (
        [parameter(mandatory=$False,HelpMessage='Cloud shell properties for creating a console.)')]
        [ConsoleCreateProperties]
        $properties,
        [parameter(mandatory=$False,HelpMessage='The name of the console)')]
        [string]
        $consoleName,
        [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')]
        [string]
        $pulumiid,
        [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')]
        [object]
        $DependsOn
    )

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

        foreach($Dependency in $DependsOn)
        {
            if($Dependency -is [pulumiresource])
            {
                $resource.dependson += $Dependency.Reference()
            } else
            {
                $resource.dependson += $Dependency
            }
        }
        $resource.properties["properties"] = $properties

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

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