pspulumiyaml.azurenative.mixedreality.psm1

using module pspulumiyaml
function Invoke-AzureNativeFunctionMixedrealityListObjectAnchorsAccountKeys
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:listObjectAnchorsAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMixedrealityListRemoteRenderingAccountKeys
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:listRemoteRenderingAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMixedrealityGetSpatialAnchorsAccount
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:getSpatialAnchorsAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMixedrealityListSpatialAnchorsAccountKeys
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:listSpatialAnchorsAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMixedrealityGetObjectAnchorsAccount
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:getObjectAnchorsAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMixedrealityGetRemoteRenderingAccount
{
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:getRemoteRenderingAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
class ObjectAnchorsAccountIdentity
{
    [ValidateSet('SystemAssigned')]
    [object] $type
}
function New-AzureNativeTypeMixedrealityObjectAnchorsAccountIdentity
{
    param (
        [parameter(mandatory=$False,HelpMessage='The identity type.)')]
        $type
    )

    process
    {
        return $([ObjectAnchorsAccountIdentity]$PSBoundParameters)
    }
}
class Sku
{
    [int] $capacity
    [string] $size
    [string] $family
    [ValidateSet('Free', 'Basic', 'Standard', 'Premium')]
    [object] $tier
    [ValidateSet('Free', 'Basic', 'Standard', 'Premium')]
    [string] $name
}
function New-AzureNativeTypeMixedrealitySku
{
    param (
        [parameter(mandatory=$False,HelpMessage='If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.)')]
        [int]
        $capacity,
        [parameter(mandatory=$False,HelpMessage='The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. )')]
        [string]
        $size,
        [parameter(mandatory=$False,HelpMessage='If the service has different generations of hardware, for the same SKU, then that can be captured here.)')]
        [string]
        $family,
        [parameter(mandatory=$False,HelpMessage='This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.)')]
        $tier,
        [parameter(mandatory=$False,HelpMessage='The name of the SKU. Ex - P3. It is typically a letter+number code)')]
        [string]
        $name
    )

    process
    {
        return $([Sku]$PSBoundParameters)
    }
}
class Identity
{
    [ValidateSet('SystemAssigned')]
    [object] $type
}
function New-AzureNativeTypeMixedrealityIdentity
{
    param (
        [parameter(mandatory=$False,HelpMessage='The identity type.)')]
        $type
    )

    process
    {
        return $([Identity]$PSBoundParameters)
    }
}
function New-AzureNativeMixedrealityObjectAnchorsAccount
{
    [Alias('azure_native_mixedreality_objectanchorsaccount')]
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage=')')]
        [ObjectAnchorsAccountIdentity]
        $identity,
        [parameter(mandatory=$False,HelpMessage='The kind of account, if supported)')]
        [Sku]
        $kind,
        [parameter(mandatory=$False,HelpMessage='The sku associated with this account)')]
        [Sku]
        $sku,
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Resource tags.)')]
        [hashtable]
        $tags,
        [parameter(mandatory=$False,HelpMessage='The name of the storage account associated with this accountId)')]
        [string]
        $storageAccountName,
        [parameter(mandatory=$False,HelpMessage='The plan associated with this account)')]
        [Identity]
        $plan,
        [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')]
        [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:mixedreality:ObjectAnchorsAccount")

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

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

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

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

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativeMixedrealitySpatialAnchorsAccount
{
    [Alias('azure_native_mixedreality_spatialanchorsaccount')]
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='The identity associated with this account)')]
        [Identity]
        $identity,
        [parameter(mandatory=$False,HelpMessage='The kind of account, if supported)')]
        [Sku]
        $kind,
        [parameter(mandatory=$False,HelpMessage='The sku associated with this account)')]
        [Sku]
        $sku,
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Resource tags.)')]
        [hashtable]
        $tags,
        [parameter(mandatory=$False,HelpMessage='The name of the storage account associated with this accountId)')]
        [string]
        $storageAccountName,
        [parameter(mandatory=$False,HelpMessage='The plan associated with this account)')]
        [Identity]
        $plan,
        [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')]
        [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:mixedreality:SpatialAnchorsAccount")

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

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

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

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

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativeMixedrealityRemoteRenderingAccount
{
    [Alias('azure_native_mixedreality_remoterenderingaccount')]
    param (
        [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='The identity associated with this account)')]
        [Identity]
        $identity,
        [parameter(mandatory=$False,HelpMessage='The kind of account, if supported)')]
        [Sku]
        $kind,
        [parameter(mandatory=$False,HelpMessage='The sku associated with this account)')]
        [Sku]
        $sku,
        [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')]
        [string]
        $accountName,
        [parameter(mandatory=$False,HelpMessage='Resource tags.)')]
        [hashtable]
        $tags,
        [parameter(mandatory=$False,HelpMessage='The name of the storage account associated with this accountId)')]
        [string]
        $storageAccountName,
        [parameter(mandatory=$False,HelpMessage='The plan associated with this account)')]
        [Identity]
        $plan,
        [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')]
        [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:mixedreality:RemoteRenderingAccount")

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

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

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

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

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

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

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

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

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

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