pspulumiyaml.azurenative.marketplace.psm1

using module pspulumiyaml
function Invoke-AzureNativeFunctionMarketplaceListPrivateStoreSubscriptionsContext
{
    param (
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:marketplace:listPrivateStoreSubscriptionsContext -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMarketplaceGetPrivateStoreCollection
{
    param (
        [parameter(mandatory=$False,HelpMessage='The collection ID)')]
        [string]
        $collectionId,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId
    )

    process
    {
        $arguments = @{}
        $arguments["collectionId"] = $collectionId
        $arguments["privateStoreId"] = $privateStoreId

        $functionObject = Invoke-PulumiFunction -Name azure-native:marketplace:getPrivateStoreCollection -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMarketplaceListPrivateStoreStopSellOffersPlansNotifications
{
    param (
        [parameter(mandatory=$False,HelpMessage=')')]
        [string[]]
        $subscriptions,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId
    )

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

        if($PSBoundParameters.Keys -icontains 'subscriptions')
        {
            $arguments["subscriptions"] = $subscriptions
        }

        $functionObject = Invoke-PulumiFunction -Name azure-native:marketplace:listPrivateStoreStopSellOffersPlansNotifications -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMarketplaceGetPrivateStoreOffer
{
    param (
        [parameter(mandatory=$False,HelpMessage='The offer ID to update or delete)')]
        [string]
        $offerId,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId
    )

    process
    {
        $arguments = @{}
        $arguments["offerId"] = $offerId
        $arguments["privateStoreId"] = $privateStoreId

        $functionObject = Invoke-PulumiFunction -Name azure-native:marketplace:getPrivateStoreOffer -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMarketplaceGetPrivateStoreCollectionOffer
{
    param (
        [parameter(mandatory=$False,HelpMessage='The collection ID)')]
        [string]
        $collectionId,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId,
        [parameter(mandatory=$False,HelpMessage='The offer ID to update or delete)')]
        [string]
        $offerId
    )

    process
    {
        $arguments = @{}
        $arguments["collectionId"] = $collectionId
        $arguments["offerId"] = $offerId
        $arguments["privateStoreId"] = $privateStoreId

        $functionObject = Invoke-PulumiFunction -Name azure-native:marketplace:getPrivateStoreCollectionOffer -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionMarketplaceListPrivateStoreNewPlansNotifications
{
    param (
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:marketplace:listPrivateStoreNewPlansNotifications -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function New-AzureNativeMarketplacePrivateStoreOffer
{
    [Alias('azure_native_marketplace_privatestoreoffer')]
    param (
        [parameter(mandatory=$False,HelpMessage='The offer ID to update or delete)')]
        [string]
        $offerId,
        [parameter(mandatory=$False,HelpMessage='Icon File Uris)')]
        [hashtable]
        $iconFileUris,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId,
        [parameter(mandatory=$False,HelpMessage='Identifier for purposes of race condition)')]
        [string]
        $eTag,
        [parameter(mandatory=$False,HelpMessage='Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated.)')]
        [bool]
        $updateSuppressedDueIdempotence,
        [parameter(mandatory=$False,HelpMessage='Plan ids limitation for this offer)')]
        [string[]]
        $specificPlanIdsLimitation,
        [parameter(mandatory=$False,HelpMessage='Offer plans)')]
        $plans,
        [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:marketplace:PrivateStoreOffer")

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

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

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativeMarketplacePrivateStoreCollectionOffer
{
    [Alias('azure_native_marketplace_privatestorecollectionoffer')]
    param (
        [parameter(mandatory=$False,HelpMessage='Icon File Uris)')]
        [hashtable]
        $iconFileUris,
        [parameter(mandatory=$False,HelpMessage='Identifier for purposes of race condition)')]
        [string]
        $eTag,
        [parameter(mandatory=$False,HelpMessage='Plan ids limitation for this offer)')]
        [string[]]
        $specificPlanIdsLimitation,
        [parameter(mandatory=$False,HelpMessage='Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated.)')]
        [bool]
        $updateSuppressedDueIdempotence,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId,
        [parameter(mandatory=$False,HelpMessage='Offer plans)')]
        $plans,
        [parameter(mandatory=$False,HelpMessage='The offer ID to update or delete)')]
        [string]
        $offerId,
        [parameter(mandatory=$False,HelpMessage='The collection ID)')]
        [string]
        $collectionId,
        [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:marketplace:PrivateStoreCollectionOffer")

        $resource.properties["collectionId"] = $collectionId
        $resource.properties["privateStoreId"] = $privateStoreId

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

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativeMarketplacePrivateStoreCollection
{
    [Alias('azure_native_marketplace_privatestorecollection')]
    param (
        [parameter(mandatory=$False,HelpMessage='Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request)')]
        [string[]]
        $subscriptionsList,
        [parameter(mandatory=$False,HelpMessage='Indicating whether all subscriptions are selected (=true) or not (=false).)')]
        [bool]
        $allSubscriptions,
        [parameter(mandatory=$False,HelpMessage='Gets or sets the association with Commercial''s Billing Account.)')]
        [string]
        $claim,
        [parameter(mandatory=$False,HelpMessage='The store ID - must use the tenant ID)')]
        [string]
        $privateStoreId,
        [parameter(mandatory=$False,HelpMessage='The collection ID)')]
        [string]
        $collectionId,
        [parameter(mandatory=$False,HelpMessage='Gets or sets collection name.)')]
        [string]
        $collectionName,
        [parameter(mandatory=$False,HelpMessage='Indicating whether the collection is enabled or disabled.)')]
        [bool]
        $enabled,
        [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:marketplace:PrivateStoreCollection")

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

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

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

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

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

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

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

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