library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Monitor Log Profile Retention Policy

Update the retention policy of an Azure Monitor log profile.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.update_monitor_log_profile_retention_policy \
--arg 'subscription_id=<string>' \
--arg 'log_profile_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = azure.pipeline.update_monitor_log_profile_retention_policy
args = {
subscription_id = <string>
log_profile_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
subscription_idstringYesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
log_profile_namestringYesThe name of the log profile.-
retention_daysnumberYesThe number of days to retain the logs.365
retention_enabledboolYesWhether the retention policy is enabled.
locationstringYesWhether the retention policy is enabled.global

Outputs

NameDescription
log_profileThe updated monitor log profile details.