Compartir a través de


ServiceStatus Class

Definition

Describes the status and behavior of a service.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ServiceStatusTypeConverter))]
public class ServiceStatus : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ServiceStatusTypeConverter))>]
type ServiceStatus = class
    interface IServiceStatus
    interface IJsonSerializable
Public Class ServiceStatus
Implements IServiceStatus
Inheritance
ServiceStatus
Attributes
Implements

Constructors

ServiceStatus()

Creates an new ServiceStatus instance.

Properties

StartupType

The behavior of the service when the Arc-enabled machine starts up.

Status

The current status of the service.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServiceStatus.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServiceStatus.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IServiceStatus.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServiceStatus into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to