示例#1
0
 public static DiskRestorePoint GetDiskRestorePoint(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         DiskRestorePoint.ValidateResourceId(id);
         return new DiskRestorePoint(client, id);
     }
                             ));
 }
示例#2
0
 public static DiskRestorePoint GetDiskRestorePoint(this ArmClient armClient, ResourceIdentifier id)
 {
     DiskRestorePoint.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new DiskRestorePoint(clientOptions, credential, uri, pipeline, id)));
 }
 public static DiskRestorePoint GetDiskRestorePoint(this ArmClient armClient, ResourceIdentifier id)
 {
     DiskRestorePoint.ValidateResourceId(id);
     return(new DiskRestorePoint(armClient, id));
 }