com.azure.messaging.eventgrid.namespaces.EventGridServiceVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-messaging-eventgrid-namespaces Show documentation
Show all versions of azure-messaging-eventgrid-namespaces Show documentation
This package contains the Microsoft Azure EventGrid Namespaces client library.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.messaging.eventgrid.namespaces;
import com.azure.core.util.ServiceVersion;
/**
* Service version of EventGridClient.
*/
public enum EventGridServiceVersion implements ServiceVersion {
/**
* Enum value 2023-11-01.
*/
V2023_11_01("2023-11-01"),
/**
* Enum value 2024-06-01.
*/
V2024_06_01("2024-06-01");
private final String version;
EventGridServiceVersion(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 EventGridServiceVersion}.
*/
public static EventGridServiceVersion getLatest() {
return V2024_06_01;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy