
com.azure.resourcemanager.appcontainers.models.AppProtocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appcontainers Show documentation
Show all versions of azure-resourcemanager-appcontainers Show documentation
This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-03.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appcontainers.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.
*/
public final class AppProtocol extends ExpandableStringEnum {
/**
* Static value http for AppProtocol.
*/
public static final AppProtocol HTTP = fromString("http");
/**
* Static value grpc for AppProtocol.
*/
public static final AppProtocol GRPC = fromString("grpc");
/**
* Creates a new instance of AppProtocol value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AppProtocol() {
}
/**
* Creates or finds a AppProtocol from its string representation.
*
* @param name a name to look for.
* @return the corresponding AppProtocol.
*/
public static AppProtocol fromString(String name) {
return fromString(name, AppProtocol.class);
}
/**
* Gets known AppProtocol values.
*
* @return known AppProtocol values.
*/
public static Collection values() {
return values(AppProtocol.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy