/// <summary>
 /// Initializes a new instance of the <see cref="RemoteCluster" /> class.
 /// </summary>
 /// <param name="allEndpointsReachable">Specifies whether any endpoint (such as a Node) on the remote Cluster is reachable from this local Cluster. If true, a service running on the local Cluster can communicate directly with any of its peers running on the remote Cluster, without using a proxy..</param>
 /// <param name="autoRegisterTarget">Specifies whether the remote cluster needs to be kept in sync. This will be set to true by default..</param>
 /// <param name="autoRegistration">Specifies whether the remote registration has happened automatically (due to registration on the other site). Can&#39;t think of other states (other than manually &amp; automatically) so this isn&#39;t an enum. For a manual registration, this field will not be set..</param>
 /// <param name="bandwidthLimit">bandwidthLimit.</param>
 /// <param name="clusterId">Specifies the unique id of the remote Cluster..</param>
 /// <param name="clusterIncarnationId">Specifies the unique incarnation id of the remote Cluster. This id is determined dynamically by contacting the remote Cluster..</param>
 /// <param name="compressionEnabled">Specifies whether to compress the outbound data when transferring the replication data over the network to the remote Cluster..</param>
 /// <param name="description">Specifies any additional information if needed..</param>
 /// <param name="encryptionKey">Specifies the encryption key used for encrypting the replication data from a local Cluster to a remote Cluster. If a key is not specified, replication traffic encryption is disabled. When Snapshots are replicated from a local Cluster to a remote Cluster, the encryption key specified on the local Cluster must be the same as the key specified on the remote Cluster..</param>
 /// <param name="localIps">Array of Local IP Addresses.  Specifies the IP addresses of the interfaces in the local Cluster which will be used for communicating with the remote Cluster..</param>
 /// <param name="name">Specifies the name of the remote cluster. This field is determined dynamically by contacting the remote cluster..</param>
 /// <param name="networkInterface">Specifies the name of the network interfaces to use for communicating with the remote Cluster..</param>
 /// <param name="purposeRemoteAccess">Whether the remote cluster will be used for remote access for SPOG..</param>
 /// <param name="purposeReplication">Whether the remote cluster will be used for replication..</param>
 /// <param name="remoteAccessCredentials">remoteAccessCredentials.</param>
 /// <param name="remoteIps">Array of Remote Node IP Addresses.  Specifies the IP addresses of the Nodes on the remote Cluster to connect with. These IP addresses can also be VIPS. Specifying hostnames is not supported..</param>
 /// <param name="tenantId">Specifies the tenant Id of the organization that created this remote cluster configuration..</param>
 /// <param name="userName">Specifies the Cohesity user name used to connect to the remote Cluster..</param>
 /// <param name="viewBoxPairInfo">Array of Storage Domain (View Box) Pairs.  Specifies pairings between Storage Domains (View Boxes) on the local Cluster with Storage Domains (View Boxes) on a remote Cluster that are used in replication..</param>
 public RemoteCluster(bool?allEndpointsReachable = default(bool?), bool?autoRegisterTarget = default(bool?), bool?autoRegistration = default(bool?), BandwidthLimit bandwidthLimit = default(BandwidthLimit), long?clusterId = default(long?), long?clusterIncarnationId = default(long?), bool?compressionEnabled = default(bool?), string description = default(string), string encryptionKey = default(string), List <string> localIps = default(List <string>), string name = default(string), string networkInterface = default(string), bool?purposeRemoteAccess = default(bool?), bool?purposeReplication = default(bool?), AccessTokenCredential remoteAccessCredentials = default(AccessTokenCredential), List <string> remoteIps = default(List <string>), string tenantId = default(string), string userName = default(string), List <ViewBoxPairInfo> viewBoxPairInfo = default(List <ViewBoxPairInfo>))
 {
     this.AllEndpointsReachable = allEndpointsReachable;
     this.AutoRegisterTarget    = autoRegisterTarget;
     this.AutoRegistration      = autoRegistration;
     this.ClusterId             = clusterId;
     this.ClusterIncarnationId  = clusterIncarnationId;
     this.CompressionEnabled    = compressionEnabled;
     this.Description           = description;
     this.EncryptionKey         = encryptionKey;
     this.LocalIps                = localIps;
     this.Name                    = name;
     this.NetworkInterface        = networkInterface;
     this.PurposeRemoteAccess     = purposeRemoteAccess;
     this.PurposeReplication      = purposeReplication;
     this.RemoteIps               = remoteIps;
     this.TenantId                = tenantId;
     this.UserName                = userName;
     this.ViewBoxPairInfo         = viewBoxPairInfo;
     this.AllEndpointsReachable   = allEndpointsReachable;
     this.AutoRegisterTarget      = autoRegisterTarget;
     this.AutoRegistration        = autoRegistration;
     this.BandwidthLimit          = bandwidthLimit;
     this.ClusterId               = clusterId;
     this.ClusterIncarnationId    = clusterIncarnationId;
     this.CompressionEnabled      = compressionEnabled;
     this.Description             = description;
     this.EncryptionKey           = encryptionKey;
     this.LocalIps                = localIps;
     this.Name                    = name;
     this.NetworkInterface        = networkInterface;
     this.PurposeRemoteAccess     = purposeRemoteAccess;
     this.PurposeReplication      = purposeReplication;
     this.RemoteAccessCredentials = remoteAccessCredentials;
     this.RemoteIps               = remoteIps;
     this.TenantId                = tenantId;
     this.UserName                = userName;
     this.ViewBoxPairInfo         = viewBoxPairInfo;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteCluster" /> class.
 /// </summary>
 /// <param name="allEndpointsReachable">Specifies whether any endpoint (such as a Node) on the remote Cluster is reachable from this local Cluster. If true, a service running on the local Cluster can communicate directly with any of its peers running on the remote Cluster, without using a proxy..</param>
 /// <param name="bandwidthLimit">bandwidthLimit.</param>
 /// <param name="clearInterfaces">clearInterfaces.</param>
 /// <param name="clearVlanId">Specifies whether to clear the vlanId field, and thus stop using only the IPs in the VLAN for communicating with the remote Cluster..</param>
 /// <param name="clusterId">Specifies the unique id of the remote Cluster..</param>
 /// <param name="clusterIncarnationId">Specifies the unique incarnation id of the remote Cluster. This id is determined dynamically by contacting the remote Cluster..</param>
 /// <param name="compressionEnabled">Specifies whether to compress the outbound data when transferring the replication data over the network to the remote Cluster..</param>
 /// <param name="encryptionKey">Specifies the encryption key used for encrypting the replication data from a local Cluster to a remote Cluster. If a key is not specified, replication traffic encryption is disabled. When Snapshots are replicated from a local Cluster to a remote Cluster, the encryption key specified on the local Cluster must be the same as the key specified on the remote Cluster..</param>
 /// <param name="ifaceName">Specifies the interface name of the VLAN to use for communicating with the remote Cluster..</param>
 /// <param name="localIps">Array of Local IP Addresses.  Specifies the IP addresses of the interfaces in the local Cluster which will be used for communicating with the remote Cluster..</param>
 /// <param name="name">Specifies the name of the remote Cluster..</param>
 /// <param name="networkInterfaceGroup">Specifies the group name of the network interfaces to use for communicating with the remote Cluster..</param>
 /// <param name="networkInterfaceIds">Array of Network Interface Ids.  Specifies the ids of the network interfaces to use for communicating with the remote Cluster..</param>
 /// <param name="purposeRemoteAccess">Whether the remote cluster will be used for remote access for SPOG..</param>
 /// <param name="purposeReplication">Whether the remote cluster will be used for replication..</param>
 /// <param name="remoteAccessCredentials">remoteAccessCredentials.</param>
 /// <param name="remoteIps">Array of Remote Node IP Addresses.  Specifies the IP addresses of the Nodes on the remote Cluster to connect with. These IP addresses can also be VIPS. Specifying hostnames is not supported..</param>
 /// <param name="tenantId">Specifies the tenant Id of the organization that created this remote cluster configuration..</param>
 /// <param name="userName">Specifies the Cohesity user name used to connect to the remote Cluster..</param>
 /// <param name="viewBoxPairInfo">Array of Storage Domain (View Box) Pairs.  Specifies pairings between Storage Domains (View Boxes) on the local Cluster with Storage Domains (View Boxes) on a remote Cluster that are used in replication..</param>
 /// <param name="vlanId">Specifies the id of the VLAN to use when communicating with the remote Cluster..</param>
 public RemoteCluster(bool?allEndpointsReachable = default(bool?), BandwidthLimit bandwidthLimit = default(BandwidthLimit), bool?clearInterfaces = default(bool?), bool?clearVlanId = default(bool?), long?clusterId = default(long?), long?clusterIncarnationId = default(long?), bool?compressionEnabled = default(bool?), string encryptionKey = default(string), string ifaceName = default(string), List <string> localIps = default(List <string>), string name = default(string), string networkInterfaceGroup = default(string), List <long> networkInterfaceIds = default(List <long>), bool?purposeRemoteAccess = default(bool?), bool?purposeReplication = default(bool?), AccessTokenCredential remoteAccessCredentials = default(AccessTokenCredential), List <string> remoteIps = default(List <string>), string tenantId = default(string), string userName = default(string), List <ViewBoxPairInfo> viewBoxPairInfo = default(List <ViewBoxPairInfo>), int?vlanId = default(int?))
 {
     this.AllEndpointsReachable = allEndpointsReachable;
     this.ClearInterfaces       = clearInterfaces;
     this.ClearVlanId           = clearVlanId;
     this.ClusterId             = clusterId;
     this.ClusterIncarnationId  = clusterIncarnationId;
     this.CompressionEnabled    = compressionEnabled;
     this.EncryptionKey         = encryptionKey;
     this.IfaceName             = ifaceName;
     this.LocalIps = localIps;
     this.Name     = name;
     this.NetworkInterfaceGroup = networkInterfaceGroup;
     this.NetworkInterfaceIds   = networkInterfaceIds;
     this.PurposeRemoteAccess   = purposeRemoteAccess;
     this.PurposeReplication    = purposeReplication;
     this.RemoteIps             = remoteIps;
     this.TenantId              = tenantId;
     this.UserName              = userName;
     this.ViewBoxPairInfo       = viewBoxPairInfo;
     this.VlanId                = vlanId;
     this.AllEndpointsReachable = allEndpointsReachable;
     this.BandwidthLimit        = bandwidthLimit;
     this.ClearInterfaces       = clearInterfaces;
     this.ClearVlanId           = clearVlanId;
     this.ClusterId             = clusterId;
     this.ClusterIncarnationId  = clusterIncarnationId;
     this.CompressionEnabled    = compressionEnabled;
     this.EncryptionKey         = encryptionKey;
     this.IfaceName             = ifaceName;
     this.LocalIps              = localIps;
     this.Name = name;
     this.NetworkInterfaceGroup   = networkInterfaceGroup;
     this.NetworkInterfaceIds     = networkInterfaceIds;
     this.PurposeRemoteAccess     = purposeRemoteAccess;
     this.PurposeReplication      = purposeReplication;
     this.RemoteAccessCredentials = remoteAccessCredentials;
     this.RemoteIps       = remoteIps;
     this.TenantId        = tenantId;
     this.UserName        = userName;
     this.ViewBoxPairInfo = viewBoxPairInfo;
     this.VlanId          = vlanId;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisterRemoteCluster" /> class.
 /// </summary>
 /// <param name="allEndpointsReachable">Specifies whether any endpoint (such as a Node) on the remote Cluster is reachable from this local Cluster. If true, a service running on the local Cluster can communicate directly with any of its peers running on the remote Cluster, without using a proxy..</param>
 /// <param name="bandwidthLimit">bandwidthLimit.</param>
 /// <param name="clusterId">Specifies the unique id of the remote Cluster..</param>
 /// <param name="compressionEnabled">Specifies whether to compress the outbound data when transferring the replication data over the network to the remote Cluster..</param>
 /// <param name="encryptionKey">Specifies the encryption key used for encrypting the replication data from a local Cluster to a remote Cluster. If a key is not specified, replication traffic encryption is disabled. When Snapshots are replicated from a local Cluster to a remote Cluster, the encryption key specified on the local Cluster must be the same as the key specified on the remote Cluster..</param>
 /// <param name="networkInterfaceGroup">Specifies the group name of the network interfaces to use for communicating with the remote Cluster..</param>
 /// <param name="password">Specifies the password for Cohesity user to use when connecting to the remote Cluster..</param>
 /// <param name="purposeRemoteAccess">Whether the remote cluster will be used for remote access for SPOG..</param>
 /// <param name="purposeReplication">Whether the remote cluster will be used for replication..</param>
 /// <param name="remoteAccessCredentials">remoteAccessCredentials.</param>
 /// <param name="remoteIps">Array of Remote Node IP Addresses.  Specifies the IP addresses of the Nodes on the remote Cluster to connect with. These IP addresses can also be VIPS. Specifying hostnames is not supported..</param>
 /// <param name="remoteIrisPorts">Array of Ports.  Specifies the ports to use when connecting to the Nodes of the remote Cluster..</param>
 /// <param name="userName">Specifies the Cohesity user name used to connect to the remote Cluster..</param>
 /// <param name="validateOnly">Whether to only validate the credentials without saving the information..</param>
 /// <param name="viewBoxPairInfo">Array of Storage Domain (View Box) Pairs.  Specifies pairings between Storage Domains (View Boxes) on the local Cluster with Storage Domains (View Boxes) on a remote Cluster that are used in replication..</param>
 public RegisterRemoteCluster(bool?allEndpointsReachable = default(bool?), BandwidthLimit bandwidthLimit = default(BandwidthLimit), long?clusterId = default(long?), bool?compressionEnabled = default(bool?), string encryptionKey = default(string), string networkInterfaceGroup = default(string), string password = default(string), bool?purposeRemoteAccess = default(bool?), bool?purposeReplication = default(bool?), AccessTokenCredential remoteAccessCredentials = default(AccessTokenCredential), List <string> remoteIps = default(List <string>), List <long> remoteIrisPorts = default(List <long>), string userName = default(string), bool?validateOnly = default(bool?), List <ViewBoxPairInfo> viewBoxPairInfo = default(List <ViewBoxPairInfo>))
 {
     this.AllEndpointsReachable = allEndpointsReachable;
     this.ClusterId             = clusterId;
     this.CompressionEnabled    = compressionEnabled;
     this.EncryptionKey         = encryptionKey;
     this.NetworkInterfaceGroup = networkInterfaceGroup;
     this.Password                = password;
     this.PurposeRemoteAccess     = purposeRemoteAccess;
     this.PurposeReplication      = purposeReplication;
     this.RemoteIps               = remoteIps;
     this.RemoteIrisPorts         = remoteIrisPorts;
     this.UserName                = userName;
     this.ValidateOnly            = validateOnly;
     this.ViewBoxPairInfo         = viewBoxPairInfo;
     this.AllEndpointsReachable   = allEndpointsReachable;
     this.BandwidthLimit          = bandwidthLimit;
     this.ClusterId               = clusterId;
     this.CompressionEnabled      = compressionEnabled;
     this.EncryptionKey           = encryptionKey;
     this.NetworkInterfaceGroup   = networkInterfaceGroup;
     this.Password                = password;
     this.PurposeRemoteAccess     = purposeRemoteAccess;
     this.PurposeReplication      = purposeReplication;
     this.RemoteAccessCredentials = remoteAccessCredentials;
     this.RemoteIps               = remoteIps;
     this.RemoteIrisPorts         = remoteIrisPorts;
     this.UserName                = userName;
     this.ValidateOnly            = validateOnly;
     this.ViewBoxPairInfo         = viewBoxPairInfo;
 }