Compartilhar via


Service Class

Definition

Object that represents a Service resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ServiceTypeConverter))]
public class Service : Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IService
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ServiceTypeConverter))>]
type Service = class
    interface IService
    interface IJsonSerializable
Public Class Service
Implements IService
Inheritance
Service
Attributes
Implements

Constructors

Service()

Creates an new Service instance.

Properties

DisplayName

Localized name of the Azure service.

Id

Id of the resource.

Name

Name of the resource.

ResourceGroupName

Gets the resource group name

ResourceType

ARM Resource types.

Type

Type of the resource 'Microsoft.Support/services'.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Service.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Service.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IService.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Service into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to