// This is an automatically generated code sample. 
// To make this code sample work in your Oracle Cloud tenancy, 
// please replace the values for any parameters whose current values do not fit
// your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and 
// boolean, number, and enum parameters with values not fitting your use case).

import * as loganalytics from "oci-loganalytics";
import common = require("oci-common");

// Create a default authentication provider that uses the DEFAULT
// profile in the configuration file.
// Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.

const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider();

(async () => {
    try {
     // Create a service client
     const client = new loganalytics.LogAnalyticsClient({ authenticationDetailsProvider: provider });

     // Create a request and dependent object(s).
	const  testParserPayloadDetails = {
		content: "EXAMPLE-content-Value",
		description: "EXAMPLE-description-Value",
		displayName: "EXAMPLE-displayName-Value",
		encoding: "EXAMPLE-encoding-Value",
		exampleContent: "EXAMPLE-exampleContent-Value",
		fieldMaps: [{
				field: {
					ceeAlias: "EXAMPLE-ceeAlias-Value",
					dataType: "EXAMPLE-dataType-Value",
					regularExpression: "EXAMPLE-regularExpression-Value",
					description: "EXAMPLE-description-Value",
					displayName: "EXAMPLE-displayName-Value",
					editVersion: 335,
					facetPriority: 113,
					name: "EXAMPLE-name-Value",
					isFacetEligible: false,
					isHighCardinality: false,
					isLargeData: false,
					isMultiValued: true,
					isPrimary: true,
					isSystem: false,
					isSummarizable: true,
					mappedValue: "EXAMPLE-mappedValue-Value",
					isMetricKeyEligible: true,
					isMetricValueEligible: false,
					rangeFacetEligible: 740,
					isTableEligible: false,
					unitType: "EXAMPLE-unitType-Value",
					timeUpdated: new Date("Mon Mar 10 21:59:07 UTC 2014"),
					isKeepDuplicates: false,

					}
,
				parserFieldId: 810,
				parserFieldExpression: "EXAMPLE-parserFieldExpression-Value",
				parserFieldName: "EXAMPLE-parserFieldName-Value",
				storageFieldName: "EXAMPLE-storageFieldName-Value",
				parserFieldIntegratorName: "EXAMPLE-parserFieldIntegratorName-Value",
				parserName: "EXAMPLE-parserName-Value",
				parserFieldSequence: 822,
				parser: {
					content: "EXAMPLE-content-Value",
					description: "EXAMPLE-description-Value",
					displayName: "EXAMPLE-displayName-Value",
					editVersion: 849,
					encoding: "EXAMPLE-encoding-Value",
					exampleContent: "EXAMPLE-exampleContent-Value",
					footerContent: "EXAMPLE-footerContent-Value",
					headerContent: "EXAMPLE-headerContent-Value",
					name: "EXAMPLE-name-Value",
					isDefault: true,
					isSingleLineContent: false,
					isSystem: false,
					language: "EXAMPLE-language-Value",
					timeUpdated: new Date("Mon Dec 02 21:05:36 UTC 2047"),
					logTypeTestRequestVersion: 454,
					parserIgnorelineCharacters: "EXAMPLE-parserIgnorelineCharacters-Value",
					isHidden: true,
					parserSequence: 60,
					parserTimezone: "EXAMPLE-parserTimezone-Value",
					parserFilter: {
						id: "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
						agentVersion: "EXAMPLE-agentVersion-Value",
						isInUse: 451,
						operatingSystem: "EXAMPLE-operatingSystem-Value",
						parserId: 648,
						version: "EXAMPLE-version-Value",

						}
,
					isParserWrittenOnce: false,
					parserFunctions: [{
							parserMetaPlugin: {
								metaPluginParameters: [{
										description: "EXAMPLE-description-Value",
										name: "EXAMPLE-name-Value",
										isMandatory: true,
										isRepeatable: true,
										pluginName: "EXAMPLE-pluginName-Value",
										type: "EXAMPLE-type-Value",

										}
										],
								description: "EXAMPLE-description-Value",
								displayName: "EXAMPLE-displayName-Value",
								name: "EXAMPLE-name-Value",

								}
,
							parserFunctionId: 937,
							parserFunctionName: "EXAMPLE-parserFunctionName-Value",
							isEnabled: false,
							isSystem: true,
							parserId: 135,
							parserName: "EXAMPLE-parserName-Value",
							parserMetaPluginName: "EXAMPLE-parserMetaPluginName-Value",
							parserFunctionPriority: 423,
							parserFunctionParameters: [{
									parserFunctionId: 59,
									parserFunctionParameterName: "EXAMPLE-parserFunctionParameterName-Value",
									parserFunctionParameterId: 642,
									parserMetaPluginParameterName: "EXAMPLE-parserMetaPluginParameterName-Value",
									parserMetaPluginParameterValue: "EXAMPLE-parserMetaPluginParameterValue-Value",
									parserName: "EXAMPLE-parserName-Value",
									parserMetaPluginParameter: {
										description: "EXAMPLE-description-Value",
										name: "EXAMPLE-name-Value",
										isMandatory: false,
										isRepeatable: false,
										pluginName: "EXAMPLE-pluginName-Value",
										type: "EXAMPLE-type-Value",

										}
,

									}
									],

							}
							],
					sourcesCount: 335,
					sources: [{
							labelConditions: [{
									conditionString: "EXAMPLE-conditionString-Value",
									conditionBlock: {
										conditionBlocksOperator: loganalytics.models.ConditionBlock.ConditionBlocksOperator.NotOr,
										fieldName: "EXAMPLE-fieldName-Value",
										labelConditionOperator: "EXAMPLE-labelConditionOperator-Value",
										labelConditionValue: "EXAMPLE-labelConditionValue-Value",
										labelConditionValues: ["EXAMPLE--Value"												],

										}
,
									message: "EXAMPLE-message-Value",
									isVisible: true,
									blockConditionField: "EXAMPLE-blockConditionField-Value",
									blockConditionOperator: "EXAMPLE-blockConditionOperator-Value",
									blockConditionValue: "EXAMPLE-blockConditionValue-Value",
									labelConditionValue: "EXAMPLE-labelConditionValue-Value",
									labelConditionValues: ["EXAMPLE--Value"											],
									contentExample: "EXAMPLE-contentExample-Value",
									isEnabled: false,
									fieldName: "EXAMPLE-fieldName-Value",
									labelConditionId: 789,
									isSystem: false,
									labelConditionOperator: "EXAMPLE-labelConditionOperator-Value",
									sourceId: 441,
									labelDisplayName: "EXAMPLE-labelDisplayName-Value",
									storageField: "EXAMPLE-storageField-Value",
									labelName: "EXAMPLE-labelName-Value",
									isInlineLabelExistingInDatabase: true,

									}
									],
							associationCount: 935,
							associationEntity: [{
									failureMessage: "EXAMPLE-failureMessage-Value",
									agentId: "ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value",
									timeLastAttempted: new Date("Sat Apr 14 03:42:24 UTC 2040"),
									retryCount: 589,
									sourceName: "EXAMPLE-sourceName-Value",
									sourceDisplayName: "EXAMPLE-sourceDisplayName-Value",
									sourceTypeName: "EXAMPLE-sourceTypeName-Value",
									lifeCycleState: loganalytics.models.LogAnalyticsAssociation.LifeCycleState.Succeeded,
									entityId: "ocid1.test.oc1..<unique_ID>EXAMPLE-entityId-Value",
									entityName: "EXAMPLE-entityName-Value",
									entityTypeName: "EXAMPLE-entityTypeName-Value",
									host: "EXAMPLE-host-Value",
									agentEntityName: "EXAMPLE-agentEntityName-Value",
									entityTypeDisplayName: "EXAMPLE-entityTypeDisplayName-Value",
									logGroupId: "ocid1.test.oc1..<unique_ID>EXAMPLE-logGroupId-Value",
									logGroupName: "EXAMPLE-logGroupName-Value",
									logGroupCompartment: "EXAMPLE-logGroupCompartment-Value",
									associationProperties: [{
											name: "EXAMPLE-name-Value",
											value: "EXAMPLE-value-Value",
											patterns: [{
													id: "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
													value: "EXAMPLE-value-Value",
													effectiveLevel: "EXAMPLE-effectiveLevel-Value",

													}
													],

											}
											],

									}
									],
							dataFilterDefinitions: [{
									description: "EXAMPLE-description-Value",
									displayName: "EXAMPLE-displayName-Value",
									editVersion: 540,
									isEnabled: false,
									fieldName: "EXAMPLE-fieldName-Value",
									hashType: 965,
									dataFilterId: 292,
									isSystem: false,
									matchRegularExpression: "EXAMPLE-matchRegularExpression-Value",
									order: 544,
									path: "EXAMPLE-path-Value",
									replacementString: "EXAMPLE-replacementString-Value",
									sourceId: 276,
									filterType: loganalytics.models.LogAnalyticsSourceDataFilter.FilterType.HashMask,

									}
									],
							databaseCredential: "EXAMPLE-databaseCredential-Value",
							extendedFieldDefinitions: [{
									field: {
										ceeAlias: "EXAMPLE-ceeAlias-Value",
										dataType: "EXAMPLE-dataType-Value",
										regularExpression: "EXAMPLE-regularExpression-Value",
										description: "EXAMPLE-description-Value",
										displayName: "EXAMPLE-displayName-Value",
										editVersion: 691,
										facetPriority: 636,
										name: "EXAMPLE-name-Value",
										isFacetEligible: true,
										isHighCardinality: false,
										isLargeData: true,
										isMultiValued: false,
										isPrimary: true,
										isSystem: false,
										isSummarizable: true,
										mappedValue: "EXAMPLE-mappedValue-Value",
										isMetricKeyEligible: true,
										isMetricValueEligible: false,
										rangeFacetEligible: 282,
										isTableEligible: false,
										unitType: "EXAMPLE-unitType-Value",
										timeUpdated: new Date("Thu Jun 09 22:31:08 UTC 2005"),
										isKeepDuplicates: false,

										}
,
									displayRegularExpression: "EXAMPLE-displayRegularExpression-Value",
									extendedFields: [{
											field: {
												ceeAlias: "EXAMPLE-ceeAlias-Value",
												dataType: "EXAMPLE-dataType-Value",
												regularExpression: "EXAMPLE-regularExpression-Value",
												description: "EXAMPLE-description-Value",
												displayName: "EXAMPLE-displayName-Value",
												editVersion: 851,
												facetPriority: 18,
												name: "EXAMPLE-name-Value",
												isFacetEligible: true,
												isHighCardinality: false,
												isLargeData: false,
												isMultiValued: false,
												isPrimary: true,
												isSystem: true,
												isSummarizable: false,
												mappedValue: "EXAMPLE-mappedValue-Value",
												isMetricKeyEligible: false,
												isMetricValueEligible: true,
												rangeFacetEligible: 906,
												isTableEligible: true,
												unitType: "EXAMPLE-unitType-Value",
												timeUpdated: new Date("Mon Nov 10 09:26:04 UTC 2025"),
												isKeepDuplicates: false,

												}
,
											extendedFieldDefinitionId: 450,
											fieldName: "EXAMPLE-fieldName-Value",
											fieldDisplayName: "EXAMPLE-fieldDisplayName-Value",
											savedRegularExpressionName: "EXAMPLE-savedRegularExpressionName-Value",
											extendedFieldId: 55,

											}
											],
									baseFieldName: "EXAMPLE-baseFieldName-Value",
									baseFieldLogText: "EXAMPLE-baseFieldLogText-Value",
									conditionDataType: "EXAMPLE-conditionDataType-Value",
									conditionField: "EXAMPLE-conditionField-Value",
									conditionOperator: "EXAMPLE-conditionOperator-Value",
									conditionValue: "EXAMPLE-conditionValue-Value",
									convertedRegularExpression: "EXAMPLE-convertedRegularExpression-Value",
									isEnabled: true,
									extendedFieldDefinitionId: 456,
									isSystem: false,
									regularExpression: "EXAMPLE-regularExpression-Value",
									sourceId: 340,
									timeUpdated: new Date("Thu Jan 14 22:05:49 UTC 2010"),
									conditionString: "EXAMPLE-conditionString-Value",
									conditionBlock: {
										conditionBlocksOperator: loganalytics.models.GenericConditionBlock.ConditionBlocksOperator.And,
										name: "EXAMPLE-name-Value",
										operator: "EXAMPLE-operator-Value",
										value: "EXAMPLE-value-Value",
										values: ["EXAMPLE--Value"												],

										}
,

									}
									],
							isForCloud: false,
							labels: [{
									aliases: [{
											alias: "EXAMPLE-alias-Value",
											aliasDisplayName: "EXAMPLE-aliasDisplayName-Value",
											isSystem: true,
											displayName: "EXAMPLE-displayName-Value",
											name: "EXAMPLE-name-Value",
											priority: loganalytics.models.LogAnalyticsLabelAlias.Priority.Medium,

											}
											],
									countUsageInAlertRule: 727,
									countUsageInSource: 11,
									id: "EXAMPLE-id-Value",
									suggestType: 9,
									description: "EXAMPLE-description-Value",
									displayName: "EXAMPLE-displayName-Value",
									editVersion: 835,
									impact: "EXAMPLE-impact-Value",
									isSystem: false,
									name: "EXAMPLE-name-Value",
									priority: loganalytics.models.LogAnalyticsLabelView.Priority.Low,
									recommendation: "EXAMPLE-recommendation-Value",
									type: 174,
									isUserDeleted: false,

									}
									],
							metricDefinitions: [{
									aggregationField: "EXAMPLE-aggregationField-Value",
									bucketMetadata: "EXAMPLE-bucketMetadata-Value",
									clockPeriod: "EXAMPLE-clockPeriod-Value",
									description: "EXAMPLE-description-Value",
									editVersion: 952,
									fieldName: "EXAMPLE-fieldName-Value",
									fieldValues: ["EXAMPLE--Value"											],
									groupingField: "EXAMPLE-groupingField-Value",
									isEnabled: false,
									isSystem: false,
									displayName: "EXAMPLE-displayName-Value",
									metricReference: 725,
									name: "EXAMPLE-name-Value",
									metricType: loganalytics.models.LogAnalyticsMetric.MetricType.CountDistribution,
									isMetricSourceEnabled: false,
									operator: loganalytics.models.LogAnalyticsMetric.Operator.EqualIgnoreCase,
									entityType: "EXAMPLE-entityType-Value",
									timeUpdated: new Date("Sun Jan 05 08:04:03 UTC 2003"),
									unitType: "EXAMPLE-unitType-Value",
									isUserCustomized: false,

									}
									],
							metrics: [{
									isMetricSourceEnabled: false,
									metricName: "EXAMPLE-metricName-Value",
									sourceName: "EXAMPLE-sourceName-Value",
									entityType: "EXAMPLE-entityType-Value",

									}
									],
							parameters: [{
									defaultValue: "EXAMPLE-defaultValue-Value",
									description: "EXAMPLE-description-Value",
									isActive: true,
									name: "EXAMPLE-name-Value",
									sourceId: 624,

									}
									],
							patternCount: 434,
							patterns: [{
									convertedText: "EXAMPLE-convertedText-Value",
									dbParserId: 133,
									dbPatternDateTimeColumns: "EXAMPLE-dbPatternDateTimeColumns-Value",
									dbPatternDateTimeField: "EXAMPLE-dbPatternDateTimeField-Value",
									dbPatternSequenceColumn: "EXAMPLE-dbPatternSequenceColumn-Value",
									isInclude: true,
									isDefault: true,
									patternFilter: {
										agentVersion: "EXAMPLE-agentVersion-Value",
										isInUse: false,
										operatingSystem: "EXAMPLE-operatingSystem-Value",
										patternId: 539,
										sourceId: 83,
										version: "EXAMPLE-version-Value",

										}
,
									alias: "EXAMPLE-alias-Value",
									description: "EXAMPLE-description-Value",
									isEnabled: true,
									patternId: 418,
									isSystem: false,
									sourceId: 671,
									isAgentWarningSuppressed: false,
									patternText: "EXAMPLE-patternText-Value",
									patternType: 627,
									entityType: ["EXAMPLE--Value"											],
									patternProperties: [{
											name: "EXAMPLE-name-Value",
											value: "EXAMPLE-value-Value",

											}
											],

									}
									],
							description: "EXAMPLE-description-Value",
							displayName: "EXAMPLE-displayName-Value",
							editVersion: 203,
							functions: [{
									arguments: [{
											isOverrideOutputFields: false,
											argumentDisplayName: "EXAMPLE-argumentDisplayName-Value",
											argumentExample: "EXAMPLE-argumentExample-Value",
											argumentService: "EXAMPLE-argumentService-Value",
											argumentDataType: "EXAMPLE-argumentDataType-Value",
											argumentDescription: "EXAMPLE-argumentDescription-Value",
											argumentName: "EXAMPLE-argumentName-Value",
											argumentOrder: 351,
											argumentType: 108,
											argumentId: 969,
											argumentLookupColumn: "EXAMPLE-argumentLookupColumn-Value",
											argumentLookupColumnPosition: 941,
											argumentValue: "EXAMPLE-argumentValue-Value",
											argumentReference: "EXAMPLE-argumentReference-Value",

											}
											],
									isEnabled: true,
									function: {
										metaFunctionArgument: [{
												isOverrideOutputFields: true,
												argumentDisplayName: "EXAMPLE-argumentDisplayName-Value",
												argumentExample: "EXAMPLE-argumentExample-Value",
												argumentService: "EXAMPLE-argumentService-Value",
												argumentDataType: "EXAMPLE-argumentDataType-Value",
												argumentDescription: "EXAMPLE-argumentDescription-Value",
												argumentName: "EXAMPLE-argumentName-Value",
												argumentOrder: 532,
												argumentType: 967,
												argumentId: 1,
												argumentLookupColumn: "EXAMPLE-argumentLookupColumn-Value",
												argumentLookupColumnPosition: 204,
												argumentValue: "EXAMPLE-argumentValue-Value",
												argumentReference: "EXAMPLE-argumentReference-Value",

												}
												],
										component: "EXAMPLE-component-Value",
										description: "EXAMPLE-description-Value",
										editVersion: 72,
										metaFunctionId: 631,
										javaClassName: "EXAMPLE-javaClassName-Value",
										name: "EXAMPLE-name-Value",

										}
,
									functionName: loganalytics.models.LogAnalyticsSourceFunction.FunctionName.Geolocation,
									functionReference: "EXAMPLE-functionReference-Value",
									sourceReference: "EXAMPLE-sourceReference-Value",
									features: ["EXAMPLE--Value"											],
									functionId: 568,
									order: 581,
									isSystem: false,
									lookupColumn: "EXAMPLE-lookupColumn-Value",
									lookupColumnPosition: 475,
									lookupDisplayName: "EXAMPLE-lookupDisplayName-Value",
									lookupMode: 818,
									lookupTable: "EXAMPLE-lookupTable-Value",
									sourceId: 447,

									}
									],
							sourceId: 124,
							name: "EXAMPLE-name-Value",
							isSecureContent: false,
							isSystem: true,
							isAutoAssociationEnabled: false,
							isAutoAssociationOverride: false,
							ruleId: 468,
							typeName: "EXAMPLE-typeName-Value",
							typeDisplayName: "EXAMPLE-typeDisplayName-Value",
							warningConfig: 981,
							metadataFields: [{
									fieldName: "EXAMPLE-fieldName-Value",
									isEnabled: true,
									isSystem: true,
									key: "EXAMPLE-key-Value",
									sourceName: "EXAMPLE-sourceName-Value",

									}
									],
							labelDefinitions: [{
									editVersion: 878,
									isSystem: true,
									sourceId: 247,
									labelName: "EXAMPLE-labelName-Value",

									}
									],
							entityTypes: [{
									sourceId: 250,
									entityType: "EXAMPLE-entityType-Value",
									entityTypeCategory: "EXAMPLE-entityTypeCategory-Value",
									entityTypeDisplayName: "EXAMPLE-entityTypeDisplayName-Value",

									}
									],
							isTimezoneOverride: false,
							timeUpdated: new Date("Fri Jan 13 01:01:36 UTC 2017"),
							eventTypes: [{
									eventTypeName: "EXAMPLE-eventTypeName-Value",
									specVersion: "EXAMPLE-specVersion-Value",
									isEnabled: false,
									isSystem: false,
									timeUpdated: new Date("Thu Jun 21 23:33:58 UTC 2029"),

									}
									],
							categories: [{
									name: "EXAMPLE-name-Value",
									description: "EXAMPLE-description-Value",
									displayName: "EXAMPLE-displayName-Value",
									type: "EXAMPLE-type-Value",
									isSystem: true,

									}
									],
							endpoints: [{
									endpointType: "LOG",									logEndpoint: {
										name: "EXAMPLE-name-Value",
										description: "EXAMPLE-description-Value",
										model: "EXAMPLE-model-Value",
										endpointId: 93,
										request: {
											method: loganalytics.requests.EndpointRequest.Method.Get,
											url: "EXAMPLE-url-Value",
											contentType: "EXAMPLE-contentType-Value",
											payload: "EXAMPLE-payload-Value",
											headers: [{
													name: "EXAMPLE-name-Value",
													value: "EXAMPLE-value-Value",

													}
													],
											formParameters: [{
													name: "EXAMPLE-name-Value",
													value: "EXAMPLE-value-Value",

													}
													],

											}
,
										response: {
											contentType: "EXAMPLE-contentType-Value",
											example: "EXAMPLE-example-Value",

											}
,
										credentials: {
											credentialType: loganalytics.models.EndpointCredentials.CredentialType.DynamicToken,
											credentialName: "EXAMPLE-credentialName-Value",
											credentialEndpoint: {
												name: "EXAMPLE-name-Value",
												description: "EXAMPLE-description-Value",
												model: "EXAMPLE-model-Value",
												endpointId: 803,
												response: {
													contentType: "EXAMPLE-contentType-Value",
													example: "EXAMPLE-example-Value",

													}
,
												proxy: {
													url: "EXAMPLE-url-Value",
													credentialName: "EXAMPLE-credentialName-Value",
													credentialType: loganalytics.models.EndpointProxy.CredentialType.Token,

													}
,

												}
,

											}
,
										proxy: {
											url: "EXAMPLE-url-Value",
											credentialName: "EXAMPLE-credentialName-Value",
											credentialType: loganalytics.models.EndpointProxy.CredentialType.None,

											}
,
										isEnabled: false,
										isSystem: true,
										endpointProperties: [{
												name: "EXAMPLE-name-Value",
												value: "EXAMPLE-value-Value",

												}
												],

										}


									}
									],
							sourceProperties: [{
									name: "EXAMPLE-name-Value",
									value: "EXAMPLE-value-Value",

									}
									],

							}
							],
					shouldTokenizeOriginalText: false,
					fieldDelimiter: "EXAMPLE-fieldDelimiter-Value",
					fieldQualifier: "EXAMPLE-fieldQualifier-Value",
					type: loganalytics.models.LogAnalyticsParser.Type.Delimited,
					isUserDeleted: true,
					isNamespaceAware: false,
					categories: [{
							name: "EXAMPLE-name-Value",
							description: "EXAMPLE-description-Value",
							displayName: "EXAMPLE-displayName-Value",
							type: "EXAMPLE-type-Value",
							isSystem: true,

							}
							],
					isPositionAware: true,
					dependentSources: [{
							sourceName: "EXAMPLE-sourceName-Value",
							sourceDisplayName: "EXAMPLE-sourceDisplayName-Value",
							sourceId: 246,
							sourceType: "EXAMPLE-sourceType-Value",
							isSystem: false,
							isAutoAssociationEnabled: false,
							entityTypes: [{
									sourceId: 564,
									entityType: "EXAMPLE-entityType-Value",
									entityTypeCategory: "EXAMPLE-entityTypeCategory-Value",
									entityTypeDisplayName: "EXAMPLE-entityTypeDisplayName-Value",

									}
									],
							dependencies: [{
									type: "EXAMPLE-type-Value",
									referenceType: "EXAMPLE-referenceType-Value",
									referenceId: 299,
									referenceName: "EXAMPLE-referenceName-Value",
									referenceDisplayName: "EXAMPLE-referenceDisplayName-Value",

									}
									],

							}
							],
					dependentParsers: [{
							parserName: "EXAMPLE-parserName-Value",
							parserDisplayName: "EXAMPLE-parserDisplayName-Value",
							parserId: 239,
							isSystem: false,
							parserType: loganalytics.models.DependentParser.ParserType.Delimited,
							dependencies: [{
									type: "EXAMPLE-type-Value",
									referenceType: "EXAMPLE-referenceType-Value",
									referenceId: 788,
									referenceName: "EXAMPLE-referenceName-Value",
									referenceDisplayName: "EXAMPLE-referenceDisplayName-Value",

									}
									],

							}
							],

					}
,
				structuredColumnInfo: "EXAMPLE-structuredColumnInfo-Value",
				actions: [{
						name: "EXAMPLE-name-Value",
						order: 556,

						}
						],

				}
				],
		footerContent: "EXAMPLE-footerContent-Value",
		headerContent: "EXAMPLE-headerContent-Value",
		name: "EXAMPLE-name-Value",
		isDefault: true,
		isSingleLineContent: false,
		isSystem: true,
		language: "EXAMPLE-language-Value",
		timeUpdated: new Date("Mon Apr 03 19:12:59 UTC 2023"),
		logTypeTestRequestVersion: 517,
		metadata: {
			lastModifiedTime: "EXAMPLE-lastModifiedTime-Value",
			logFileName: "EXAMPLE-logFileName-Value",
			timeZone: new Date("Fri Jun 14 13:42:02 UTC 2013"),

			}
,
		parserIgnorelineCharacters: "EXAMPLE-parserIgnorelineCharacters-Value",
		isHidden: 801,
		parserSequence: 184,
		parserTimezone: "EXAMPLE-parserTimezone-Value",
		isParserWrittenOnce: true,
		parserFunctions: [{
				parserMetaPlugin: {
					metaPluginParameters: [{
							description: "EXAMPLE-description-Value",
							name: "EXAMPLE-name-Value",
							isMandatory: false,
							isRepeatable: true,
							pluginName: "EXAMPLE-pluginName-Value",
							type: "EXAMPLE-type-Value",

							}
							],
					description: "EXAMPLE-description-Value",
					displayName: "EXAMPLE-displayName-Value",
					name: "EXAMPLE-name-Value",

					}
,
				parserFunctionId: 260,
				parserFunctionName: "EXAMPLE-parserFunctionName-Value",
				isEnabled: true,
				isSystem: false,
				parserId: 128,
				parserName: "EXAMPLE-parserName-Value",
				parserMetaPluginName: "EXAMPLE-parserMetaPluginName-Value",
				parserFunctionPriority: 848,
				parserFunctionParameters: [{
						parserFunctionId: 906,
						parserFunctionParameterName: "EXAMPLE-parserFunctionParameterName-Value",
						parserFunctionParameterId: 68,
						parserMetaPluginParameterName: "EXAMPLE-parserMetaPluginParameterName-Value",
						parserMetaPluginParameterValue: "EXAMPLE-parserMetaPluginParameterValue-Value",
						parserName: "EXAMPLE-parserName-Value",
						parserMetaPluginParameter: {
							description: "EXAMPLE-description-Value",
							name: "EXAMPLE-name-Value",
							isMandatory: true,
							isRepeatable: true,
							pluginName: "EXAMPLE-pluginName-Value",
							type: "EXAMPLE-type-Value",

							}
,

						}
						],

				}
				],
		shouldTokenizeOriginalText: false,
		fieldDelimiter: "EXAMPLE-fieldDelimiter-Value",
		fieldQualifier: "EXAMPLE-fieldQualifier-Value",
		type: loganalytics.models.TestParserPayloadDetails.Type.Regex,
		isNamespaceAware: false,
		isPositionAware: true,

		}

	const testParserRequest: loganalytics.requests.TestParserRequest = { 
	namespaceName: "EXAMPLE-namespaceName-Value",
	testParserPayloadDetails: testParserPayloadDetails,
	scope: loganalytics.requests.TestParserRequest.Scope.LogLinesLogEntries,
	reqOriginModule: "EXAMPLE-reqOriginModule-Value",
	opcRetryToken: "EXAMPLE-opcRetryToken-Value",
	opcRequestId: "YIJQ6SLZF2EY2A056LBF<unique_ID>",

		}; 


     // Send request to the Client.
     const testParserResponse = await client.testParser(testParserRequest);
     }
     catch (error) {
         console.log("testParser Failed with error  " + error);
     }
})();