ArmContainerRegistryModelFactory.ContainerRegistryCredentialHealth 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 ContainerRegistryCredentialHealth.
public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryCredentialHealth ContainerRegistryCredentialHealth(Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryCredentialHealthStatus? status = default, string errorCode = default, string errorMessage = default);
static member ContainerRegistryCredentialHealth : Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryCredentialHealthStatus> * string * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryCredentialHealth
Public Shared Function ContainerRegistryCredentialHealth (Optional status As Nullable(Of ContainerRegistryCredentialHealthStatus) = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing) As ContainerRegistryCredentialHealth
Parameters
The health status of credential.
- errorCode
- String
Error code representing the health check error.
- errorMessage
- String
Descriptive message representing the health check error.
Returns
A new ContainerRegistryCredentialHealth 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