/// <summary>
 /// Initializes a new instance of the ProcessServer class.
 /// </summary>
 /// <param name="friendlyName">The Process Server's friendly
 /// name.</param>
 /// <param name="id">The Process Server Id.</param>
 /// <param name="ipAddress">The IP address of the server.</param>
 /// <param name="osType">The OS type of the server.</param>
 /// <param name="agentVersion">The version of the scout component on
 /// the server.</param>
 /// <param name="lastHeartbeat">The last heartbeat received from the
 /// server.</param>
 /// <param name="versionStatus">Version status</param>
 /// <param name="mobilityServiceUpdates">The list of the mobility
 /// service updates available on the Process Server.</param>
 /// <param name="hostId">The agent generated Id.</param>
 /// <param name="machineCount">The servers configured with this
 /// PS.</param>
 /// <param name="replicationPairCount">The number of replication pairs
 /// configured in this PS.</param>
 /// <param name="systemLoad">The percentage of the system load.</param>
 /// <param name="systemLoadStatus">The system load status.</param>
 /// <param name="cpuLoad">The percentage of the CPU load.</param>
 /// <param name="cpuLoadStatus">The CPU load status.</param>
 /// <param name="totalMemoryInBytes">The total memory.</param>
 /// <param name="availableMemoryInBytes">The available memory.</param>
 /// <param name="memoryUsageStatus">The memory usage status.</param>
 /// <param name="totalSpaceInBytes">The total space.</param>
 /// <param name="availableSpaceInBytes">The available space.</param>
 /// <param name="spaceUsageStatus">The space usage status.</param>
 /// <param name="psServiceStatus">The PS service status.</param>
 /// <param name="sslCertExpiryDate">The PS SSL cert expiry
 /// date.</param>
 /// <param name="sslCertExpiryRemainingDays">CS SSL cert expiry
 /// date.</param>
 /// <param name="osVersion">OS Version of the process server. Note:
 /// This will get populated if user has CS version greater than
 /// 9.12.0.0.</param>
 /// <param name="healthErrors">Health errors.</param>
 /// <param name="agentExpiryDate">Agent expiry date.</param>
 /// <param name="agentVersionDetails">The agent version
 /// details.</param>
 public ProcessServer(string friendlyName = default(string), string id = default(string), string ipAddress = default(string), string osType = default(string), string agentVersion = default(string), System.DateTime?lastHeartbeat = default(System.DateTime?), string versionStatus = default(string), IList <MobilityServiceUpdate> mobilityServiceUpdates = default(IList <MobilityServiceUpdate>), string hostId = default(string), string machineCount = default(string), string replicationPairCount = default(string), string systemLoad = default(string), string systemLoadStatus = default(string), string cpuLoad = default(string), string cpuLoadStatus = default(string), long?totalMemoryInBytes = default(long?), long?availableMemoryInBytes = default(long?), string memoryUsageStatus = default(string), long?totalSpaceInBytes = default(long?), long?availableSpaceInBytes = default(long?), string spaceUsageStatus = default(string), string psServiceStatus = default(string), System.DateTime?sslCertExpiryDate = default(System.DateTime?), int?sslCertExpiryRemainingDays = default(int?), string osVersion = default(string), IList <HealthError> healthErrors = default(IList <HealthError>), System.DateTime?agentExpiryDate = default(System.DateTime?), VersionDetails agentVersionDetails = default(VersionDetails))
 {
     FriendlyName               = friendlyName;
     Id                         = id;
     IpAddress                  = ipAddress;
     OsType                     = osType;
     AgentVersion               = agentVersion;
     LastHeartbeat              = lastHeartbeat;
     VersionStatus              = versionStatus;
     MobilityServiceUpdates     = mobilityServiceUpdates;
     HostId                     = hostId;
     MachineCount               = machineCount;
     ReplicationPairCount       = replicationPairCount;
     SystemLoad                 = systemLoad;
     SystemLoadStatus           = systemLoadStatus;
     CpuLoad                    = cpuLoad;
     CpuLoadStatus              = cpuLoadStatus;
     TotalMemoryInBytes         = totalMemoryInBytes;
     AvailableMemoryInBytes     = availableMemoryInBytes;
     MemoryUsageStatus          = memoryUsageStatus;
     TotalSpaceInBytes          = totalSpaceInBytes;
     AvailableSpaceInBytes      = availableSpaceInBytes;
     SpaceUsageStatus           = spaceUsageStatus;
     PsServiceStatus            = psServiceStatus;
     SslCertExpiryDate          = sslCertExpiryDate;
     SslCertExpiryRemainingDays = sslCertExpiryRemainingDays;
     OsVersion                  = osVersion;
     HealthErrors               = healthErrors;
     AgentExpiryDate            = agentExpiryDate;
     AgentVersionDetails        = agentVersionDetails;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// RecoveryServicesProviderProperties class.
 /// </summary>
 /// <param name="fabricType">Type of the site.</param>
 /// <param name="friendlyName">Friendly name of the DRA.</param>
 /// <param name="providerVersion">The provider version.</param>
 /// <param name="serverVersion">The fabric provider.</param>
 /// <param name="providerVersionState">DRA version status.</param>
 /// <param name="providerVersionExpiryDate">Expiry date of the
 /// version.</param>
 /// <param name="fabricFriendlyName">The fabric friendly name.</param>
 /// <param name="lastHeartBeat">Time when last heartbeat was sent by
 /// the DRA.</param>
 /// <param name="connectionStatus">A value indicating whether DRA is
 /// responsive.</param>
 /// <param name="protectedItemCount">Number of protected VMs currently
 /// managed by the DRA.</param>
 /// <param name="allowedScenarios">The scenarios allowed on this
 /// provider.</param>
 /// <param name="healthErrorDetails">The recovery services provider
 /// health error details.</param>
 /// <param name="draIdentifier">The DRA Id.</param>
 /// <param name="identityDetails">The identity details.</param>
 /// <param name="providerVersionDetails">The provider version
 /// details.</param>
 public RecoveryServicesProviderProperties(string fabricType = default(string), string friendlyName = default(string), string providerVersion = default(string), string serverVersion = default(string), string providerVersionState = default(string), System.DateTime? providerVersionExpiryDate = default(System.DateTime?), string fabricFriendlyName = default(string), System.DateTime? lastHeartBeat = default(System.DateTime?), string connectionStatus = default(string), int? protectedItemCount = default(int?), IList<string> allowedScenarios = default(IList<string>), IList<HealthError> healthErrorDetails = default(IList<HealthError>), string draIdentifier = default(string), IdentityInformation identityDetails = default(IdentityInformation), VersionDetails providerVersionDetails = default(VersionDetails))
 {
     FabricType = fabricType;
     FriendlyName = friendlyName;
     ProviderVersion = providerVersion;
     ServerVersion = serverVersion;
     ProviderVersionState = providerVersionState;
     ProviderVersionExpiryDate = providerVersionExpiryDate;
     FabricFriendlyName = fabricFriendlyName;
     LastHeartBeat = lastHeartBeat;
     ConnectionStatus = connectionStatus;
     ProtectedItemCount = protectedItemCount;
     AllowedScenarios = allowedScenarios;
     HealthErrorDetails = healthErrorDetails;
     DraIdentifier = draIdentifier;
     IdentityDetails = identityDetails;
     ProviderVersionDetails = providerVersionDetails;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MasterTargetServer class.
 /// </summary>
 /// <param name="id">The server Id.</param>
 /// <param name="ipAddress">The IP address of the server.</param>
 /// <param name="name">The server name.</param>
 /// <param name="osType">The OS type of the server.</param>
 /// <param name="agentVersion">The version of the scout component on
 /// the server.</param>
 /// <param name="lastHeartbeat">The last heartbeat received from the
 /// server.</param>
 /// <param name="versionStatus">Version status</param>
 /// <param name="retentionVolumes">The retention volumes of Master
 /// target Server.</param>
 /// <param name="dataStores">The list of data stores in the
 /// fabric.</param>
 /// <param name="validationErrors">Validation errors.</param>
 /// <param name="healthErrors">Health errors.</param>
 /// <param name="diskCount">Disk count of the master target.</param>
 /// <param name="osVersion">OS Version of the master target.</param>
 /// <param name="agentExpiryDate">Agent expiry date.</param>
 /// <param name="marsAgentVersion">MARS agent version.</param>
 /// <param name="marsAgentExpiryDate">MARS agent expiry date.</param>
 /// <param name="agentVersionDetails">Agent version details.</param>
 /// <param name="marsAgentVersionDetails">Mars agent version
 /// details.</param>
 public MasterTargetServer(string id = default(string), string ipAddress = default(string), string name = default(string), string osType = default(string), string agentVersion = default(string), System.DateTime?lastHeartbeat = default(System.DateTime?), string versionStatus = default(string), IList <RetentionVolume> retentionVolumes = default(IList <RetentionVolume>), IList <DataStore> dataStores = default(IList <DataStore>), IList <HealthError> validationErrors = default(IList <HealthError>), IList <HealthError> healthErrors = default(IList <HealthError>), int?diskCount = default(int?), string osVersion = default(string), System.DateTime?agentExpiryDate = default(System.DateTime?), string marsAgentVersion = default(string), System.DateTime?marsAgentExpiryDate = default(System.DateTime?), VersionDetails agentVersionDetails = default(VersionDetails), VersionDetails marsAgentVersionDetails = default(VersionDetails))
 {
     Id                      = id;
     IpAddress               = ipAddress;
     Name                    = name;
     OsType                  = osType;
     AgentVersion            = agentVersion;
     LastHeartbeat           = lastHeartbeat;
     VersionStatus           = versionStatus;
     RetentionVolumes        = retentionVolumes;
     DataStores              = dataStores;
     ValidationErrors        = validationErrors;
     HealthErrors            = healthErrors;
     DiskCount               = diskCount;
     OsVersion               = osVersion;
     AgentExpiryDate         = agentExpiryDate;
     MarsAgentVersion        = marsAgentVersion;
     MarsAgentExpiryDate     = marsAgentExpiryDate;
     AgentVersionDetails     = agentVersionDetails;
     MarsAgentVersionDetails = marsAgentVersionDetails;
     CustomInit();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the VMwareDetails class.
 /// </summary>
 /// <param name="processServers">The list of Process Servers associated
 /// with the fabric.</param>
 /// <param name="masterTargetServers">The list of Master Target servers
 /// associated with the fabric.</param>
 /// <param name="runAsAccounts">The list of run as accounts created on
 /// the server.</param>
 /// <param name="replicationPairCount">The number of replication pairs
 /// configured in this CS.</param>
 /// <param name="processServerCount">The number of process
 /// servers.</param>
 /// <param name="agentCount">The number of source and target servers
 /// configured to talk to this CS.</param>
 /// <param name="protectedServers">The number of protected
 /// servers.</param>
 /// <param name="systemLoad">The percentage of the system load.</param>
 /// <param name="systemLoadStatus">The system load status.</param>
 /// <param name="cpuLoad">The percentage of the CPU load.</param>
 /// <param name="cpuLoadStatus">The CPU load status.</param>
 /// <param name="totalMemoryInBytes">The total memory.</param>
 /// <param name="availableMemoryInBytes">The available memory.</param>
 /// <param name="memoryUsageStatus">The memory usage status.</param>
 /// <param name="totalSpaceInBytes">The total space.</param>
 /// <param name="availableSpaceInBytes">The available space.</param>
 /// <param name="spaceUsageStatus">The space usage status.</param>
 /// <param name="webLoad">The web load.</param>
 /// <param name="webLoadStatus">The web load status.</param>
 /// <param name="databaseServerLoad">The database server load.</param>
 /// <param name="databaseServerLoadStatus">The database server load
 /// status.</param>
 /// <param name="csServiceStatus">The CS service status.</param>
 /// <param name="ipAddress">The IP address.</param>
 /// <param name="agentVersion">The agent Version.</param>
 /// <param name="hostName">The host name.</param>
 /// <param name="lastHeartbeat">The last heartbeat received from CS
 /// server.</param>
 /// <param name="versionStatus">Version status.</param>
 /// <param name="sslCertExpiryDate">CS SSL cert expiry date.</param>
 /// <param name="sslCertExpiryRemainingDays">CS SSL cert expiry
 /// date.</param>
 /// <param name="psTemplateVersion">PS template version.</param>
 /// <param name="agentExpiryDate">Agent expiry date.</param>
 /// <param name="agentVersionDetails">The agent version
 /// details.</param>
 /// <param name="switchProviderBlockingErrorDetails">The switch
 /// provider blocking error information.</param>
 public VMwareDetails(IList <ProcessServer> processServers = default(IList <ProcessServer>), IList <MasterTargetServer> masterTargetServers = default(IList <MasterTargetServer>), IList <RunAsAccount> runAsAccounts = default(IList <RunAsAccount>), string replicationPairCount = default(string), string processServerCount = default(string), string agentCount = default(string), string protectedServers = default(string), string systemLoad = default(string), string systemLoadStatus = default(string), string cpuLoad = default(string), string cpuLoadStatus = default(string), long?totalMemoryInBytes = default(long?), long?availableMemoryInBytes = default(long?), string memoryUsageStatus = default(string), long?totalSpaceInBytes = default(long?), long?availableSpaceInBytes = default(long?), string spaceUsageStatus = default(string), string webLoad = default(string), string webLoadStatus = default(string), string databaseServerLoad = default(string), string databaseServerLoadStatus = default(string), string csServiceStatus = default(string), string ipAddress = default(string), string agentVersion = default(string), string hostName = default(string), System.DateTime?lastHeartbeat = default(System.DateTime?), string versionStatus = default(string), System.DateTime?sslCertExpiryDate = default(System.DateTime?), int?sslCertExpiryRemainingDays = default(int?), string psTemplateVersion = default(string), System.DateTime?agentExpiryDate = default(System.DateTime?), VersionDetails agentVersionDetails = default(VersionDetails), IList <InMageFabricSwitchProviderBlockingErrorDetails> switchProviderBlockingErrorDetails = default(IList <InMageFabricSwitchProviderBlockingErrorDetails>))
 {
     ProcessServers       = processServers;
     MasterTargetServers  = masterTargetServers;
     RunAsAccounts        = runAsAccounts;
     ReplicationPairCount = replicationPairCount;
     ProcessServerCount   = processServerCount;
     AgentCount           = agentCount;
     ProtectedServers     = protectedServers;
     SystemLoad           = systemLoad;
     SystemLoadStatus     = systemLoadStatus;
     CpuLoad                            = cpuLoad;
     CpuLoadStatus                      = cpuLoadStatus;
     TotalMemoryInBytes                 = totalMemoryInBytes;
     AvailableMemoryInBytes             = availableMemoryInBytes;
     MemoryUsageStatus                  = memoryUsageStatus;
     TotalSpaceInBytes                  = totalSpaceInBytes;
     AvailableSpaceInBytes              = availableSpaceInBytes;
     SpaceUsageStatus                   = spaceUsageStatus;
     WebLoad                            = webLoad;
     WebLoadStatus                      = webLoadStatus;
     DatabaseServerLoad                 = databaseServerLoad;
     DatabaseServerLoadStatus           = databaseServerLoadStatus;
     CsServiceStatus                    = csServiceStatus;
     IpAddress                          = ipAddress;
     AgentVersion                       = agentVersion;
     HostName                           = hostName;
     LastHeartbeat                      = lastHeartbeat;
     VersionStatus                      = versionStatus;
     SslCertExpiryDate                  = sslCertExpiryDate;
     SslCertExpiryRemainingDays         = sslCertExpiryRemainingDays;
     PsTemplateVersion                  = psTemplateVersion;
     AgentExpiryDate                    = agentExpiryDate;
     AgentVersionDetails                = agentVersionDetails;
     SwitchProviderBlockingErrorDetails = switchProviderBlockingErrorDetails;
     CustomInit();
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the
 /// RecoveryServicesProviderProperties class.
 /// </summary>
 /// <param name="fabricType">Type of the site.</param>
 /// <param name="friendlyName">Friendly name of the DRA.</param>
 /// <param name="providerVersion">The provider version.</param>
 /// <param name="serverVersion">The fabric provider.</param>
 /// <param name="providerVersionState">DRA version status.</param>
 /// <param name="providerVersionExpiryDate">Expiry date of the
 /// version.</param>
 /// <param name="fabricFriendlyName">The fabric friendly name.</param>
 /// <param name="lastHeartBeat">Time when last heartbeat was sent by
 /// the DRA.</param>
 /// <param name="connectionStatus">A value indicating whether DRA is
 /// responsive.</param>
 /// <param name="protectedItemCount">Number of protected VMs currently
 /// managed by the DRA.</param>
 /// <param name="allowedScenarios">The scenarios allowed on this
 /// provider.</param>
 /// <param name="healthErrorDetails">The recovery services provider
 /// health error details.</param>
 /// <param name="draIdentifier">The DRA Id.</param>
 /// <param name="machineId">The machine Id.</param>
 /// <param name="machineName">The machine name.</param>
 /// <param name="biosId">The Bios Id.</param>
 /// <param name="authenticationIdentityDetails">The authentication
 /// identity details.</param>
 /// <param name="resourceAccessIdentityDetails">The resource access
 /// identity details.</param>
 /// <param name="dataPlaneAuthenticationIdentityDetails">The data plane
 /// authentication identity details.</param>
 /// <param name="providerVersionDetails">The provider version
 /// details.</param>
 public RecoveryServicesProviderProperties(string fabricType = default(string), string friendlyName = default(string), string providerVersion = default(string), string serverVersion = default(string), string providerVersionState = default(string), System.DateTime?providerVersionExpiryDate = default(System.DateTime?), string fabricFriendlyName = default(string), System.DateTime?lastHeartBeat = default(System.DateTime?), string connectionStatus = default(string), int?protectedItemCount = default(int?), IList <string> allowedScenarios = default(IList <string>), IList <HealthError> healthErrorDetails = default(IList <HealthError>), string draIdentifier = default(string), string machineId = default(string), string machineName = default(string), string biosId = default(string), IdentityProviderDetails authenticationIdentityDetails = default(IdentityProviderDetails), IdentityProviderDetails resourceAccessIdentityDetails = default(IdentityProviderDetails), IdentityProviderDetails dataPlaneAuthenticationIdentityDetails = default(IdentityProviderDetails), VersionDetails providerVersionDetails = default(VersionDetails))
 {
     FabricType                = fabricType;
     FriendlyName              = friendlyName;
     ProviderVersion           = providerVersion;
     ServerVersion             = serverVersion;
     ProviderVersionState      = providerVersionState;
     ProviderVersionExpiryDate = providerVersionExpiryDate;
     FabricFriendlyName        = fabricFriendlyName;
     LastHeartBeat             = lastHeartBeat;
     ConnectionStatus          = connectionStatus;
     ProtectedItemCount        = protectedItemCount;
     AllowedScenarios          = allowedScenarios;
     HealthErrorDetails        = healthErrorDetails;
     DraIdentifier             = draIdentifier;
     MachineId   = machineId;
     MachineName = machineName;
     BiosId      = biosId;
     AuthenticationIdentityDetails          = authenticationIdentityDetails;
     ResourceAccessIdentityDetails          = resourceAccessIdentityDetails;
     DataPlaneAuthenticationIdentityDetails = dataPlaneAuthenticationIdentityDetails;
     ProviderVersionDetails = providerVersionDetails;
     CustomInit();
 }