ArmContainerServiceModelFactory.ManagedClusterRunCommandResult 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 ManagedClusterRunCommandResult.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult ManagedClusterRunCommandResult (string id = default, string provisioningState = default, int? exitCode = default, DateTimeOffset? startedOn = default, DateTimeOffset? finishedOn = default, string logs = default, string reason = default);
static member ManagedClusterRunCommandResult : string * string * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult
Public Shared Function ManagedClusterRunCommandResult (Optional id As String = Nothing, Optional provisioningState As String = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional finishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional logs As String = Nothing, Optional reason As String = Nothing) As ManagedClusterRunCommandResult
Parameters
- id
- String
The command id.
- provisioningState
- String
provisioning State.
- startedOn
- Nullable<DateTimeOffset>
The time when the command started.
- finishedOn
- Nullable<DateTimeOffset>
The time when the command finished.
- logs
- String
The command output.
- reason
- String
An explanation of why provisioningState is set to failed (if so).
Returns
A new ManagedClusterRunCommandResult 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