You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/corelib/Providers/Rackspace/CloudBlockStorageProvider.cs
+37-23Lines changed: 37 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -62,80 +62,94 @@ public class CloudBlockStorageProvider : ProviderBase<IBlockStorageProvider>, IB
62
62
63
63
/// <summary>
64
64
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
65
-
/// no default identity, and the default identity provider and REST service implementation.
65
+
/// no default identity or region, and the default identity provider and REST
66
+
/// service implementation.
66
67
/// </summary>
67
68
publicCloudBlockStorageProvider()
68
-
:this(null,null,null){}
69
+
:this(null,null,null,null){}
69
70
70
71
/// <summary>
71
72
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
72
-
/// the specified default identity, and the default identity provider and REST service
73
-
/// implementation.
73
+
/// the specified default identity, no default region, and the default identity
74
+
/// provider and REST service implementation.
74
75
/// </summary>
75
76
/// <param name="identity">The default identity to use for calls that do not explicitly specify an identity. If this value is <c>null</c>, no default identity is available so all calls must specify an explicit identity.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
81
-
/// no default identity, the default identity provider, and the specified REST service
82
-
/// implementation.
82
+
/// no default identity or region, the default identity provider, and the specified
83
+
/// REST service implementation.
83
84
/// </summary>
84
85
/// <param name="restService">The implementation of <see cref="IRestService"/> to use for executing REST requests. If this value is <c>null</c>, the provider will use a new instance of <see cref="JsonRestServices"/>.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
90
-
/// no default identity, the specified identity provider, and the default REST service
91
-
/// implementation.
91
+
/// no default identity or region, the specified identity provider, and the default
92
+
/// REST service implementation.
92
93
/// </summary>
93
94
/// <param name="identityProvider">The identity provider to use for authenticating requests to this provider. If this value is <c>null</c>, a new instance of <see cref="CloudIdentityProvider"/> is created with no default identity.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
99
-
/// the specified default identity and identity provider, and the default REST service
100
-
/// implementation.
100
+
/// the specified default identity and identity provider, no default region, and
101
+
/// the default REST service implementation.
101
102
/// </summary>
102
103
/// <param name="identity">The default identity to use for calls that do not explicitly specify an identity. If this value is <c>null</c>, no default identity is available so all calls must specify an explicit identity.</param>
103
104
/// <param name="identityProvider">The identity provider to use for authenticating requests to this provider. If this value is <c>null</c>, a new instance of <see cref="CloudIdentityProvider"/> is created using <paramref name="identity"/> as the default identity.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
109
-
/// the specified default identity and REST service implementation, and the default
110
-
/// identity provider.
110
+
/// the specified default identity and REST service implementation, no default region,
111
+
/// and the default identity provider.
111
112
/// </summary>
112
113
/// <param name="identity">The default identity to use for calls that do not explicitly specify an identity. If this value is <c>null</c>, no default identity is available so all calls must specify an explicit identity.</param>
113
114
/// <param name="restService">The implementation of <see cref="IRestService"/> to use for executing REST requests. If this value is <c>null</c>, the provider will use a new instance of <see cref="JsonRestServices"/>.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
119
-
/// the specified default identity, identity provider, and REST service implementation.
120
+
/// the specified default identity, no default region, and the specified identity
121
+
/// provider and REST service implementation.
120
122
/// </summary>
121
123
/// <param name="identity">The default identity to use for calls that do not explicitly specify an identity. If this value is <c>null</c>, no default identity is available so all calls must specify an explicit identity.</param>
122
124
/// <param name="identityProvider">The identity provider to use for authenticating requests to this provider. If this value is <c>null</c>, a new instance of <see cref="CloudIdentityProvider"/> is created using <paramref name="identity"/> as the default identity.</param>
123
125
/// <param name="restService">The implementation of <see cref="IRestService"/> to use for executing REST requests. If this value is <c>null</c>, the provider will use a new instance of <see cref="JsonRestServices"/>.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
129
-
/// no default identity, and the default identity provider, REST service implementation,
130
-
/// and block storage validator.
131
+
/// the specified default identity, default region, identity provider, and REST service implementation.
131
132
/// </summary>
132
133
/// <param name="identity">The default identity to use for calls that do not explicitly specify an identity. If this value is <c>null</c>, no default identity is available so all calls must specify an explicit identity.</param>
134
+
/// <param name="defaultRegion">The default region to use for calls that do not explicitly specify a region. If this value is <c>null</c>, the default region for the user will be used; otherwise if the service uses region-specific endpoints all calls must specify an explicit region.</param>
135
+
/// <param name="identityProvider">The identity provider to use for authenticating requests to this provider. If this value is <c>null</c>, a new instance of <see cref="CloudIdentityProvider"/> is created using <paramref name="identity"/> as the default identity.</param>
136
+
/// <param name="restService">The implementation of <see cref="IRestService"/> to use for executing REST requests. If this value is <c>null</c>, the provider will use a new instance of <see cref="JsonRestServices"/>.</param>
/// Initializes a new instance of the <see cref="CloudFilesProvider"/> class with
142
+
/// the specified default identity, default region, identity provider, REST service
143
+
/// implementation, and block storage validator.
144
+
/// </summary>
145
+
/// <param name="identity">The default identity to use for calls that do not explicitly specify an identity. If this value is <c>null</c>, no default identity is available so all calls must specify an explicit identity.</param>
146
+
/// <param name="defaultRegion">The default region to use for calls that do not explicitly specify a region. If this value is <c>null</c>, the default region for the user will be used; otherwise if the service uses region-specific endpoints all calls must specify an explicit region.</param>
133
147
/// <param name="identityProvider">The identity provider to use for authenticating requests to this provider. If this value is <c>null</c>, a new instance of <see cref="CloudIdentityProvider"/> is created with no default identity.</param>
134
148
/// <param name="restService">The implementation of <see cref="IRestService"/> to use for executing REST requests. If this value is <c>null</c>, the provider will use a new instance of <see cref="JsonRestServices"/>.</param>
135
149
/// <param name="cloudBlockStorageValidator">The <see cref="IBlockStorageValidator"/> to use for validating requests to this service.</param>
136
150
/// <exception cref="ArgumentNullException">If <paramref name="cloudBlockStorageValidator"/> is <c>null</c>.</exception>
0 commit comments