Share via


ServiceConfiguration Class

Definition

Service configuration details

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ServiceConfigurationTypeConverter))]
public class ServiceConfiguration : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IServiceConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ServiceConfigurationTypeConverter))>]
type ServiceConfiguration = class
    interface IServiceConfiguration
    interface IJsonSerializable
Public Class ServiceConfiguration
Implements IServiceConfiguration
Inheritance
ServiceConfiguration
Attributes
Implements

Constructors

ServiceConfiguration()

Creates an new ServiceConfiguration instance.

Properties

Port

The port on which service is enabled.

ServiceName

Name of the service.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServiceConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServiceConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.IServiceConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServiceConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to