Share via


ArmIotOperationsModelFactory.IotOperationsBrokerListenerProperties Method

Definition

Initializes a new instance of IotOperationsBrokerListenerProperties.

public static Azure.ResourceManager.IotOperations.Models.IotOperationsBrokerListenerProperties IotOperationsBrokerListenerProperties(string serviceName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotOperations.Models.BrokerListenerPort> ports = default, Azure.ResourceManager.IotOperations.Models.BlockerListenerServiceType? serviceType = default, Azure.ResourceManager.IotOperations.Models.IotOperationsProvisioningState? provisioningState = default);
static member IotOperationsBrokerListenerProperties : string * seq<Azure.ResourceManager.IotOperations.Models.BrokerListenerPort> * Nullable<Azure.ResourceManager.IotOperations.Models.BlockerListenerServiceType> * Nullable<Azure.ResourceManager.IotOperations.Models.IotOperationsProvisioningState> -> Azure.ResourceManager.IotOperations.Models.IotOperationsBrokerListenerProperties
Public Shared Function IotOperationsBrokerListenerProperties (Optional serviceName As String = Nothing, Optional ports As IEnumerable(Of BrokerListenerPort) = Nothing, Optional serviceType As Nullable(Of BlockerListenerServiceType) = Nothing, Optional provisioningState As Nullable(Of IotOperationsProvisioningState) = Nothing) As IotOperationsBrokerListenerProperties

Parameters

serviceName
String

Kubernetes Service name of this listener.

ports
IEnumerable<BrokerListenerPort>

Ports on which this listener accepts client connections.

serviceType
Nullable<BlockerListenerServiceType>

Kubernetes Service type of this listener.

provisioningState
Nullable<IotOperationsProvisioningState>

The status of the last operation.

Returns

A new IotOperationsBrokerListenerProperties instance for mocking.

Applies to