ArmRelayModelFactory.WcfRelayData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of WcfRelayData.
public static Azure.ResourceManager.Relay.WcfRelayData WcfRelayData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? isDynamic = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, int? listenerCount = default, Azure.ResourceManager.Relay.Models.RelayType? relayType = default, bool? isClientAuthorizationRequired = default, bool? isTransportSecurityRequired = default, string userMetadata = default, Azure.Core.AzureLocation? location = default);
static member WcfRelayData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<Azure.ResourceManager.Relay.Models.RelayType> * Nullable<bool> * Nullable<bool> * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Relay.WcfRelayData
Public Shared Function WcfRelayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional isDynamic As Nullable(Of Boolean) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional listenerCount As Nullable(Of Integer) = Nothing, Optional relayType As Nullable(Of RelayType) = Nothing, Optional isClientAuthorizationRequired As Nullable(Of Boolean) = Nothing, Optional isTransportSecurityRequired As Nullable(Of Boolean) = Nothing, Optional userMetadata As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As WcfRelayData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- createdOn
- Nullable<DateTimeOffset>
The time the WCF relay was created.
- updatedOn
- Nullable<DateTimeOffset>
The time the namespace was updated.
The number of listeners for this relay. Note that min :1 and max:25 are supported.
Returns true if client authorization is needed for this relay; otherwise, false.
Returns true if transport security is needed for this relay; otherwise, false.
- userMetadata
- String
The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
- location
- Nullable<AzureLocation>
The geo-location where the resource lives.
Returns
A new WcfRelayData instance for mocking.
Applies to
Azure SDK for .NET