// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.monitor.ingestion.implementation;

import com.azure.core.util.ServiceVersion;

/** Service version of IngestionUsingDataCollectionRulesClient. */
public enum IngestionUsingDataCollectionRulesServiceVersion implements ServiceVersion {
    /** Enum value 2023-01-01. */
    V2023_01_01("2023-01-01");

    private final String version;

    IngestionUsingDataCollectionRulesServiceVersion(String version) {
        this.version = version;
    }

    /** {@inheritDoc} */
    @Override
    public String getVersion() {
        return this.version;
    }

    /**
     * Gets the latest service version supported by this client library.
     *
     * @return The latest {@link IngestionUsingDataCollectionRulesServiceVersion}.
     */
    public static IngestionUsingDataCollectionRulesServiceVersion getLatest() {
        return V2023_01_01;
    }
}
