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
Aws |
|
static final
Environment |
AZURE_DEV_OPS_SCOPE
Azure |
|
static final
Environment |
DOCKER_HUB_ORGANIZATION
Docker |
|
static final
Environment |
GCP_PROJECT
Gcp |
|
static final
Environment |
GITHUB_SCOPE
Github |
|
static final
Environment |
GITLAB_SCOPE
Gitlab |
|
static final
Environment |
JFROG_ARTIFACTORY
JFrog |
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
AwsAccount.
AZURE_DEV_OPS_SCOPE
public static final EnvironmentType AZURE_DEV_OPS_SCOPE
AzureDevOpsScope.
DOCKER_HUB_ORGANIZATION
public static final EnvironmentType DOCKER_HUB_ORGANIZATION
DockerHubOrganization.
GCP_PROJECT
public static final EnvironmentType GCP_PROJECT
GcpProject.
GITHUB_SCOPE
public static final EnvironmentType GITHUB_SCOPE
GithubScope.
GITLAB_SCOPE
public static final EnvironmentType GITLAB_SCOPE
GitlabScope.
JFROG_ARTIFACTORY
public static final EnvironmentType JFROG_ARTIFACTORY
JFrogArtifactory.
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<EnvironmentType> values()
Gets known EnvironmentType values.
Returns: