Share via


CredentialSet Class

Definition

An object that represents a credential set resource for a container registry.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CredentialSetTypeConverter))]
public class CredentialSet : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICredentialSet, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CredentialSetTypeConverter))>]
type CredentialSet = class
    interface ICredentialSet
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class CredentialSet
Implements ICredentialSet, IValidates
Inheritance
CredentialSet
Attributes
Implements

Constructors

CredentialSet()

Creates an new CredentialSet instance.

Properties

AuthCredentials

List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.

CreationDate

The creation date of credential store resource.

Id

The resource ID.

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

IdentityUserAssignedIdentity

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

LoginServer

The credentials are stored for this upstream or login server.

Name

The name of the resource.

ProvisioningState

Provisioning state of the resource.

ResourceGroupName

Gets the resource group name

SystemData

Metadata pertaining to creation and last modification of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CredentialSet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CredentialSet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICredentialSet.

FromJsonString(String)

Creates a new instance of CredentialSet, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CredentialSet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to