public interface FcSanProviderClient extends SearchableResource<SanProviderResponse>
SearchableResource.GetByNameRequestInterceptor| Modifier and Type | Field and Description |
|---|---|
static String |
FC_SANS_PROVIDER_DEVICE_MANAGER_URI |
static String |
FC_SANS_PROVIDER_URI |
| Modifier and Type | Method and Description |
|---|---|
TaskResource |
addSanManager(String providerId,
DeviceManagerResponse deviceManager,
RequestOption... options)
Adds a resource according to the provided
resource object. |
getByNamestatic final String FC_SANS_PROVIDER_URI
static final String FC_SANS_PROVIDER_DEVICE_MANAGER_URI
TaskResource addSanManager(String providerId, DeviceManagerResponse deviceManager, RequestOption... options)
resource object.
Depending on the resource type, the add action can take some time to complete, therefore,
you can specify a timeout using an implementation of RequestOption called
TaskTimeout. If no timeout is specified,
the default behavior is to wait until the add action completes. The following example shows
how to specify the timeout:
SomeClient client = oneViewClient.someClient();
SomeResource resource = new SomeResource();
TaskResource task = client.add(resource, TaskTimeout.of(5000)); //5 secs
providerId - The ID of the provider of the device managerdeviceManager - object containing the SAN manager credential details.options - varargs of RequestOption, which can be used to specify
some request options.TaskResource containing the task status for the process.Copyright © 2016. All rights reserved.