pspulumiyaml.azurenative.healthbot.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionHealthbotGetBot { param ( [parameter(mandatory=$False,HelpMessage='The name of the Bot resource group in the user subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The name of the Bot resource.)')] [string] $botName ) process { $arguments = @{} $arguments["botName"] = $botName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:healthbot:getBot -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class Sku { [ValidateSet('F0', 'S1', 'C0')] [object] $name } function New-AzureNativeTypeHealthbotSku { param ( [parameter(mandatory=$False,HelpMessage='The name of the HealthBot SKU)')] $name ) process { return $([Sku]$PSBoundParameters) } } function New-AzureNativeHealthbotBot { [Alias('azure_native_healthbot_bot')] param ( [parameter(mandatory=$False,HelpMessage='The name of the Bot resource.)')] [string] $botName, [parameter(mandatory=$False,HelpMessage='The name of the Bot resource group in the user subscription.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='SKU of the HealthBot.)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [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:healthbot:Bot") $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["sku"] = $sku if($PSBoundParameters.Keys -icontains 'botName') { $resource.properties["botName"] = $botName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } |