ArmContainerRegistryModelFactory.ContainerRegistryTokenPassword Method
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.
Initializes a new instance of ContainerRegistryTokenPassword.
public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPassword ContainerRegistryTokenPassword (DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPasswordName? name = default, string value = default);
static member ContainerRegistryTokenPassword : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPasswordName> * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPassword
Public Shared Function ContainerRegistryTokenPassword (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional name As Nullable(Of ContainerRegistryTokenPasswordName) = Nothing, Optional value As String = Nothing) As ContainerRegistryTokenPassword
Parameters
- createdOn
- Nullable<DateTimeOffset>
The creation datetime of the password.
- expireOn
- Nullable<DateTimeOffset>
The expiry datetime of the password.
The password name "password1" or "password2".
- value
- String
The password value.
Returns
A new ContainerRegistryTokenPassword instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET