CredentialSetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerregistry. fluent. models. CredentialSetInner
- com.
- com.
public final class CredentialSetInner
extends ProxyResource
An object that represents a credential set resource for a container registry.
Constructor Summary
Constructor | Description |
---|---|
CredentialSetInner() |
Creates an instance of Credential |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Auth |
authCredentials()
Get the auth |
Offset |
creationDate()
Get the creation |
static
Credential |
fromJson(JsonReader jsonReader)
Reads an instance of Credential |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Identity |
identity()
Get the identity property: Identities associated with the resource. |
String |
loginServer()
Get the login |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Credential |
withAuthCredentials(List<AuthCredential> authCredentials)
Set the auth |
Credential |
withIdentity(IdentityProperties identity)
Set the identity property: Identities associated with the resource. |
Credential |
withLoginServer(String loginServer)
Set the login |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
CredentialSetInner
public CredentialSetInner()
Creates an instance of CredentialSetInner class.
Method Details
authCredentials
public List
Get the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of credential store resource.
Returns:
fromJson
public static CredentialSetInner fromJson(JsonReader jsonReader)
Reads an instance of CredentialSetInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CredentialSetInner.id()Returns:
identity
public IdentityProperties identity()
Get the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.
Returns:
loginServer
public String loginServer()
Get the loginServer property: The credentials are stored for this upstream or login server.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CredentialSetInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CredentialSetInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CredentialSetInner.type()Returns:
validate
public void validate()
Validates the instance.
withAuthCredentials
public CredentialSetInner withAuthCredentials(List
Set the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Parameters:
Returns:
withIdentity
public CredentialSetInner withIdentity(IdentityProperties identity)
Set the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.
Parameters:
Returns:
withLoginServer
public CredentialSetInner withLoginServer(String loginServer)
Set the loginServer property: The credentials are stored for this upstream or login server.
Parameters:
Returns:
Applies to
Azure SDK for Java