pspulumiyaml.azurenative.fluidrelay.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionFluidrelayGetFluidRelayServerKeys { param ( [parameter(mandatory=$False,HelpMessage='The resource name.)')] [string] $name, [parameter(mandatory=$False,HelpMessage='The resource group containing the resource.)')] [string] $resourceGroup ) process { $arguments = @{} $arguments["name"] = $name $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:fluidrelay:getFluidRelayServerKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionFluidrelayGetFluidRelayServer { param ( [parameter(mandatory=$False,HelpMessage='The resource name.)')] [string] $name, [parameter(mandatory=$False,HelpMessage='The resource group containing the resource.)')] [string] $resourceGroup ) process { $arguments = @{} $arguments["name"] = $name $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:fluidrelay:getFluidRelayServer -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionFluidrelayListFluidRelayServerKeys { param ( [parameter(mandatory=$False,HelpMessage='The resource group containing the resource.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='The Fluid Relay server resource name.)')] [string] $fluidRelayServerName ) process { $arguments = @{} $arguments["fluidRelayServerName"] = $fluidRelayServerName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:fluidrelay:listFluidRelayServerKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeFluidrelayFluidRelayServer { [Alias('azure_native_fluidrelay_fluidrelayserver')] param ( [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The resource group containing the resource.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='The resource name.)')] [string] $name, [parameter(mandatory=$False,HelpMessage='Provision states for FluidRelay RP)')] [string] [ValidateSet('Succeeded', 'Failed', 'Canceled')] $provisioningState, [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:fluidrelay:FluidRelayServer") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroup"] = $resourceGroup if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'name') { $resource.properties["name"] = $name } if($PSBoundParameters.Keys -icontains 'provisioningState') { $resource.properties["provisioningState"] = $provisioningState } $global:pulumiresources += $resource return $resource } } |