ContainerRegistryGenerateCredentialsContent 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.
The parameters used to generate credentials for a specified token or user of a container registry.
public class ContainerRegistryGenerateCredentialsContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryGenerateCredentialsContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryGenerateCredentialsContent>
public class ContainerRegistryGenerateCredentialsContent
type ContainerRegistryGenerateCredentialsContent = class
interface IJsonModel<ContainerRegistryGenerateCredentialsContent>
interface IPersistableModel<ContainerRegistryGenerateCredentialsContent>
type ContainerRegistryGenerateCredentialsContent = class
Public Class ContainerRegistryGenerateCredentialsContent
Implements IJsonModel(Of ContainerRegistryGenerateCredentialsContent), IPersistableModel(Of ContainerRegistryGenerateCredentialsContent)
Public Class ContainerRegistryGenerateCredentialsContent
- Inheritance
-
ContainerRegistryGenerateCredentialsContent
- Implements
Constructors
ContainerRegistryGenerateCredentialsContent() |
Initializes a new instance of ContainerRegistryGenerateCredentialsContent. |
Properties
ExpireOn |
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. |
Explicit Interface Implementations
IJsonModel<ContainerRegistryGenerateCredentialsContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ContainerRegistryGenerateCredentialsContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ContainerRegistryGenerateCredentialsContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ContainerRegistryGenerateCredentialsContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ContainerRegistryGenerateCredentialsContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET