Dela via


CommunicationServiceResource Class

Definition

A class representing a CommunicationService resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20200820.CommunicationServiceResourceTypeConverter))]
public class CommunicationServiceResource : Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20200820.ICommunicationServiceResource, Microsoft.Azure.PowerShell.Cmdlets.Communication.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20200820.CommunicationServiceResourceTypeConverter))>]
type CommunicationServiceResource = class
    interface ICommunicationServiceResource
    interface IJsonSerializable
    interface IResource
    interface ILocationResource
    interface ITaggedResource
    interface IValidates
Public Class CommunicationServiceResource
Implements ICommunicationServiceResource, IValidates
Inheritance
CommunicationServiceResource
Attributes
Implements

Constructors

CommunicationServiceResource()

Creates an new CommunicationServiceResource instance.

Properties

DataLocation

The location where the communication service stores its data at rest.

HostName

FQDN of the CommunicationService instance.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

ImmutableResourceId

The immutable resource Id of the communication service.

Location

The Azure location where the CommunicationService is running.

Name

The name of the resource

NotificationHubId

Resource ID of an Azure Notification Hub linked to this resource.

ProvisioningState

Provisioning state of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Tags of the service which is a list of key value pairs that describe the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Version

Version of the CommunicationService resource. Probably you need the same or higher version of client SDKs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CommunicationServiceResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CommunicationServiceResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20200820.ICommunicationServiceResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CommunicationServiceResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to