Поделиться через


WcfRelayData Class

Definition

A class representing the WcfRelay data model. Description of the WCF relay resource.

public class WcfRelayData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Relay.WcfRelayData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Relay.WcfRelayData>
public class WcfRelayData : Azure.ResourceManager.Models.ResourceData
type WcfRelayData = class
    inherit ResourceData
    interface IJsonModel<WcfRelayData>
    interface IPersistableModel<WcfRelayData>
type WcfRelayData = class
    inherit ResourceData
Public Class WcfRelayData
Inherits ResourceData
Implements IJsonModel(Of WcfRelayData), IPersistableModel(Of WcfRelayData)
Public Class WcfRelayData
Inherits ResourceData
Inheritance
WcfRelayData
Implements

Constructors

WcfRelayData()

Initializes a new instance of WcfRelayData.

Properties

CreatedOn

The time the WCF relay was created.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsClientAuthorizationRequired

Returns true if client authorization is needed for this relay; otherwise, false.

IsDynamic

Returns true if the relay is dynamic; otherwise, false.

IsTransportSecurityRequired

Returns true if transport security is needed for this relay; otherwise, false.

ListenerCount

The number of listeners for this relay. Note that min :1 and max:25 are supported.

Location

The geo-location where the resource lives.

Name

The name of the resource.

(Inherited from ResourceData)
RelayType

WCF relay type.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UpdatedOn

The time the namespace was updated.

UserMetadata

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WcfRelayData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WcfRelayData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WcfRelayData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WcfRelayData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WcfRelayData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to