pspulumiyaml.azurenative.azuredata.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionAzuredataGetSqlServer { param ( [parameter(mandatory=$False,HelpMessage='Name of the SQL Server registration.)')] [string] $sqlServerRegistrationName, [parameter(mandatory=$False,HelpMessage='The child resources to include in the response.)')] [string] $expand, [parameter(mandatory=$False,HelpMessage='Name of the SQL Server.)')] [string] $sqlServerName, [parameter(mandatory=$False,HelpMessage='Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.)')] [string] $resourceGroupName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["sqlServerName"] = $sqlServerName $arguments["sqlServerRegistrationName"] = $sqlServerRegistrationName if($PSBoundParameters.Keys -icontains 'expand') { $arguments["expand"] = $expand } $functionObject = Invoke-PulumiFunction -Name azure-native:azuredata:getSqlServer -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzuredataGetSqlServerRegistration { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of the SQL Server registration.)')] [string] $sqlServerRegistrationName ) process { $arguments = @{} $arguments["resourceGroupName"] = $resourceGroupName $arguments["sqlServerRegistrationName"] = $sqlServerRegistrationName $functionObject = Invoke-PulumiFunction -Name azure-native:azuredata:getSqlServerRegistration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeAzuredataSqlServer { [Alias('azure_native_azuredata_sqlserver')] param ( [parameter(mandatory=$False,HelpMessage='Cores of the Sql Server.)')] [int] $cores, [parameter(mandatory=$False,HelpMessage='Version of the Sql Server.)')] [string] $version, [parameter(mandatory=$False,HelpMessage='Sql Server Json Property Bag.)')] [string] $propertyBag, [parameter(mandatory=$False,HelpMessage='ID for Parent Sql Server Registration.)')] [string] $registrationID, [parameter(mandatory=$False,HelpMessage='Name of the SQL Server.)')] [string] $sqlServerName, [parameter(mandatory=$False,HelpMessage='Name of the SQL Server registration.)')] [string] $sqlServerRegistrationName, [parameter(mandatory=$False,HelpMessage='Sql Server Edition.)')] [string] $edition, [parameter(mandatory=$False,HelpMessage='Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.)')] [string] $resourceGroupName, [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:azuredata:SqlServer") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName $resource.properties["sqlServerRegistrationName"] = $sqlServerRegistrationName if($PSBoundParameters.Keys -icontains 'cores') { $resource.properties["cores"] = $cores } if($PSBoundParameters.Keys -icontains 'version') { $resource.properties["version"] = $version } if($PSBoundParameters.Keys -icontains 'propertyBag') { $resource.properties["propertyBag"] = $propertyBag } if($PSBoundParameters.Keys -icontains 'registrationID') { $resource.properties["registrationID"] = $registrationID } if($PSBoundParameters.Keys -icontains 'sqlServerName') { $resource.properties["sqlServerName"] = $sqlServerName } if($PSBoundParameters.Keys -icontains 'edition') { $resource.properties["edition"] = $edition } $global:pulumiresources += $resource return $resource } } function New-AzureNativeAzuredataSqlServerRegistration { [Alias('azure_native_azuredata_sqlserverregistration')] param ( [parameter(mandatory=$False,HelpMessage='Optional Properties as JSON string)')] [string] $propertyBag, [parameter(mandatory=$False,HelpMessage='Subscription Id)')] [string] $subscriptionId, [parameter(mandatory=$False,HelpMessage='Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of the SQL Server registration.)')] [string] $sqlServerRegistrationName, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Resource Group Name)')] [string] $resourceGroup, [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, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:azuredata:SqlServerRegistration") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'propertyBag') { $resource.properties["propertyBag"] = $propertyBag } if($PSBoundParameters.Keys -icontains 'subscriptionId') { $resource.properties["subscriptionId"] = $subscriptionId } if($PSBoundParameters.Keys -icontains 'sqlServerRegistrationName') { $resource.properties["sqlServerRegistrationName"] = $sqlServerRegistrationName } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'resourceGroup') { $resource.properties["resourceGroup"] = $resourceGroup } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } |