Share via


CommunicationServiceResource Class

Definition

A class representing a CommunicationService resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.CommunicationServiceResourceTypeConverter))]
public class CommunicationServiceResource : Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.ICommunicationServiceResource, Microsoft.Azure.PowerShell.Cmdlets.Communication.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.CommunicationServiceResourceTypeConverter))>]
type CommunicationServiceResource = class
    interface ICommunicationServiceResource
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

ImmutableResourceId

The immutable resource Id of the communication service.

LinkedDomain

List of email Domain resource Ids.

Location

The geo-location where the resource lives

Name

The name of the resource

NotificationHubId

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

ProvisioningState

Provisioning state of the resource.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

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.Api20230601Preview.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