CloudFilesProvider Constructor (CloudIdentity, String, IIdentityProvider, IRestService) |
Initializes a new instance of the
CloudFilesProvider class with
the specified default identity, default region, identity provider, and REST service
implementation, and the default Rackspace-Cloud-Files-specific implementations of
the object storage validator, metadata processor, encoder, status parser, and bulk
delete results mapper.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public CloudFilesProvider(
CloudIdentity defaultIdentity,
string defaultRegion,
IIdentityProvider identityProvider,
IRestService restService
)
Public Sub New (
defaultIdentity As CloudIdentity,
defaultRegion As String,
identityProvider As IIdentityProvider,
restService As IRestService
)
public:
CloudFilesProvider(
CloudIdentity^ defaultIdentity,
String^ defaultRegion,
IIdentityProvider^ identityProvider,
IRestService^ restService
)
new :
defaultIdentity : CloudIdentity *
defaultRegion : string *
identityProvider : IIdentityProvider *
restService : IRestService -> CloudFilesProvider
Parameters
- defaultIdentity
- 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 defaultIdentity 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