EnvironmentType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. EnvironmentType
- com.
- com.
public final class EnvironmentType
extends ExpandableStringEnum<EnvironmentType>
The type of the environment data.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Environment |
AWS_ACCOUNT
Static value Aws |
static final
Environment |
AZURE_DEV_OPS_SCOPE
Static value Azure |
static final
Environment |
GCP_PROJECT
Static value Gcp |
static final
Environment |
GITHUB_SCOPE
Static value Github |
static final
Environment |
GITLAB_SCOPE
Static value Gitlab |
Constructor Summary
Constructor | Description |
---|---|
EnvironmentType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Environment |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Environment |
fromString(String name)
Creates or finds a Environment |
static
Collection<Environment |
values()
Gets known Environment |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AWS_ACCOUNT
public static final EnvironmentType AWS_ACCOUNT
Static value AwsAccount for EnvironmentType.
AZURE_DEV_OPS_SCOPE
public static final EnvironmentType AZURE_DEV_OPS_SCOPE
Static value AzureDevOpsScope for EnvironmentType.
GCP_PROJECT
public static final EnvironmentType GCP_PROJECT
Static value GcpProject for EnvironmentType.
GITHUB_SCOPE
public static final EnvironmentType GITHUB_SCOPE
Static value GithubScope for EnvironmentType.
GITLAB_SCOPE
public static final EnvironmentType GITLAB_SCOPE
Static value GitlabScope for EnvironmentType.
Constructor Details
EnvironmentType
@Deprecated
public EnvironmentType()
Deprecated
Creates a new instance of EnvironmentType value.
Method Details
fromString
public static EnvironmentType fromString(String name)
Creates or finds a EnvironmentType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known EnvironmentType values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for