Click or drag to resize
CloudBlockStorageProvider Constructor (CloudIdentity, String, IIdentityProvider, IRestService)
Initializes a new instance of the CloudBlockStorageProvider class with the specified default identity, default region, identity provider, and REST service implementation.

Namespace: net.openstack.Providers.Rackspace
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public CloudBlockStorageProvider(
	CloudIdentity identity,
	string defaultRegion,
	IIdentityProvider identityProvider,
	IRestService restService
)

Parameters

identity
Type: net.openstack.Core.DomainCloudIdentity
The default identity to use for calls that do not explicitly specify an identity. If this value is , no default identity is available so all calls must specify an explicit identity.
defaultRegion
Type: SystemString
The default region to use for calls that do not explicitly specify a region. If this value is , the default region for the user will be used; otherwise if the service uses region-specific endpoints all calls must specify an explicit region.
identityProvider
Type: net.openstack.Core.ProvidersIIdentityProvider
The identity provider to use for authenticating requests to this provider. If this value is , a new instance of CloudIdentityProvider is created using identity as the default identity.
restService
Type: JSIStudios.SimpleRESTServices.ClientIRestService
The implementation of IRestService to use for executing REST requests. If this value is , the provider will use a new instance of JsonRestServices.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also