HybridConnectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. HybridConnectionInner
- com.
- com.
- com.
public final class HybridConnectionInner
extends ProxyOnlyResource
Hybrid Connection contract. This is used to configure a Hybrid Connection.
Constructor Summary
Constructor | Description |
---|---|
HybridConnectionInner() |
Creates an instance of Hybrid |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
hostname()
Get the hostname property: The hostname of the endpoint. |
Integer |
port()
Get the port property: The port of the endpoint. |
String |
relayArmUri()
Get the relay |
String |
relayName()
Get the relay |
String |
sendKeyName()
Get the send |
String |
sendKeyValue()
Get the send |
String |
serviceBusNamespace()
Get the service |
String |
serviceBusSuffix()
Get the service |
void |
validate()
Validates the instance. |
Hybrid |
withHostname(String hostname)
Set the hostname property: The hostname of the endpoint. |
Hybrid |
withKind(String kind)
Set the kind property: Kind of resource. |
Hybrid |
withPort(Integer port)
Set the port property: The port of the endpoint. |
Hybrid |
withRelayArmUri(String relayArmUri)
Set the relay |
Hybrid |
withRelayName(String relayName)
Set the relay |
Hybrid |
withSendKeyName(String sendKeyName)
Set the send |
Hybrid |
withSendKeyValue(String sendKeyValue)
Set the send |
Hybrid |
withServiceBusNamespace(String serviceBusNamespace)
Set the service |
Hybrid |
withServiceBusSuffix(String serviceBusSuffix)
Set the service |
Methods inherited from ProxyResource
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
HybridConnectionInner
public HybridConnectionInner()
Creates an instance of HybridConnectionInner class.
Method Details
hostname
public String hostname()
Get the hostname property: The hostname of the endpoint.
Returns:
port
public Integer port()
Get the port property: The port of the endpoint.
Returns:
relayArmUri
public String relayArmUri()
Get the relayArmUri property: The ARM URI to the Service Bus relay.
Returns:
relayName
public String relayName()
Get the relayName property: The name of the Service Bus relay.
Returns:
sendKeyName
public String sendKeyName()
Get the sendKeyName property: The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.
Returns:
sendKeyValue
public String sendKeyValue()
Get the sendKeyValue property: The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.
Returns:
serviceBusNamespace
public String serviceBusNamespace()
Get the serviceBusNamespace property: The name of the Service Bus namespace.
Returns:
serviceBusSuffix
public String serviceBusSuffix()
Get the serviceBusSuffix property: The suffix for the service bus endpoint. By default this is .servicebus.windows.net.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
HybridConnectionInner.validate()withHostname
public HybridConnectionInner withHostname(String hostname)
Set the hostname property: The hostname of the endpoint.
Parameters:
Returns:
withKind
public HybridConnectionInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
HybridConnectionInner.withKind(String kind)Parameters:
withPort
public HybridConnectionInner withPort(Integer port)
Set the port property: The port of the endpoint.
Parameters:
Returns:
withRelayArmUri
public HybridConnectionInner withRelayArmUri(String relayArmUri)
Set the relayArmUri property: The ARM URI to the Service Bus relay.
Parameters:
Returns:
withRelayName
public HybridConnectionInner withRelayName(String relayName)
Set the relayName property: The name of the Service Bus relay.
Parameters:
Returns:
withSendKeyName
public HybridConnectionInner withSendKeyName(String sendKeyName)
Set the sendKeyName property: The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.
Parameters:
Returns:
withSendKeyValue
public HybridConnectionInner withSendKeyValue(String sendKeyValue)
Set the sendKeyValue property: The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.
Parameters:
Returns:
withServiceBusNamespace
public HybridConnectionInner withServiceBusNamespace(String serviceBusNamespace)
Set the serviceBusNamespace property: The name of the Service Bus namespace.
Parameters:
Returns:
withServiceBusSuffix
public HybridConnectionInner withServiceBusSuffix(String serviceBusSuffix)
Set the serviceBusSuffix property: The suffix for the service bus endpoint. By default this is .servicebus.windows.net.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for