Delen via


ServiceBusQueueOutput Interface

public interface ServiceBusQueueOutput

HttpOutput(name = "response") final OutputBinding<String> result ) { result.setValue(message + " has been sent."); return message; }

Method Summary

Modifier and Type Method and Description
AccessRights access()

Defines the permission of the Service Bus queue to which to write.

String connection()

Defines the app setting name that contains the Service Bus connection string.

String dataType()

Defines how Functions runtime should treat the parameter value. Possible values are:

    <li>
    
      <p>"" or string: treat it as a string whose value is serialized from the parameter </p>
    
    </li>
    
    <li>
    
      <p>binary: treat it as a binary data whose value comes from for example OutputBinding&lt;byte[]&gt; </p>
    
    </li>
    
String name()

The variable name used in function.json.

String queueName()

Defines the name of the Service Bus queue to which to write.

Method Details

access

public AccessRights access() default AccessRights.MANAGE

Defines the permission of the Service Bus queue to which to write.

Returns:

The Service Bus queue permission.

connection

public String connection()

Defines the app setting name that contains the Service Bus connection string.

Returns:

The app setting name of the connection string.

dataType

public String dataType() default ""

Defines how Functions runtime should treat the parameter value. Possible values are:

    <li>
    
      <p>"" or string: treat it as a string whose value is serialized from the parameter </p>
    
    </li>
    
    <li>
    
      <p>binary: treat it as a binary data whose value comes from for example OutputBinding&lt;byte[]&gt; </p>
    
    </li>
    

Returns:

The dataType which will be used by the Functions runtime.

name

public String name()

The variable name used in function.json.

Returns:

The variable name used in function.json.

queueName

public String queueName()

Defines the name of the Service Bus queue to which to write.

Returns:

The Service Bus queue name string.

Applies to