你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GenerateCredentialsParameters Class

Definition

The parameters used to generate credentials for a specified token or user of a container registry.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.GenerateCredentialsParametersTypeConverter))]
public class GenerateCredentialsParameters : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IGenerateCredentialsParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.GenerateCredentialsParametersTypeConverter))>]
type GenerateCredentialsParameters = class
    interface IGenerateCredentialsParameters
    interface IJsonSerializable
Public Class GenerateCredentialsParameters
Implements IGenerateCredentialsParameters
Inheritance
GenerateCredentialsParameters
Attributes
Implements

Constructors

GenerateCredentialsParameters()

Creates an new GenerateCredentialsParameters instance.

Properties

Expiry

The expiry date of the generated credentials after which the credentials become invalid.

Name

Specifies name of the password which should be regenerated if any -- password1 or password2.

TokenId

The resource ID of the token for which credentials have to be generated.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GenerateCredentialsParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GenerateCredentialsParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GenerateCredentialsParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to