Ejemplo n.º 1
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 progres..</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 Genreric 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;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director 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..</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="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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 /// <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 &#39;kLinux&#39; indicates the Linux operating system. &#39;kWindows&#39; indicates the Microsoft Windows operating system. &#39;kAix&#39; indicates the IBM AIX operating system. &#39;kSolaris&#39; indicates the Oracle Solaris operating system. &#39;kSapHana&#39; indicates the Sap Hana database system developed by SAP SE. &#39;kOther&#39; 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;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ThrottlingPolicyOverride" /> class.
 /// </summary>
 /// <param name="datastoreId">Specifies the Protection Source id of the Datastore..</param>
 /// <param name="datastoreName">Specifies the display name of the Datastore..</param>
 /// <param name="throttlingPolicy">throttlingPolicy.</param>
 public ThrottlingPolicyOverride(long?datastoreId = default(long?), string datastoreName = default(string), ThrottlingPolicyParameters throttlingPolicy = default(ThrottlingPolicyParameters))
 {
     this.DatastoreId      = datastoreId;
     this.DatastoreName    = datastoreName;
     this.DatastoreId      = datastoreId;
     this.DatastoreName    = datastoreName;
     this.ThrottlingPolicy = throttlingPolicy;
 }