Example #1
0
 public VcapClient(Cloud cloud)
 {
     credMgr = new VcapCredentialManager();
     credMgr.SetTarget(cloud.Url);
     this.cloud = cloud;
 }
Example #2
0
 public VcapClient()
 {
     credMgr = new VcapCredentialManager();
 }
Example #3
0
 public VcapClient(string uri)
 {
     credMgr = new VcapCredentialManager();
     credMgr.SetTarget(uri);
 }
Example #4
0
 public UserHelper(VcapCredentialManager credMgr) : base(credMgr)
 {
 }
Example #5
0
 public ServicesHelper(VcapCredentialManager credMgr) : base(credMgr)
 {
 }
Example #6
0
 public AppsHelper(VcapCredentialManager credMgr) : base(credMgr)
 {
 }
Example #7
0
 public MiscHelper(VcapCredentialManager credMgr) : base(credMgr)
 {
 }
Example #8
0
 public BaseVmcHelper(VcapCredentialManager credMgr)
 {
     this.credMgr = credMgr;
 }
Example #9
0
 public InfoHelper(VcapCredentialManager credMgr) : base(credMgr)
 {
 }
Example #10
0
 protected VcapRequestBase(VcapCredentialManager credentialManager, bool useAuthentication, Uri uri = null)
 {
     this.credentialManager = credentialManager;
     client = BuildClient(useAuthentication, uri);
 }
Example #11
0
 protected VcapRequestBase(VcapCredentialManager credentialManager)
 {
     this.credentialManager = credentialManager;
     client = BuildClient();
 }
Example #12
0
 public VcapJsonRequest(VcapCredentialManager credMgr, Method method, params string[] resourceParams)
     : base(credMgr)
 {
     request = BuildRequest(method, DataFormat.Json, resourceParams);
 }
Example #13
0
 public VcapRequest(VcapCredentialManager credMgr, bool useAuth, Uri uri, params object[] resourceParams)
     : base(credMgr, useAuth, uri)
 {
     request = BuildRequest(Method.GET, resourceParams);
 }
Example #14
0
 public VcapRequest(VcapCredentialManager credMgr, params object[] resourceParams)
     : this(credMgr, true, null, resourceParams)
 {
 }