/// <summary> /// Initializes a new instance of the <see cref="HadoopApplianceStorageClient"/> class. /// </summary> /// <param name="credentials">The connection credentials to use when connecting to the instance.</param> public HadoopApplianceStorageClient(IStorageClientCredential credentials) { this.credentials = (StorageClientBasicAuthCredential)credentials; this.Timeout = DefaultTimeout; this.IgnoreSslErrors = false; }
private HadoopApplianceStorageRestSimulatorClient(IStorageClientCredential credentials, bool ignoreSslErrors) { this.credentials = (StorageClientBasicAuthCredential)credentials; Root = new ApplianceStorageSimulatorItem(this.credentials.Server); }