CredentialSetUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. CredentialSetUpdateParameters
- com.
Implements
public final class CredentialSetUpdateParameters
implements JsonSerializable<CredentialSetUpdateParameters>
The parameters for updating a credential set.
Constructor Summary
| Constructor | Description |
|---|---|
| CredentialSetUpdateParameters() |
Creates an instance of Credential |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Auth |
authCredentials()
Get the auth |
|
static
Credential |
fromJson(JsonReader jsonReader)
Reads an instance of Credential |
|
Identity |
identity()
Get the identity property: Identities associated with the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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. |
Methods inherited from java.lang.Object
Constructor Details
CredentialSetUpdateParameters
public CredentialSetUpdateParameters()
Creates an instance of CredentialSetUpdateParameters class.
Method Details
authCredentials
public List<AuthCredential> authCredentials()
Get the authCredentials property: List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
Returns:
fromJson
public static CredentialSetUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of CredentialSetUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public IdentityProperties identity()
Get the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuthCredentials
public CredentialSetUpdateParameters withAuthCredentials(List<AuthCredential> authCredentials)
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 CredentialSetUpdateParameters withIdentity(IdentityProperties identity)
Set the identity property: Identities associated with the resource. This is used to access the KeyVault secrets.
Parameters:
Returns: