WebPubSubResourceInner Class

public final class WebPubSubResourceInner
extends Resource

A class represent a resource.

Constructor Summary

Constructor Description
WebPubSubResourceInner()

Creates an instance of WebPubSubResourceInner class.

Method Summary

Modifier and Type Method and Description
Boolean disableAadAuth()

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

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.

String externalIp()

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

String hostname()

Get the hostname property: FQDN of the service instance.

String hostnamePrefix()

Get the hostnamePrefix property: Deprecated.

ManagedIdentity identity()

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

ServiceKind kind()

Get the kind property: The kind of the service.

LiveTraceConfiguration liveTraceConfiguration()

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

WebPubSubNetworkACLs networkACLs()

Get the networkACLs property: Network ACLs for the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

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

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

String publicNetworkAccess()

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

Integer publicPort()

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

String regionEndpointEnabled()

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

ResourceLogConfiguration resourceLogConfiguration()

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

String resourceStopped()

Get the resourceStopped property: Stop or start the resource.

Integer serverPort()

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

List<SharedPrivateLinkResourceInner> sharedPrivateLinkResources()

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

ResourceSku sku()

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

SystemData systemData()

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

WebPubSubTlsSettings tls()

Get the tls property: TLS settings for the resource.

void validate()

Validates the instance.

String version()

Get the version property: Version of the resource.

WebPubSubResourceInner withDisableAadAuth(Boolean disableAadAuth)

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

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

WebPubSubResourceInner withIdentity(ManagedIdentity identity)

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

WebPubSubResourceInner withKind(ServiceKind kind)

Set the kind property: The kind of the service.

WebPubSubResourceInner withLiveTraceConfiguration(LiveTraceConfiguration liveTraceConfiguration)

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

WebPubSubResourceInner withLocation(String location)
WebPubSubResourceInner withNetworkACLs(WebPubSubNetworkACLs networkACLs)

Set the networkACLs property: Network ACLs for the resource.

WebPubSubResourceInner withPublicNetworkAccess(String publicNetworkAccess)

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

WebPubSubResourceInner withRegionEndpointEnabled(String regionEndpointEnabled)

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

WebPubSubResourceInner withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration)

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

WebPubSubResourceInner withResourceStopped(String resourceStopped)

Set the resourceStopped property: Stop or start the resource.

WebPubSubResourceInner withSku(ResourceSku sku)

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

WebPubSubResourceInner withTags(Map<String,String> tags)
WebPubSubResourceInner withTls(WebPubSubTlsSettings tls)

Set the tls property: TLS settings for the resource.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

WebPubSubResourceInner

public WebPubSubResourceInner()

Creates an instance of WebPubSubResourceInner class.

Method Details

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.

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.

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.

hostnamePrefix

public String hostnamePrefix()

Get the hostnamePrefix property: Deprecated.

Returns:

the hostnamePrefix value.

identity

public ManagedIdentity identity()

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

Returns:

the identity value.

kind

public ServiceKind kind()

Get the kind property: The kind of the service.

Returns:

the kind value.

liveTraceConfiguration

public LiveTraceConfiguration liveTraceConfiguration()

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

Returns:

the liveTraceConfiguration value.

networkACLs

public WebPubSubNetworkACLs networkACLs()

Get the networkACLs property: Network ACLs for the resource.

Returns:

the networkACLs value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

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

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

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.

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.

regionEndpointEnabled

public String regionEndpointEnabled()

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

resourceLogConfiguration

public ResourceLogConfiguration resourceLogConfiguration()

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

Returns:

the resourceLogConfiguration value.

resourceStopped

public String resourceStopped()

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

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.

sharedPrivateLinkResources

public List<SharedPrivateLinkResourceInner> sharedPrivateLinkResources()

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

Returns:

the sharedPrivateLinkResources value.

sku

public ResourceSku sku()

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

Returns:

the sku value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

tls

public WebPubSubTlsSettings tls()

Get the tls property: TLS settings for the resource.

Returns:

the tls value.

validate

public void validate()

Validates the instance.

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.

withDisableAadAuth

public WebPubSubResourceInner 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 WebPubSubResourceInner object itself.

withDisableLocalAuth

public WebPubSubResourceInner 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 WebPubSubResourceInner object itself.

withIdentity

public WebPubSubResourceInner withIdentity(ManagedIdentity identity)

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

Parameters:

identity - the identity value to set.

Returns:

the WebPubSubResourceInner object itself.

withKind

public WebPubSubResourceInner withKind(ServiceKind kind)

Set the kind property: The kind of the service.

Parameters:

kind - the kind value to set.

Returns:

the WebPubSubResourceInner object itself.

withLiveTraceConfiguration

public WebPubSubResourceInner withLiveTraceConfiguration(LiveTraceConfiguration liveTraceConfiguration)

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

Parameters:

liveTraceConfiguration - the liveTraceConfiguration value to set.

Returns:

the WebPubSubResourceInner object itself.

withLocation

public WebPubSubResourceInner withLocation(String location)

Overrides:

WebPubSubResourceInner.withLocation(String location)

Parameters:

location

withNetworkACLs

public WebPubSubResourceInner withNetworkACLs(WebPubSubNetworkACLs networkACLs)

Set the networkACLs property: Network ACLs for the resource.

Parameters:

networkACLs - the networkACLs value to set.

Returns:

the WebPubSubResourceInner object itself.

withPublicNetworkAccess

public WebPubSubResourceInner 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 WebPubSubResourceInner object itself.

withRegionEndpointEnabled

public WebPubSubResourceInner withRegionEndpointEnabled(String regionEndpointEnabled)

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

Parameters:

regionEndpointEnabled - the regionEndpointEnabled value to set.

Returns:

the WebPubSubResourceInner object itself.

withResourceLogConfiguration

public WebPubSubResourceInner withResourceLogConfiguration(ResourceLogConfiguration resourceLogConfiguration)

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

Parameters:

resourceLogConfiguration - the resourceLogConfiguration value to set.

Returns:

the WebPubSubResourceInner object itself.

withResourceStopped

public WebPubSubResourceInner withResourceStopped(String resourceStopped)

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

Parameters:

resourceStopped - the resourceStopped value to set.

Returns:

the WebPubSubResourceInner object itself.

withSku

public WebPubSubResourceInner withSku(ResourceSku sku)

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

Parameters:

sku - the sku value to set.

Returns:

the WebPubSubResourceInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

withTls

public WebPubSubResourceInner withTls(WebPubSubTlsSettings tls)

Set the tls property: TLS settings for the resource.

Parameters:

tls - the tls value to set.

Returns:

the WebPubSubResourceInner object itself.

Applies to