SignalRResource Interface

public interface SignalRResource

An immutable client-side representation of SignalRResource.

Method Summary

Modifier and Type Method and Description
abstract SignalRCorsSettings cors()

Gets the cors property: Cross-Origin Resource Sharing (CORS) settings.

abstract Boolean disableAadAuth()

Gets the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.

abstract Boolean disableLocalAuth()

Gets the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true, connection with AccessKey=xxx won't work.

abstract String externalIp()

Gets the externalIp property: The publicly accessible IP of the resource.

abstract List<SignalRFeature> features()

Gets the features property: List of the featureFlags.

abstract String hostname()

Gets the hostname property: FQDN of the service instance.

abstract String hostnamePrefix()

Gets the hostnamePrefix property: Deprecated.

abstract String id()

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

abstract ManagedIdentity identity()

Gets the identity property: A class represent managed identities used for request and response.

abstract SignalRResourceInner innerModel()

Gets the inner com.azure.resourcemanager.signalr.fluent.models.SignalRResourceInner object.

abstract ServiceKind kind()

Gets the kind property: The kind of the service.

abstract SignalRKeys listKeys()

Get the access keys of the resource.

abstract Response<SignalRKeys> listKeysWithResponse(Context context)

Get the access keys of the resource.

abstract LiveTraceConfiguration liveTraceConfiguration()

Gets the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract SignalRNetworkACLs networkACLs()

Gets the networkACLs property: Network ACLs for the resource.

abstract List<PrivateEndpointConnection> privateEndpointConnections()

Gets the privateEndpointConnections property: Private endpoint connections to the resource.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the resource.

abstract String publicNetworkAccess()

Gets the publicNetworkAccess property: Enable or disable public network access.

abstract Integer publicPort()

Gets the publicPort property: The publicly accessible port of the resource which is designed for browser/client side usage.

abstract SignalRResource refresh()

Refreshes the resource to sync with Azure.

abstract SignalRResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract SignalRKeys regenerateKey(RegenerateKeyParameters parameters)

Regenerate the access key for the resource.

abstract SignalRKeys regenerateKey(RegenerateKeyParameters parameters, Context context)

Regenerate the access key for the resource.

abstract Region region()

Gets the region of the resource.

abstract String regionEndpointEnabled()

Gets the regionEndpointEnabled property: Enable or disable the regional endpoint.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract ResourceLogConfiguration resourceLogConfiguration()

Gets the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.

abstract String resourceStopped()

Gets the resourceStopped property: Stop or start the resource.

abstract void restart()

Operation to restart a resource.

abstract void restart(Context context)

Operation to restart a resource.

abstract Integer serverPort()

Gets the serverPort property: The publicly accessible port of the resource which is designed for customer server side usage.

abstract ServerlessSettings serverless()

Gets the serverless property: Serverless settings.

abstract List<SharedPrivateLinkResource> sharedPrivateLinkResources()

Gets the sharedPrivateLinkResources property: The list of shared private link resources.

abstract ResourceSku sku()

Gets the sku property: The billing information of the resource.

abstract SystemData systemData()

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

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract SignalRTlsSettings tls()

Gets the tls property: TLS settings for the resource.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the SignalRResource resource.

abstract ServerlessUpstreamSettings upstream()

Gets the upstream property: The settings for the Upstream when the service is in server-less mode.

abstract String version()

Gets the version property: Version of the resource.

Method Details

cors

public abstract SignalRCorsSettings cors()

Gets the cors property: Cross-Origin Resource Sharing (CORS) settings.

Returns:

the cors value.

disableAadAuth

public abstract Boolean disableAadAuth()

Gets the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.

Returns:

the disableAadAuth value.

disableLocalAuth

public abstract Boolean disableLocalAuth()

Gets the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true, connection with AccessKey=xxx won't work.

Returns:

the disableLocalAuth value.

externalIp

public abstract String externalIp()

Gets the externalIp property: The publicly accessible IP of the resource.

Returns:

the externalIp value.

features

public abstract List features()

Gets the features property: List of the featureFlags.

FeatureFlags that are not included in the parameters for the update operation will not be modified. And the response will only include featureFlags that are explicitly set. When a featureFlag is not explicitly set, its globally default value will be used But keep in mind, the default value doesn't mean "false". It varies in terms of different FeatureFlags.

Returns:

the features value.

hostname

public abstract String hostname()

Gets the hostname property: FQDN of the service instance.

Returns:

the hostname value.

hostnamePrefix

public abstract String hostnamePrefix()

Gets the hostnamePrefix property: Deprecated.

Returns:

the hostnamePrefix value.

id

public abstract String id()

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

Returns:

the id value.

identity

public abstract ManagedIdentity identity()

Gets the identity property: A class represent managed identities used for request and response.

Returns:

the identity value.

innerModel

public abstract SignalRResourceInner innerModel()

Gets the inner com.azure.resourcemanager.signalr.fluent.models.SignalRResourceInner object.

Returns:

the inner object.

kind

public abstract ServiceKind kind()

Gets the kind property: The kind of the service.

Returns:

the kind value.

listKeys

public abstract SignalRKeys listKeys()

Get the access keys of the resource.

Returns:

the access keys of the resource.

listKeysWithResponse

public abstract Response listKeysWithResponse(Context context)

Get the access keys of the resource.

Parameters:

context - The context to associate with this operation.

Returns:

the access keys of the resource along with Response<T>.

liveTraceConfiguration

public abstract LiveTraceConfiguration liveTraceConfiguration()

Gets the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.

Returns:

the liveTraceConfiguration value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

networkACLs

public abstract SignalRNetworkACLs networkACLs()

Gets the networkACLs property: Network ACLs for the resource.

Returns:

the networkACLs value.

privateEndpointConnections

public abstract List privateEndpointConnections()

Gets the privateEndpointConnections property: Private endpoint connections to the resource.

Returns:

the privateEndpointConnections value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

publicNetworkAccess

public abstract String publicNetworkAccess()

Gets the publicNetworkAccess property: Enable or disable public network access. Default to "Enabled". When it's Enabled, network ACLs still apply. When it's Disabled, public network access is always disabled no matter what you set in network ACLs.

Returns:

the publicNetworkAccess value.

publicPort

public abstract Integer publicPort()

Gets the publicPort property: The publicly accessible port of the resource which is designed for browser/client side usage.

Returns:

the publicPort value.

refresh

public abstract SignalRResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract SignalRResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

regenerateKey

public abstract SignalRKeys regenerateKey(RegenerateKeyParameters parameters)

Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.

Parameters:

parameters - Parameter that describes the Regenerate Key Operation.

Returns:

a class represents the access keys of the resource.

regenerateKey

public abstract SignalRKeys regenerateKey(RegenerateKeyParameters parameters, Context context)

Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.

Parameters:

parameters - Parameter that describes the Regenerate Key Operation.
context - The context to associate with this operation.

Returns:

a class represents the access keys of the resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionEndpointEnabled

public abstract String regionEndpointEnabled()

Gets the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected. This property is replica specific. Disable the regional endpoint without replica is not allowed.

Returns:

the regionEndpointEnabled value.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

resourceLogConfiguration

public abstract ResourceLogConfiguration resourceLogConfiguration()

Gets the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.

Returns:

the resourceLogConfiguration value.

resourceStopped

public abstract String resourceStopped()

Gets the resourceStopped property: Stop or start the resource. Default to "False". When it's true, the data plane of the resource is shutdown. When it's false, the data plane of the resource is started.

Returns:

the resourceStopped value.

restart

public abstract void restart()

Operation to restart a resource.

restart

public abstract void restart(Context context)

Operation to restart a resource.

Parameters:

context - The context to associate with this operation.

serverPort

public abstract Integer serverPort()

Gets the serverPort property: The publicly accessible port of the resource which is designed for customer server side usage.

Returns:

the serverPort value.

serverless

public abstract ServerlessSettings serverless()

Gets the serverless property: Serverless settings.

Returns:

the serverless value.

sharedPrivateLinkResources

public abstract List sharedPrivateLinkResources()

Gets the sharedPrivateLinkResources property: The list of shared private link resources.

Returns:

the sharedPrivateLinkResources value.

sku

public abstract ResourceSku sku()

Gets the sku property: The billing information of the resource.

Returns:

the sku value.

systemData

public abstract SystemData systemData()

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

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

tls

public abstract SignalRTlsSettings tls()

Gets the tls property: TLS settings for the resource.

Returns:

the tls value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract SignalRResource.Update update()

Begins update for the SignalRResource resource.

Returns:

the stage of resource update.

upstream

public abstract ServerlessUpstreamSettings upstream()

Gets the upstream property: The settings for the Upstream when the service is in server-less mode.

Returns:

the upstream value.

version

public abstract String version()

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

Returns:

the version value.

Applies to