CloudServersProvider Constructor (CloudIdentity, String, IIdentityProvider, IRestService) |
Initializes a new instance of the
CloudServersProvider class with
the specified default identity, default region, identity provider, and REST
service implementation.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public CloudServersProvider(
CloudIdentity identity,
string defaultRegion,
IIdentityProvider identityProvider,
IRestService restService
)
Public Sub New (
identity As CloudIdentity,
defaultRegion As String,
identityProvider As IIdentityProvider,
restService As IRestService
)
public:
CloudServersProvider(
CloudIdentity^ identity,
String^ defaultRegion,
IIdentityProvider^ identityProvider,
IRestService^ restService
)
new :
identity : CloudIdentity *
defaultRegion : string *
identityProvider : IIdentityProvider *
restService : IRestService -> CloudServersProvider
Parameters
- identity
- Type: net.openstack.Core.DomainCloudIdentity
An instance of a CloudIdentity object. Remarks If not provided, the user will be required to pass a
CloudIdentity object to each method individually.
- 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
An instance of an IIdentityProvider to override the default CloudIdentity - restService
- Type: JSIStudios.SimpleRESTServices.ClientIRestService
An instance of an IRestService to override the default JsonRestServices
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also