pspulumiyaml.azurenative.orbital.psm1

using module pspulumiyaml
function Invoke-AzureNativeFunctionOrbitalGetContact
{
    param (
        [parameter(mandatory=$False,HelpMessage='Contact Name)')]
        [string]
        $contactName,
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Spacecraft ID)')]
        [string]
        $spacecraftName
    )

    process
    {
        $arguments = @{}
        $arguments["contactName"] = $contactName
        $arguments["resourceGroupName"] = $resourceGroupName
        $arguments["spacecraftName"] = $spacecraftName

        $functionObject = Invoke-PulumiFunction -Name azure-native:orbital:getContact -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionOrbitalGetContactProfile
{
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Contact Profile Name)')]
        [string]
        $contactProfileName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:orbital:getContactProfile -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
class ResourceReference
{
    [string] $id
}
function New-AzureNativeTypeOrbitalResourceReference
{
    param (
        [parameter(mandatory=$False,HelpMessage='Resource ID.)')]
        [string]
        $id
    )

    process
    {
        return $([ResourceReference]$PSBoundParameters)
    }
}
function Invoke-AzureNativeFunctionOrbitalListSpacecraftAvailableContacts
{
    param (
        [parameter(mandatory=$False,HelpMessage='Start time of a contact.)')]
        [string]
        $startTime,
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='End time of a contact.)')]
        [string]
        $endTime,
        [parameter(mandatory=$False,HelpMessage='Spacecraft ID)')]
        [string]
        $spacecraftName,
        [parameter(mandatory=$False,HelpMessage='Name of Azure Ground Station.)')]
        [string]
        $groundStationName,
        [parameter(mandatory=$False,HelpMessage='The reference to the contact profile resource.)')]
        [ResourceReference]
        $contactProfile
    )

    process
    {
        $arguments = @{}
        $arguments["contactProfile"] = $contactProfile
        $arguments["endTime"] = $endTime
        $arguments["groundStationName"] = $groundStationName
        $arguments["resourceGroupName"] = $resourceGroupName
        $arguments["spacecraftName"] = $spacecraftName
        $arguments["startTime"] = $startTime

        $functionObject = Invoke-PulumiFunction -Name azure-native:orbital:listSpacecraftAvailableContacts -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function Invoke-AzureNativeFunctionOrbitalGetSpacecraft
{
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Spacecraft ID)')]
        [string]
        $spacecraftName
    )

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

        $functionObject = Invoke-PulumiFunction -Name azure-native:orbital:getSpacecraft -variableName $([guid]::NewGuid().Guid) -Arguments $arguments
        return $functionObject
    }
}
function New-AzureNativeOrbitalContactProfile
{
    [Alias('azure_native_orbital_contactprofile')]
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Auto track configuration.)')]
        $autoTrackingConfiguration,
        [parameter(mandatory=$False,HelpMessage='Minimum viable contact duration in ISO 8601 format.)')]
        [string]
        $minimumViableContactDuration,
        [parameter(mandatory=$False,HelpMessage='Links of the Contact Profile)')]
        $links,
        [parameter(mandatory=$False,HelpMessage='Contact Profile Name)')]
        [string]
        $contactProfileName,
        [parameter(mandatory=$False,HelpMessage='Minimum viable elevation for the contact in decimal degrees.)')]
        [int]
        $minimumElevationDegrees,
        [parameter(mandatory=$False,HelpMessage='The URI of the Event Hub used for telemetry)')]
        [string]
        $eventHubUri,
        [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:orbital:ContactProfile")

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

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

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

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativeOrbitalSpacecraft
{
    [Alias('azure_native_orbital_spacecraft')]
    param (
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Line 1 of Two Line Element (TLE).)')]
        [string]
        $tleLine1,
        [parameter(mandatory=$False,HelpMessage='Links of the Spacecraft)')]
        $links,
        [parameter(mandatory=$False,HelpMessage='NORAD ID of the spacecraft.)')]
        [string]
        $noradId,
        [parameter(mandatory=$False,HelpMessage='Spacecraft ID)')]
        [string]
        $spacecraftName,
        [parameter(mandatory=$False,HelpMessage='Line 2 of Two Line Element (TLE).)')]
        [string]
        $tleLine2,
        [parameter(mandatory=$False,HelpMessage='Title line of Two Line Element (TLE).)')]
        [string]
        $titleLine,
        [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:orbital:Spacecraft")

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

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

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

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

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

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

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

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

        $global:pulumiresources += $resource
        return $resource
    }
}
function New-AzureNativeOrbitalContact
{
    [Alias('azure_native_orbital_contact')]
    param (
        [parameter(mandatory=$False,HelpMessage='Contact Name)')]
        [string]
        $contactName,
        [parameter(mandatory=$False,HelpMessage='Reservation start time of a contact.)')]
        [string]
        $reservationStartTime,
        [parameter(mandatory=$False,HelpMessage='The name of the resource group. The name is case insensitive.)')]
        [string]
        $resourceGroupName,
        [parameter(mandatory=$False,HelpMessage='Reservation end time of a contact.)')]
        [string]
        $reservationEndTime,
        [parameter(mandatory=$False,HelpMessage='Spacecraft ID)')]
        [string]
        $spacecraftName,
        [parameter(mandatory=$False,HelpMessage='Azure Ground Station name.)')]
        [string]
        $groundStationName,
        [parameter(mandatory=$False,HelpMessage='The reference to the contact profile resource.)')]
        [ResourceReference]
        $contactProfile,
        [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:orbital:Contact")

        $resource.properties["contactProfile"] = $contactProfile
        $resource.properties["groundStationName"] = $groundStationName
        $resource.properties["reservationEndTime"] = $reservationEndTime
        $resource.properties["reservationStartTime"] = $reservationStartTime
        $resource.properties["resourceGroupName"] = $resourceGroupName
        $resource.properties["spacecraftName"] = $spacecraftName

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

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