예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComputeService"/> class.
 /// </summary>
 /// <param name="authenticationProvider">The authentication provider.</param>
 /// <param name="region">The region.</param>
 /// <param name="useInternalUrl">if set to <c>true</c> uses the internal URLs specified in the ServiceCatalog, otherwise the public URLs are used.</param>
 public ComputeService(IAuthenticationProvider authenticationProvider, string region, bool useInternalUrl = false)
 {
     _computeApi = new ComputeApi(ServiceType.Compute, authenticationProvider, region, useInternalUrl);
 }
예제 #2
0
 /// <summary />
 public ComputeService(IAuthenticationProvider authenticationProvider, string region, bool useInternalUrl = false)
 {
     _computeApi = new ComputeApi(ServiceType.Compute, authenticationProvider, region, useInternalUrl);
 }