Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.containerregistry; import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum; import java.util.Collection;
Defines values for admin user access key names.
/** * Defines values for admin user access key names. */
@LangDefinition @Beta(Beta.SinceVersion.V1_3_0) public class AccessKeyType extends ExpandableStringEnum<AccessKeyType> {
Primary key.
/** Primary key. */
public static final AccessKeyType PRIMARY = fromString(PasswordName.PASSWORD.toString());
Secondary key.
/** Secondary key. */
public static final AccessKeyType SECONDARY = fromString(PasswordName.PASSWORD2.toString());
Finds or creates an access key name based on the provided name.
Params:
  • name – a name
Returns:a AccessKeyType instance
/** * Finds or creates an access key name based on the provided name. * @param name a name * @return a AccessKeyType instance */
public static AccessKeyType fromString(String name) { return fromString(name, AccessKeyType.class); }
Returns:known admin user access key names
/** * @return known admin user access key names */
public static Collection<AccessKeyType> values() { return values(AccessKeyType.class); } }