AzStackHciStandaloneObservability/package/bin/GMA/GetTelemetryStatusAndEditConfigs.ps1

##------------------------------------------------------------------
## <copyright file="GetTelemetryStatusAndEditConfigs.ps1" company="Microsoft">
## Copyright (C) Microsoft. All rights reserved.
## </copyright>
##------------------------------------------------------------------

Param (
    [Parameter(Mandatory=$true)]
    [System.String] $TaskName,

    [Parameter(Mandatory = $true)]
    [System.String] $GMACacheFolderPath,

    [Parameter(Mandatory = $true)]
    [System.String] $GmaPackageContentPath,

    [Parameter(Mandatory=$false)]
    [System.String] $TranscriptFolderPath = "$env:SystemDrive\Observability\MASLogs\ObsScheduledTaskTranscripts",

    [Parameter(Mandatory = $false)]
    [System.String] $DeviceArmResourceUri,

    [Parameter(Mandatory = $false)]
    [System.Boolean] $StreamingDataClient = $true,

    [Parameter(Mandatory=$true)]
    [System.String] $GcsNamespace
)

$functionName = $MyInvocation.MyCommand.Name

$transcriptFileName = "{0}.{1:yyyy-MM-dd}.log" -f $TaskName, $(Get-Date)
$transcriptFilePath = Join-Path -Path $TranscriptFolderPath -ChildPath $transcriptFileName
Start-Transcript -Path $transcriptFilePath -Append

try
{
    Import-Module (Join-Path -Path $GmaPackageContentPath -ChildPath 'GMATenantJsonHelper.psm1') `
        -NoClobber `
        -DisableNameChecking `
        -Verbose:$false

    ## Modify the LastWriteTime of Json files, so that the latest MA configs are pulled down.
    $jsonDropLocation = Join-Path $GMACacheFolderPath -ChildPath "JsonDropLocation"
    $jsonFiles = Get-ChildItem $jsonDropLocation
    foreach ($tenantJsonFile in $jsonFiles) {
        $tenantJsonFile.LastWriteTime = (Get-Date)
        Write-ObservabilityGMAEventSource -Message "$functionName : Modified the LastWriteTime of $tenantJsonFile to $($tenantJsonFile.LastWriteTime)."
    }

    $telemetryConfigFilePath = "$jsonDropLocation\AEOTelemetry.json"
    ## Determine the Telemetry status and based on that either create or delete or do nothing with respect to Telemetry tenant json file.
    $telemetryEnabled = $false
    if($StreamingDataClient)
    {
        if (Get-Command Get-AzureStackHCI -ErrorAction $MiscConstants.ErrorActionPreference.SilentlyContinue) {
            $azureStackHciDetails = Get-AzureStackHCI
            $diagnosticLevel = [System.Convert]::ToString($azureStackHciDetails.DiagnosticLevel).ToLower()
            if ($diagnosticLevel -ne "off")
            {
                Write-ObservabilityGMAEventSource -Message "$functionName : Telemetry will be enabled, DiagnosticLevel = $diagnosticLevel, StreamingDataValue = $StreamingDataClient."
                $telemetryEnabled = $true
            }
            else
            {
                Write-ObservabilityGMAEventSource -Message "$functionName : Telemetry will be disabled. DiagnosticLevel = $diagnosticLevel, StreamingDataClient = $StreamingDataClient"
            }
        }
        else
        {
            if([string]::IsNullOrEmpty($DeviceArmResourceUri))
            {
                Write-ObservabilityGMAEventSource -Message "$functionName : As Get-AzureStackHCI cmdlet is not available to fetch telemetry status, Telemetry will be disabled."
            }
            else
            {
                Write-ObservabilityGMAEventSource -Message "$functionName : Telemetry is enabled for 1PObservability because DeviceArmResourceUri is not empty. $DeviceArmResourceUri"
                $telemetryEnabled = $true
            }
        }
    }
    else
    {
        Write-ObservabilityGMAEventSource -Message "$functionName : Telemetry will be disabled. StreamingDataClient = $StreamingDataClient"
    }

    if ($telemetryEnabled) {
        if (-not (Test-Path $telemetryConfigFilePath)) {
            # Write log is used here as in this case GMA will never be up to listen to an ETW event
            Write-Log "$functionName : Telemetry json config file does not exists, creating config file." -WriteToConsole ## WriteToConsole is used as it will just write to transcript file and not the output or error stream.
            $configType = "Telemetry"
            & "$GmaPackageContentPath\NewMultiTenantJsonForObservabilityGMA.ps1" `
                -ConfigType $configType `
                -GmaPackageContentPath $GmaPackageContentPath `
                -TelemetryEnabled $telemetryEnabled `
                -TenantJsonFilePath $telemetryConfigFilePath `
                -GcsNamespace $GcsNamespace
        }
        else {
            Write-ObservabilityGMAEventSource -Message "$functionName : Telemetry json config file already exists, nothing to create."
        }
    }
    else {
        if (Test-Path $telemetryConfigFilePath) {
            Write-ObservabilityGMAEventSource -Message "$functionName : Telemetry json config file exists, removing the file."
            Remove-Item $telemetryConfigFilePath -Verbose
        }
        else {
            # Write log is used here as in this case GMA will never be up to listen to an ETW event
            Write-Log "$functionName : Telemetry json config file does not exists, nothing to remove." -WriteToConsole ## WriteToConsole is used as it will just write to transcript file and not the output or error stream.
        }
    }
}
catch
{
    $exceptionMessage = $_.Exception.Message
    Write-ObservabilityGMAEventSource -Message "$functionName : $exceptionMessage" -Level "ERROR"
}

Stop-Transcript
# SIG # Begin signature block
# MIInwQYJKoZIhvcNAQcCoIInsjCCJ64CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAkWfev+THgRBga
# EqktJgXJclOIPAQaYYrIA83YjryjGaCCDXYwggX0MIID3KADAgECAhMzAAADTrU8
# esGEb+srAAAAAANOMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMwMzE2MTg0MzI5WhcNMjQwMzE0MTg0MzI5WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
# AQDdCKiNI6IBFWuvJUmf6WdOJqZmIwYs5G7AJD5UbcL6tsC+EBPDbr36pFGo1bsU
# p53nRyFYnncoMg8FK0d8jLlw0lgexDDr7gicf2zOBFWqfv/nSLw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