/// <summary> /// Initializes a new instance of the <see cref="UpdateProtectionSourceParameters" /> class. /// </summary> /// <param name="agentEndpoint">Specifies the agent endpoint if it is different from the source endpoint..</param> /// <param name="awsCredentials">awsCredentials.</param> /// <param name="azureCredentials">azureCredentials.</param> /// <param name="endpoint">Specifies the network endpoint of the Protection Source where it is reachable. It could be an URL or hostname or an IP address of the Protection Source..</param> /// <param name="forceRegister">ForceRegister is applicable to Physical Environment. By default, the agent running on a physical host will fail the registration, if it is already registered as part of another cluster. By setting this option to true, agent can be forced to register with the current cluster. This is a hidden parameter and should not be documented externally..</param> /// <param name="gcpCredentials">gcpCredentials.</param> /// <param name="hostType">Specifies the optional OS type of the Protection Source (such as kWindows or kLinux). overrideDescription: true 'kLinux' indicates the Linux operating system. 'kWindows' indicates the Microsoft Windows operating system. 'kAix' indicates the IBM AIX operating system. 'kSolaris' indicates the Oracle Solaris operating system. 'kSapHana' indicates the Sap Hana database system developed by SAP SE. 'kOther' indicates the other types of operating system..</param> /// <param name="kubernetesCredentials">kubernetesCredentials.</param> /// <param name="minimumFreeSpaceGB">Specifies the minimum space in GB after which backup jobs will be canceled due to low space..</param> /// <param name="nasMountCredentials">Specifies the server credentials to connect to a NetApp server. This field is required for mounting SMB volumes on NetApp servers..</param> /// <param name="office365Credentials">office365Credentials.</param> /// <param name="password">Specifies password of the username to access the target source..</param> /// <param name="sourceSideDedupEnabled">This controls whether to use source side dedup on the source or not. This is only applicable to sources which support source side dedup (e.g., Linux physical servers)..</param> /// <param name="sslVerification">sslVerification.</param> /// <param name="throttlingPolicy">Specifies the throttling policy that should be applied to this Source..</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="username">Specifies username to access the target source..</param> public UpdateProtectionSourceParameters(string agentEndpoint = default(string), AwsCredentials awsCredentials = default(AwsCredentials), AzureCredentials azureCredentials = default(AzureCredentials), string endpoint = default(string), bool?forceRegister = default(bool?), GcpCredentials gcpCredentials = default(GcpCredentials), HostTypeEnum?hostType = default(HostTypeEnum?), KubernetesCredentials kubernetesCredentials = default(KubernetesCredentials), long?minimumFreeSpaceGB = default(long?), NasMountCredentialParams nasMountCredentials = default(NasMountCredentialParams), Office365Credentials office365Credentials = default(Office365Credentials), string password = default(string), bool?sourceSideDedupEnabled = default(bool?), SslVerification sslVerification = default(SslVerification), ThrottlingPolicyParameters throttlingPolicy = default(ThrottlingPolicyParameters), List <ThrottlingPolicyOverride> throttlingPolicyOverrides = default(List <ThrottlingPolicyOverride>), string username = default(string)) { this.AgentEndpoint = agentEndpoint; this.Endpoint = endpoint; this.ForceRegister = forceRegister; this.HostType = hostType; this.MinimumFreeSpaceGB = minimumFreeSpaceGB; this.NasMountCredentials = nasMountCredentials; this.Password = password; this.SourceSideDedupEnabled = sourceSideDedupEnabled; this.ThrottlingPolicy = throttlingPolicy; this.ThrottlingPolicyOverrides = throttlingPolicyOverrides; this.Username = username; this.AgentEndpoint = agentEndpoint; this.AwsCredentials = awsCredentials; this.AzureCredentials = azureCredentials; this.Endpoint = endpoint; this.ForceRegister = forceRegister; this.GcpCredentials = gcpCredentials; this.HostType = hostType; this.KubernetesCredentials = kubernetesCredentials; this.MinimumFreeSpaceGB = minimumFreeSpaceGB; this.NasMountCredentials = nasMountCredentials; this.Office365Credentials = office365Credentials; this.Password = password; this.SourceSideDedupEnabled = sourceSideDedupEnabled; this.SslVerification = sslVerification; this.ThrottlingPolicy = throttlingPolicy; this.ThrottlingPolicyOverrides = throttlingPolicyOverrides; this.Username = username; }
/// <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 'kFinished' and there is no error, registration is successful. Specifies the status of the authentication during the registration of a Protection Source. 'kPending' indicates the authentication is in progress. 'kScheduled' indicates the authentication is scheduled. 'kFinished' indicates the authentication is completed. 'kRefreshInProgress' indicates the refresh is in progres..</param> /// <param name="environments">Specifies a list of applications environment that are registered with this Protection Source such as 'kSQL'. Supported environment types such as 'kView', 'kSQL', 'kVMware', etc. NOTE: 'kPuppeteer' refers to Cohesity's Remote Adapter. 'kVMware' indicates the VMware Protection Source environment. 'kHyperV' indicates the HyperV Protection Source environment. 'kSQL' indicates the SQL Protection Source environment. 'kView' indicates the View Protection Source environment. 'kPuppeteer' indicates the Cohesity's Remote Adapter. 'kPhysical' indicates the physical Protection Source environment. 'kPure' indicates the Pure Storage Protection Source environment. 'Nimble' indicates the Nimble Storage Protection Source environment. 'kAzure' indicates the Microsoft's Azure Protection Source environment. 'kNetapp' indicates the Netapp Protection Source environment. 'kAgent' indicates the Agent Protection Source environment. 'kGenericNas' indicates the Genreric Network Attached Storage Protection Source environment. 'kAcropolis' indicates the Acropolis Protection Source environment. 'kPhsicalFiles' indicates the Physical Files Protection Source environment. 'kIsilon' indicates the Dell EMC's Isilon Protection Source environment. 'kGPFS' indicates IBM's GPFS Protection Source environment. 'kKVM' indicates the KVM Protection Source environment. 'kAWS' indicates the AWS Protection Source environment. 'kExchange' indicates the Exchange Protection Source environment. 'kHyperVVSS' indicates the HyperV VSS Protection Source environment. 'kOracle' indicates the Oracle Protection Source environment. 'kGCP' indicates the Google Cloud Platform Protection Source environment. 'kFlashBlade' indicates the Flash Blade Protection Source environment. 'kAWSNative' indicates the AWS Native Protection Source environment. 'kVCD' indicates the VMware's Virtual cloud Director Protection Source environment. 'kO365' indicates the Office 365 Protection Source environment. 'kO365Outlook' indicates Office 365 outlook Protection Source environment. 'kHyperFlex' indicates the Hyper Flex Protection Source environment. 'kGCPNative' indicates the GCP Native Protection Source environment. 'kAzureNative' indicates the Azure Native Protection Source environment. 'kKubernetes' indicates a Kubernetes Protection Source environment. 'kElastifile' indicates Elastifile Protection Source environment..</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 'kVMware' type of environments..</param> /// <param name="nasMountCredentials">Specifies the credentials required to mount directories on the NetApp server if given..</param> /// <param name="office365Credentials">office365Credentials.</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="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="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?), List <EnvironmentsEnum> environments = default(List <EnvironmentsEnum>), bool?isDbAuthenticated = default(bool?), long?minimumFreeSpaceGB = default(long?), NasMountCredentialParams nasMountCredentials = default(NasMountCredentialParams), Office365Credentials office365Credentials = default(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?useVmBiosUuid = default(bool?), string username = default(string), 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.Password = password; this.RefreshErrorMessage = refreshErrorMessage; this.RefreshTimeUsecs = refreshTimeUsecs; this.RegisteredAppsInfo = registeredAppsInfo; this.RegistrationTimeUsecs = registrationTimeUsecs; this.ThrottlingPolicyOverrides = throttlingPolicyOverrides; this.UseVmBiosUuid = useVmBiosUuid; this.Username = username; this.WarningMessages = warningMessages; this.AccessInfo = accessInfo; this.AuthenticationErrorMessage = authenticationErrorMessage; this.AuthenticationStatus = authenticationStatus; this.Environments = environments; this.IsDbAuthenticated = isDbAuthenticated; this.MinimumFreeSpaceGB = minimumFreeSpaceGB; this.NasMountCredentials = nasMountCredentials; this.Office365Credentials = office365Credentials; this.Password = password; this.RefreshErrorMessage = refreshErrorMessage; this.RefreshTimeUsecs = refreshTimeUsecs; this.RegisteredAppsInfo = registeredAppsInfo; this.RegistrationTimeUsecs = registrationTimeUsecs; this.ThrottlingPolicy = throttlingPolicy; this.ThrottlingPolicyOverrides = throttlingPolicyOverrides; this.UseVmBiosUuid = useVmBiosUuid; this.Username = username; this.WarningMessages = warningMessages; }
/// <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 'kFinished' and there is no error, registration is successful. Specifies the status of the authentication during the registration of a Protection Source. 'kPending' indicates the authentication is in progress. 'kScheduled' indicates the authentication is scheduled. 'kFinished' indicates the authentication is completed. 'kRefreshInProgress' 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 'kSQL'. Supported environment types such as 'kView', 'kSQL', 'kVMware', etc. NOTE: 'kPuppeteer' refers to Cohesity's Remote Adapter. 'kVMware' indicates the VMware Protection Source environment. 'kHyperV' indicates the HyperV Protection Source environment. 'kSQL' indicates the SQL Protection Source environment. 'kView' indicates the View Protection Source environment. 'kPuppeteer' indicates the Cohesity's Remote Adapter. 'kPhysical' indicates the physical Protection Source environment. 'kPure' indicates the Pure Storage Protection Source environment. 'Nimble' indicates the Nimble Storage Protection Source environment. 'kAzure' indicates the Microsoft's Azure Protection Source environment. 'kNetapp' indicates the Netapp Protection Source environment. 'kAgent' indicates the Agent Protection Source environment. 'kGenericNas' indicates the Generic Network Attached Storage Protection Source environment. 'kAcropolis' indicates the Acropolis Protection Source environment. 'kPhsicalFiles' indicates the Physical Files Protection Source environment. 'kIsilon' indicates the Dell EMC's Isilon Protection Source environment. 'kGPFS' indicates IBM's GPFS Protection Source environment. 'kKVM' indicates the KVM Protection Source environment. 'kAWS' indicates the AWS Protection Source environment. 'kExchange' indicates the Exchange Protection Source environment. 'kHyperVVSS' indicates the HyperV VSS Protection Source environment. 'kOracle' indicates the Oracle Protection Source environment. 'kGCP' indicates the Google Cloud Platform Protection Source environment. 'kFlashBlade' indicates the Flash Blade Protection Source environment. 'kAWSNative' indicates the AWS Native Protection Source environment. 'kO365' indicates the Office 365 Protection Source environment. 'kO365Outlook' indicates Office 365 outlook Protection Source environment. 'kHyperFlex' indicates the Hyper Flex Protection Source environment. 'kGCPNative' indicates the GCP Native Protection Source environment. 'kAzureNative' indicates the Azure Native Protection Source environment. 'kKubernetes' indicates a Kubernetes Protection Source environment. 'kElastifile' indicates Elastifile Protection Source environment. 'kAD' indicates Active Directory Protection Source environment. 'kRDSSnapshotManager' 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 'kVMware' 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 & 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; }