CommunicationServiceResourceInner Class

public final class CommunicationServiceResourceInner
extends Resource

A class representing a CommunicationService resource.

Constructor Summary

Constructor Description
CommunicationServiceResourceInner()

Creates an instance of CommunicationServiceResourceInner class.

Method Summary

Modifier and Type Method and Description
String dataLocation()

Get the dataLocation property: The location where the communication service stores its data at rest.

Boolean disableLocalAuth()

Get the disableLocalAuth property: Disable local authentication for the CommunicationService.

static CommunicationServiceResourceInner fromJson(JsonReader jsonReader)

Reads an instance of CommunicationServiceResourceInner from the JsonReader.

String hostname()

Get the hostname property: FQDN of the CommunicationService instance.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

String immutableResourceId()

Get the immutableResourceId property: The immutable resource Id of the communication service.

List<String> linkedDomains()

Get the linkedDomains property: List of email Domain resource Ids.

String name()

Get the name property: The name of the resource.

String notificationHubId()

Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.

CommunicationServicesProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Allow, disallow, or let network security perimeter configuration control public network access to the protected resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String version()

Get the version property: Version of the CommunicationService resource.

CommunicationServiceResourceInner withDataLocation(String dataLocation)

Set the dataLocation property: The location where the communication service stores its data at rest.

CommunicationServiceResourceInner withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Disable local authentication for the CommunicationService.

CommunicationServiceResourceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

CommunicationServiceResourceInner withLinkedDomains(List<String> linkedDomains)

Set the linkedDomains property: List of email Domain resource Ids.

CommunicationServiceResourceInner withLocation(String location)
CommunicationServiceResourceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Allow, disallow, or let network security perimeter configuration control public network access to the protected resource.

CommunicationServiceResourceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

CommunicationServiceResourceInner

public CommunicationServiceResourceInner()

Creates an instance of CommunicationServiceResourceInner class.

Method Details

dataLocation

public String dataLocation()

Get the dataLocation property: The location where the communication service stores its data at rest.

Returns:

the dataLocation value.

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: Disable local authentication for the CommunicationService.

Returns:

the disableLocalAuth value.

fromJson

public static CommunicationServiceResourceInner fromJson(JsonReader jsonReader)

Reads an instance of CommunicationServiceResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CommunicationServiceResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hostname

public String hostname()

Get the hostname property: FQDN of the CommunicationService instance.

Returns:

the hostname value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CommunicationServiceResourceInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

Returns:

the identity value.

immutableResourceId

public String immutableResourceId()

Get the immutableResourceId property: The immutable resource Id of the communication service.

Returns:

the immutableResourceId value.

linkedDomains

public List<String> linkedDomains()

Get the linkedDomains property: List of email Domain resource Ids.

Returns:

the linkedDomains value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CommunicationServiceResourceInner.name()

Returns:

the name value.

notificationHubId

public String notificationHubId()

Get the notificationHubId property: Resource ID of an Azure Notification Hub linked to this resource.

Returns:

the notificationHubId value.

provisioningState

public CommunicationServicesProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Allow, disallow, or let network security perimeter configuration control public network access to the protected resource. Value is optional but if passed in, it must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.

Returns:

the publicNetworkAccess value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CommunicationServiceResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CommunicationServiceResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public String version()

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

Returns:

the version value.

withDataLocation

public CommunicationServiceResourceInner withDataLocation(String dataLocation)

Set the dataLocation property: The location where the communication service stores its data at rest.

Parameters:

dataLocation - the dataLocation value to set.

Returns:

the CommunicationServiceResourceInner object itself.

withDisableLocalAuth

public CommunicationServiceResourceInner withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Disable local authentication for the CommunicationService.

Parameters:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the CommunicationServiceResourceInner object itself.

withIdentity

public CommunicationServiceResourceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Parameters:

identity - the identity value to set.

Returns:

the CommunicationServiceResourceInner object itself.

withLinkedDomains

public CommunicationServiceResourceInner withLinkedDomains(List<String> linkedDomains)

Set the linkedDomains property: List of email Domain resource Ids.

Parameters:

linkedDomains - the linkedDomains value to set.

Returns:

the CommunicationServiceResourceInner object itself.

withLocation

public CommunicationServiceResourceInner withLocation(String location)

Overrides:

CommunicationServiceResourceInner.withLocation(String location)

Parameters:

location

withPublicNetworkAccess

public CommunicationServiceResourceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Allow, disallow, or let network security perimeter configuration control public network access to the protected resource. Value is optional but if passed in, it must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the CommunicationServiceResourceInner object itself.

withTags

public CommunicationServiceResourceInner withTags(Map<String,String> tags)

Overrides:

CommunicationServiceResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to