共用方式為


RegisteredServer Constructors

Definition

Overloads

RegisteredServer()

Initializes a new instance of the RegisteredServer class.

RegisteredServer(String, String, String, SystemData, String, String, String, Nullable<DateTime>, String, Nullable<Int32>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the RegisteredServer class.

RegisteredServer()

Initializes a new instance of the RegisteredServer class.

public RegisteredServer ();
Public Sub New ()

Applies to

RegisteredServer(String, String, String, SystemData, String, String, String, Nullable<DateTime>, String, Nullable<Int32>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the RegisteredServer class.

public RegisteredServer (string id = default, string name = default, string type = default, Microsoft.Azure.Management.StorageSync.Models.SystemData systemData = default, string serverCertificate = default, string agentVersion = default, string agentVersionStatus = default, DateTime? agentVersionExpirationDate = default, string serverOSVersion = default, int? serverManagementErrorCode = default, string lastHeartBeat = default, string provisioningState = default, string serverRole = default, string clusterId = default, string clusterName = default, string serverId = default, string storageSyncServiceUid = default, string lastWorkflowId = default, string lastOperationName = default, string discoveryEndpointUri = default, string resourceLocation = default, string serviceLocation = default, string friendlyName = default, string managementEndpointUri = default, string monitoringEndpointUri = default, string monitoringConfiguration = default, string serverName = default);
new Microsoft.Azure.Management.StorageSync.Models.RegisteredServer : string * string * string * Microsoft.Azure.Management.StorageSync.Models.SystemData * string * string * string * Nullable<DateTime> * string * Nullable<int> * string * string * string * string * string * string * string * string * string * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.StorageSync.Models.RegisteredServer
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional serverCertificate As String = Nothing, Optional agentVersion As String = Nothing, Optional agentVersionStatus As String = Nothing, Optional agentVersionExpirationDate As Nullable(Of DateTime) = Nothing, Optional serverOSVersion As String = Nothing, Optional serverManagementErrorCode As Nullable(Of Integer) = Nothing, Optional lastHeartBeat As String = Nothing, Optional provisioningState As String = Nothing, Optional serverRole As String = Nothing, Optional clusterId As String = Nothing, Optional clusterName As String = Nothing, Optional serverId As String = Nothing, Optional storageSyncServiceUid As String = Nothing, Optional lastWorkflowId As String = Nothing, Optional lastOperationName As String = Nothing, Optional discoveryEndpointUri As String = Nothing, Optional resourceLocation As String = Nothing, Optional serviceLocation As String = Nothing, Optional friendlyName As String = Nothing, Optional managementEndpointUri As String = Nothing, Optional monitoringEndpointUri As String = Nothing, Optional monitoringConfiguration As String = Nothing, Optional serverName As String = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

serverCertificate
String

Registered Server Certificate

agentVersion
String

Registered Server Agent Version

agentVersionStatus
String

Registered Server Agent Version Status. Possible values include: 'Ok', 'NearExpiry', 'Expired', 'Blocked'

agentVersionExpirationDate
Nullable<DateTime>

Registered Server Agent Version Expiration Date

serverOSVersion
String

Registered Server OS Version

serverManagementErrorCode
Nullable<Int32>

Registered Server Management Error Code

lastHeartBeat
String

Registered Server last heart beat

provisioningState
String

Registered Server Provisioning State

serverRole
String

Registered Server serverRole

clusterId
String

Registered Server clusterId

clusterName
String

Registered Server clusterName

serverId
String

Registered Server serverId

storageSyncServiceUid
String

Registered Server storageSyncServiceUid

lastWorkflowId
String

Registered Server lastWorkflowId

lastOperationName
String

Resource Last Operation Name

discoveryEndpointUri
String

Resource discoveryEndpointUri

resourceLocation
String

Resource Location

serviceLocation
String

Service Location

friendlyName
String

Friendly Name

managementEndpointUri
String

Management Endpoint Uri

monitoringEndpointUri
String

Telemetry Endpoint Uri

monitoringConfiguration
String

Monitoring Configuration

serverName
String

Server name

Applies to