Package com.microsoft.azure.util
Class AzureImdsCredentials
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- com.microsoft.azure.util.AzureBaseCredentials
-
- com.microsoft.azure.util.AbstractManagedIdentitiesCredentials
-
- com.microsoft.azure.util.AzureImdsCredentials
-
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
public class AzureImdsCredentials extends AbstractManagedIdentitiesCredentials
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AzureImdsCredentials.DescriptorImpl
-
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AzureImdsCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description)
AzureImdsCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String azureEnvName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientId()
String
getSubscriptionId()
void
setClientId(String clientId)
void
setSubscriptionId(String subscriptionId)
boolean
validate()
-
Methods inherited from class com.microsoft.azure.util.AbstractManagedIdentitiesCredentials
getActiveDirectoryEndpoint, getAzureEnvironment, getAzureEnvironmentName, getAzureEnvName, getEndpoints, getGraphEndpoint, getManagementEndpoint, getResourceManagerEndpoint, readResolve, setAzureEnvironment, setAzureEnvName
-
Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
-
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
-
-
-
-
Method Detail
-
getSubscriptionId
public String getSubscriptionId()
- Specified by:
getSubscriptionId
in classAzureBaseCredentials
-
setSubscriptionId
@DataBoundSetter public void setSubscriptionId(String subscriptionId)
-
getClientId
public String getClientId()
-
setClientId
@DataBoundSetter public void setClientId(String clientId)
-
validate
public boolean validate() throws AzureCredentials.ValidationException
-
-