Class SignalRProperties
java.lang.Object
com.azure.resourcemanager.signalr.fluent.models.SignalRProperties
A class that describes the properties of the resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.Get the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.Get the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true, connection with AccessKey=xxx won't work.Get the externalIp property: The publicly accessible IP of the resource.features()
Get the features property: List of the featureFlags.hostname()
Get the hostname property: FQDN of the service instance.Get the hostnamePrefix property: Deprecated.Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.Get the networkACLs property: Network ACLs for the resource.Get the privateEndpointConnections property: Private endpoint connections to the resource.Get the provisioningState property: Provisioning state of the resource.Get the publicNetworkAccess property: Enable or disable public network access.Get the publicPort property: The publicly accessible port of the resource which is designed for browser/client side usage.Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.Get the serverless property: Serverless settings.Get the serverPort property: The publicly accessible port of the resource which is designed for customer server side usage.Get the sharedPrivateLinkResources property: The list of shared private link resources.tls()
Get the tls property: TLS settings for the resource.upstream()
Get the upstream property: The settings for the Upstream when the service is in server-less mode.void
validate()
Validates the instance.version()
Get the version property: Version of the resource.withCors
(SignalRCorsSettings cors) Set the cors property: Cross-Origin Resource Sharing (CORS) settings.withDisableAadAuth
(Boolean disableAadAuth) Set the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true, connection with AccessKey=xxx won't work.withFeatures
(List<SignalRFeature> features) Set the features property: List of the featureFlags.withLiveTraceConfiguration
(LiveTraceConfiguration liveTraceConfiguration) Set the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.withNetworkACLs
(SignalRNetworkACLs networkACLs) Set the networkACLs property: Network ACLs for the resource.withPublicNetworkAccess
(String publicNetworkAccess) Set the publicNetworkAccess property: Enable or disable public network access.withResourceLogConfiguration
(ResourceLogConfiguration resourceLogConfiguration) Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.withServerless
(ServerlessSettings serverless) Set the serverless property: Serverless settings.Set the tls property: TLS settings for the resource.withUpstream
(ServerlessUpstreamSettings upstream) Set the upstream property: The settings for the Upstream when the service is in server-less mode.
-
Constructor Details
-
SignalRProperties
public SignalRProperties()Creates an instance of SignalRProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
externalIp
Get the externalIp property: The publicly accessible IP of the resource.- Returns:
- the externalIp value.
-
hostname
Get the hostname property: FQDN of the service instance.- Returns:
- the hostname value.
-
publicPort
Get the publicPort property: The publicly accessible port of the resource which is designed for browser/client side usage.- Returns:
- the publicPort value.
-
serverPort
Get the serverPort property: The publicly accessible port of the resource which is designed for customer server side usage.- Returns:
- the serverPort value.
-
version
Get the version property: Version of the resource. Probably you need the same or higher version of client SDKs.- Returns:
- the version value.
-
privateEndpointConnections
Get the privateEndpointConnections property: Private endpoint connections to the resource.- Returns:
- the privateEndpointConnections value.
-
tls
Get the tls property: TLS settings for the resource.- Returns:
- the tls value.
-
withTls
Set the tls property: TLS settings for the resource.- Parameters:
tls
- the tls value to set.- Returns:
- the SignalRProperties object itself.
-
hostnamePrefix
Get the hostnamePrefix property: Deprecated.- Returns:
- the hostnamePrefix value.
-
features
Get 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.
-
withFeatures
Set 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.
- Parameters:
features
- the features value to set.- Returns:
- the SignalRProperties object itself.
-
liveTraceConfiguration
Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.- Returns:
- the liveTraceConfiguration value.
-
withLiveTraceConfiguration
Set the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.- Parameters:
liveTraceConfiguration
- the liveTraceConfiguration value to set.- Returns:
- the SignalRProperties object itself.
-
resourceLogConfiguration
Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.- Returns:
- the resourceLogConfiguration value.
-
withResourceLogConfiguration
public SignalRProperties withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration) Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.- Parameters:
resourceLogConfiguration
- the resourceLogConfiguration value to set.- Returns:
- the SignalRProperties object itself.
-
cors
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.- Returns:
- the cors value.
-
withCors
Set the cors property: Cross-Origin Resource Sharing (CORS) settings.- Parameters:
cors
- the cors value to set.- Returns:
- the SignalRProperties object itself.
-
serverless
Get the serverless property: Serverless settings.- Returns:
- the serverless value.
-
withServerless
Set the serverless property: Serverless settings.- Parameters:
serverless
- the serverless value to set.- Returns:
- the SignalRProperties object itself.
-
upstream
Get the upstream property: The settings for the Upstream when the service is in server-less mode.- Returns:
- the upstream value.
-
withUpstream
Set the upstream property: The settings for the Upstream when the service is in server-less mode.- Parameters:
upstream
- the upstream value to set.- Returns:
- the SignalRProperties object itself.
-
networkACLs
Get the networkACLs property: Network ACLs for the resource.- Returns:
- the networkACLs value.
-
withNetworkACLs
Set the networkACLs property: Network ACLs for the resource.- Parameters:
networkACLs
- the networkACLs value to set.- Returns:
- the SignalRProperties object itself.
-
publicNetworkAccess
Get 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.
-
withPublicNetworkAccess
Set 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.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the SignalRProperties object itself.
-
disableLocalAuth
Get 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.
-
withDisableLocalAuth
Set the disableLocalAuth property: DisableLocalAuth Enable or disable local auth with AccessKey When set as true, connection with AccessKey=xxx won't work.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the SignalRProperties object itself.
-
disableAadAuth
Get the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.- Returns:
- the disableAadAuth value.
-
withDisableAadAuth
Set the disableAadAuth property: DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.- Parameters:
disableAadAuth
- the disableAadAuth value to set.- Returns:
- the SignalRProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-