en-us/strings.psd1

# This is where the strings go, that are written by
# Write-PSFMessage, Stop-PSFFunction or the PSFramework validation scriptblocks
@{
    'AzurePIM.ConfigurationFileNotFound' = 'Can not find configuration file {0}.'
    'AzurePIM.RegisterComponent.AlreadyLoaded' = 'A {0} with name "{1}" from source configuration {2} has already been loaded. Ignoring {0}.'
    'AzurePIM.PrerequisiteNotActivated' = '[{0}] Configuration "{1}" is not activated. Please activate related configurations before this configuration. It is also possible to activate them in a single command.'
    'AzurePIM.TenantInformation' = 'Currently connected to <c="red">{0}</c> (<c="gray">{1}</c>)'
    'AzurePIM.TenantandSubscriptionInformation' = 'Currently connected to tenant/subscription: <c="red">{0}</c> (<c="gray">{1}</c>)/<c="red">{2}</c> (<c="gray">{3}</c>)'
    'AzurePIM.StartingTestForResource' = 'Running tests for <c="yellow">{0}</c>'
    'AzurePIM.StartingInvokeForResource' = 'Invoking <c="yellow">{0}</c>'
    'AzurePIM.TestResult.BeautifySimple' = '[Tenant: <c="gray">{0}</c>][{2} Resource: <c="gray">{1}</c>] Required Action (<c="{4}">{3}</c>)'
    'AzurePIM.TestResult.BeautifyPropertyChange' = ' > [<c="gray">{1}</c>][Property: <c="green">(</c><c="gray">{3}</c><c="green">)</c>] Action: (<c="yellow">{4}</c>) Value: (<c="gray">{5}</c>)'    
    'AzurePIM.NoDefinitions' = 'No <c="gray">{0}</c> definitions are loaded. There is nothing to do.'
    'AzurePIM.CannotResolveResource' = 'Cannot resolve {0} resource. Searched in the current tenant and in the loaded desired configuration.'
    'AzurePIM.UserCanceled' = 'User canceled the operation.'
    'AzurePIM.Error.QueryWithFilterFailed' = 'Query with filter {0} failed.'

    'AzurePIM.Register.PropertySetNotPossible' = 'The provided property set for "{0}" (Type: {1}) is not applicable.'
    'AzurePIM.Register.PropertyWrongType' = 'The provided property set for "{0}" (Type: {1}) is not applicable. The child property {2} has the wrong type. Must be {3} and is {4}.'

    'AzurePIM.Test.RelatedResourceDoesNotExist' = 'The related {0} {0} for the {0} {1} does not exist at the moment. Cannot test {0}.'
    'AzurePIM.Test.RelatedResourceResolveError' = 'The {0} for the {1} {2} cannot be resolved. Cannot test {2}.'
    'AzurePIM.Test.MultipleResourcesError' = 'There are multiple {0} with displayName {1} already created. Please clean your Tenant.'
    'AzurePIM.Test.BuiltInRoleDetected' = 'BuiltInRole {0} cannot be changed or deleted. Please clean your configuration.'

    'AzurePIM.Invoke.ActionTypeUnknown' = 'Action type (<c="yellow">{0}</c>) is unknown!'
    'AzurePIM.Invoke.ActionFailed' = '[Tenant: <c="gray">{0}</c>][{1} Resource: <c="gray">{2}</c>] Action ({3}) failed! Stopping actions.'
    'AzurePIM.Invoke.SendingRequestWithBody' = '[{0} {1}] Sending request with body {2}'
    'AzurePIM.Invoke.SendingRequest' = '[{0} {1}] Sending request'
    'AzurePIM.Invoke.ActionCompleted' = '[Tenant: <c="gray">{0}</c>][{1} Resource: <c="gray">{2}</c>] <c="green">Completed</c>.'

    'New-AzurePIMConfiguration.OutPath.PathDoesNotExist' = 'The path {0} does not exist. You can use -Force to create the configuration anyway!'
    'New-AzurePIMConfiguration.OutPath.AlreadyExists' = 'There is already a Tenant configuration in the target directory ({0}). You can use -Force to create the configuration anyway!'
    'New-AzurePIMConfiguration.OutPath.CreatingDirectory' = 'Creating configuration directory {0}.'
    'New-AzurePIMConfiguration.OutPath.CreatingStructure' = 'Copying template structure to {0}.'        
    
    'Activate-AzurePIMConfiguration.AlreadyActivated' = 'Configuration {0} ({1}) is already activated! Use -Force to overwrite.'
    'Activate-AzurePIMConfiguration.RemovingAlreadyLoaded' = 'Unloading already activated configuration {0} ({1}).'
    'Activate-AzurePIMConfiguration.Activating' = 'Activating {0} ({1}). This configuration will be considered when applying Tenant configuration.'
    'Activate-AzurePIMConfiguration.Sort' = 'Sorting all activated configurations by weight.'

    'Deactivate-AzurePIMConfiguration.NotActivated' = 'Configuration {0} is not activated.'
    'Deactivate-AzurePIMConfiguration.Deactivating' = 'Deactivating {0}. This configuration will not be considered when applying Tenant configuration.'
    'Deactivate-AzurePIMConfiguration.DeactivatingAll' = 'Deactivating all configurations. No configuration will be considered when applying Tenant configuration.'

    'Load-AzurePIMConfiguration.NotSupportedComponent' = 'Component {0} from configuration {1} is currently not supported and will be ignored.'    

    'Test-GraphConnection.Failed' = 'You are not connected to any Microsoft Tenant! Use Connect-MgGraph before testing or invoking settings.'
    'Test-AzureConnection.Failed' = 'You are not connected to any Microsoft Tenant! Use Connect-AzAccount before testing or invoking settings.'
}