dcloud ecr pull-through-cache update

Set or clear a rule's upstream login

IAM ecr:UpdatePullThroughCacheRuleChanges state

Synopsis

dcloud ecr pull-through-cache update id --username username --password-secret-id passwordSecretId

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --usernameRequired

    string

    Upstream user name, 1–255 characters, or null to drop the login. Required, and null exactly when passwordSecretId is

    Constraints: 1-255 chars

    May be null.

  • --password-secret-idRequired

    string

    Id of a Secret of this organization holding the password or token (granted to the registry consumer), or null to drop the login. Required, and null exactly when username is

    May be null.

Example

dcloud ecr pull-through-cache update id --username example --password-secret-id example

Generated from the API description, the same one the API checks requests against and the CLI is built from.