Class WebPubSubProperties

java.lang.Object
com.azure.resourcemanager.webpubsub.fluent.models.WebPubSubProperties

public final class WebPubSubProperties extends Object
A class that describes the properties of the resource.
  • Constructor Details

    • WebPubSubProperties

      public WebPubSubProperties()
      Creates an instance of WebPubSubProperties class.
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • externalIp

      public String externalIp()
      Get the externalIp property: The publicly accessible IP of the resource.
      Returns:
      the externalIp value.
    • hostname

      public String hostname()
      Get the hostname property: FQDN of the service instance.
      Returns:
      the hostname value.
    • publicPort

      public Integer 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

      public Integer 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

      public String 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

      public List<PrivateEndpointConnectionInner> privateEndpointConnections()
      Get the privateEndpointConnections property: Private endpoint connections to the resource.
      Returns:
      the privateEndpointConnections value.
    • sharedPrivateLinkResources

      public List<SharedPrivateLinkResourceInner> sharedPrivateLinkResources()
      Get the sharedPrivateLinkResources property: The list of shared private link resources.
      Returns:
      the sharedPrivateLinkResources value.
    • tls

      public WebPubSubTlsSettings 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 WebPubSubProperties object itself.
    • hostnamePrefix

      public String hostnamePrefix()
      Get the hostnamePrefix property: Deprecated.
      Returns:
      the hostnamePrefix value.
    • liveTraceConfiguration

      public LiveTraceConfiguration liveTraceConfiguration()
      Get the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
      Returns:
      the liveTraceConfiguration value.
    • withLiveTraceConfiguration

      public WebPubSubProperties withLiveTraceConfiguration(LiveTraceConfiguration liveTraceConfiguration)
      Set the liveTraceConfiguration property: Live trace configuration of a Microsoft.SignalRService resource.
      Parameters:
      liveTraceConfiguration - the liveTraceConfiguration value to set.
      Returns:
      the WebPubSubProperties object itself.
    • resourceLogConfiguration

      public ResourceLogConfiguration resourceLogConfiguration()
      Get the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
      Returns:
      the resourceLogConfiguration value.
    • withResourceLogConfiguration

      public WebPubSubProperties withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration)
      Set the resourceLogConfiguration property: Resource log configuration of a Microsoft.SignalRService resource.
      Parameters:
      resourceLogConfiguration - the resourceLogConfiguration value to set.
      Returns:
      the WebPubSubProperties object itself.
    • networkACLs

      public WebPubSubNetworkACLs networkACLs()
      Get the networkACLs property: Network ACLs for the resource.
      Returns:
      the networkACLs value.
    • withNetworkACLs

      public WebPubSubProperties withNetworkACLs(WebPubSubNetworkACLs networkACLs)
      Set the networkACLs property: Network ACLs for the resource.
      Parameters:
      networkACLs - the networkACLs value to set.
      Returns:
      the WebPubSubProperties object itself.
    • publicNetworkAccess

      public String 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

      public WebPubSubProperties withPublicNetworkAccess(String publicNetworkAccess)
      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 WebPubSubProperties object itself.
    • disableLocalAuth

      public Boolean 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

      public WebPubSubProperties 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.
      Parameters:
      disableLocalAuth - the disableLocalAuth value to set.
      Returns:
      the WebPubSubProperties object itself.
    • disableAadAuth

      public Boolean 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

      public WebPubSubProperties withDisableAadAuth(Boolean disableAadAuth)
      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 WebPubSubProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.