CustomRegistryCredentials Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the credentials that will be used to access a custom registry during a run.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.CustomRegistryCredentialsTypeConverter))]
public class CustomRegistryCredentials : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ICustomRegistryCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.CustomRegistryCredentialsTypeConverter))>]
type CustomRegistryCredentials = class
interface ICustomRegistryCredentials
interface IJsonSerializable
Public Class CustomRegistryCredentials
Implements ICustomRegistryCredentials
- Inheritance
-
CustomRegistryCredentials
- Attributes
- Implements
Constructors
CustomRegistryCredentials() |
Creates an new CustomRegistryCredentials instance. |
Properties
Identity |
Indicates the managed identity assigned to the custom credential. If a user-assigned identity
this value is the Client ID. If a system-assigned identity, the value will be |
PasswordType |
The type of the secret object which determines how the value of the secret object has to be interpreted. |
PasswordValue |
The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification. |
UserNameType |
The type of the secret object which determines how the value of the secret object has to be interpreted. |
UserNameValue |
The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of CustomRegistryCredentials. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of CustomRegistryCredentials. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ICustomRegistryCredentials. |
FromJsonString(String) |
Creates a new instance of CustomRegistryCredentials, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of CustomRegistryCredentials into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |