Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HiveBackupJobParams" /> class.
 /// </summary>
 /// <param name="hdfsConnectParams">hdfsConnectParams.</param>
 public HiveBackupJobParams(HdfsConnectParams hdfsConnectParams = default(HdfsConnectParams))
 {
     this.HdfsConnectParams = hdfsConnectParams;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisteredSourceInfo" /> class.
 /// </summary>
 /// <param name="accessInfo">accessInfo.</param>
 /// <param name="authenticationErrorMessage">Specifies an authentication error message. This indicates the given credentials are rejected and the registration of the source is not successful..</param>
 /// <param name="authenticationStatus">Specifies the status of the authenticating to the Protection Source when registering it with Cohesity Cluster. If the status is &#39;kFinished&#39; and there is no error, registration is successful. Specifies the status of the authentication during the registration of a Protection Source. &#39;kPending&#39; indicates the authentication is in progress. &#39;kScheduled&#39; indicates the authentication is scheduled. &#39;kFinished&#39; indicates the authentication is completed. &#39;kRefreshInProgress&#39; indicates the refresh is in progress..</param>
 /// <param name="cassandraParams">cassandraParams.</param>
 /// <param name="couchbaseParams">couchbaseParams.</param>
 /// <param name="environments">Specifies a list of applications environment that are registered with this Protection Source such as &#39;kSQL&#39;. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Generic Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment. &#39;kAD&#39; indicates Active Directory Protection Source environment. &#39;kRDSSnapshotManager&#39; indicates AWS RDS Protection Source environment..</param>
 /// <param name="hbaseParams">hbaseParams.</param>
 /// <param name="hdfsParams">hdfsParams.</param>
 /// <param name="hiveParams">hiveParams.</param>
 /// <param name="isDbAuthenticated">Specifies if application entity dbAuthenticated or not. ex: oracle database..</param>
 /// <param name="minimumFreeSpaceGB">Specifies the minimum free space in GiB of the space expected to be available on the datastore where the virtual disks of the VM being backed up. If the amount of free space(in GiB) is lower than the value given by this field, backup will be aborted. Note that this field is applicable only to &#39;kVMware&#39; type of environments..</param>
 /// <param name="mongodbParams">mongodbParams.</param>
 /// <param name="nasMountCredentials">Specifies the credentials required to mount directories on the NetApp server if given..</param>
 /// <param name="office365CredentialsList">Office365 Source Credentials.  Specifies credentials needed to authenticate &amp; authorize user for Office365..</param>
 /// <param name="password">Specifies password of the username to access the target source..</param>
 /// <param name="refreshErrorMessage">Specifies a message if there was any error encountered during the last rebuild of the Protection Source tree. If there was no error during the last rebuild, this field is reset..</param>
 /// <param name="refreshTimeUsecs">Specifies the Unix epoch time (in microseconds) when the Protection Source tree was most recently fetched and built..</param>
 /// <param name="registeredAppsInfo">Specifies information of the applications registered on this protection source..</param>
 /// <param name="registrationTimeUsecs">Specifies the Unix epoch time (in microseconds) when the Protection Source was registered..</param>
 /// <param name="throttlingPolicy">throttlingPolicy.</param>
 /// <param name="throttlingPolicyOverrides">Array of Throttling Policy Overrides for Datastores.  Specifies a list of Throttling Policy for datastores that override the common throttling policy specified for the registered Protection Source. For datastores not in this list, common policy will still apply..</param>
 /// <param name="useOAuthForExchangeOnline">Specifies whether OAuth should be used for authentication in case of Exchange Online..</param>
 /// <param name="useVmBiosUuid">Specifies if registered vCenter is using BIOS UUID to track virtual machines..</param>
 /// <param name="username">Specifies username to access the target source..</param>
 /// <param name="vlanParams">vlanParams.</param>
 /// <param name="warningMessages">Specifies a list of warnings encountered during registration. Though the registration may succeed, warning messages imply the host environment requires some cleanup or fixing..</param>
 public RegisteredSourceInfo(ConnectorParameters accessInfo = default(ConnectorParameters), string authenticationErrorMessage = default(string), AuthenticationStatusEnum?authenticationStatus = default(AuthenticationStatusEnum?), CassandraConnectParams cassandraParams = default(CassandraConnectParams), CouchbaseConnectParams couchbaseParams = default(CouchbaseConnectParams), List <EnvironmentsEnum> environments = default(List <EnvironmentsEnum>), HBaseConnectParams hbaseParams = default(HBaseConnectParams), HdfsConnectParams hdfsParams = default(HdfsConnectParams), HiveConnectParams hiveParams = default(HiveConnectParams), bool?isDbAuthenticated = default(bool?), long?minimumFreeSpaceGB = default(long?), MongoDBConnectParams mongodbParams = default(MongoDBConnectParams), NasMountCredentialParams nasMountCredentials = default(NasMountCredentialParams), List <Office365Credentials> office365CredentialsList = default(List <Office365Credentials>), string password = default(string), string refreshErrorMessage = default(string), long?refreshTimeUsecs = default(long?), List <RegisteredAppInfo> registeredAppsInfo = default(List <RegisteredAppInfo>), long?registrationTimeUsecs = default(long?), ThrottlingPolicyParameters throttlingPolicy = default(ThrottlingPolicyParameters), List <ThrottlingPolicyOverride> throttlingPolicyOverrides = default(List <ThrottlingPolicyOverride>), bool?useOAuthForExchangeOnline = default(bool?), bool?useVmBiosUuid = default(bool?), string username = default(string), VlanParameters vlanParams = default(VlanParameters), List <string> warningMessages = default(List <string>))
 {
     this.AuthenticationErrorMessage = authenticationErrorMessage;
     this.AuthenticationStatus       = authenticationStatus;
     this.Environments             = environments;
     this.IsDbAuthenticated        = isDbAuthenticated;
     this.MinimumFreeSpaceGB       = minimumFreeSpaceGB;
     this.NasMountCredentials      = nasMountCredentials;
     this.Office365CredentialsList = office365CredentialsList;
     this.Password                   = password;
     this.RefreshErrorMessage        = refreshErrorMessage;
     this.RefreshTimeUsecs           = refreshTimeUsecs;
     this.RegisteredAppsInfo         = registeredAppsInfo;
     this.RegistrationTimeUsecs      = registrationTimeUsecs;
     this.ThrottlingPolicyOverrides  = throttlingPolicyOverrides;
     this.UseOAuthForExchangeOnline  = useOAuthForExchangeOnline;
     this.UseVmBiosUuid              = useVmBiosUuid;
     this.Username                   = username;
     this.WarningMessages            = warningMessages;
     this.AccessInfo                 = accessInfo;
     this.AuthenticationErrorMessage = authenticationErrorMessage;
     this.AuthenticationStatus       = authenticationStatus;
     this.CassandraParams            = cassandraParams;
     this.CouchbaseParams            = couchbaseParams;
     this.Environments               = environments;
     this.HbaseParams                = hbaseParams;
     this.HdfsParams                 = hdfsParams;
     this.HiveParams                 = hiveParams;
     this.IsDbAuthenticated          = isDbAuthenticated;
     this.MinimumFreeSpaceGB         = minimumFreeSpaceGB;
     this.MongodbParams              = mongodbParams;
     this.NasMountCredentials        = nasMountCredentials;
     this.Office365CredentialsList   = office365CredentialsList;
     this.Password                   = password;
     this.RefreshErrorMessage        = refreshErrorMessage;
     this.RefreshTimeUsecs           = refreshTimeUsecs;
     this.RegisteredAppsInfo         = registeredAppsInfo;
     this.RegistrationTimeUsecs      = registrationTimeUsecs;
     this.ThrottlingPolicy           = throttlingPolicy;
     this.ThrottlingPolicyOverrides  = throttlingPolicyOverrides;
     this.UseOAuthForExchangeOnline  = useOAuthForExchangeOnline;
     this.UseVmBiosUuid              = useVmBiosUuid;
     this.Username                   = username;
     this.VlanParams                 = vlanParams;
     this.WarningMessages            = warningMessages;
 }