def METHOD_NAME(test, checks=None):
    """MetricsConfiguration create operation"""
    if checks is None:
        checks = []
    test.cmd(
        "az networkcloud cluster metricsconfiguration create --cluster-name {clusterName} "
        '--extended-location name={extendedLocation} type="CustomLocation" '
        "--location {location} --collection-interval {collectionInterval} "
        "--enabled-metrics {enabledMetrics} --tags {tags} "
        "--resource-group {rg}",
        checks=checks,
    )