Share via


StorageSyncRegisteredServerData Class

Definition

A class representing the StorageSyncRegisteredServer data model. Registered Server resource.

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

Constructors

Name Description
StorageSyncRegisteredServerData()

Initializes a new instance of StorageSyncRegisteredServerData.

Properties

Name Description
ActiveAuthType

Server auth type.

AgentVersion

Registered Server Agent Version.

AgentVersionExpireOn

Registered Server Agent Version Expiration Date.

AgentVersionStatus

Registered Server Agent Version Status.

ApplicationId

Server Application Id.

ClusterId

Registered Server clusterId.

ClusterName

Registered Server clusterName.

DiscoveryEndpointUri

Resource discoveryEndpointUri.

FriendlyName

Friendly Name.

Id

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

(Inherited from ResourceData)
LastHeartbeat

Registered Server last heart beat.

LastOperationName

Resource Last Operation Name.

LastWorkflowId

Registered Server lastWorkflowId.

LatestApplicationId

Latest Server Application Id discovered from the server. It is not yet applied.

ManagementEndpointUri

Management Endpoint Uri.

MonitoringConfiguration

Monitoring Configuration.

MonitoringEndpointUri

Telemetry Endpoint Uri.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

Registered Server Provisioning State.

ResourceLocation

Resource Location.

ResourceType

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

(Inherited from ResourceData)
ServerCertificate

Registered Server Certificate

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ServerId

Registered Server serverId.

ServerManagementErrorCode

Registered Server Management Error Code.

ServerName

Server name.

ServerOSVersion

Registered Server OS Version.

ServerRole

Registered Server serverRole.

ServiceLocation

Service Location.

StorageSyncServiceUid

Registered Server storageSyncServiceUid.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UseIdentity

Apply server with newly discovered ApplicationId if available.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

Name Description
IJsonModel<StorageSyncRegisteredServerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageSyncRegisteredServerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageSyncRegisteredServerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageSyncRegisteredServerData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageSyncRegisteredServerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to