library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
subscription_id
string
YesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
log_profile_name
string
YesThe name of the log profile.-
retention_days
number
YesThe number of days to retain the logs.365
retention_enabled
bool
YesWhether the retention policy is enabled.true
location
string
YesWhether the retention policy is enabled.global

Outputs

NameDescription
log_profileThe updated monitor log profile details.